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

/illumos-gate/usr/src/lib/libast/common/include/
H A Dast.h173 #define mbmax() (ast.mb_cur_max) macro
177 #define mbwide() (mbmax()>1)
179 #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++)))
180 #define mbinit() (mbwide()?(*ast.mb_towc)((wchar_t*)0,(char*)0,mbmax()):0)
181 #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1))
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast.h182 #define mbmax() (ast.mb_cur_max) macro
186 #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++)))
189 #define mbinit() (mbwide()?(*ast.mb_towc)((wchar_t*)0,(char*)0,mbmax()):0)
190 #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1))
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast.h182 #define mbmax() (ast.mb_cur_max) macro
186 #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++)))
189 #define mbinit() (mbwide()?(*ast.mb_towc)((wchar_t*)0,(char*)0,mbmax()):0)
190 #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1))
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast.h182 #define mbmax() (ast.mb_cur_max) macro
186 #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++)))
189 #define mbinit() (mbwide()?(*ast.mb_towc)((wchar_t*)0,(char*)0,mbmax()):0)
190 #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1))
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast.h182 #define mbmax() (ast.mb_cur_max) macro
186 #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++)))
189 #define mbinit() (mbwide()?(*ast.mb_towc)((wchar_t*)0,(char*)0,mbmax()):0)
190 #define mbsize(p) (mbwide()?(*ast.mb_len)((char*)(p),mbmax()):((p),1))
/illumos-gate/usr/src/cmd/sh/
H A Dword.c291 int mbmax = MB_CUR_MAX; local
337 for (i = 1; i <= mbmax; i++) {
343 * since mbmax is enough smaller than BUFFERSIZE,
357 if (i > mbmax) {
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcut.c422 if ((ep - cp) < mbmax())
450 while (j < mbmax())
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c962 else if((endp-p) < mbmax())
975 offset += mbmax()-1;
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c1808 int mbmax = MB_CUR_MAX; local
1818 if (mbmax == 1) {
1842 } while (!eos && mlen < mbmax && rlen <= 0);
2707 int mbmax = MB_CUR_MAX; local
2711 if (mbmax == 1) {
2721 len = mbtowc(&wc, str, mbmax);
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfhdr.h314 #define SFMBMAX mbmax()

Completed in 1551 milliseconds