Home
last modified time | relevance | path

Searched refs:chars (Results 1 – 25 of 64) sorted by relevance

123

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8_conv.c142 size_t chars; in krb5int_utf8s_to_ucs2s() local
144 chars = krb5int_utf8_chars(utf8s); in krb5int_utf8s_to_ucs2s()
145 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2)); in krb5int_utf8s_to_ucs2s()
150 len = k5_utf8s_to_ucs2s(*ucs2s, utf8s, chars + 1, 0); in krb5int_utf8s_to_ucs2s()
158 *ucs2chars = chars; in krb5int_utf8s_to_ucs2s()
171 size_t chars; in krb5int_utf8cs_to_ucs2s() local
173 chars = krb5int_utf8c_chars(utf8s, utf8slen); in krb5int_utf8cs_to_ucs2s()
174 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2)); in krb5int_utf8cs_to_ucs2s()
179 len = k5_utf8s_to_ucs2s(*ucs2s, utf8s, chars + 1, 0); in krb5int_utf8cs_to_ucs2s()
187 *ucs2chars = chars; in krb5int_utf8cs_to_ucs2s()
[all …]
H A Dutf8.c71 size_t chars = 0; in krb5int_utf8_chars() local
74 chars++; in krb5int_utf8_chars()
76 return chars; in krb5int_utf8_chars()
82 size_t chars = 0; in krb5int_utf8c_chars() local
86 chars++; in krb5int_utf8c_chars()
88 return chars; in krb5int_utf8c_chars()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.order.d58 @chars['a'] = sum(1);
59 @chars['s'] = sum(1);
60 @chars['d'] = sum(1);
61 @chars['f'] = sum(1);
72 printa("%c\n", @chars);
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dwc.c81 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->chars); in printout()
83 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->longest); in printout()
168 wp->chars = statb.st_size - lseek(sffileno(fp),0L,1); in b_wc()
175 tchars += wp->chars; in b_wc()
183 wp->chars = tchars; in b_wc()
H A Duniq.c85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, … in uniq() argument
117 if (chars) in uniq()
120 for (f = chars; f; f--) in uniq()
123 cp += chars; in uniq()
250 int fields=0, chars=0, width=-1; in b_uniq() local
293 chars = opt_info.num; in b_uniq()
296 chars = opt_info.num; in b_uniq()
335 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare); in b_uniq()
H A Dwc.h47 Sfoff_t chars; member
/illumos-gate/usr/src/cmd/deroff/
H A Dderoff.c89 static char chars[128]; /* SPECIAL, APOS, DIGIT, or LETTER */ variable
178 chars[i] = LETTER; in main()
180 chars[i] = LETTER; in main()
182 chars[i] = DIGIT; in main()
183 chars['\''] = APOS; in main()
184 chars['&'] = APOS; in main()
405 if ((t > s + cnst) && (chars[s[0]] == LETTER) && in putmac()
406 (chars[s[1]] == LETTER)) { in putmac()
430 while (chars[*p1] < DIGIT) { in putwords()
435 for (p = p1; (i = chars[*p]) != SPECIAL; ++p) { in putwords()
[all …]
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dwsncmp.S46 je .equal / Used all n chars?
54 je .equal / Used all n chars?
62 je .equal / Used all n chars?
70 je .equal / Used all n chars?
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c57 struct { char c0, c1, c2, c3; } chars; member
91 char *maskshuff[4] = {&(mask.chars.c3),
92 &(mask.chars.c2),
93 &(mask.chars.c1),
94 &(mask.chars.c0)};
96 char *maskshuff[4] = {&(mask.chars.c0),
97 &(mask.chars.c1),
98 &(mask.chars.c2),
99 &(mask.chars.c3)};
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dbiz31.c197 #define chars(b) ((b).cp_nbytes) in bizsync() macro
202 #define chars(b) (b) in bizsync() macro
209 if (ioctl(fd, IOCTL, (caddr_t)&b) >= 0 && chars(b) > 0) in bizsync()
214 if (chars(b) != 10) { in bizsync()
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dstrncmp.S41 je .equal / Used all n chars?
49 je .equal / Used all n chars?
57 je .equal / Used all n chars?
65 je .equal / Used all n chars?
H A Dwsncmp.S51 je .equal / Used all n chars?
59 je .equal / Used all n chars?
67 je .equal / Used all n chars?
75 je .equal / Used all n chars?
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmktemp.c89 chars[64] = { variable
173 if (c == chars[i]) in libc_mktemps()
204 *s++ = chars[num & 077]; in libc_mktemps()
H A Dlocaltime.c283 char *chars; /* Zone abbv. chars */ member
984 entry->chars = charsbuf; in ltzset_u()
1152 newtzname[0] = &lclzonep->chars[ttisp->tt_abbrind]; in set_zone_context()
1155 newtzname[1] = &lclzonep->chars[alt->tt_abbrind]; in set_zone_context()
1162 newtzname[1] = &lclzonep->chars[ttisp->tt_abbrind]; in set_zone_context()
1165 newtzname[0] = &lclzonep->chars[std->tt_abbrind]; in set_zone_context()
1614 sp->chars[i] = *cp++; in load_zoneinfo()
1616 sp->chars[i] = '\0'; /* ensure '\0' at end */ in load_zoneinfo()
1662 sp->default_tzname0 = &sp->chars[0]; in load_zoneinfo()
1698 (void) fprintf(stderr, "chars: \"%s\"\n", sp->chars); in print_state()
[all …]
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dvalid_srecord.c39 ADM_string_to_long(char *s, int chars) in ADM_string_to_long() argument
43 while (chars--) { in ADM_string_to_long()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dchrqueue.c161 int _glq_append_chars(GlCharQueue *cq, const char *chars, int n, in _glq_append_chars() argument
168 if(!cq || !chars) { in _glq_append_chars()
254 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew); in _glq_append_chars()
H A Dchrqueue.h57 int _glq_append_chars(GlCharQueue *cq, const char *chars, int n,
/illumos-gate/usr/src/cmd/pr/
H A Dpr.c1031 int chars = 0; in readbuf() local
1042 lines++; nls++; chars = 0; skip = 0; in readbuf()
1047 if (chars) chars--; in readbuf()
1051 move = Itabn - ((chars + Itabn) % Itabn); in readbuf()
1052 move = (move < width-chars) ? move : in readbuf()
1053 width-chars; in readbuf()
1054 chars += move; in readbuf()
1060 chars++; in readbuf()
1062 chars += wcwidth(**s); in readbuf()
1065 if (chars > width) { in readbuf()
[all …]
/illumos-gate/usr/src/cmd/sa/
H A Dtimex.c73 long chars = 0, bloks = 0; in main() local
181 chars += atol(fld[ichar]); in main()
192 "BLOCKS READ = %ld\n", chars, bloks); in main()
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_vga.c208 vga_shiftline(int chars) in vga_shiftline() argument
215 len = VGA_TEXT_COLS - x - chars; in vga_shiftline()
220 dst = src + chars; in vga_shiftline()
/illumos-gate/usr/src/common/ficl/softcore/
H A Dstring.fr54 \ guarantee buffer is large enough to hold size chars
61 \ force buflen to be a positive multiple of min-buf chars
62 my=> min-buf size over / 1+ * chars to size
/illumos-gate/usr/src/cmd/localedef/
H A Dcollate.c1069 collate_char_t chars[UCHAR_MAX + 1]; in dump_collate() local
1112 (void) memset(&chars, 0, sizeof (chars)); in dump_collate()
1139 chars[i].pri[j] = get_weight(cc->ref[j], j); in dump_collate()
1143 chars[i].pri[j] = in dump_collate()
1151 chars[i].pri[NUM_WT] = i; in dump_collate()
1246 (wr_category(&chars, sizeof (chars), f) < 0)) { in dump_collate()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrfmon.c502 int chars = 0; in get_groups() local
508 chars++; in get_groups()
515 chars += (size - 1) / *(grouping - 1); in get_groups()
519 return (chars); in get_groups()
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_hub.c753 uint16_t chars; in xhci_root_hub_fill_hub_desc() local
762 chars = 0; in xhci_root_hub_fill_hub_desc()
764 chars |= HUB_CHARS_INDIVIDUAL_PORT_POWER; in xhci_root_hub_fill_hub_desc()
765 chars |= HUB_CHARS_INDIV_OVER_CURRENT; in xhci_root_hub_fill_hub_desc()
766 hdp->wHubCharacteristics = LE_16(chars); in xhci_root_hub_fill_hub_desc()
/illumos-gate/usr/src/cmd/troff/troff.d/tmac.d/
H A DMakefile35 chars.me deltext.me e eqn.me \

123