/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | insnstr.c | 47 (insnstr)(mbs, n) 48 const char *mbs; 54 __m_trace("insnstr(%p, %d)", mbs, n); 57 code = winsnstr(stdscr, mbs, n); 63 (mvinsnstr)(y, x, mbs, n) 65 const char *mbs; 71 __m_trace("mvinsnstr(%d, %d, %p, %d)", y, x, mbs, n); 75 code = winsnstr(stdscr, mbs, n); 81 (mvwinsnstr)(w, y, x, mbs, n) 84 const char *mbs; [all...] |
H A D | key_name.c | 56 static char mbs[MB_LEN_MAX+1]; local 66 if ((len = wcstombs(mbs, ws, MB_LEN_MAX)) == (size_t) -1) 69 mbs[len] = '\0'; 72 __m_trace("key_name returned %p = \"%s\".", mbs, mbs); 74 return mbs;
|
H A D | winsnstr.c | 47 winsnstr(w, mbs, n) 49 const char *mbs; 57 __m_trace("winsnstr(%p, %p, n)", w, mbs, n); 72 for ( ; *mbs != '\0' && 0 < n; n -= i, mbs += i) { 73 if ((i = __m_mbs_cc(mbs, w->_bg._at, w->_bg._co, &cc)) < 0
|
H A D | winnstr.c | 47 winnstr(w, mbs, n) 49 char *mbs; 55 __m_trace("winnstr(%p, %p, %d)", w, mbs, n); 65 (void) __m_cc_mbs(&w->_line[y][x], mbs, n);
|
H A D | getwin.c | 48 get_cc(w, mbs, fp) 50 char *mbs; 60 if (fscanf(fp, "%[^\n]%n ", mbs, &n) < 1) 66 if (mvwaddstr(w, y, x, mbs) == ERR) 78 char *mbs; local 91 if ((mbs = (char *) malloc((size_t) (LINE_MAX+1))) == (char *) 0) 109 by = fscanf( fp, "BG=%hx,%hd,%[^\n] ", &w->_bg._at, &w->_bg._co, mbs); 113 while (get_cc(w, mbs, fp)) 119 free(mbs); 125 free(mbs); 174 char *mbs; local [all...] |
H A D | m_cc.c | 53 char *mbs; member in struct:__anon2735 64 sp->mbs[sp->used++] = byte; 73 * Return the number of bytes successfully placed into mbs. 76 wistombs(mbs, wis, n) 77 char *mbs; 86 string.mbs = mbs; 112 string.mbs[string.used] = '\0'; 208 __m_cc_mbs(cc, mbs, n) 210 char *mbs; 287 __m_mbs_cc(const char *mbs, attr_t at, short co, cchar_t *cc) argument [all...] |
H A D | slk.c | 299 char mbs[MB_LEN_MAX * ((1 + M_CCHAR_MAX) * 8) + 1]; local 333 if (wcstombs(mbs, wcs, sizeof mbs) == (size_t) -1) 340 if ((__m_screen->_slk._labels[index] = m_strdup(mbs)) == (char *) 0) 359 (void) mvwaddstr(__m_screen->_slk._w, 0, i, mbs); 363 plab_norm, (long) index, (long) mbs, 377 (long) mbs, 0L, 0L, 0L, 0L, 0L, 0L
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | insnstr.c | 52 insnstr(const char *mbs, int n) argument 56 code = winsnstr(stdscr, mbs, n); 64 mvinsnstr(int y, int x, const char *mbs, int n) argument 69 code = winsnstr(stdscr, mbs, n); 77 mvwinsnstr(WINDOW *w, int y, int x, const char *mbs, int n) argument 82 code = winsnstr(w, mbs, n); 90 insstr(const char *mbs) argument 94 code = winsnstr(stdscr, mbs, -1); 102 mvinsstr(int y, int x, const char *mbs) argument 107 code = winsnstr(stdscr, mbs, 115 mvwinsstr(WINDOW *w, int y, int x, const char *mbs) argument 128 winsstr(WINDOW *w, const char *mbs) argument [all...] |
H A D | key_name.c | 57 static char mbs[MB_LEN_MAX + 1]; local 64 if ((len = wcstombs(mbs, ws, MB_LEN_MAX)) == (size_t) -1) 67 mbs[len] = '\0'; 69 return (mbs);
|
H A D | getwin.c | 54 get_cc(WINDOW *w, char *mbs, FILE *fp) argument 63 if (fscanf(fp, "%[^\n]%n ", mbs, &n) < 1) 69 if (mvwaddstr(w, y, x, mbs) == ERR) 80 char *mbs; local 89 if ((mbs = (char *) malloc((size_t) (LINE_MAX+1))) == NULL) 106 by = fscanf(fp, "BG=%hx,%hd,%[^\n] ", &w->_bg._at, &w->_bg._co, mbs); 110 while (get_cc(w, mbs, fp)) 116 free(mbs); 122 free(mbs); 131 char *mbs, in 130 put_cc(WINDOW *w, int y, int x, char *mbs, int len, FILE *fp) argument 165 char *mbs; local [all...] |
H A D | winnstr.c | 53 winnstr(WINDOW *w, char *mbs, int n) argument 64 (void) __m_cc_mbs(&w->_line[y][x], mbs, n); 78 return ((int)strlen(mbs));
|
H A D | winsnstr.c | 52 winsnstr(WINDOW *w, const char *mbs, int n) argument 71 for (; *mbs != '\0' && 0 < n; n -= i, mbs += i) { 72 if ((i = __m_mbs_cc(mbs, w->_bg._at, w->_fg._co, &cc))
|
H A D | slk.c | 337 char mbs[_LABEL_LENGTH_MALLOC]; local 366 if (wcstombs(tmbs, wcs, sizeof (mbs)) == (size_t) -1) 370 (void) strcpy(mbs, tmbs); 374 (void) strcpy(mbs, tmbs); 375 (void) strncat(mbs, spcs, (8 - width)); 376 *(mbs + strlen(tmbs) + (8 - width)) = '\0'; 380 (void) strncpy(mbs, spcs, left1); 381 (void) strcpy(mbs + left1, tmbs); 383 (void) strncat(mbs, spcs, left2); 384 *(mbs [all...] |
H A D | m_cc.c | 56 char *mbs; member in struct:__anon2748 65 sp->mbs[sp->used++] = (char)byte; 74 * Return the number of bytes successfully placed into mbs. 77 wistombs(char *mbs, const wint_t *wis, int n) argument 84 string.mbs = mbs; 112 string.mbs[string.used] = '\0'; 216 __m_cc_mbs(const cchar_t *cc, char *mbs, int n) argument 229 string.mbs = mbs; 291 __m_mbs_cc(const char *mbs, attr_t at, short co, cchar_t *cc) argument [all...] |
/osnet-11/usr/src/lib/libc/port/i18n/ |
H A D | __fputwc_xpg5.c | 53 char mbs[MB_LEN_MAX]; local 73 n = fp_wctomb(lc, mbs, (wchar_t)wc); 78 p = (unsigned char *)mbs;
|
H A D | __ungetwc_xpg5.c | 56 char mbs[MB_LEN_MAX]; local 77 n = fp_wctomb(lc, mbs, (wchar_t)wc); 96 p = (unsigned char *)(mbs + n - 1);
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | unistr.c | 405 char *mbs; local 417 mbs = *outs; 419 if (mbs && !mbs_len) { 423 if (!mbs) { 425 mbs = (char*)ntfs_malloc(mbs_len); 426 if (!mbs) 438 if (mbs == *outs) { 445 memcpy(tc, mbs, mbs_len); 447 free(mbs); 448 mbs [all...] |
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfvscanf.c | 144 SFMBDCL(mbs) 163 SFMBCLR(&mbs); 181 if((flags&SFFMT_LONG) && (n = (int)SFMBLEN(form,&mbs)) <= 0) 205 SFMBDCL(mbs) 207 SFMBCLR(&mbs); 220 if((n = mbrtowc(&fwc, form, ac->endf-form, &mbs)) > 1 && 230 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,(Void_t*)(mbs)) 232 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,NIL(Void_t*)) 236 static int _sfgetwc(Scan_t* sc, wchar_t* wc, int fmt, Accept_t* ac, Void_t *mbs) argument [all...] |
H A D | sfvprintf.c | 134 SFMBDCL(mbs) /* state of some string */ 644 SFMBSET(ft->mbs, &fmbs); 646 { fm->form = (char*)form; SFMBCPY(&fm->mbs,&fmbs); 654 form = ft->form; SFMBCLR(ft->mbs); 701 SFMBCLR(&mbs); 706 if((n_s = wcrtomb(buf, *wsp, &mbs)) <= 0) 729 SFMBCLR(&mbs); 770 { SFMBCLR(&mbs); 772 { if((n_s = wcrtomb(buf, *wsp, &mbs)) <= 0) 828 { SFMBCLR(&mbs); [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | regex_internal.c | 59 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; 82 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; 159 unsigned char *new_mbs = re_realloc (pstr->mbs, unsigned char, 163 pstr->mbs = new_mbs; 234 buf[i] = pstr->mbs[byte_idx + i] = pstr->trans[ch]; 299 pstr->mbs[byte_idx] 303 pstr->wcs[byte_idx] = (wchar_t) pstr->mbs[byte_idx]; 323 memcpy (pstr->mbs [all...] |
H A D | regex_internal.h | 367 unsigned char *mbs; member in struct:re_string_t 374 /* Index in RAW_MBS. Each character mbs[i] corresponds to 396 /* The context of mbs[0]. We store the context independently, since 397 the context of mbs[0] may be different from raw_mbs[0], which is 442 ((pstr)->mbs[(pstr)->cur_idx + offset]) 444 ((pstr)->mbs[(pstr)->cur_idx++]) 452 #define re_string_get_buffer(pstr) ((pstr)->mbs) 454 #define re_string_byte_at(pstr,idx) ((pstr)->mbs[idx]) 825 return (wint_t) pstr->mbs[idx]; 847 p = pstr->mbs [all...] |
/osnet-11/usr/src/lib/libadm/common/ |
H A D | puttext.c | 55 char mbs[MB_LEN_MAX]; local 109 mlen = wctomb(mbs, *wp); 118 (void) putc(mbs[i], fp);
|
/osnet-11/usr/src/lib/libc/port/stdio/ |
H A D | doscan.c | 1078 char mbs[MB_LEN_MAX]; local 1092 len = wctomb(mbs, wc); 1309 char mbs[MB_LEN_MAX]; local 1316 n = wctomb(mbs, (wchar_t)wc); 1331 p = (unsigned char *)(mbs+n-1); /* p points the last byte */
|
/osnet-11/usr/src/lib/libndr/common/ |
H A D | ndr_process.c | 2008 ndr_mbstowcs(ndr_stream_t *nds, smb_wchar_t *wcs, const char *mbs, argument 2015 nbytes = ndr_mbtowc(nds, wcs, mbs, MTS_MB_CHAR_MAX); 2021 if (*mbs == 0) 2025 mbs += nbytes;
|
/osnet-11/usr/src/lib/libxcurses/h/ |
H A D | m_wchar.h | 77 extern int m_fputmbs(FILE* fp, char *mbs, int wid, int prec, int ljust);
|