/busybox-1.35.0/scripts/kconfig/lxdialog/ |
D | lxdialog.c | 56 int offset = 0, opt_clear = 0, end_common_opts = 0, retval; in main() local 71 while (offset < argc - 1 && !end_common_opts) { /* Common options */ in main() 72 if (!strcmp(argv[offset + 1], "--title")) { in main() 73 if (argc - offset < 3 || title != NULL) { in main() 77 title = argv[offset + 2]; in main() 78 offset += 2; in main() 80 } else if (!strcmp(argv[offset + 1], "--backtitle")) { in main() 85 backtitle = argv[offset + 2]; in main() 86 offset += 2; in main() 88 } else if (!strcmp(argv[offset + 1], "--clear")) { in main() [all …]
|
/busybox-1.35.0/miscutils/ |
D | hexedit.c | 40 off_t offset; member 74 static int format_line(char *hex, uint8_t *data, off_t offset) in format_line() argument 82 ofs_pos = sprintf(hex, "%08"OFF_FMT"x ", offset); in format_line() 84 if (offset <= 0xffff) in format_line() 85 ofs_pos = sprintf(hex, "%04"OFF_FMT"x ", offset); in format_line() 87 ofs_pos = sprintf(hex, "%08"OFF_FMT"x ", offset); in format_line() 93 if ((G.size - offset) > 0) { in format_line() 95 if ((G.size - offset) <= 15) in format_line() 96 end = data + (G.size - offset) - 1; in format_line() 122 off_t offset; in redraw() local [all …]
|
D | flash_lock_unlock.c | 51 unsigned long offset; in flash_lock_unlock_main() local 61 offset = 0; in flash_lock_unlock_main() 66 offset = xstrtoul(argv[2], 0); in flash_lock_unlock_main() 78 if (offset > size) { in flash_lock_unlock_main() 80 offset, size); in flash_lock_unlock_main() 95 lock.start = offset; in flash_lock_unlock_main()
|
D | strings.c | 45 off_t offset; in strings_main() local 79 offset = 0; in strings_main() 93 printf(radix_fmt, offset - n); in strings_main() 105 offset++; in strings_main()
|
D | adjtimex.c | 103 txc.offset = xatol(opt_o); in adjtimex_main() 140 txc.modes, txc.offset, txc.freq, txc.maxerror, in adjtimex_main()
|
/busybox-1.35.0/networking/ |
D | ntpd.diff | 18 + offset *= (abs_offset / d); 22 tmx.offset = (long)(offset * 1000000); /* usec */ 24 if (tmx.offset > (long)(SLEW_THRESHOLD * 1000000)) {
|
D | ntpd.c | 692 reset_peer_stats(peer_t *p, double offset) in reset_peer_stats() argument 695 bool small_ofs = fabs(offset) < STEP_THRESHOLD; in reset_peer_stats() 711 p->filter_datapoint[i].d_recv_time += offset; in reset_peer_stats() 713 p->filter_datapoint[i].d_offset -= offset; in reset_peer_stats() 726 p->lastpkt_recv_time += offset; in reset_peer_stats() 984 static void run_script(const char *action, double offset) in run_script() argument 1006 env4 = xasprintf("%s=%f", "offset", offset); in run_script() 1030 step_time(double offset) in step_time() argument 1039 dtime = tvc.tv_sec + (1.0e-6 * tvc.tv_usec) + offset; in step_time() 1050 bb_info_msg("setting time to %s.%06u (offset %+fs)", buf, (unsigned)tvn.tv_usec, offset); in step_time() [all …]
|
/busybox-1.35.0/util-linux/ |
D | blkdiscard.c | 47 uint64_t offset; /* Leaving these two variables out does not */ in blkdiscard_main() local 68 offset = xatoull_sfx(offset_str, kMG_suffixes); in blkdiscard_main() 74 length -= offset; in blkdiscard_main() 77 range[0] = offset; in blkdiscard_main()
|
D | losetup.c | 140 unsigned long long offset = 0; in losetup_main() local 144 offset = xatoull(opt_o); in losetup_main() 153 if (set_loop(&d, argv[0], offset, 0, flags) < 0) in losetup_main()
|
D | fsck_minix.c | 961 static void check_file(struct minix1_inode *dir, unsigned offset) in check_file() argument 968 block = map_block(dir, offset / BLOCK_SIZE); in check_file() 970 name = check_file_blk + (offset % BLOCK_SIZE) + 2; in check_file() 984 if (!offset) { in check_file() 990 if (offset == dirsize) { in check_file() 1011 static void check_file2(struct minix2_inode *dir, unsigned offset) in check_file2() argument 1018 block = map_block2(dir, offset / BLOCK_SIZE); in check_file2() 1020 name = check_file_blk + (offset % BLOCK_SIZE) + 2; in check_file2() 1034 if (!offset) { in check_file2() 1040 if (offset == dirsize) { in check_file2() [all …]
|
D | fbset.c | 74 uint32_t offset; /* beginning of bitfield */ member 388 base->red.offset = red_offset; in read_mode_db() 391 base->green.offset = green_offset; in read_mode_db() 394 base->blue.offset = blue_offset; in read_mode_db() 397 base->transp.offset = transp_offset; in read_mode_db() 433 v->red.length, v->red.offset, v->green.length, v->green.offset, in showmode() 434 v->blue.length, v->blue.offset, v->transp.length, v->transp.offset); in showmode()
|
/busybox-1.35.0/archival/libarchive/ |
D | data_align.c | 10 unsigned skip_amount = (boundary - (archive_handle->offset % boundary)) % boundary; in data_align() 13 archive_handle->offset += skip_amount; in data_align()
|
D | get_header_ar.c | 51 archive_handle->offset++; in get_header_ar() 53 archive_handle->offset += 60; in get_header_ar() 71 archive_handle->offset += size; in get_header_ar() 84 archive_handle->offset += size; in get_header_ar() 141 archive_handle->offset += typed->size; in get_header_ar() 143 lseek(archive_handle->src_fd, archive_handle->offset, SEEK_SET); in get_header_ar()
|
D | get_header_tar.c | 80 archive_handle->offset += blk_sz; in process_pax_hdr() 202 if (archive_handle->offset == 0) in get_header_tar() 216 archive_handle->offset += i; in get_header_tar() 253 archive_handle->offset = 0; in get_header_tar() 401 archive_handle->offset += file_header->size; in get_header_tar() 411 archive_handle->offset += file_header->size; in get_header_tar() 432 archive_handle->offset += sz; in get_header_tar() 479 archive_handle->offset += file_header->size; in get_header_tar()
|
D | get_header_cpio.c | 38 archive_handle->offset += 110; in get_header_cpio() 79 archive_handle->offset += namesize; in get_header_cpio() 86 archive_handle->cpio__blocks = (uoff_t)(archive_handle->offset + 511) >> 9; in get_header_cpio() 95 archive_handle->offset += file_header->size; in get_header_cpio() 133 archive_handle->offset += file_header->size; in get_header_cpio()
|
D | get_header_tar_bz2.c | 14 archive_handle->offset = 0; in get_header_tar_bz2()
|
D | get_header_tar_gz.c | 14 archive_handle->offset = 0; in get_header_tar_gz()
|
D | get_header_tar_lzma.c | 17 archive_handle->offset = 0; in get_header_tar_lzma()
|
D | get_header_tar_xz.c | 14 archive_handle->offset = 0; in get_header_tar_xz()
|
D | unpack_ar_archive.c | 17 ar_archive->offset += AR_MAGIC_LEN; in unpack_ar_archive()
|
/busybox-1.35.0/examples/var_service/ntpd/ |
D | ntp.script | 41 "offset=$offset"\ 52 "offset=$offset"\
|
/busybox-1.35.0/shell/hush_test/hush-vars/ |
D | var_bash1a.tests | 2 offset=2 5 echo "varoffset2 '${parameter:${offset}}'"
|
/busybox-1.35.0/shell/ash_test/ash-vars/ |
D | var_bash1a.tests | 2 offset=2 5 echo "varoffset2 '${parameter:${offset}}'"
|
/busybox-1.35.0/editors/ |
D | ed.c | 130 static int findString(const LINE *lp, const char *str, int len, int offset) in findString() argument 135 cp = &lp->data[offset]; in findString() 136 left = lp->len - offset - len; in findString() 616 int delim, oldLen, newLen, deltaLen, offset; in subCommand() local 688 offset = 0; in subCommand() 692 offset = findString(lp, oldStr, oldLen, offset); in subCommand() 694 if (offset < 0) { in subCommand() 699 offset = 0; in subCommand() 714 memcpy(&lp->data[offset], newStr, newLen); in subCommand() 716 memcpy(&lp->data[offset + newLen], in subCommand() [all …]
|
/busybox-1.35.0/archival/ |
D | ar.c | 83 if (handle->offset & 1) { in output_ar_header() 85 handle->offset++; in output_ar_header() 101 handle->offset += AR_HEADER_LEN; in output_ar_header() 117 out_handle->offset += fh->size; in copy_data() 147 handle->offset += st.st_size; in write_ar_header() 174 out_handle->offset += AR_MAGIC_LEN + 1; in write_ar_archive()
|