/src/bin/stty/ |
stty.c | 65 enum FMT fmt; local in function:main 71 fmt = STTY_NOTSET; 80 fmt = STTY_POSIX; 83 fmt = STTY_BSD; 90 fmt = STTY_GFLAG; 109 switch(fmt) { 116 print(&i.t, &i.win, i.queue, i.ldisc, fmt);
|
/src/sys/external/bsd/gnu-efi/dist/apps/ |
printenv.c | 10 CHAR16 name[256], *val, fmt[20]; local in function:efi_main 22 StrCpy(fmt, L"%.-35g %.-20s %s\n"); 30 Print(fmt, &vendor, name, val);
|
/src/sys/arch/ia64/disasm/ |
disasm_decode.c | 54 enum asm_fmt fmt; local in function:asm_decodeA 57 fmt = ASM_FMT_NONE, op = ASM_OP_NONE; 67 fmt = ASM_FMT_A1; 72 fmt = ASM_FMT_A1; 77 fmt = ASM_FMT_A1; 83 fmt = ASM_FMT_A1; 87 fmt = ASM_FMT_A1; 91 fmt = ASM_FMT_A1; 95 fmt = ASM_FMT_A1; 103 fmt = ASM_FMT_A3 539 enum asm_fmt fmt; local in function:asm_decodeB 655 enum asm_fmt fmt; local in function:asm_decodeF 906 enum asm_fmt fmt; local in function:asm_decodeI 1318 enum asm_fmt fmt; local in function:asm_decodeM 2477 enum asm_fmt fmt; local in function:asm_decodeX [all...] |
/src/sys/arch/x68k/stand/libsa/ |
fdvar.h | 41 struct fdfmt fmt; member in struct:fd_softc
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_fourcc.c | 53 uint32_t fmt = DRM_FORMAT_INVALID; local in function:drm_mode_legacy_fb_format 58 fmt = DRM_FORMAT_C8; 64 fmt = DRM_FORMAT_XRGB1555; 67 fmt = DRM_FORMAT_RGB565; 76 fmt = DRM_FORMAT_RGB888; 82 fmt = DRM_FORMAT_XRGB8888; 85 fmt = DRM_FORMAT_XRGB2101010; 88 fmt = DRM_FORMAT_ARGB8888; 99 return fmt; 117 uint32_t fmt = drm_mode_legacy_fb_format(bpp, depth) local in function:drm_driver_legacy_fb_format [all...] |
/src/tests/lib/libossaudio/ |
t_ossaudio.c | 48 int fd, channels, fmt, rate; local in function:ATF_TC_BODY 124 fmt = AFMT_MU_LAW; 125 if (ioctl(fd, SNDCTL_DSP_SETFMT, &fmt) < 0) 127 ATF_REQUIRE_EQ(fmt, AFMT_MU_LAW); 134 fmt = AFMT_A_LAW; 135 if (ioctl(fd, SNDCTL_DSP_SETFMT, &fmt) < 0) 137 ATF_REQUIRE_EQ(fmt, AFMT_A_LAW); 144 fmt = AFMT_S16_LE; 145 if (ioctl(fd, SNDCTL_DSP_SETFMT, &fmt) < 0) 147 ATF_REQUIRE_EQ(fmt, AFMT_S16_LE) [all...] |
/src/usr.bin/audiocfg/ |
audiodev.h | 39 struct audio_format fmt; member in struct:audiofmt
|
/src/usr.bin/ldd/ |
ldd_elfxx.c | 173 const char *fmt; local in function:fmtprint 197 fmt = libname == libnamebuf ? fmt1 : fmt2; 198 while ((c = *fmt++) != '\0') { 204 switch (c = *fmt) { 216 switch (c = *fmt) { 247 ++fmt;
|
/src/usr.sbin/sysinst/ |
txtwalk.c | 203 const char *fmt; local in function:finddata 209 for (fmt = item->fmt; *fmt; fmt++) { 210 if (!*line && *fmt) 212 if (*fmt == '%') { 213 fmt++; 214 if (!*fmt) 216 switch (*fmt) { [all...] |
txtwalk.h | 51 const char *fmt; /* Expected format. */ member in struct:lookfor
|
/src/tests/lib/libc/stdio/ |
t_printf.c | 120 char s[16], fmt[32]; local in function:ATF_TC_BODY 122 snprintf(fmt, sizeof(fmt), "%%%zu$d", SIZE_MAX / sizeof(size_t)); 124 ATF_CHECK(snprintf(s, sizeof(s), fmt, -23) == -1);
|
/src/lib/libc/net/ |
ethers.c | 200 static const char fmt[] = " %x:%x:%x:%x:%x:%x" local in function:ether_line 209 if (sscanf(l, fmt,
|
/src/usr.bin/hexdump/ |
odsyntax.c | 95 fshead->nextfu->fmt[TYPE_OFFSET] = *optarg; 96 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = 100 fshead->nextfu->fmt = empty; 101 fshead->nextfs->nextfu->fmt = padding; 225 char *fmt, type, *tmp; local in function:posixtypes 296 (void)easprintf(&fmt, "%d/%d \"%*s%s \" \"\\n\"", 299 add(fmt); 389 fshead->nextfu->fmt[TYPE_OFFSET] = 'x'; 390 fshead->nextfs->nextfu->fmt[TYPE_OFFSET] = 'x'; 392 fshead->nextfu->fmt[TYPE_OFFSET] = 'd' [all...] |
hexdump.h | 50 char *fmt; /* printf format */ member in struct:_pr 62 char *fmt; /* format string */ member in struct:_fu
|
parse.c | 93 add(const char *fmt) 111 for (p = fmt;;) { 127 badfmt(fmt); 143 badfmt(fmt); 151 badfmt(fmt); 154 badfmt(fmt); 155 tfu->fmt = emalloc(p - savep + 1); 156 (void) strncpy(tfu->fmt, savep, p - savep); 157 tfu->fmt[p - savep] = '\0'; 158 escape(tfu->fmt); 170 char *fmt; local in function:size [all...] |
/src/usr.bin/time/ |
time.c | 74 const char *fmt; local in function:main 83 fmt = NULL; 87 fmt = optarg; 92 fmt = "%Uu %Ss %E %P %X+%Dk %I+%Oio %Fpf+%Ww"; 98 fmt = NULL; 104 fmt = NULL; 107 fmt = "%Uu %Ss %E %P\t%X+%Dk %I+%Oio %Fpf+%Ww"; 149 if (fmt) { 153 prusage1(stderr, fmt, prec, &null_ru, &ru, &after, &before); 195 "Usage: %s [-clpt] [-f <fmt>] utility [argument ...]\n" [all...] |
/src/sys/arch/next68k/stand/boot/ |
machdep.c | 101 u_short fmt:4, member in struct:trapframe 117 fp->fmt, fp->vec, fp->sr, fp->pc);
|
/src/sys/ddb/ |
db_output.c | 222 const char *fmt; local in function:db_format_radix 230 fmt = altflag ? "-%#qo" : "-%qo"; 232 fmt = altflag ? "-%#qu" : "-%qu"; 237 ++fmt; 239 snprintf(buf, bufsiz, fmt, val); 249 const char *fmt = (altflag && val) ? "-%#qx" : "-%qx"; local in function:db_format_hex 254 ++fmt; 256 snprintf(buf, bufsiz, fmt, val);
|
/src/lib/libc/gdtoa/test/ |
dt.c | 191 char *fmt, *s, *s1, *se; local in function:main 217 fmt = "Output: d =\n%.17g = 0x%lx %lx\n"; 232 fmt = "Output: d =\n%.17g = 0x%lx %lx, se = %s"; 236 printf(fmt, dval(&d), UL word0(&d), UL word1(&d), se);
|
/src/lib/libc/gen/ |
xsyslog.c | 153 char *fmt = fmt_cat; local in function:_vxsyslogp_r 154 struct iovec iov[7]; /* prog + [ + pid + ]: + fmt + crlf */ 265 for (t = fmt_cpy, fmt_left = FMT_LEN; (ch = *fmt) != '\0'; ++fmt) { 266 if (ch == '%' && fmt[1] == 'm') { 277 fmt++; 279 } else if (ch == '%' && fmt[1] == '%' && fmt_left > 2) { 282 fmt++;
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/ |
amdgpu_dcn10_cm_common.c | 139 struct custom_float_format fmt; local in function:cm_helper_convert_to_custom_float 145 fmt.exponenta_bits = 6; 146 fmt.mantissa_bits = 12; 147 fmt.sign = false; 152 if (!convert_to_custom_float_format(corner_points[0].red.x, &fmt, 157 if (!convert_to_custom_float_format(corner_points[0].green.x, &fmt, 162 if (!convert_to_custom_float_format(corner_points[0].blue.x, &fmt, 168 if (!convert_to_custom_float_format(corner_points[0].red.offset, &fmt, 173 if (!convert_to_custom_float_format(corner_points[0].green.offset, &fmt, 178 if (!convert_to_custom_float_format(corner_points[0].blue.offset, &fmt, [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
fb_decoder.c | 210 u32 val, fmt; local in function:intel_vgpu_decode_primary_plane 225 fmt = skl_format_to_drm( 231 if (fmt >= ARRAY_SIZE(skl_pixel_formats)) { 236 plane->bpp = skl_pixel_formats[fmt].bpp; 237 plane->drm_format = skl_pixel_formats[fmt].drm_format; 240 fmt = bdw_format_to_drm(val & DISPPLANE_PIXFORMAT_MASK); 241 plane->bpp = bdw_pixel_formats[fmt].bpp; 242 plane->drm_format = bdw_pixel_formats[fmt].drm_format; 246 gvt_vgpu_err("Non-supported pixel format (0x%x)\n", fmt); 250 plane->hw_format = fmt; 419 u32 val, fmt; local in function:intel_vgpu_decode_sprite_plane [all...] |
/src/usr.bin/id/ |
id.c | 224 const char *fmt; local in function:current 245 for (fmt = " groups=%ju", lastid = -1, cnt = 0; cnt < ngroups; 246 fmt = ",%ju", lastid = gid, cnt++) { 250 (void)printf(fmt, (uintmax_t)gid); 262 const char *fmt; local in function:user 276 for (fmt = " groups=%u", lastid = -1, cnt = 0; cnt < ngroups; 277 fmt=",%u", lastid = id, cnt++) { 281 (void)printf(fmt, id); 296 const char *fmt; local in function:group 311 fmt = nflag ? "%s" : "%u" [all...] |
/src/usr.bin/telnet/ |
utilities.c | 185 const char *fmt; 186 fmt = (cmd == WILL) ? "WILL" : (cmd == WONT) ? "WONT" : 188 if (fmt) { 189 fprintf(NetTrace, "%s %s ", direction, fmt); 184 const char *fmt; local in function:printoption
|
/src/usr.bin/cvslatest/ |
cvslatest.c | 104 static const char fmt[] = "%a %b %d %H:%M:%S %Y"; local in function:getlatest 143 if ((p = strptime(dt, fmt, &tm)) == NULL || *p) {
|