Lines Matching refs:fmt

75 				fshead->nextfu->fmt[TYPE_OFFSET] = *optarg;  in oldsyntax()
76 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = in oldsyntax()
80 fshead->nextfu->fmt = empty; in oldsyntax()
81 fshead->nextfs->nextfu->fmt = padding; in oldsyntax()
267 fshead->nextfu->fmt[TYPE_OFFSET] = 'x'; in odoffset()
268 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = 'x'; in odoffset()
270 fshead->nextfu->fmt[TYPE_OFFSET] = 'd'; in odoffset()
271 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = 'd'; in odoffset()
279 odformat(const char *fmt) in odformat() argument
283 while (*fmt != '\0') { in odformat()
284 switch ((fchar = *fmt++)) { in odformat()
292 fmt = odformatint(fchar, fmt); in odformat()
295 fmt = odformatfp(fchar, fmt); in odformat()
304 odformatfp(char fchar __unused, const char *fmt) in odformatfp() argument
311 switch (*fmt) { in odformatfp()
314 fmt++; in odformatfp()
318 fmt++; in odformatfp()
322 fmt++; in odformatfp()
325 if (isdigit((unsigned char)*fmt)) { in odformatfp()
327 isize = (size_t)strtoul(fmt, &end, 10); in odformatfp()
329 errx(1, "%s: invalid size", fmt); in odformatfp()
330 fmt = (const char *)end; in odformatfp()
355 return (fmt); in odformatfp()
359 odformatint(char fchar, const char *fmt) in odformatint() argument
367 switch (*fmt) { in odformatint()
370 fmt++; in odformatint()
374 fmt++; in odformatint()
378 fmt++; in odformatint()
382 fmt++; in odformatint()
385 if (isdigit((unsigned char)*fmt)) { in odformatint()
387 isize = (size_t)strtoul(fmt, &end, 10); in odformatint()
389 errx(1, "%s: invalid size", fmt); in odformatint()
394 fmt = (const char *)end; in odformatint()
420 return (fmt); in odformatint()
424 odadd(const char *fmt) in odadd() argument
430 add(fmt); in odadd()