/busybox-1.35.0/shell/ash_test/ash-arith/ |
D | arith-for.testsx | 3 i=0 4 for (( ; i < 3; i++ )) 6 echo $i 9 for (( i=0; ; i++ )) 11 if (( i >= 3 )); then 14 echo $i 17 for (( i=0; i<3; )) 19 echo $i 20 (( i++ )) 23 i=0 [all …]
|
D | arith-for.right | 16 i=0; 17 for ((1; i < 3; i++ )) 19 echo $i; 21 for ((i=0; 1; i++ )) 23 if (( i >= 3 )); then 26 echo $i; 28 for ((i=0; i<3; 1)) 30 echo $i; 31 (( i++ )); 33 i=0; [all …]
|
/busybox-1.35.0/miscutils/ |
D | ascii.c | 34 unsigned i; in ascii_main() local 38 for (i = 0; i < 16; i++) { in ascii_main() 40 i+0x00, i+0x00, ctrl + i*3, in ascii_main() 41 i+0x10, i+0x10, ctrl + i*3 + 16*3, in ascii_main() 42 i+0x20, i+0x20, i+0x20, in ascii_main() 43 i+0x30, i+0x30, i+0x30, in ascii_main() 44 i+0x40, i+0x40, i+0x40, in ascii_main() 45 i+0x50, i+0x50, i+0x50, in ascii_main() 46 i+0x60, i+0x60, i+0x60, in ascii_main() 47 i+0x70, i+0x70, (i+0x70 == 0x7f ? "DEL" : (last[0] = i+0x70, last)) in ascii_main()
|
/busybox-1.35.0/testsuite/ |
D | bc_references.bc | 3 auto i 5 for (i = 0; i < len; ++i) { 6 a[i] 12 auto i 14 for (i = 0; i < len; ++i) { 15 a[i] = a[i] * a[i] 23 auto i 25 for (i = 0; i < len; ++i) { 26 a__[i] = a__[i] * a__[i] 34 auto i [all …]
|
D | bc_array.bc | 4 for (i = 0; i < l; ++i) { 5 a[i] 11 for (i = 0; i < l; ++i) { 12 a[i] = -i 18 for (i = 0; i < 101; ++i) { 19 a[i] = i 26 for (i = 0; i <= l; ++i) { 27 a[i]
|
/busybox-1.35.0/applets/ |
D | applet_tables.c | 68 int i, j; in main() local 91 for (i = j = 0; i < NUM_APPLETS-1; ++i) { in main() 92 if (cmp_name(applets+i, applets+i+1) == 0) { in main() 94 applets[i].name); in main() 102 i = open(tmp1, O_WRONLY | O_TRUNC | O_CREAT, 0666); in main() 103 if (i < 0) in main() 105 dup2(i, 1); in main() 120 for (i = 0; i < KNOWN_APPNAME_OFFSETS; i++) in main() 121 index[i] = i * NUM_APPLETS / KNOWN_APPNAME_OFFSETS; in main() 123 for (i = 0; i < NUM_APPLETS; i++) { in main() [all …]
|
/busybox-1.35.0/shell/hush_test/hush-leak/ |
D | leak_argv1.tests | 2 i=1 3 while test $i != X; do 4 set -- a b c d e f g h i j k l m n o p q r s t u v w x y z 12 i=1$i 13 if test $i = 1111111111111111111111111111111111111111111111; then i=2; fi 14 if test $i = 1111111111111111111111111111111111111111111112; then i=3; fi 15 if test $i = 1111111111111111111111111111111111111111111113; then i=4; fi 16 if test $i = 1111111111111111111111111111111111111111111114; then i=5; fi 17 if test $i = 1111111111111111111111111111111111111111111115; then i=6; fi 18 if test $i = 1111111111111111111111111111111111111111111116; then i=7; fi [all …]
|
/busybox-1.35.0/shell/hush_test/hush-z_slow/ |
D | leak_var.tests | 2 i=1 3 while test $i != X; do 19 i=1$i 20 if test $i = 1111111111111111111111111111111111111111111111; then i=2; fi 21 if test $i = 1111111111111111111111111111111111111111111112; then i=3; fi 22 if test $i = 1111111111111111111111111111111111111111111113; then i=4; fi 23 if test $i = 1111111111111111111111111111111111111111111114; then i=5; fi 24 if test $i = 1111111111111111111111111111111111111111111115; then i=6; fi 25 if test $i = 1111111111111111111111111111111111111111111116; then i=7; fi 26 if test $i = 1111111111111111111111111111111111111111111117; then i=8; fi [all …]
|
D | leak_var2.tests | 4 i=1 5 while test $i != X; do 6 t=111111111111111111111111111111111111111111111111111111111111111111111110$i 7 t=111111111111111111111111111111111111111111111111111111111111111111111111$i true 8 t=111111111111111111111111111111111111111111111111111111111111111111111112$i /bin/true 9 t=111111111111111111111111111111111111111111111111111111111111111111111113$i exec 1>&1 10 i=1$i 11 if test $i = 1111111111111111111111111111111111111111111111; then i=2; fi 12 if test $i = 1111111111111111111111111111111111111111111112; then i=3; fi 13 if test $i = 1111111111111111111111111111111111111111111113; then i=4; fi [all …]
|
D | leak_var3.tests | 4 i=1; t=1; export t 5 while test $i != 400; do 6 t=valueA_$i true 7 : $((i++)) 14 i=1; t=1; export t 15 while test $i != 400; do 16 t=valueA_$i true 17 : $((i++)) 19 i=1; t=1; export t 20 while test $i != 400; do [all …]
|
D | leak_heredoc1.tests | 2 i=1 3 while test $i != 99; do 5 Hello $i `echo builtin_$i` 7 : $((i++)) 13 i=1 14 while test $i != 99; do 16 Hello $i `echo builtin_$i` 18 : $((i++)) 20 i=1 21 while test $i != 99; do [all …]
|
/busybox-1.35.0/networking/ |
D | tls_aes.c | 139 int i, j, k; in KeyExpansion() local 149 for (i = 0; i < words_key; i++) in KeyExpansion() 150 RoundKey[i] = get_unaligned_be32((uint32_t*)key + i); in KeyExpansion() 155 for (; i < words_RoundKey; i++) { in KeyExpansion() 158 tempa = RoundKey[i - 1]; in KeyExpansion() 167 RoundKey[i] = RoundKey[i - words_key] ^ tempa; in KeyExpansion() 181 int i; in AddRoundKey() local 183 for (i = 0; i < 16; i += 4) { in AddRoundKey() 185 astate[i + 0] ^= (n >> 24); in AddRoundKey() 186 astate[i + 1] ^= (n >> 16) & 255; in AddRoundKey() [all …]
|
D | tls_fe.c | 59 int i; 61 for (i = 0; i < F25519_SIZE; i++) 62 dst[i] = zero[i] ^ (mask & (one[i] ^ zero[i])); 72 int i; 74 for (i = 0; i < F25519_SIZE; i++) 75 dst[i] = dst[i] ^ (mask & (src[i] ^ dst[i])); 87 int i; 89 for (i = 0; i < F25519_SIZE; i++) { 90 c += ((word16)x[i]) + ((word16)p[i]); 91 x[i] = (byte)c; [all …]
|
D | tcpudp_perhost.c | 23 unsigned i; in ipsvd_perhost_add() local 27 for (i = 0; cc[i].pid >= 0; ++i) { in ipsvd_perhost_add() 28 if (!cc[i].ip) { in ipsvd_perhost_add() 29 freepos = i; in ipsvd_perhost_add() 32 if (strcmp(cc[i].ip, ip) == 0) { in ipsvd_perhost_add() 47 unsigned i; in ipsvd_perhost_remove() local 48 for (i = 0; cc[i].pid >= 0; ++i) { in ipsvd_perhost_remove() 49 if (cc[i].pid == pid) { in ipsvd_perhost_remove() 50 free(cc[i].ip); in ipsvd_perhost_remove() 51 cc[i].ip = NULL; in ipsvd_perhost_remove() [all …]
|
/busybox-1.35.0/examples/var_service/fw/etc/ |
D | dnsmasq_servers.conf | 6 i=0; while test "${if[$i]}"; do 7 test x"${dns_prio[$i]}" != x"" \ 8 && test "${dns_prio[$i]}" -gt "$prio" \ 9 && prio="${dns_prio[$i]}" 10 let i++; done 12 i=0; while test "${if[$i]}"; do 13 if test "${dnsmasq[$i]}"; then 14 for d in ${dnsmasq[$i]}; do 18 let i++; 23 for d in ${dns[$i]}; do [all …]
|
D | resolv.conf | 18 i=0; while test "${if[$i]}"; do 19 test x"${dns_prio[$i]}" != x"" \ 20 && test "${dns_prio[$i]}" -gt "$prio" \ 21 && prio="${dns_prio[$i]}" 22 let i++; done 24 i=0; while test "${if[$i]}"; do 25 for d in ${dns[$i]}; do 26 p="${dns_prio[$i]}" 31 let i++; done
|
/busybox-1.35.0/util-linux/ |
D | fdisk_sgi.c | 136 setfreelist(int i, unsigned int f, unsigned int l) in setfreelist() argument 138 freelist[i].first = f; in setfreelist() 139 freelist[i].last = l; in setfreelist() 145 int i; in add2freelist() local 146 for (i = 0; i < 17; i++) in add2freelist() 147 if (freelist[i].last == 0) in add2freelist() 149 setfreelist(i, f, l); in add2freelist() 155 int i; in clearfreelist() local 157 for (i = 0; i < 17; i++) in clearfreelist() 158 setfreelist(i, 0, 0); in clearfreelist() [all …]
|
D | fdisk_sun.c | 84 set_sun_partition(int i, unsigned start, unsigned stop, int sysid) in set_sun_partition() argument 86 sunlabel->infos[i].id = sysid; in set_sun_partition() 87 sunlabel->partitions[i].start_cylinder = in set_sun_partition() 89 sunlabel->partitions[i].num_sectors = in set_sun_partition() 91 set_changed(i); in set_sun_partition() 171 int i; in sun_autoconfigure_scsi() local 212 for (i = 0; i < ARRAY_SIZE(sun_drives); i++) { in sun_autoconfigure_scsi() 213 if (*sun_drives[i].vendor && strcasecmp(sun_drives[i].vendor, vendor)) in sun_autoconfigure_scsi() 215 if (!strstr(model, sun_drives[i].model)) in sun_autoconfigure_scsi() 218 sun_drives[i].vendor, in sun_autoconfigure_scsi() [all …]
|
/busybox-1.35.0/selinux/ |
D | getsebool.c | 30 int i, rc = 0, active, pending, len = 0; in getsebool_main() local 56 for (i = 0; i < len; i++) in getsebool_main() 57 names[i] = xstrdup(argv[i + 1]); in getsebool_main() 60 for (i = 0; i < len; i++) { in getsebool_main() 61 active = security_get_boolean_active(names[i]); in getsebool_main() 63 bb_error_msg_and_die("error getting active value for %s", names[i]); in getsebool_main() 65 pending = security_get_boolean_pending(names[i]); in getsebool_main() 67 bb_error_msg_and_die("error getting pending value for %s", names[i]); in getsebool_main() 69 printf("%s --> %s", names[i], (active ? "on" : "off")); in getsebool_main() 76 for (i = 0; i < len; i++) in getsebool_main() [all …]
|
/busybox-1.35.0/shell/ash_test/ash-vars/ |
D | var_bash1b.tests | 14 i=2; echo "-4:i=2 |"${1: -4:i} 15 i=-2; echo "-4:i=-2|"${1: -4:i} 16 i=-3; echo "-4:i=-3|"${1: -4:i} 17 i=-4; echo "-4:i=-4|"${1: -4:i}
|
/busybox-1.35.0/shell/hush_test/hush-vars/ |
D | var_bash1b.tests | 14 i=2; echo "-4:i=2 |"${1: -4:i} 15 i=-2; echo "-4:i=-2|"${1: -4:i} 16 i=-3; echo "-4:i=-3|"${1: -4:i} 17 i=-4; echo "-4:i=-4|"${1: -4:i}
|
/busybox-1.35.0/coreutils/ |
D | tr.c | 79 unsigned i, j; in map() local 81 for (j = 0, i = 0; i < string1_len; i++) { in map() 83 pvector[(unsigned char)(string1[i])] = last; in map() 85 pvector[(unsigned char)(string1[i])] = last = string2[j++]; in map() 107 unsigned i; /* can't be unsigned char: must be able to hold 256 */ in expand() local 134 i = (unsigned char) *arg; in expand() 142 while (i <= ac) /* ok: i is unsigned _int_ */ in expand() 143 buffer[pos++] = i++; in expand() 150 i = (unsigned char) *arg++; in expand() 152 if (ENABLE_FEATURE_TR_CLASSES && i == ':') { /* [:class:] */ in expand() [all …]
|
D | paste.c | 40 int i; in paste_files() local 45 for (i = 0; i < file_cnt; ++i) { in paste_files() 46 if (files[i] == NULL) in paste_files() 49 line = xmalloc_fgetline(files[i]); in paste_files() 51 fclose_if_not_stdin(files[i]); in paste_files() 52 files[i] = NULL; in paste_files() 59 if (i != file_cnt - 1) { in paste_files() 74 int i; in paste_files_separate() local 76 for (i = 0; files[i]; ++i) { in paste_files_separate() 80 while ((next_line = xmalloc_fgetline(files[i])) != NULL) { in paste_files_separate() [all …]
|
/busybox-1.35.0/archival/libarchive/ |
D | decompress_bunzip2.c | 160 i, j, symCount, symTotal, nSelectors, byteCount[256]; in get_next_block() local 173 i = setjmp(bd->jmpbuf); in get_next_block() 174 if (i) return i; in get_next_block() 179 i = get_bits(bd, 24); in get_next_block() 182 if ((i == 0x177245) && (j == 0x385090)) in get_next_block() 184 if ((i != 0x314159) || (j != 0x265359)) in get_next_block() 202 i = 0; in get_next_block() 209 symToByte[symTotal++] = i; in get_next_block() 211 i++; in get_next_block() 212 } while (i & 15); in get_next_block() [all …]
|
/busybox-1.35.0/include/ |
D | busybox.h | 25 # define APPLET_IS_NOFORK(i) (applet_flags[(i)/4] & (1 << (2 * ((i)%4)))) argument 26 # define APPLET_IS_NOEXEC(i) (applet_flags[(i)/4] & (1 << ((2 * ((i)%4))+1))) argument 28 # define APPLET_IS_NOFORK(i) 0 argument 29 # define APPLET_IS_NOEXEC(i) 0 argument 33 # define APPLET_SUID(i) ((applet_suid[(i)/4] >> (2 * ((i)%4)) & 3)) argument 37 #define APPLET_INSTALL_LOC(i) ({ \ argument 38 unsigned v = (i); \
|