/busybox-1.35.0/libbb/ |
D | pw_encrypt_sha.c | 48 unsigned cnt; in sha_crypt() local 53 cnt = strlen(salt_data) + 1 + 43 + 1; in sha_crypt() 57 cnt += 43; in sha_crypt() 59 result = resptr = xzalloc(cnt); /* will provide NUL terminator */ in sha_crypt() 68 cnt = bb_strtou(salt_data + 7, &endp, 10); in sha_crypt() 71 rounds = cnt; in sha_crypt() 119 for (cnt = key_len; cnt > _32or64; cnt -= _32or64) in sha_crypt() 121 sha_hash(&ctx, alt_result, cnt); in sha_crypt() 125 for (cnt = key_len; cnt != 0; cnt >>= 1) in sha_crypt() 126 if ((cnt & 1) != 0) in sha_crypt() [all …]
|
D | run_shell.c | 72 int cnt = 0; in exec_shell() local 74 args[++cnt] = *additional_args++; in exec_shell()
|
D | pw_encrypt.c | 34 int FAST_FUNC crypt_make_salt(char *p, int cnt /*, int x */) in crypt_make_salt() argument 50 } while (--cnt); in crypt_make_salt()
|
D | dump.c | 551 int cnt; in display() local 555 for (cnt = fu->reps; cnt; --cnt) { in display() 570 if (cnt == 1 && pr->nospace) { in display() 654 if (cnt == 1 && pr->nospace) { in display()
|
D | hash_md5_sha.c | 499 int cnt; in sha1_process_block64() local 515 cnt = 0; in sha1_process_block64() 528 work += W[cnt]; in sha1_process_block64() 535 W[cnt] = W[cnt+16] = rotl32(W[cnt+13] ^ W[cnt+8] ^ W[cnt+2] ^ W[cnt], 1); in sha1_process_block64() 536 work += W[cnt]; in sha1_process_block64() 546 cnt = (cnt + 1) & 15; in sha1_process_block64()
|
/busybox-1.35.0/examples/ |
D | mdev.conf.change_blockdev.sh | 4 cnt=60 15 while sleep 1; test $cnt != 0; do 16 echo "Trying to reread partition table on $DEVNAME ($cnt)" 17 cnt=$((cnt-1))
|
/busybox-1.35.0/scripts/ |
D | randomtest.loop | 21 cnt=0 24 echo "Passes: $cnt Failures: $fail" 76 let cnt++
|
/busybox-1.35.0/miscutils/ |
D | nandwrite.c | 123 ssize_t cnt; in nandwrite_main() local 208 cnt = -1; in nandwrite_main() 240 cnt = full_read(input_fd, filebuf, meminfo_writesize); in nandwrite_main() 241 if (cnt == 0) { in nandwrite_main() 247 if (cnt < meminfo_writesize) { in nandwrite_main() 254 memset(filebuf + cnt, 0, meminfo_writesize - cnt); in nandwrite_main() 266 if (cnt < meminfo_writesize) in nandwrite_main() 270 if (IS_NANDWRITE && cnt != 0) { in nandwrite_main()
|
D | hexedit.c | 288 unsigned cnt; in hexedit_main() local 300 cnt = 1; in hexedit_main() 354 cnt = G.height; in hexedit_main() 375 if (--cnt) in hexedit_main() 401 cnt = G.height; in hexedit_main() 418 if (--cnt) in hexedit_main()
|
D | fbsplash.c | 252 int cnt; in fb_drawrectangle() local 264 cnt = G.nbar_width - 1; in fb_drawrectangle() 270 } while (--cnt >= 0); in fb_drawrectangle() 275 cnt = G.nbar_height - 1; in fb_drawrectangle() 281 } while (--cnt >= 0); in fb_drawrectangle()
|
/busybox-1.35.0/init/ |
D | halt.c | 140 int cnt = initial - 1; in init_was_not_there() local 146 while (kill(1, 0) != 0 && --cnt >= 0) in init_was_not_there() 153 while (access("/proc/meminfo", F_OK) != 0 && --cnt >= 0) in init_was_not_there() 157 return (cnt != initial - 1); in init_was_not_there()
|
/busybox-1.35.0/scripts/kconfig/ |
D | conf.c | 348 int cnt, def; in conf_choice() local 352 cnt = def = 0; in conf_choice() 361 cnt++; in conf_choice() 363 def = cnt; in conf_choice() 367 printf(" %d. %s", cnt, menu_get_prompt(child)); in conf_choice() 375 if (cnt == 1) { in conf_choice() 379 printf("[1-%d", cnt); in conf_choice() 387 cnt = def; in conf_choice() 388 printf("%d\n", cnt); in conf_choice() 403 cnt = def; in conf_choice() [all …]
|
D | symbol.c | 724 int i, cnt, size; in sym_re_search() local 727 cnt = size = 0; in sym_re_search() 739 if (cnt + 1 >= size) { in sym_re_search() 748 sym_arr[cnt++] = sym; in sym_re_search() 751 sym_arr[cnt] = NULL; in sym_re_search()
|
/busybox-1.35.0/coreutils/ |
D | split.c | 95 off_t cnt = 1000; in split_main() local 110 cnt = XATOOFF(count_p); in split_main() 112 cnt = xatoull_sfx(count_p, in split_main() 153 remaining = cnt; in split_main()
|
/busybox-1.35.0/editors/ |
D | vi.c | 735 int cnt; in end_screen() local 739 for (cnt = 0; cnt < rows - 2; cnt++) in end_screen() 749 int cnt; in count_lines() local 756 cnt = 0; in count_lines() 761 cnt++; in count_lines() 764 return cnt; in count_lines() 838 int cnt, ro, co; in sync_cursor() local 845 cnt = count_lines(beg_cur, screenbegin); in sync_cursor() 848 if (cnt > (rows - 1) / 2) { in sync_cursor() 850 for (cnt = 0; cnt < (rows - 1) / 2; cnt++) { in sync_cursor() [all …]
|
/busybox-1.35.0/archival/ |
D | rpm.c | 114 unsigned cnt; in rpm_gettags() local 120 cnt = ntohl(header.entries); in rpm_gettags() 121 storepos += sizeof(header) + cnt * 16; in rpm_gettags() 123 G.tagcount += cnt; in rpm_gettags() 125 xread(fd, &tags[idx], sizeof(tags[0]) * cnt); in rpm_gettags() 126 while (cnt--) { in rpm_gettags()
|
D | lzop.c | 555 static void add_bytes_to_chksum(const void* buf, int cnt) in add_bytes_to_chksum() argument 560 G.chksum.f_adler32 = lzo_adler32(G.chksum.f_adler32, (const uint8_t*)buf, cnt); in add_bytes_to_chksum() 561 G.chksum.f_crc32 = lzo_crc32(G.chksum.f_crc32, (const uint8_t*)buf, cnt); in add_bytes_to_chksum() 576 static void f_read(void* buf, int cnt) in f_read() argument 578 xread(0, buf, cnt); in f_read() 579 add_bytes_to_chksum(buf, cnt); in f_read() 605 static void f_write(const void* buf, int cnt) in f_write() argument 607 xwrite(1, buf, cnt); in f_write() 608 add_bytes_to_chksum(buf, cnt); in f_write()
|
/busybox-1.35.0/util-linux/ |
D | mdev.c | 909 int cnt; in load_firmware() local 919 for (cnt = 0; cnt < 30; ++cnt) { in load_firmware() 928 cnt = 0; in load_firmware() 940 cnt = bb_copyfd_eof(firmware_fd, data_fd); in load_firmware() 950 if (cnt > 0) in load_firmware()
|
D | fbset.c | 116 static void copy_if_gt0(uint32_t *src, uint32_t *dst, unsigned cnt) in copy_if_gt0() argument 123 } while (--cnt); in copy_if_gt0()
|
/busybox-1.35.0/archival/libarchive/ |
D | lzo1x_9x.c | 279 static void swd_search(lzo_swd_p s, unsigned node, unsigned cnt) in swd_search() argument 293 for ( ; cnt-- > 0; node = s->succ3[node]) { in swd_search() 373 unsigned cnt, node; in swd_findbest() local 381 cnt = s->llen3[key]++; in swd_findbest() 383 if (cnt > s->max_chain) in swd_findbest() 384 cnt = s->max_chain; in swd_findbest() 399 swd_search(s, node, cnt); in swd_findbest()
|
/busybox-1.35.0/procps/ |
D | powertop.c | 429 unsigned cnt; in process_timer_stats() local 436 cnt = bb_strtou(count, NULL, 10); in process_timer_stats() 439 n = cnt / G.total_cpus; in process_timer_stats() 492 save_line(line, cnt); in process_timer_stats()
|
/busybox-1.35.0/libpwdgrp/ |
D | pwd_grp.c | 223 int cnt = 3; in parse_common() local 227 cnt++; in parse_common() 228 S.string_size += cnt * sizeof(char*); in parse_common()
|
/busybox-1.35.0/archival/libarchive/bz/ |
D | compress.c | 149 unsigned cnt = 0; in makeMaps_e() local 152 s->unseqToSeq[i] = cnt; in makeMaps_e() 153 cnt++; in makeMaps_e() 156 s->nInUse = cnt; in makeMaps_e()
|
/busybox-1.35.0/networking/ |
D | tls.c | 836 unsigned cnt; in xwrite_encrypted_aesgcm() local 860 cnt = 1; in xwrite_encrypted_aesgcm() 865 cnt++; in xwrite_encrypted_aesgcm() 866 COUNTER(nonce) = htonl(cnt); /* yes, first cnt here is 2 (!) */ in xwrite_encrypted_aesgcm() 970 unsigned cnt; in tls_aesgcm_decrypt() local 983 cnt = 1; in tls_aesgcm_decrypt() 988 cnt++; in tls_aesgcm_decrypt() 989 COUNTER(nonce) = htonl(cnt); /* yes, first cnt here is 2 (!) */ in tls_aesgcm_decrypt()
|
D | ifupdown.c | 1345 int fd, flags, cnt; in open_new_state_file() local 1347 cnt = 0; in open_new_state_file() 1360 if (cnt > 30) { in open_new_state_file() 1367 msleep(cnt); in open_new_state_file() 1368 cnt++; in open_new_state_file()
|