/busybox-1.35.0/console-tools/ |
D | deallocvt.c | 34 int num = 0; in deallocvt_main() local 39 num = xatou_range(argv[1], 1, 63); in deallocvt_main() 43 xioctl(get_console_fd_or_die(), VT_DISALLOCATE, (void *)(ptrdiff_t)num); in deallocvt_main()
|
D | chvt.c | 30 int num = xatou_range(single_argv(argv), 1, 63); in chvt_main() local 31 console_make_active(get_console_fd_or_die(), num); in chvt_main()
|
/busybox-1.35.0/editors/ |
D | ed.c | 86 static LINE *findLine(int num) in findLine() argument 91 if ((num < 1) || (num > lastNum)) { in findLine() 92 bb_error_msg("line number %d does not exist", num); in findLine() 101 if (num == curNum) in findLine() 106 if (num < (curNum / 2)) { in findLine() 109 } else if (num > ((curNum + lastNum) / 2)) { in findLine() 114 while (lnum < num) { in findLine() 119 while (lnum > num) { in findLine() 207 int value, num; in getNum() local 220 num = curNum; in getNum() [all …]
|
D | vi.c | 2466 int num, sign, addr, got_addr; in get_one_address() local 2544 num = 0; in get_one_address() 2546 num = num * 10 + *p++ -'0'; in get_one_address() 2548 addr = num; in get_one_address() 2551 addr += sign >= 0 ? num : -num; in get_one_address() 3084 int size, num; in colon() 3105 num = count_lines(text, q); in colon() 3107 num++; in colon() 3124 dot = find_line(num); in colon()
|
/busybox-1.35.0/coreutils/ |
D | od.c | 41 char *num, *p; in odoffset() local 87 for (num = p; isxdigit(*p); ++p) in odoffset() 90 for (num = p; isdigit(*p); ++p) in odoffset() 94 if (num == p) in odoffset() 104 dumper->dump_skip = strtol(num, &end, base ? base : 8); in odoffset()
|
D | ls.c | 783 static struct dnode **dnalloc(unsigned num) in dnalloc() argument 785 if (num < 1) in dnalloc() 788 num++; /* so that we have terminating NULL */ in dnalloc() 789 return xzalloc(num * sizeof(struct dnode *)); in dnalloc()
|
/busybox-1.35.0/miscutils/ |
D | ubi_tools.c | 84 unsigned long long num; in get_num_from_file() local 89 if (sscanf(buf, "%llu", &num) != 1 || num > max) in get_num_from_file() 91 return num; in get_num_from_file() 214 unsigned num; in ubi_tools_main() local 217 num = ubi_devnum_from_devname(ubi_ctrl); in ubi_tools_main() 218 p = path_sys_class_ubi_ubi + sprintf(path_sys_class_ubi_ubi, "%u/", num); in ubi_tools_main() 264 unsigned num = ubi_devnum_from_devname(ubi_ctrl); in ubi_tools_main() local 265 vol_id = ubi_get_volid_by_name(num, vol_name); in ubi_tools_main()
|
D | flash_lock_unlock.c | 87 unsigned long num = info.size / info.erasesize; in flash_lock_unlock_main() local 88 if (sectors > num) { in flash_lock_unlock_main() 91 "%ld\n", sectors, num); in flash_lock_unlock_main()
|
D | bc.c | 267 BcDig *restrict num; member 1344 n->num[0] = 1; in bc_num_one() 1352 n->num = xmalloc(req); in bc_num_init() 1368 n->num = xrealloc(n->num, req); in bc_num_expand() 1373 static FAST_FUNC void bc_num_free(void *num) in bc_num_free() argument 1375 free(((BcNum *) num)->num); in bc_num_free() 1385 memcpy(d->num, s->num, sizeof(BcDig) * d->len); in bc_num_copy() 1404 result = result * 10 + n->num[--i]; in zbc_num_ulong_abs() 1444 ptr = n->num; in bc_num_ulong2num() 1484 #define BC_NUM_ONE(n) ((n)->len == 1 && (n)->rdx == 0 && (n)->num[0] == 1) [all …]
|
D | less.c | 1410 int num; in number_process() local 1432 num = bb_strtou(num_input, NULL, 10); in number_process() 1434 if (num < 1 || num > MAXLINES) { in number_process() 1442 buffer_down(num); in number_process() 1445 buffer_up(num); in number_process() 1448 buffer_lineno(num - 1); in number_process() 1453 num = num * (num_lines > 0 ? num_lines : max_lineno) / 100; in number_process() 1455 num = num * max_lineno / 100; in number_process() 1457 buffer_lineno(num); in number_process() 1461 goto_match(match_pos + num); in number_process()
|
D | fbsplash.c | 497 unsigned num; in fbsplash_main() local 555 num = atoi(num_buf); in fbsplash_main() 556 if (isdigit(num_buf[0]) && (num <= 100)) { in fbsplash_main() 558 DEBUG_MESSAGE(itoa(num)); in fbsplash_main() 560 fb_drawprogressbar(num); in fbsplash_main()
|
/busybox-1.35.0/networking/ |
D | netstat.c | 424 int num; in scan_inet_proc_line() local 430 num = sscanf(line, in scan_inet_proc_line() 439 if (num < 9) { in scan_inet_proc_line() 551 int num, path_ofs; in unix_do_one() local 562 num = sscanf(line, "%*p: %lX %lX %lX %X %X %lu %n", in unix_do_one() 564 if (num < 6) { in unix_do_one()
|
D | arp.c | 412 int num; in arp_show() local 439 num = sscanf(line, "%s 0x%x 0x%x %s %s %s\n", in arp_show() 441 if (num < 4) in arp_show()
|
/busybox-1.35.0/e2fsprogs/ |
D | fsck.c | 884 int num = 2; in compile_fs_type() local 889 num++; in compile_fs_type() 893 G.fs_type_list = xzalloc(num * sizeof(G.fs_type_list[0])); in compile_fs_type() 894 G.fs_type_flag = xzalloc(num * sizeof(G.fs_type_flag[0])); in compile_fs_type() 897 num = 0; in compile_fs_type() 917 G.fs_type_flag[num] = negate ? FS_TYPE_FLAG_NEGOPT : FS_TYPE_FLAG_OPT; in compile_fs_type() 927 G.fs_type_list[num++] = xstrndup(s, comma-s); in compile_fs_type()
|
/busybox-1.35.0/libbb/ |
D | lineedit.c | 504 static void input_backward(unsigned num) in input_backward() argument 506 if (num > cursor) in input_backward() 507 num = cursor; in input_backward() 508 if (num == 0) in input_backward() 510 cursor -= num; in input_backward() 516 int n = num; in input_backward() 517 num = 0; in input_backward() 519 adjust_width_and_validate_wc(&num, command_ps[cursor + n]); in input_backward() 520 if (num == 0) in input_backward() 524 if (cmdedit_x >= num) { in input_backward() [all …]
|
/busybox-1.35.0/archival/ |
D | dpkg.c | 629 int num = -1; in fill_package_struct() local 685 num = search_package_hashtable(new_node->name, new_node->version, VER_EQUAL); in fill_package_struct() 686 free_package(package_hashtable[num]); in fill_package_struct() 687 package_hashtable[num] = new_node; in fill_package_struct() 688 return num; in fill_package_struct() 692 static unsigned get_status(const unsigned status_node, const int num) in get_status() argument 701 for (i = 1; i < num; i++) { in get_status()
|
/busybox-1.35.0/scripts/ |
D | bloat-o-meter | 59 num, value, size, typ, bind, vis, ndx, name = l.split()
|
/busybox-1.35.0/shell/ |
D | math.c | 643 num: in evaluate_string() 658 goto num; in evaluate_string()
|
D | ash.c | 3957 unsigned num; in getjob() local 3992 num = atoi(p); in getjob() 3993 if (num > 0 && num <= njobs) { in getjob() 3994 jp = jobtab + num - 1; in getjob() 6425 cvtnum(arith_t num, int flags) in cvtnum() argument 6432 len = fmtstr(buf, len, ARITH_FMT, num); in cvtnum() 7436 int num; in varvalue() local 7456 num = rootpid; in varvalue() 7459 num = exitstatus; in varvalue() 7462 num = shellparam.nparam; in varvalue() [all …]
|
D | hush.c | 4431 int num; in redirect_opt_num() local 4435 num = bb_strtou(o->data, NULL, 10); in redirect_opt_num() 4436 if (errno || num < 0) in redirect_opt_num() 4439 return num; in redirect_opt_num()
|
/busybox-1.35.0/docs/ |
D | posix_conformance.txt | 494 -p num | yes | yes |
|