Searched refs:mbmax (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libast/include/
H A Dast.h181 #define mbmax() (ast.mb_cur_max) macro
185 #define mbwide() (mbmax()>1)
188 #define mbchar(p) (mbwide()?((ast.tmp_int=(*ast.mb_towc)(&ast.tmp_wchar,(char*)(p),mbmax()))>0?((p+=ast.tmp_int),ast.tmp_wchar):(p+=ast.mb_sync+1,ast.tmp_int)):(*(unsigned char*)(p++)))
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))
/ast/src/cmd/builtin/
H A Dod.c243 int mbmax; member in struct:State_s
828 if (tp->mb && (i = mbmax()) > 1)
829 state->mbmax = i;
1060 if (state->mbmax)
1221 if (state->mbmax)
1222 e -= state->block + state->mbmax;
1541 state.spansize = state.block + state.mbmax;
/ast/src/lib/libcmd/
H A Dcut.c418 if ((ep - cp) < mbmax())
446 while (j < mbmax())
/ast/src/cmd/ksh93/edit/
H A Dedit.c975 else if((endp-p) < mbmax())
988 offset += mbmax()-1;
/ast/src/lib/libast/sfio/
H A Dsfhdr.h314 #define SFMBMAX mbmax()

Completed in 22 milliseconds