Searched refs:chars (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/common/net/wanboot/
H A Dbootconf_errmsg.c43 int chars; local
61 if ((chars = snprintf(errmsg, sizeof (errmsg),
63 handle->bc_error_pos)) > 0 && chars < sizeof (errmsg)) {
68 if ((chars = snprintf(errmsg, sizeof (errmsg),
70 handle->bc_error_pos)) > 0 && chars < sizeof (errmsg)) {
75 if ((chars = snprintf(errmsg, sizeof (errmsg),
77 handle->bc_error_pos)) > 0 && chars < sizeof (errmsg)) {
134 if ((chars = snprintf(errmsg, sizeof (errmsg),
136 handle->bc_error_code)) > 0 && chars < sizeof (errmsg)) {
/illumos-gate/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);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8_conv.c123 ucs2len++; /* Count number of wide chars stored/required */
142 size_t chars; local
144 chars = krb5int_utf8_chars(utf8s);
145 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2));
150 len = k5_utf8s_to_ucs2s(*ucs2s, utf8s, chars + 1, 0);
158 *ucs2chars = chars;
171 size_t chars; local
173 chars = krb5int_utf8c_chars(utf8s, utf8slen);
174 *ucs2s = (krb5_ucs2 *)malloc((chars + 1) * sizeof(krb5_ucs2));
179 len = k5_utf8s_to_ucs2s(*ucs2s, utf8s, chars
199 size_t chars; local
229 size_t chars; local
[all...]
H A Dutf8.c71 size_t chars = 0; local
74 chars++;
76 return chars;
82 size_t chars = 0; local
86 chars++;
88 return chars;
/illumos-gate/usr/src/lib/libcmd/common/
H A Dwc.c50 "[c:bytes|chars:chars?List the byte counts.]"
51 "[m|C:multibyte-chars?List the character counts.]"
81 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->chars);
83 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->longest);
168 wp->chars = statb.st_size - lseek(sffileno(fp),0L,1);
175 tchars += wp->chars;
183 wp->chars = tchars;
H A Dwc.h47 Sfoff_t chars; member in struct:__anon3094
H A Duniq.c55 "[s:skip-chars]#[chars?\achars\a is the number of characters to skip over "
60 "equivalent to \b--skip-chars\b=\anumber\a.]"
62 "[w:check-chars]#[chars?\achars\a is the number of characters to compare "
85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) argument
117 if (chars)
120 for (f = chars; f; f--)
123 cp += chars;
250 int fields=0, chars local
[all...]
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dvalid_srecord.c41 ADM_string_to_long(char *s, int chars) argument
45 while (chars--) {
/illumos-gate/usr/src/lib/libtecla/common/
H A Dchrqueue.h59 int _glq_append_chars(GlCharQueue *cq, const char *chars, int n,
H A Dchrqueue.c151 * chars const char * The array of n characters to be appended.
152 * n int The number of characters in chars[].
163 int _glq_append_chars(GlCharQueue *cq, const char *chars, int n, argument
170 if(!cq || !chars) {
256 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c174 int chars; local
176 if ((chars = snprintf(path, sizeof (path),
177 "%s/%s", root, suffix)) < 0 || chars > sizeof (path) ||
199 int chars; local
204 (chars = snprintf(path, sizeof (path), "/tmp/%s_%s_%s_%ld_%ld",
205 prefix, net, cid, pid, secs)) < 0 || chars > sizeof (path) ||
275 int chars; local
305 if ((chars = snprintf(message, sizeof (message),
307 chars <= sizeof (message)) {
512 int chars; local
555 int chars; local
597 int chars; local
639 int chars; local
793 int chars; local
1071 int chars; local
1542 int chars; local
1592 int chars; local
1731 int chars; local
[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/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/cmd/tip/aculib/
H A Dbiz31.c199 #define chars(b) ((b).cp_nbytes) macro
204 #define chars(b) (b) macro
211 if (ioctl(fd, IOCTL, (caddr_t)&b) >= 0 && chars(b) > 0)
216 if (chars(b) != 10) {
/illumos-gate/usr/src/cmd/deroff/
H A Dderoff.c91 static char chars[128]; /* SPECIAL, APOS, DIGIT, or LETTER */ variable
180 chars[i] = LETTER;
182 chars[i] = LETTER;
184 chars[i] = DIGIT;
185 chars['\''] = APOS;
186 chars['&'] = APOS;
407 if ((t > s + cnst) && (chars[s[0]] == LETTER) &&
408 (chars[s[1]] == LETTER)) {
432 while (chars[*p1] < DIGIT) {
437 for (p = p1; (i = chars[*
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmktemp.c89 chars[64] = { variable
173 if (c == chars[i])
204 *s++ = chars[num & 077];
/illumos-gate/usr/src/cmd/troff/troff.d/tmac.d/
H A DMakefile35 chars.me deltext.me e eqn.me \
/illumos-gate/usr/src/boot/lib/libz/
H A Dgzlib.c43 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local
51 if (chars != 0) {
53 if (chars >= 2
54 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
55 chars -= 2;
56 msgbuf[chars] = 0;
59 if (chars > sizeof (buf) - 1) {
60 chars = sizeof (buf) - 1;
61 msgbuf[chars]
[all...]
/illumos-gate/usr/src/head/rpcsvc/
H A Drex.x71 opaque chars[4];
72 /* chars[0] == input speed */
73 /* chars[1] == output speed */
74 /* chars[2] == kill character */
75 /* chars[3] == erase character */
139 const CTLECH = 0x10000000; /* echo control chars as ^X */
146 opaque chars[6];
147 /* chars[0] == interrupt char */
148 /* chars[1] == quit char */
149 /* chars[
[all...]
/illumos-gate/usr/src/cmd/rexd/
H A Drex.x65 opaque chars[4];
66 /* chars[0] == input speed */
67 /* chars[1] == output speed */
68 /* chars[2] == kill character */
69 /* chars[3] == erase character */
133 const CTLECH = 0x10000000; /* echo control chars as ^X */
140 opaque chars[6];
141 /* chars[0] == interrupt char */
142 /* chars[1] == quit char */
143 /* chars[
[all...]
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c59 struct { char c0, c1, c2, c3; } chars; member in union:FOUR
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)};
254 /* put occurring chars i
[all...]
/illumos-gate/usr/src/cmd/egrep/
H A Degrep.y85 char *chars;
252 chars[nxtchar++] = '-';
265 chars[nxtchar++] = '-';
274 ccount += wctomb(&chars[ccount], c);
279 chars[count] = cclcnt;
383 if((chars = realloc(chars, maxclin)) == (char *)0)
564 num = chars[set];
570 c = (unsigned char)chars[pos++];
572 c = (unsigned char)chars[po
[all...]
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dminigzip.c87 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local
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]
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c116 char *chars; member in struct:state
228 sp->chars = (char *)calloc((unsigned)sp->charcnt + 1,
230 if (sp->chars == NULL) {
239 ** "chars", which might have other references to it), and zero out all the
278 (char *) &sp->chars[ttisp->tt_abbrind];
294 (char *) &sp->chars[ttisp->tt_abbrind];
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)
[all...]

Completed in 137 milliseconds

12