/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | ast.h | 185 #define mbwide() (mbmax()>1) macro 188 #define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+… 189 #define mbnchar(p,n) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),n))>0?((p+=as… 190 #define mbinit() (mbwide()?(*ast.mb_towc)((wchar_t*)0,(char*)0,mbmax()):0) 191 #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1)) 192 #define mbnsize(p,n) (mbwide()?(*ast.mb_len)((char*)(p),n):((p),1))
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | lexstates.h | 113 # undef mbwide 114 # define mbwide() (0) macro 119 #define STATE(s,c) (s[mbwide()?((c=fcmbget(&LEN)),LEN>1?'a':c):(c=fcget())])
|
H A D | fcin.h | 47 # define fcmbget(x) (mbwide()?_fcmbget(x):fcget())
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | stresc.c | 53 t += mbwide() ? mbconv(t, c) : wc2utf8(t, c); in strexp()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | print.c | 437 t += mbwide() ? mbconv(t, c) : wc2utf8(t, c); in strformat() 441 if(c>UCHAR_MAX && mbwide()) in strformat() 833 if(mbwide() && (n = mbsize(argp)) > 1) in extend() 867 if(mbwide() && mbsize(w) > 1) in extend() 1047 if(mbwide()) in fmtvecho() 1069 if (mbwide() && ((chlen = mbsize(cp)) > 1)) in fmtvecho()
|
H A D | read.c | 427 if(!binary && mbwide()) in sh_readline() 446 if(!binary && mbwide() && (up == var || (flags & NN_FLAG) && size)) in sh_readline()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cut.c | 142 if (cut->mb = mbwide()) in cutinit() 606 if (mbwide()) in b_cut() 621 if (mbwide()) in b_cut()
|
H A D | rev.c | 67 if (mbwide()) in rev_char()
|
H A D | wc.c | 143 if (!mbwide()) in b_wc()
|
H A D | paste.c | 219 if (mbwide()) in b_paste()
|
H A D | uniq.c | 87 register int n, f, outsize=0, mb = mbwide(); in uniq()
|
H A D | cat.c | 151 raw = !mbwide(); in vcat()
|
H A D | wclib.c | 68 if (!mbwide()) in wc_init()
|
H A D | join.c | 193 if (jp->mb = mbwide()) in init()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | string.c | 252 if(mbwide() && (len=mbsize(sp))>1) in sh_trim() 429 if(mbwide() && ((cp-op)>1)) in sh_fmtq()
|
H A D | macro.c | 297 if(mbwide()) in sh_machere() 464 if(mbwide()) in copyto() 506 if(c > UCHAR_MAX && mbwide()) in copyto() 1698 else if(mbwide()) in varsub() 1730 if(mbwide()) in varsub() 2294 if(mbwide() && (len=mbsize(cp))>1) in mac_copy() 2373 if(mbwide() && n!=S_MBYTE && (len=mbsize(cp-1))>1) in mac_copy() 2529 if(mbwide()) in substring() 2574 if(mbwide()) in charlen()
|
H A D | fault.c | 633 if(mbwide()||sh_isoption(SH_EMACS)||sh_isoption(SH_VI)||sh_isoption(SH_GMACS)) in sh_done()
|
H A D | lex.c | 2223 if(mbwide()) in sh_endword() 2432 if(mbwide()) in sh_endword()
|
H A D | io.c | 2005 if(sh_isoption(SH_VI) || ((SHOPT_RAWONLY-0) && mbwide())) in slowread()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | iconv.c | 623 if (!mbwide()) in bin2utf() 812 if (!mbwide()) in bin2ume() 928 if (!mbwide()) in bin2ucs() 1019 if (!mbwide()) in bin2scu()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regnexec.c | 874 else if (!mbwide()) in parse() 1082 if ((c = rex->explicit) >= 0 && !mbwide()) in parse() 1092 if (!mbwide()) in parse() 1139 if (!mbwide()) in parse() 1491 if (!mbwide()) in parse() 1568 if (!mbwide()) in parse() 1715 else if (!mbwide()) in parse()
|
H A D | regcomp.c | 1254 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP)) && !mbwide()) in bra()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | error.c | 243 if (mbwide()) in print()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfvprintf.c | 681 wc = (flags & SFFMT_LDOUBLE) && mbwide(); 841 wc = (flags & SFFMT_LDOUBLE) && mbwide();
|