Home
last modified time | relevance | path

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

123

/titanic_50/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()
/titanic_50/usr/src/common/net/wanboot/
H A Dbootconf_errmsg.c43 int chars; in bootconf_errmsg() local
61 if ((chars = snprintf(errmsg, sizeof (errmsg), in bootconf_errmsg()
63 handle->bc_error_pos)) > 0 && chars < sizeof (errmsg)) { in bootconf_errmsg()
68 if ((chars = snprintf(errmsg, sizeof (errmsg), in bootconf_errmsg()
70 handle->bc_error_pos)) > 0 && chars < sizeof (errmsg)) { in bootconf_errmsg()
75 if ((chars = snprintf(errmsg, sizeof (errmsg), in bootconf_errmsg()
77 handle->bc_error_pos)) > 0 && chars < sizeof (errmsg)) { in bootconf_errmsg()
134 if ((chars = snprintf(errmsg, sizeof (errmsg), in bootconf_errmsg()
136 handle->bc_error_code)) > 0 && chars < sizeof (errmsg)) { in bootconf_errmsg()
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c174 int chars; in make_path() local
176 if ((chars = snprintf(path, sizeof (path), in make_path()
177 "%s/%s", root, suffix)) < 0 || chars > sizeof (path) || in make_path()
199 int chars; in gen_tmppath() local
204 (chars = snprintf(path, sizeof (path), "/tmp/%s_%s_%s_%ld_%ld", in gen_tmppath()
205 prefix, net, cid, pid, secs)) < 0 || chars > sizeof (path) || in gen_tmppath()
275 int chars; in copy_file() local
305 if ((chars = snprintf(message, sizeof (message), in copy_file()
307 chars <= sizeof (message)) { in copy_file()
512 int chars; in encrypt_payload() local
[all …]
/titanic_50/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.order.d60 @chars['a'] = sum(1);
61 @chars['s'] = sum(1);
62 @chars['d'] = sum(1);
63 @chars['f'] = sum(1);
74 printa("%c\n", @chars);
/titanic_50/usr/src/lib/libcmd/common/
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
291 chars = opt_info.num; in b_uniq()
294 chars = opt_info.num; in b_uniq()
331 error_info.errors = uniq(fpin,fpout,fields,chars,width,mode,all,compare); in b_uniq()
/titanic_50/usr/src/cmd/deroff/
H A Dderoff.c91 static char chars[128]; /* SPECIAL, APOS, DIGIT, or LETTER */ variable
180 chars[i] = LETTER; in main()
182 chars[i] = LETTER; in main()
184 chars[i] = DIGIT; in main()
185 chars['\''] = APOS; in main()
186 chars['&'] = APOS; in main()
407 if ((t > s + cnst) && (chars[s[0]] == LETTER) && in putmac()
408 (chars[s[1]] == LETTER)) { in putmac()
432 while (chars[*p1] < DIGIT) { in putwords()
437 for (p = p1; (i = chars[*p]) != SPECIAL; ++p) { in putwords()
[all …]
/titanic_50/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?
/titanic_50/usr/src/cmd/egrep/
H A Degrep.y85 char *chars; variable
252 chars[nxtchar++] = '-'; in yylex()
265 chars[nxtchar++] = '-'; in yylex()
274 ccount += wctomb(&chars[ccount], c); in yylex()
279 chars[count] = cclcnt; in yylex()
383 if((chars = realloc(chars, maxclin)) == (char *)0) in allocchars()
564 num = chars[set]; in member()
570 c = (unsigned char)chars[pos++]; in member()
572 c = (unsigned char)chars[pos++]; in member()
756 if((chars = (char *)malloc(MAXLIN)) == (char *)0) in main()
[all …]
/titanic_50/usr/src/cmd/tip/aculib/
H A Dbiz31.c199 #define chars(b) ((b).cp_nbytes) in bizsync() macro
204 #define chars(b) (b) in bizsync() macro
211 if (ioctl(fd, IOCTL, (caddr_t)&b) >= 0 && chars(b) > 0) in bizsync()
216 if (chars(b) != 10) { in bizsync()
/titanic_50/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?
/titanic_50/usr/src/cmd/pack/
H A Dpack.c59 struct { char c0, c1, c2, c3; } chars; member
93 char *maskshuff[4] = {&(mask.chars.c3),
94 &(mask.chars.c2),
95 &(mask.chars.c1),
96 &(mask.chars.c0)};
98 char *maskshuff[4] = {&(mask.chars.c0),
99 &(mask.chars.c1),
100 &(mask.chars.c2),
101 &(mask.chars.c3)};
/titanic_50/usr/src/head/rpcsvc/
H A Drex.x71 opaque chars[4]; member
146 opaque chars[6]; member
157 opaque chars[6]; member
/titanic_50/usr/src/cmd/rexd/
H A Drex.x65 opaque chars[4]; member
140 opaque chars[6]; member
151 opaque chars[6]; member
/titanic_50/usr/src/cmd/awk/
H A Db.c245 uchar *op, *chars, *ret; in cclenter() local
248 init_buf(&chars, &bsize, LINE_INCR); in cclenter()
275 } else if (c == '-' && i > 0 && chars[i-1] != 0) { in cclenter()
277 c = chars[i-1]; in cclenter()
279 expand_buf(&chars, &bsize, i); in cclenter()
280 chars[i++] = ++c; in cclenter()
286 expand_buf(&chars, &bsize, i); in cclenter()
287 chars[i++] = c; in cclenter()
289 chars[i++] = '\0'; in cclenter()
290 dprintf(("cclenter: in = |%s|, out = |%s|\n", op, chars)); in cclenter()
[all …]
/titanic_50/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 …]
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c116 char *chars; member
228 sp->chars = (char *)calloc((unsigned)sp->charcnt + 1,
230 if (sp->chars == NULL) {
278 (char *) &sp->chars[ttisp->tt_abbrind]; in settzname()
294 (char *) &sp->chars[ttisp->tt_abbrind]; in settzname()
404 sp->chars[i] = *p++;
405 sp->chars[i] = '\0'; /* ensure '\0' at end */
734 if (stdlen >= sizeof sp->chars)
735 stdlen = (sizeof sp->chars) - 1;
856 free(sp->chars);
[all …]
/titanic_50/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dvalid_srecord.c41 ADM_string_to_long(char *s, int chars) in ADM_string_to_long() argument
45 while (chars--) { in ADM_string_to_long()
/titanic_50/usr/src/lib/libtecla/common/
H A Dchrqueue.c163 int _glq_append_chars(GlCharQueue *cq, const char *chars, int n, in _glq_append_chars() argument
170 if(!cq || !chars) { in _glq_append_chars()
256 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew); in _glq_append_chars()
/titanic_50/usr/src/cmd/pr/
H A Dpr.c1033 int chars = 0; in readbuf() local
1044 lines++; nls++; chars = 0; skip = 0; in readbuf()
1049 if (chars) chars--; in readbuf()
1053 move = Itabn - ((chars + Itabn) % Itabn); in readbuf()
1054 move = (move < width-chars) ? move : in readbuf()
1055 width-chars; in readbuf()
1056 chars += move; in readbuf()
1061 chars++; in readbuf()
1063 chars += wcwidth(**s); in readbuf()
1066 if (chars > width) { in readbuf()
[all …]
/titanic_50/usr/src/cmd/sa/
H A Dtimex.c75 long chars = 0, bloks = 0; in main() local
183 chars += atol(fld[ichar]); in main()
194 "BLOCKS READ = %ld\n", chars, bloks); in main()
/titanic_50/usr/src/cmd/acpi/acpidump/
H A DReadme33 /* Print 16 hex chars */
42 /* Print 16 hex chars */

123