Searched refs:mb (Results 1 - 11 of 11) sorted by relevance

/ast/src/lib/libcmd/
H A Dwc.h50 int mb; member in struct:__anon331
H A Dcut.c90 int mb; member in struct:Cut_s
142 if (cut->mb = mbwide())
155 cut->cflag = (mode&C_CHARS) && cut->mb;
156 cut->nosplit = (mode&(C_BYTES|C_NOSPLIT)) == (C_BYTES|C_NOSPLIT) && cut->mb;
379 unsigned char mb[8]; local
406 if (cut->mb)
417 /* mb char possibly spanning buffer boundary -- fun stuff */
437 mb[i] = cp[i];
447 mb[j++] = cp[k++];
448 if ((c = mb2wc(w, (char*)mb,
[all...]
H A Dwclib.c66 wp->mb = 0;
69 wp->mb = 1;
72 wp->mb = -1;
77 if ((mode & (WC_MBYTE|WC_WORDS)) && wp->mb > 0)
185 if (wp->mb < 0 && (wp->mode & (WC_MBYTE|WC_WORDS)))
255 else if (!wp->mb && !(wp->mode & WC_LONGEST) || wp->mb > 0 && !(wp->mode & (WC_MBYTE|WC_WORDS|WC_LONGEST)))
H A Duniq.c87 register int n, f, outsize=0, mb = mbwide(); local
119 if (mb)
132 if (mb)
H A Djoin.c159 int mb; member in struct:Join_s
193 if (jp->mb = mbwide())
356 if (jp->mb)
379 if (jp->mb)
421 if (jp->mb)
482 if (jp->mb)
894 if (jp->mb)
H A Dcat.c209 mb:
309 goto mb;
/ast/src/lib/libtk/library/
H A Dmenu.tcl281 set mb $tkPriv(postedMb)
294 if {$mb != ""} {
295 set menu [$mb cget -menu]
298 $mb configure -cursor $tkPriv(cursor)
299 $mb configure -relief $tkPriv(relief)
603 set mb [lindex $buttons $i]
604 if {([winfo class $mb] == "Menubutton")
605 && ([$mb cget -state] != "disabled")
606 && ([$mb cget -menu] != "")
607 && ([[$mb cge
[all...]
/ast/src/lib/libast/sfio/
H A Dsfhdr.h316 #define SFMBCLR(mb) memset((mb), 0, sizeof(mbstate_t))
318 #define SFMBLEN(s,mb) mbsize(s)
330 #define SFMBCLR(mb) memset((mb), 0, sizeof(mbstate_t))
332 #define SFMBDCL(mb) mbstate_t mb;
333 #define SFMBLEN(s,mb) mbrtowc(NIL(wchar_t*), (s), SFMBMAX, (mb) )
340 #define mbrtowc(wp,s,n,mb) mbtow
[all...]
/ast/src/cmd/builtin/
H A Dod.c194 char mb; member in struct:Type_s
242 int mb; member in struct:State_s
349 if (state->mb)
351 state->mb--;
373 state->mb = i - 1;
433 if (state->mb)
435 state->mb--;
457 state->mb = i - 1;
529 if (state->mb)
531 state->mb
[all...]
/ast/src/cmd/ksh93/sh/
H A Dmacro.c508 unsigned char mb[8]; local
510 n = mbconv((char*)mb, c);
512 sfputc(stkp,mb[i]);
/ast/src/lib/libvcodex/
H A Dvcodex.h384 #define vciofilb(io, bt, nb, mb) /* getting bits from stream into (bt) */ \
385 do { if((nb) < (mb)) while((nb) <= (VC_BITSIZE-8) && (io)->next < (io)->endb) \

Completed in 72 milliseconds