/src/sys/arch/amiga/stand/bootblock/boot/ |
twiddle.c | 38 const static char chars[4] = {'|', '/', '-', '\\'}; variable in typeref:typename:const char[4] 45 putchar(chars[pos++ & 3]);
|
/src/sys/external/bsd/compiler_rt/dist/lib/stats/ |
stats.cc | 36 char chars[sizeof(uptr)]; local in function:__anonef28f1ee0110::WriteLE 38 chars[i] = val >> (i * 8); 40 WriteToFile(fd, chars, sizeof(uptr));
|
/src/usr.bin/tip/aculib/ |
biz31.c | 214 # define chars(b) ((b).cp_nbytes) macro 219 # define chars(b) (b) macro 226 if (ioctl(fd, IOCTL, &b) >= 0 && chars(b) > 0) 231 if (chars(b) != 10) {
|
/src/tests/usr.bin/xlint/lint1/ |
d_alignof.c | 92 struct chars { struct in function:alignof_variants 96 typedef int struct_chars[-(int)__alignof(struct chars)];
|
/src/common/dist/zlib/ |
gzlib.c | 34 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local in function:gz_strwinerror 42 if (chars != 0) { 44 if (chars >= 2 45 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') { 46 chars -= 2; 47 msgbuf[chars] = 0; 50 if (chars > sizeof (buf) - 1) { 51 chars = sizeof (buf) - 1; 52 msgbuf[chars] = 0 [all...] |
/src/sys/dev/rcons/ |
raster.h | 118 struct raster_char chars[256]; member in struct:raster_font
|
/src/sys/external/bsd/drm2/dist/drm/ttm/ |
ttm_memory.c | 131 int chars; local in function:ttm_mem_zone_store 135 chars = sscanf(buffer, "%lu", &val); 136 if (chars == 0) 209 int chars; local in function:ttm_mem_global_store 215 chars = sscanf(buffer, "%lu", &val); 216 if (chars == 0)
|
ttm_page_alloc.c | 163 int chars; local in function:ttm_pool_store 165 chars = sscanf(buffer, "%u", &val); 166 if (chars == 0)
|
ttm_page_alloc_dma.c | 210 int chars; local in function:ttm_pool_store 213 chars = sscanf(buffer, "%u", &val); 214 if (chars == 0)
|
/src/common/dist/zlib/test/ |
minigzip.c | 87 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local in function:strwinerror 95 if (chars != 0) { 97 if (chars >= 2 98 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') { 99 chars -= 2; 100 msgbuf[chars] = 0; 103 if (chars > sizeof (buf) - 1) { 104 chars = sizeof (buf) - 1; 105 msgbuf[chars] = 0 [all...] |
/src/lib/libc/stdlib/ |
strfmon.c | 270 /* fill left_prec with amount of padding chars */ 506 int chars = 0; local in function:get_groups 512 chars++; 519 chars += (size - 1) / *(grouping - 1); 523 return (chars);
|
/src/tests/usr.bin/indent/ |
fmt_decl.c | 131 int chars[ /* push the comma beyond column 74 ...... */ ], x; local in function:t2 148 int chars[/* push the comma beyond column 74 ...... */], local in function:t2
|
/src/libexec/identd/ |
identd.c | 928 static const char chars[] = "abcdefghijklmnopqrstuvwxyz1234567890"; local in function:random_string 934 *p++ = chars[arc4random() % (sizeof(chars) - 1)];
|
/src/lib/libc/citrus/modules/ |
citrus_iso2022.c | 483 int chars[10]; member in struct:seqtable 526 p = sp->chars; 527 while (p - sp->chars < n && p - sp->chars < sp->len) { 563 return p - sp->chars; 722 /* normal chars. always eat C0/C1 as is. */ 1047 /* go back to INIT0 or ASCII on control chars */ 1050 /* go back to INIT1 or ISO-8859-1 on control chars */
|
/src/usr.bin/deroff/ |
deroff.c | 142 static char chars[128]; /* SPECIAL, PUNCT, APOS, DIGIT, or LETTER */ variable in typeref:typename:char[128] 351 chars[i] = LETTER; 353 chars[i] = LETTER; 355 chars[i] = DIGIT; 356 chars['\''] = APOS; 357 chars['&'] = APOS; 358 chars['.'] = PUNCT; 359 chars[','] = PUNCT; 360 chars[';'] = PUNCT; 361 chars['?'] = PUNCT [all...] |
/src/sys/dev/wsfont/ |
wsfont.c | 849 const void *chars; /* Pointer to character number entries */ member in struct:wsfont_level2_glyphmap 1106 c = (((const u_int8_t *)map2->chars)[lo]); 1109 c = (((const u_int16_t *)map2->chars)[lo]); 1112 c = (((const u_int32_t *)map2->chars)[lo]);
|
/src/sys/dev/wscons/ |
wsdisplay_vcons.c | 92 uint32_t *chars; member in struct:vcons_data_private 223 vdp->chars = NULL; 321 * we allocate both chars and attributes in one chunk, attributes first 342 * fill the attribute buffer with *defattr, chars with 0x20 357 if (vdp->chars != NULL) 358 free(vdp->chars, M_DEVBUF); 362 vdp->chars = malloc(size * sizeof(uint32_t), M_DEVBUF, 745 vdp->chars[boffset] = charptr[offset]; 802 if ((vdp->chars[boffset] != charptr[offset]) || 806 vdp->chars[boffset] = charptr[offset] [all...] |
/src/usr.bin/kdump/ |
kdump.c | 1166 char chars[16], prev[16]; local in function:hexdump_buf 1207 if (dupl == 0 || memcmp(dp, prev, sizeof chars)) 1223 off - l, width, bytes, l, chars); 1229 for (l = 0, bp = bytes, cp = chars; dp < line_end; l++) { 1239 printf("\t%-5.3x%.*s%.*s\n", off, width, bytes, l, chars); 1271 * space chars (like fold(1)).
|
/src/sbin/fsdb/ |
fsdb.c | 896 int chars; local in function:print_blks32 900 chars = 0; 909 if ((chars + strlen(prbuf)) > CHARS_PER_LINES) { 911 chars = 0; 913 if (chars == 0) 916 chars += strlen(prbuf); 924 int chars; local in function:print_blks64 928 chars = 0; 939 if ((chars + strlen(prbuf)) > CHARS_PER_LINES) { 941 chars = 0 [all...] |
/src/lib/libc/time/ |
localtime.c | 238 /* How many extra bytes are needed at the end of struct state's chars array. 261 char chars[max(max(TZ_MAX_CHARS + CHARS_EXTRA, sizeof "UTC"), member in struct:state 377 char const *abbr = &sp->chars[sp->ttis[i].tt_desigidx]; 438 name = &sp->chars[ttisp->tt_desigidx]; 469 tzname[ttisp->tt_isdst] = UNCONST(&sp->chars[ttisp->tt_desigidx]); 546 int len = (int)strlen(&sp->chars[i]); 554 if (strchr(TZ_ABBR_CHAR_SET, sp->chars[i]) == NULL) 555 sp->chars[i] = TZ_ABBR_ERR_CHAR; 714 + charcnt /* chars */ 781 sp->chars[i] = *p++ [all...] |
zic.c | 460 static char chars[TZ_MAX_CHARS]; variable in typeref:typename:char[] 1226 /* Non-control chars in the POSIX portable character set, 2664 &chars[desigidx[mrudst]], 2675 &chars[desigidx[mrustd]], 2705 thisabbr = &chars[desigidx[i]]; 3553 if (strcmp(&chars[j], abbr) == 0) 3961 strncpy(&chars[charcnt], string, sizeof(chars) - charcnt - 1);
|