Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 3113) sorted by relevance

12345678910>>...125

/NextBSD/contrib/jansson/test/suites/api/
HDtest_unpack.c16 json_t *j, *j2; in run_tests() local
45 j = json_integer(42); in run_tests()
46 rv = json_unpack(j, "i", &i1); in run_tests()
49 json_decref(j); in run_tests()
52 j = json_integer(5555555); in run_tests()
53 rv = json_unpack(j, "I", &I1); in run_tests()
56 json_decref(j); in run_tests()
59 j = json_real(1.7); in run_tests()
60 rv = json_unpack(j, "f", &f); in run_tests()
63 json_decref(j); in run_tests()
[all …]
/NextBSD/crypto/openssh/
HDsmult_curve25519_ref.c13 unsigned int j; in add() local
16 for (j = 0;j < 31;++j) { u += a[j] + b[j]; out[j] = u & 255; u >>= 8; } in add()
22 unsigned int j; in sub() local
25 for (j = 0;j < 31;++j) { in sub()
26 u += a[j] + 65280 - b[j]; in sub()
27 out[j] = u & 255; in sub()
36 unsigned int j; in squeeze() local
39 for (j = 0;j < 31;++j) { u += a[j]; a[j] = u & 255; u >>= 8; } in squeeze()
42 for (j = 0;j < 31;++j) { u += a[j]; a[j] = u & 255; u >>= 8; } in squeeze()
53 unsigned int j; in freeze() local
[all …]
/NextBSD/sbin/launchd/
HDcore.c190 static bool waiting4removal_new(job_t j, mach_port_t rp);
191 static void waiting4removal_delete(job_t j, struct waiting_for_removal *w4r);
234 static void machservice_resetport(job_t j, struct machservice *ms);
235 static void machservice_stamp_port(job_t j, struct machservice *ms);
236 static struct machservice *machservice_new(job_t j, const char *name, mach_port_t *serviceport, boo…
238 static void machservice_ignore(job_t j, struct machservice *ms);
239 static void machservice_watch(job_t j, struct machservice *ms);
240 static void machservice_delete(job_t j, struct machservice *, bool port_died);
260 static bool socketgroup_new(job_t j, const char *name, int *fds, size_t fd_cnt);
261 static void socketgroup_delete(job_t j, struct socketgroup *sg);
[all …]
/NextBSD/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
HDtst.keysort.d34 j = 0;
36 @tour["Ghent", i++, j] = sum(5 - j);
37 j++;
39 @tour["Berlin", i++, j] = sum(5 - j);
40 j++;
42 @tour["London", i++, j] = sum(5 - j);
43 @tour["Dublin", i++, j] = sum(5 - j);
44 j++;
46 @tour["Shanghai", i++, j] = sum(5 - j);
47 j++;
[all …]
/NextBSD/lib/libc/db/test/hash.tests/
HDtestit10 foreach j ( 11 14 21 )
11 thash4 $i $j 25000 65536 $name < $name
14 foreach j ( 21 28 43 )
15 thash4 $i $j 25000 65536 $name < $name
18 foreach j ( 43 57 85 )
19 thash4 $i $j 25000 65536 $name < $name
22 foreach j ( 85 114 171 )
23 thash4 $i $j 25000 65536 $name < $name
26 foreach j ( 171 228 341 )
27 thash4 $i $j 25000 65536 $name < $name
[all …]
/NextBSD/usr.sbin/jail/
HDjail.c62 static void clear_persist(struct cfjail *j);
63 static int update_jail(struct cfjail *j);
64 static int rdtun_params(struct cfjail *j, int dofail);
65 static void running_jid(struct cfjail *j, int dflag);
66 static void jail_quoted_warnx(const struct cfjail *j, const char *name_msg,
68 static int jailparam_set_note(const struct cfjail *j, struct jailparam *jp,
70 static void print_jail(FILE *fp, struct cfjail *j, int oldcl);
132 struct cfjail *j; in main() local
372 while ((j = next_jail())) in main()
374 if (j->flags & JF_FAILED) { in main()
[all …]
HDstate.c56 struct cfjail *j, *dj; in dep_setup() local
70 if ((j = TAILQ_FIRST(&cfjails)) && in dep_setup()
71 (p = j->intparams[IP_DEPEND])) { in dep_setup()
76 j->flags |= JF_FAILED; in dep_setup()
84 TAILQ_FOREACH(j, &cfjails, tq) in dep_setup()
88 TAILQ_FOREACH(j, &cfjails, tq) in dep_setup()
89 jails_byname[njails++] = j; in dep_setup()
95 TAILQ_FOREACH(j, &cfjails, tq) { in dep_setup()
96 if (j->flags & JF_FAILED) in dep_setup()
98 if ((p = j->intparams[IP_DEPEND])) { in dep_setup()
[all …]
HDcommand.c60 struct cfjail *j; member
68 static int run_command(struct cfjail *j);
69 static int add_proc(struct cfjail *j, pid_t pid);
70 static void clear_procs(struct cfjail *j);
72 static int term_procs(struct cfjail *j);
73 static int get_user_info(struct cfjail *j, const char *username,
75 static int check_path(struct cfjail *j, const char *pname, const char *path,
88 next_command(struct cfjail *j) in next_command() argument
94 requeue(j, &runnable); in next_command()
97 create_failed = (j->flags & (JF_STOP | JF_FAILED)) == JF_FAILED; in next_command()
[all …]
/NextBSD/contrib/ncurses/ncurses/trace/
HDlib_tracedmp.c52 int i, j, n, width; in NCURSES_EXPORT() local
57 for (j = 0; j <= win->_maxx; ++j) { in NCURSES_EXPORT()
58 if (CharOf(win->_line[i].text[j]) != L(' ') in NCURSES_EXPORT()
59 || AttrOf(win->_line[i].text[j]) != A_NORMAL in NCURSES_EXPORT()
60 || GetPair(win->_line[i].text[j]) != 0) { in NCURSES_EXPORT()
61 n = j; in NCURSES_EXPORT()
86 for (j = 0; j < width; ++j) { in NCURSES_EXPORT()
87 chtype test = (chtype) CharOf(win->_line[n].text[j]); in NCURSES_EXPORT()
88 ep[j] = (char) ((UChar(test) == test in NCURSES_EXPORT()
90 && (win->_line[n].text[j].chars[1] == 0) in NCURSES_EXPORT()
[all …]
/NextBSD/sys/geom/vinum/
HDgeom_vinum_share.c442 int j, errors; in gv_new_drive() local
451 for (j = 1; j < max; j++) { in gv_new_drive()
452 if (!strcmp(token[j], "state")) { in gv_new_drive()
453 j++; in gv_new_drive()
454 if (j >= max) { in gv_new_drive()
458 d->state = gv_drivestatei(token[j]); in gv_new_drive()
459 } else if (!strcmp(token[j], "device")) { in gv_new_drive()
460 j++; in gv_new_drive()
461 if (j >= max) { in gv_new_drive()
465 ptr = token[j]; in gv_new_drive()
[all …]
/NextBSD/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/predicates/
HDtst.complex.d.out6 i >= 5 || j >= 5
8 j != 10
14 i >= 5 || j >= 5
16 i == 2 (or) j == 2
17 i == 2 (and) j == 2
18 j != 10
19 j == 5 || i == 2
25 i >= 5 || j >= 5
27 j != 10
33 i >= 5 || j >= 5
[all …]
/NextBSD/crypto/openssl/apps/
HDspeed.c378 int i, j, k; in MAIN() local
714 j = 0; in MAIN()
720 j--; /* Otherwise, -elapsed gets confused with an in MAIN()
741 j--; /* Otherwise, -elapsed gets confused with an in MAIN()
758 j--; in MAIN()
774 j--; /* Otherwise, -mr gets confused with an in MAIN()
780 j--; /* Otherwise, -mr gets confused with an in MAIN()
784 j--; in MAIN()
882 j--; in MAIN()
888 j--; in MAIN()
[all …]
/NextBSD/tools/tools/netrate/juggle/
HDjuggle.c251 int i, j; in juggle() local
258 for (j = 0; j < pipeline; j++) { in juggle()
263 for (j = 0; j < pipeline; j++) { in juggle()
271 for (j = 0; j < pipeline; j++) { in juggle()
301 int fd2, i, j; in juggling_thread() local
317 for (j = 0; j < threaded_pipeline; j++) { in juggling_thread()
334 int i, j; in thread_juggle() local
359 for (j = 0; j < pipeline; j++) { in thread_juggle()
364 for (j = 0; j < pipeline; j++) { in thread_juggle()
393 int error, i, j; in process_juggle() local
[all …]
/NextBSD/contrib/gcc/
HDlambda-mat.c65 int i, j; in lambda_matrix_id() local
68 for (j = 0; j < size; j++) in lambda_matrix_id()
69 mat[i][j] = (i == j) ? 1 : 0; in lambda_matrix_id()
77 int i, j; in lambda_matrix_id_p() local
79 for (j = 0; j < size; j++) in lambda_matrix_id_p()
81 if (i == j) in lambda_matrix_id_p()
83 if (mat[i][j] != 1) in lambda_matrix_id_p()
88 if (mat[i][j] != 0) in lambda_matrix_id_p()
112 int i, j; in lambda_matrix_transpose() local
115 for (j = 0; j < m; j++) in lambda_matrix_transpose()
[all …]
/NextBSD/sys/contrib/octeon-sdk/
HDcvmx-nand.c236 unsigned long i, j, c, bit; in __onfi_parameter_crc_compute() local
244 for (j = 0x80; j; j >>= 1) { in __onfi_parameter_crc_compute()
247 if (c & j) in __onfi_parameter_crc_compute()
1748 int i, j; in cvmx_nand_compute_boot_ecc() local
1763 for (j = 0; j < 2; j++) in cvmx_nand_compute_boot_ecc()
1764 pd0 ^= ((block[4*i+j] ^ (block[4*i+j] >> 1) ^ (block[4*i+j] >> 2) ^ in cvmx_nand_compute_boot_ecc()
1765 (block[4*i+j] >> 3) ^ (block[4*i+j] >> 4) ^ (block[4*i+j] >> 5) ^ in cvmx_nand_compute_boot_ecc()
1766 (block[4*i+j] >> 6) ^ (block[4*i+j] >> 7)) & 1) << 4; in cvmx_nand_compute_boot_ecc()
1768 for (j = 0; j < 4; j++) in cvmx_nand_compute_boot_ecc()
1769 pd0 ^= ((block[8*i+j] ^ (block[8*i+j] >> 1) ^ (block[8*i+j] >> 2) ^ in cvmx_nand_compute_boot_ecc()
[all …]
/NextBSD/crypto/openssl/crypto/bn/asm/
HDx86-mont.pl43 $j="ecx";
128 &xor ($j,$j); # j=0
150 &inc ($j); # j++
159 &movd ($acc1,&DWP(4,$np,$j,4)); # np[j+1]
161 &movd ($acc0,&DWP(4,$ap,$j,4)); # ap[j+1]
163 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[j-1]=
166 &lea ($j,&DWP(1,$j));
167 &cmp ($j,$num);
178 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[num-2]=
188 &xor ($j,$j); # j=0
[all …]
HDs390x-mont.pl74 $j="%r7";
112 lcgr $j,$num # -$num
115 la $sp,0($j,$rp) # alloca
119 la $bp,0($j,$bp) # restore $bp
141 la $j,8(%r0) # j=1
146 lg $alo,0($j,$ap)
153 lg $nlo,0($j,$np)
162 stg $nlo,$stdframe-8($j,$sp) # tp[j-1]=
163 la $j,8($j) # j++
169 stg $NHI,$stdframe-8($j,$sp)
[all …]
/NextBSD/sys/contrib/dev/acpica/components/utilities/
HDutbuffer.c78 UINT32 j; in AcpiUtDumpBuffer() local
104 for (j = 0; j < 16;) in AcpiUtDumpBuffer()
106 if (i + j >= Count) in AcpiUtDumpBuffer()
111 j += Display; in AcpiUtDumpBuffer()
120 AcpiOsPrintf ("%02X ", Buffer[(ACPI_SIZE) i + j]); in AcpiUtDumpBuffer()
125 ACPI_MOVE_16_TO_32 (&Temp32, &Buffer[(ACPI_SIZE) i + j]); in AcpiUtDumpBuffer()
131 ACPI_MOVE_32_TO_32 (&Temp32, &Buffer[(ACPI_SIZE) i + j]); in AcpiUtDumpBuffer()
137 ACPI_MOVE_32_TO_32 (&Temp32, &Buffer[(ACPI_SIZE) i + j]); in AcpiUtDumpBuffer()
140 ACPI_MOVE_32_TO_32 (&Temp32, &Buffer[(ACPI_SIZE) i + j + 4]); in AcpiUtDumpBuffer()
145 j += Display; in AcpiUtDumpBuffer()
[all …]
/NextBSD/contrib/ncurses/ncurses/tinfo/
HDdb_iterator.c263 int j, k; in _nc_first_db() local
268 for (j = 0; j < dbdLAST; ++j) in _nc_first_db()
269 values[j] = 0; in _nc_first_db()
309 for (j = 0; j < dbdLAST; ++j) { in _nc_first_db()
310 if (values[j] == 0) in _nc_first_db()
311 values[j] = ""; in _nc_first_db()
312 blobsize += 2 + strlen(values[j]); in _nc_first_db()
318 for (j = 0; j < dbdLAST; ++j) { in _nc_first_db()
319 add_to_blob(values[j], blobsize); in _nc_first_db()
326 for (j = 0; my_blob[j] != '\0'; ++j) { in _nc_first_db()
[all …]
/NextBSD/tools/test/malloc/
HDmain.c16 u_long i,j,k; in main() local
25 for (j = 0; j < 40960/i && j < NBUCKETS; j++) { in main()
26 foo[j] = malloc(i); in main()
28 for (j = 0; j < 40960/i && j < NBUCKETS; j++) { in main()
29 free(foo[j]); in main()
30 foo[j] = NULL; in main()
35 j = random() % NBUCKETS; in main()
37 foo[j] = realloc(foo[j], k & 1 ? 0 : k); in main()
43 foo[j] = NULL; in main()
45 if (foo[j]) in main()
[all …]
/NextBSD/crypto/openssl/crypto/sha/asm/
HDsha1-sparcv9a.pl87 my $j=($i+16)%16;
93 fxors @X[($j+13)%16],@X[$j],@X[$j] !-1/-1/-1:X[0]^=X[13]
94 fxors @X[($j+14)%16],@X[$j+1],@X[$j+1]! 0/ 0/ 0:X[1]^=X[14]
95 fxor @X[($j+2)%16],@X[($j+8)%16],%f18! 1/ 1/ 1:Tmp=X[2,3]^X[8,9]
96 fxor %f18,@X[$j],@X[$j] ! 2/ 4/ 3:X[0,1]^=X[2,3]^X[8,9]
97 faligndata @X[$j],@X[$j],%f18 ! 3/ 7/ 5:Tmp=X[0,1]>>>24
98 fpadd32 @X[$j],@X[$j],@X[$j] ! 4/ 8/ 6:X[0,1]<<=1
101 for %f18,@X[$j],@X[$j] ! 8/14/10:X[0,1]|=Tmp
103 fpadd32 $K,@X[$j],%f20
104 std %f20,[$Xfer+`4*$j`]
[all …]
/NextBSD/usr.sbin/cron/cron/
HDjob.c42 register job *j; local
45 for (j=jhead; j; j=j->next)
46 if (j->e == e && j->u == u) { return; }
49 if ((j = (job*)malloc(sizeof(job))) == NULL)
51 j->next = (job*) NULL;
52 j->e = e;
53 j->u = u;
56 if (!jhead) { jhead=j; }
57 else { jtail->next=j; }
58 jtail = j;
[all …]
/NextBSD/crypto/openssl/crypto/des/
HDstr2key.c66 register unsigned char j; in DES_string_to_key() local
75 j = str[i]; in DES_string_to_key()
77 (*key)[i % 8] ^= (j << 1); in DES_string_to_key()
80 j = ((j << 4) & 0xf0) | ((j >> 4) & 0x0f); in DES_string_to_key()
81 j = ((j << 2) & 0xcc) | ((j >> 2) & 0x33); in DES_string_to_key()
82 j = ((j << 1) & 0xaa) | ((j >> 1) & 0x55); in DES_string_to_key()
83 (*key)[7 - (i % 8)] ^= j; in DES_string_to_key()
104 register unsigned char j; in DES_string_to_2keys() local
124 j = str[i]; in DES_string_to_2keys()
127 (*key1)[i % 8] ^= (j << 1); in DES_string_to_2keys()
[all …]
/NextBSD/crypto/openssl/crypto/bf/
HDbftest.c302 unsigned int i, j; in print_test_data() local
307 for (j = 0; j < 8; j++) in print_test_data()
308 printf("%02X", ecb_data[i][j]); in print_test_data()
310 for (j = 0; j < 8; j++) in print_test_data()
311 printf("%02X", plain_data[i][j]); in print_test_data()
313 for (j = 0; j < 8; j++) in print_test_data()
314 printf("%02X", cipher_data[i][j]); in print_test_data()
320 for (j = 0; j < 8; j++) in print_test_data()
321 printf("%02X", key_data[j]); in print_test_data()
325 for (j = 0; j < 8; j++) in print_test_data()
[all …]
/NextBSD/etc/
HDrc.initdiskless300 for j in /conf/$i/* ; do
301 [ -d $j ] || continue
304 subdir=${j##*/}
305 [ -f $j/md_size ] && eval md_size_$subdir=`cat $j/md_size`
308 if [ -f $j/remount ]; then
309 if [ -f $j/remount_subdir ]; then
315 nfspt=`/bin/cat $j/remount`
321 remount_subdir=`/bin/cat $j/remount_subdir`
324 $remount_subdir_cmd $j
325 chkerr $? "$remount_subdir_cmd $j"
[all …]

12345678910>>...125