/titanic_51/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | utf8_conv.c | 123 ucs2len++; /* Count number of wide chars stored/required */ in k5_utf8s_to_ucs2s() 142 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 in krb5int_utf8cs_to_ucs2s() 199 size_t chars; krb5int_utf8s_to_ucs2les() local 229 size_t chars; krb5int_utf8cs_to_ucs2les() local [all...] |
H A D | utf8.c | 71 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_51/usr/src/common/net/wanboot/ |
H A D | bootconf_errmsg.c | 43 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_51/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/ |
H A D | wanboot-cgi.c | 174 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 555 int chars; hash_payload() local 597 int chars; extract_keystore() local 639 int chars; mkisofs() local 793 int chars; build_trustfile() local 1071 int chars; get_hostnames() local 1542 int chars; miniroot_payload() local 1592 int chars; deliver_payload() local 1731 int chars; main() local [all...] |
/titanic_51/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.order.d | 60 @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_51/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | wc.c | 50 "[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); 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 D | uniq.c | 55 "[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) 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 in b_uniq() local [all...] |
/titanic_51/usr/src/lib/libcmd/common/ |
H A D | wc.c | 81 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 D | uniq.c | 85 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_51/usr/src/cmd/deroff/ |
H A D | deroff.c | 91 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[* in putwords() [all...] |
/titanic_51/usr/src/boot/lib/libz/ |
H A D | gzlib.c | 43 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...] |
/titanic_51/usr/src/boot/lib/libz/test/ |
H A D | minigzip.c | 87 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...] |
/titanic_51/usr/src/lib/libc/amd64/gen/ |
H A D | wsncmp.s | 46 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_51/usr/src/cmd/egrep/ |
H A D | egrep.y | 85 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[po in member() [all...] |
/titanic_51/usr/src/cmd/tip/aculib/ |
H A D | biz31.c | 199 #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_51/usr/src/lib/libc/i386/gen/ |
H A D | strncmp.s | 41 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 D | wsncmp.s | 51 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_51/usr/src/cmd/pack/ |
H A D | pack.c | 59 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)}; 254 /* put occurring chars i in packfile() [all...] |
/titanic_51/usr/src/head/rpcsvc/ |
H A D | rex.x | 71 opaque chars[4]; member 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]; member 147 /* chars[0] == interrupt char */ 148 /* chars[1] == quit char */ 149 /* chars[ 157 opaque chars[6]; global() member [all...] |
/titanic_51/usr/src/cmd/rexd/ |
H A D | rex.x | 65 opaque chars[4]; member 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]; member 141 /* chars[0] == interrupt char */ 142 /* chars[1] == quit char */ 143 /* chars[ 151 opaque chars[6]; global() member [all...] |
/titanic_51/usr/src/cmd/awk/ |
H A D | b.c | 245 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_51/usr/src/lib/libc/port/gen/ |
H A D | mktemp.c | 89 chars[64] = { variable 173 if (c == chars[i]) in libc_mktemps() 204 *s++ = chars[num & 077]; in libc_mktemps()
|
/titanic_51/usr/src/lib/libbc/libc/gen/common/ |
H A D | localtime.c | 116 char *chars; member 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]; 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) [all...] |
/titanic_51/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | valid_srecord.c | 41 ADM_string_to_long(char *s, int chars) in ADM_string_to_long() argument 45 while (chars--) { in ADM_string_to_long()
|
/titanic_51/usr/src/lib/libtecla/common/ |
H A D | chrqueue.c | 151 * 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, 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()
|