Lines Matching refs:fmt
81 fshead->nextfu->fmt[TYPE_OFFSET] = *optarg; in oldsyntax()
82 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = in oldsyntax()
86 fshead->nextfu->fmt = empty; in oldsyntax()
87 fshead->nextfs->nextfu->fmt = padding; in oldsyntax()
273 fshead->nextfu->fmt[TYPE_OFFSET] = 'x'; in odoffset()
274 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = 'x'; in odoffset()
276 fshead->nextfu->fmt[TYPE_OFFSET] = 'd'; in odoffset()
277 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = 'd'; in odoffset()
285 odformat(const char *fmt) in odformat() argument
289 while (*fmt != '\0') { in odformat()
290 switch ((fchar = *fmt++)) { in odformat()
298 fmt = odformatint(fchar, fmt); in odformat()
301 fmt = odformatfp(fchar, fmt); in odformat()
310 odformatfp(char fchar __unused, const char *fmt) in odformatfp() argument
317 switch (*fmt) { in odformatfp()
320 fmt++; in odformatfp()
324 fmt++; in odformatfp()
328 fmt++; in odformatfp()
331 if (isdigit((unsigned char)*fmt)) { in odformatfp()
333 isize = (size_t)strtoul(fmt, &end, 10); in odformatfp()
335 errx(1, "%s: invalid size", fmt); in odformatfp()
336 fmt = (const char *)end; in odformatfp()
361 return (fmt); in odformatfp()
365 odformatint(char fchar, const char *fmt) in odformatint() argument
373 switch (*fmt) { in odformatint()
376 fmt++; in odformatint()
380 fmt++; in odformatint()
384 fmt++; in odformatint()
388 fmt++; in odformatint()
391 if (isdigit((unsigned char)*fmt)) { in odformatint()
393 isize = (size_t)strtoul(fmt, &end, 10); in odformatint()
395 errx(1, "%s: invalid size", fmt); in odformatint()
400 fmt = (const char *)end; in odformatint()
426 return (fmt); in odformatint()
430 odadd(const char *fmt) in odadd() argument
436 add(fmt); in odadd()