/titanic_51/usr/src/common/smbsrv/ |
H A D | smb_utf8.c | 104 * The mbtowc() function converts a multibyte character mbchar into 108 * If mbchar is NULL, mbtowc() returns zero to indicate that shift 111 * without them being interpreted as characters. If mbchar is null 115 * If mbchar is non-null, returns the number of bytes processed in 116 * mbchar. If mbchar is invalid, returns -1. 119 smb_mbtowc(smb_wchar_t *wcharp, const char *mbchar, size_t nbytes) in smb_mbtowc() argument 126 if (mbchar == NULL) in smb_mbtowc() 130 if (((mbyte = *mbchar++) & 0x80) == 0) { in smb_mbtowc() 154 if (((mbyte = *mbchar in smb_mbtowc() 178 smb_wctomb(char * mbchar,smb_wchar_t wchar) smb_wctomb() argument [all...] |
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | string.c | 304 while((c=mbchar(cp)),isaname(c)); in sh_fmtcsv() 312 while(c=mbchar(cp)) in sh_fmtcsv() 343 state = ((c= mbchar(cp))==0); in sh_fmtq() 346 while((c=mbchar(cp)),isaname(c)); in sh_fmtq() 358 c = mbchar(cp); in sh_fmtq() 363 for(;c;c= mbchar(cp)) in sh_fmtq() 389 while(op = cp, c= mbchar(cp)) in sh_fmtq() 485 c = mbchar(string); in sh_fmtqf() 493 while ((!n || n-- > 0) && (c = mbchar(cp))) in sh_fmtqf() 527 while (c = mbchar(c in sh_fmtqf() [all...] |
H A D | arith.c | 148 while(c=mbchar(cp),isaname(c)); in scope() 247 c = mbchar(str); in arith() 254 while(xp=str, c=mbchar(str), isaname(c)); in arith() 328 while(xp=str, c=mbchar(str), isaname(c)); in arith() 374 while(xp=str, c=mbchar(str), isaname(c)); in arith()
|
H A D | fcin.c | 184 c = mbchar(extra.next); in _fcmbget() 210 c = mbchar(_Fcin.fcptr); in _fcmbget()
|
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | string.c | 36 #define mbchar(p) (*(unsigned char*)p++) macro 310 state = ((c= mbchar(cp))==0); in sh_fmtq() 317 while((c=mbchar(cp)),isaname(c)); in sh_fmtq() 331 c = mbchar(cp); in sh_fmtq() 340 for(;c;c= mbchar(cp)) in sh_fmtq() 368 while(op = cp, c= mbchar(cp)) in sh_fmtq() 455 c = mbchar(string); in sh_fmtqf() 463 while ((!n || n-- > 0) && (c = mbchar(cp))) in sh_fmtqf() 497 while (c = mbchar(cp)) in sh_fmtqf() 577 while (c = mbchar(cp)) in sh_fmtqf() [all …]
|
H A D | fcin.c | 179 c = mbchar(extra.next); in fcmbstate() 207 c = mbchar(_Fcin.fcptr); in fcmbstate()
|
H A D | arith.c | 137 c = mbchar(str); in arith() 144 while(xp=str, c=mbchar(str), isaname(c)); in arith() 213 while(xp=str, c=mbchar(str), isaname(c)); in arith()
|
/titanic_51/usr/src/lib/libshell/common/edit/ |
H A D | completion.c | 35 #define mbchar(p) (*(unsigned char*)p++) macro 44 while((c=mbchar(cp)),(c>UCHAR_MAX)||(n=state[c])==0); in fmtx() 49 while(c=mbchar(cp)) in fmtx() 102 switch(c= mbchar(cp)) in find_begin() 116 mbchar(cp); in find_begin() 128 mbchar(cp); in find_begin() 137 if((c= mbchar(cp)) , c!=dot && !isaname(c)) in find_begin() 480 mbchar(out); in ed_expand()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | completion.c | 35 #define mbchar(p) (*(unsigned char*)p++) macro 46 while((c=mbchar(cp)),(c>UCHAR_MAX)||(n=state[c])==0 || n==S_EPAT); in fmtx() 50 for(string=cp;c=mbchar(cp);string=cp) in fmtx() 108 switch(c= mbchar(cp)) in find_begin() 122 mbchar(cp); in find_begin() 134 mbchar(cp); in find_begin() 143 if((c= mbchar(cp)) , c!=dot && !isaname(c)) in find_begin() 498 mbchar(out); in ed_expand()
|
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | join.c | 346 if (iswspace(mbchar(tp))) in getrec() 365 if (iswspace(mbchar(tp))) in getrec() 390 n = mbchar(cp); in getrec() 430 if (iswspace(mbchar(tp))) in getrec() 491 if (iswspace(mbchar(tp))) in outfield() 897 jp->delim = mbchar(cp); in b_join()
|
H A D | paste.c | 226 mbchar(cp); in b_paste() 241 mbchar(cp); in b_paste()
|
H A D | uniq.c | 121 mbchar(cp); in uniq() 139 mbchar(mp); in uniq()
|
H A D | rev.c | 85 *xp++ = mbchar(cp); in rev_char()
|
H A D | cut.c | 611 ldelim.chr = mbchar(s); in b_cut() 626 wdelim.chr = mbchar(s); in b_cut()
|
/titanic_51/usr/src/lib/libcmd/common/ |
H A D | join.c | 346 if (iswspace(mbchar(tp))) in getrec() 365 if (iswspace(mbchar(tp))) in getrec() 390 n = mbchar(cp); in getrec() 430 if (iswspace(mbchar(tp))) in getrec() 501 if (iswspace(mbchar(tp))) in outfield() 909 jp->delim = mbchar(cp); in b_join()
|
H A D | paste.c | 220 mbchar(cp); in b_paste() 232 mbchar(cp); in b_paste()
|
H A D | uniq.c | 121 mbchar(cp); in uniq() 139 mbchar(mp); in uniq()
|
H A D | rev.c | 85 *xp++ = mbchar(cp); in rev_char()
|
/titanic_51/usr/src/lib/libast/common/string/ |
H A D | chresc.c | 51 switch (c = mbchar(s)) in chresc()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regcoll.c | 58 w = mbchar(s); in regcollate()
|
H A D | regnexec.c | 667 c = mbchar(t); in collmatch() 884 c = mbchar(s); in parse() 885 d = mbchar(t); in parse() 1532 if (mbchar(t) != c) in parse() 1542 if (towupper(mbchar(t)) != c) in parse() 1624 if (mbchar(t) != c) in parse() 1639 if (s >= e || mbchar(s) != c) in parse() 1648 if (towupper(mbchar(t)) != c) in parse() 1663 if (s >= e || towupper(mbchar(s)) != c) in parse() 1725 c = mbchar( in parse() [all...] |
/titanic_51/usr/src/lib/libast/common/regex/ |
H A D | regnexec.c | 668 c = mbchar(t); in collmatch() 885 c = mbchar(s); in parse() 886 d = mbchar(t); in parse() 1533 if (mbchar(t) != c) in parse() 1543 if (towupper(mbchar(t)) != c) in parse() 1624 if (mbchar(t) != c) in parse() 1639 if (s >= e || mbchar(s) != c) in parse() 1648 if (towupper(mbchar(t)) != c) in parse() 1663 if (s >= e || towupper(mbchar(s)) != c) in parse() 1725 c = mbchar(s); in parse() [all …]
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | chresc.c | 56 switch (c = mbchar(s)) in chrexp()
|
H A D | fmtesc.c | 95 c = mbchar(s); in fmtquote()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | ast.h | 110 #define mbchar(s) (*s++) macro
|