/freebsd/crypto/openssh/ |
H A D | smult_curve25519_ref.c | 13 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 …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.keysort.d | 34 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 …]
|
/freebsd/lib/libc/db/test/hash.tests/ |
H A D | testit | 7 foreach j ( 11 14 21 ) 8 thash4 $i $j 25000 65536 $name < $name 11 foreach j ( 21 28 43 ) 12 thash4 $i $j 25000 65536 $name < $name 15 foreach j ( 43 57 85 ) 16 thash4 $i $j 25000 65536 $name < $name 19 foreach j ( 85 114 171 ) 20 thash4 $i $j 25000 65536 $name < $name 23 foreach j ( 171 228 341 ) 24 thash4 $i $j 25000 65536 $name < $name [all …]
|
/freebsd/usr.sbin/jail/ |
H A D | jail.c | 61 static void clear_persist(struct cfjail *j); 62 static int update_jail(struct cfjail *j); 63 static int rdtun_params(struct cfjail *j, int dofail); 64 static void running_jid(struct cfjail *j); 65 static void jail_quoted_warnx(const struct cfjail *j, const char *name_msg, 67 static int jailparam_set_note(const struct cfjail *j, struct jailparam *jp, 69 static void print_jail(FILE *fp, struct cfjail *j, int oldcl, int running); 168 struct cfjail *j; in main() local 419 while ((j = next_jail())) in main() 421 if (j->flags & JF_FAILED) { in main() [all …]
|
H A D | command.c | 61 struct cfjail *j; member 69 static int run_command(struct cfjail *j); 70 static int add_proc(struct cfjail *j, pid_t pid); 71 static void clear_procs(struct cfjail *j); 73 static int term_procs(struct cfjail *j); 74 static int get_user_info(struct cfjail *j, const char *username, 76 static int check_path(struct cfjail *j, const char *pname, const char *path, 103 next_command(struct cfjail *j) in next_command() argument 109 if (j->flags & JF_FROM_RUNQ) in next_command() 110 requeue_head(j, &runnable); in next_command() [all …]
|
H A D | state.c | 56 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 …]
|
/freebsd/contrib/bc/tests/bc/errors/ |
H A D | 26.txt | 1 j(0, 0) 2 j(0, .5) 3 j(", -.5) 4 j(0,,1) 5 j() 6 j(0, 1.#4) 7 j(0 -1.74) 8 j(0, 2) 9 j(0, -2) 10 j(0, 3.2345) [all …]
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | sctp.sh | 48 j="sctp:basic_v4" 51 vnet_mkjail ${j}a ${epair}a 52 vnet_mkjail ${j}b ${epair}b 54 jexec ${j}a ifconfig ${epair}a 192.0.2.1/24 up 55 jexec ${j}b ifconfig ${epair}b 192.0.2.2/24 up 58 jexec ${j}a ping -c 1 192.0.2.2 60 jexec ${j}a pfctl -e 61 pft_set_rules ${j}a \ 65 echo "foo" | jexec ${j}a nc --sctp -N -l 1234 & 70 out=$(jexec ${j}b nc --sctp -N -w 3 192.0.2.1 1234) [all …]
|
H A D | rdr.sh | 54 j="rdr:tcp_v6" 61 vnet_mkjail ${j}a ${epair_one}b 62 vnet_mkjail ${j}b ${epair_one}a ${epair_two}a 63 vnet_mkjail ${j}c ${epair_two}b 66 jexec ${j}b ifconfig lo0 up 67 jexec ${j}b ifconfig ${epair_one}a inet6 2001:db8:a::1/64 up no_dad 68 jexec ${j}b ifconfig ${epair_two}a inet6 2001:db8:b::1/64 up no_dad 71 jexec ${j}a ifconfig lo0 up 72 jexec ${j}a ifconfig ${epair_one}b inet6 2001:db8:a::2/64 up no_dad 75 jexec ${j}c ifconfig lo0 up [all …]
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | lib_tracedmp.c | 53 int i, j, n, width; in NCURSES_EXPORT() local 58 for (j = 0; j <= win->_maxx; ++j) { in NCURSES_EXPORT() 59 if (CharOf(win->_line[i].text[j]) != L(' ') in NCURSES_EXPORT() 60 || AttrOf(win->_line[i].text[j]) != A_NORMAL in NCURSES_EXPORT() 61 || GetPair(win->_line[i].text[j]) != 0) { in NCURSES_EXPORT() 62 n = j; in NCURSES_EXPORT() 87 for (j = 0; j < width; ++j) { in NCURSES_EXPORT() 88 chtype test = (chtype) CharOf(win->_line[n].text[j]); in NCURSES_EXPORT() 89 ep[j] = (char) ((UChar(test) == test in NCURSES_EXPORT() 91 && (win->_line[n].text[j].chars[1] == 0) in NCURSES_EXPORT() [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/predicates/ |
H A D | tst.complex.d.out | 6 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 …]
|
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | streebog.h | 1208 #define B(x, i, j) ((u64)(((const u8*)&(x))[(i)]) << (8*(j))) argument 1217 unsigned int j; in streebog_permute() local 1219 for(j = 0; j < STREEBOG_BLOCK_U64_SIZE; j++){ in streebog_permute() 1220 t ^= PI[j][(in[j] >> (i * 8)) & 0xff]; in streebog_permute() 1231 unsigned int j; in streebog_transform() local 1233 for(j = 0; j < STREEBOG_BLOCK_U64_SIZE; j++){ in streebog_transform() 1234 tmp[j] = a[j] ^ b[j]; in streebog_transform() 1236 for(j = 0; j < STREEBOG_BLOCK_U64_SIZE; j++){ in streebog_transform() 1237 out[j] = streebog_permute(tmp, (u8)j); in streebog_transform() 1249 unsigned int j; in gN() local [all …]
|
/freebsd/tools/tools/netrate/juggle/ |
H A D | juggle.c | 236 int i, j; in juggle() local 243 for (j = 0; j < pipeline; j++) { in juggle() 248 for (j = 0; j < pipeline; j++) { in juggle() 256 for (j = 0; j < pipeline; j++) { in juggle() 286 int fd2, i, j; in juggling_thread() local 302 for (j = 0; j < threaded_pipeline; j++) { in juggling_thread() 319 int i, j; in thread_juggle() local 344 for (j = 0; j < pipeline; j++) { in thread_juggle() 349 for (j = 0; j < pipeline; j++) { in thread_juggle() 378 int error, i, j; in process_juggle() local [all …]
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | generichash3.c | 21 size_t j; in main() local 36 for (j = 0; j < 1 + i % crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() 37 printf("%02x", (unsigned int) out[j]); in main() 48 for (j = 0; j < crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() 49 printf("%02x", (unsigned int) out[j]); in main() 59 for (j = 0; j < crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() 60 printf("%02x", (unsigned int) out[j]); in main() 71 for (j = 0; j < crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() 72 printf("%02x", (unsigned int) out[j]); in main() 83 for (j = 0; j < crypto_generichash_blake2b_BYTES_MAX; ++j) { in main() [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_torus.c | 200 int i, j, k; member 787 unsigned i, j, k, cnt; in parse_torus() local 837 for (j = 0; j < t->y_sz; j++) { in parse_torus() 838 t->sw[i][j] = (void *)ptr; in parse_torus() 843 for (j = 0; j < t->y_sz; j++) in parse_torus() 845 t->sw[i][j][k] = NULL; in parse_torus() 867 unsigned i, j, k, n; in parse_port_order() local 873 for (j = 0; j < i; j++) { in parse_port_order() 874 if (t->port_order[j] == t->port_order[i]) { in parse_port_order() 878 t->port_order[j]); in parse_port_order() [all …]
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | x86-mont.pl | 52 $j="ecx"; 161 &xor ($j,$j); # j=0 183 &inc ($j); # j++ 192 &movd ($acc1,&DWP(4,$np,$j,4)); # np[j+1] 194 &movd ($acc0,&DWP(4,$ap,$j,4)); # ap[j+1] 196 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[j-1]= 199 &lea ($j,&DWP(1,$j)); 200 &cmp ($j,$num); 211 &movd (&DWP($frame-4,"esp",$j,4),$car1); # tp[num-2]= 221 &xor ($j,$j); # j=0 [all …]
|
/freebsd/tools/lua/ |
H A D | template.lua | 371 local j = 2 386 c[j] = "___[#___+1]=[=[\n" 387 c[j+1] = visit(visitors, sub(view, i, s - 1 - w)) 388 c[j+2] = "]=]\n" 389 j=j+3 394 c[j] = "___[#___+1]=template.escape(" 395 c[j+1] = visit(visitors, trim(sub(view, p, e - 1)), "{") 396 c[j+2] = ")\n" 397 j=j+3 406 c[j] = "___[#___+1]=[=[\n" [all …]
|
/freebsd/libexec/rc/ |
H A D | rc.initdiskless | 316 for j in /conf/$i/* ; do 317 [ -d $j ] || continue 320 subdir=${j##*/} 321 [ -f $j/md_size ] && eval md_size_$subdir=`cat $j/md_size` 324 if [ -f $j/remount ]; then 325 if [ -f $j/remount_subdir ]; then 331 nfspt=`/bin/cat $j/remount` 337 remount_subdir=`/bin/cat $j/remount_subdir` 340 $remount_subdir_cmd $j 341 chkerr $? "$remount_subdir_cmd $j" [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | db_iterator.c | 300 int j; in _nc_first_db() local 305 for (j = 0; j < dbdLAST; ++j) in _nc_first_db() 306 values[j] = 0; in _nc_first_db() 346 for (j = 0; j < dbdLAST; ++j) { in _nc_first_db() 347 if (values[j] == 0) in _nc_first_db() 348 values[j] = ""; in _nc_first_db() 349 blobsize += 2 + strlen(values[j]); in _nc_first_db() 355 for (j = 0; j < dbdLAST; ++j) { in _nc_first_db() 356 add_to_blob(values[j], blobsize); in _nc_first_db() 363 for (j = 0; my_blob[j] != '\0'; ++j) { in _nc_first_db() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | bftest.c | 230 unsigned int i, j; in print_test_data() local 235 for (j = 0; j < 8; j++) in print_test_data() 236 printf("%02X", ecb_data[i][j]); in print_test_data() 238 for (j = 0; j < 8; j++) in print_test_data() 239 printf("%02X", plain_data[i][j]); in print_test_data() 241 for (j = 0; j < 8; j++) in print_test_data() 242 printf("%02X", cipher_data[i][j]); in print_test_data() 248 for (j = 0; j < 8; j++) in print_test_data() 249 printf("%02X", key_data[j]); in print_test_data() 253 for (j = 0; j < 8; j++) in print_test_data() [all …]
|
/freebsd/crypto/openssl/crypto/des/ |
H A D | str2key.c | 27 register unsigned char j = str[i]; in DES_string_to_key() local 30 (*key)[i % 8] ^= (j << 1); in DES_string_to_key() 33 j = ((j << 4) & 0xf0) | ((j >> 4) & 0x0f); in DES_string_to_key() 34 j = ((j << 2) & 0xcc) | ((j >> 2) & 0x33); in DES_string_to_key() 35 j = ((j << 1) & 0xaa) | ((j >> 1) & 0x55); in DES_string_to_key() 36 (*key)[7 - (i % 8)] ^= j; in DES_string_to_key() 55 register unsigned char j = str[i]; in DES_string_to_2keys() local 59 (*key1)[i % 8] ^= (j << 1); in DES_string_to_2keys() 61 (*key2)[i % 8] ^= (j << 1); in DES_string_to_2keys() 63 j = ((j << 4) & 0xf0) | ((j >> 4) & 0x0f); in DES_string_to_2keys() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
H A D | zfs_mount_all_001_pos.ksh | 64 typeset -i j=0 79 j=0 80 while (( j < ${#vol[*]} )); do 85 ((j = j + 1)) 89 j=0 90 while (( j < ${#fs[*]} )); do 94 ((j = j + 1)) 106 typeset -i j=0 113 j=0 114 while (( j < ${#vol[*]} )); do [all …]
|
/freebsd/tools/test/malloc/ |
H A D | main.c | 15 u_long i,j,k; in main() local 24 for (j = 0; j < 40960/i && j < NBUCKETS; j++) { in main() 25 foo[j] = malloc(i); in main() 27 for (j = 0; j < 40960/i && j < NBUCKETS; j++) { in main() 28 free(foo[j]); in main() 29 foo[j] = NULL; in main() 34 j = random() % NBUCKETS; in main() 36 foo[j] = realloc(foo[j], k & 1 ? 0 : k); in main() 42 foo[j] = NULL; in main() 44 if (foo[j]) in main() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/ |
H A D | zfs_unmount_all_001_pos.ksh | 66 typeset -i j=0 81 j=0 82 while (( j < ${#vol[*]} )); do 87 ((j = j + 1)) 90 j=0 91 while (( j < ${#fs[*]} )); do 95 ((j = j + 1)) 107 typeset -i j=0 113 j=0 114 while (( j < ${#vol[*]} )); do [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_all_001_pos.ksh | 56 typeset -i j=0 71 j=0 72 while (( j < ${#vol[*]} )); do 77 ((j = j + 1)) 81 j=0 82 while (( j < ${#fs[*]} )); do 86 ((j = j + 1)) 98 typeset -i j=0 105 j=0 106 while (( j < ${#vol[*]} )); do [all …]
|