Searched refs:dumper (Results 1 – 5 of 5) sorted by relevance
/busybox-1.35.0/util-linux/ |
D | hexdump.c | 57 static void bb_dump_addfile(dumper_t *dumper, char *name) in bb_dump_addfile() argument 67 bb_dump_add(dumper, p); in bb_dump_addfile() 89 dumper_t *dumper = alloc_dumper(); in hexdump_main() local 107 bb_dump_add(dumper, add_first); in hexdump_main() 108 bb_dump_add(dumper, add_strings[(int)(p - hexdump_opts)]); in hexdump_main() 113 bb_dump_add(dumper, "\"%08.8_Ax\n\""); // final address line after dump in hexdump_main() 115 bb_dump_add(dumper, "\"%08.8_ax \"8/1 \"%02x \"\" \"8/1 \"%02x \""); in hexdump_main() 117 bb_dump_add(dumper, "\" |\"16/1 \"%_p\"\"|\n\""); in hexdump_main() 120 bb_dump_add(dumper, optarg); in hexdump_main() 123 bb_dump_addfile(dumper, optarg); in hexdump_main() [all …]
|
D | hexdump_xxd.c | 169 dumper_t *dumper; in xxd_main() local 176 dumper = alloc_dumper(); in xxd_main() 183 dumper->dump_vflag = ALL; in xxd_main() 187 dumper->dump_length = xstrtou_range( in xxd_main() 194 dumper->dump_skip = xstrtoull_range( in xxd_main() 208 dumper->xxd_displayoff = xstrtoll(opt_o, /*base:*/ 0); in xxd_main() 221 bb_dump_add(dumper, "\" \""); in xxd_main() 223 bb_dump_add(dumper, "\"%08.8_ax: \""); // "address: " in xxd_main() 228 bb_dump_add(dumper, buf); in xxd_main() 236 bb_dump_add(dumper, buf); in xxd_main() [all …]
|
/busybox-1.35.0/coreutils/ |
D | od.c | 39 odoffset(dumper_t *dumper, int argc, char ***argvp) in odoffset() argument 104 dumper->dump_skip = strtol(num, &end, base ? base : 8); in odoffset() 108 dumper->dump_skip = 0; in odoffset() 112 dumper->dump_skip *= 512; in odoffset() 115 dumper->dump_skip *= 1024; in odoffset() 120 dumper->dump_skip = 0; in odoffset() 138 dumper->fshead->nextfu->fmt[TYPE_OFFSET] in odoffset() 139 = dumper->fshead->nextfs->nextfu->fmt[TYPE_OFFSET] in odoffset() 178 dumper_t *dumper = alloc_dumper(); in od_main() local 182 dumper->dump_vflag = ALL; in od_main() [all …]
|
/busybox-1.35.0/libbb/ |
D | dump.c | 56 priv_dumper_t *dumper = xzalloc(sizeof(*dumper)); in alloc_dumper() local 57 dumper->pub.dump_length = -1; in alloc_dumper() 58 dumper->pub.dump_vflag = FIRST; in alloc_dumper() 59 dumper->get__ateof = 1; in alloc_dumper() 60 return &dumper->pub; in alloc_dumper() 111 static NOINLINE void rewrite(priv_dumper_t *dumper, FS *fs) in rewrite() argument 221 dumper->endfu = fu; in rewrite() 305 && fs->bcnt < dumper->blocksize in rewrite() 309 fu->reps += (dumper->blocksize - fs->bcnt) / fu->bcnt; in rewrite() 327 static void do_skip(priv_dumper_t *dumper, const char *fname) in do_skip() argument [all …]
|
/busybox-1.35.0/include/ |
D | dump.h | 42 extern void bb_dump_add(dumper_t *dumper, const char *fmt) FAST_FUNC; 43 extern int bb_dump_dump(dumper_t *dumper, char **argv) FAST_FUNC;
|