Home
last modified time | relevance | path

Searched refs:tmbs (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_conv.c138 char tmbs[16]; in conv_wcstombs() local
141 len = smb_wcstombs(tmbs, wcsa, sizeof (tmbs)); in conv_wcstombs()
146 if (strcmp(tmbs, mbsa)) { in conv_wcstombs()
148 hexdump((uchar_t *)tmbs, len+2); in conv_wcstombs()
152 len = smb_wcstombs(tmbs, wcsp, sizeof (tmbs)); in conv_wcstombs()
157 if (strcmp(tmbs, mbsp)) { in conv_wcstombs()
159 hexdump((uchar_t *)tmbs, len+2); in conv_wcstombs()
208 char tmbs[16]; in conv_oemtombs() local
211 len = smb_oemtombs(tmbs, (uchar_t *)"foo", 4); in conv_oemtombs()
216 if (strcmp(tmbs, "foo")) { in conv_oemtombs()
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dslk.c336 char tmbs[_LABEL_LENGTH_MALLOC]; in slk_wset() local
364 if (wcstombs(tmbs, wcs, sizeof (mbs)) == (size_t) -1) in slk_wset()
368 (void) strcpy(mbs, tmbs); in slk_wset()
372 (void) strcpy(mbs, tmbs); in slk_wset()
374 *(mbs + strlen(tmbs) + (8 - width)) = '\0'; in slk_wset()
379 (void) strcpy(mbs + left1, tmbs); in slk_wset()
382 *(mbs + left1 + strlen(tmbs) + left2) = '\0'; in slk_wset()
387 (void) strcpy(mbs + left1, tmbs); in slk_wset()
397 if ((__m_screen->_slk._labels[index] = strdup(tmbs)) == NULL) in slk_wset()
/illumos-gate/usr/src/cmd/iconv/
H A Dcharmap.c390 char tmbs[MB_LEN_MAX+1]; in add_charmap_range() local
398 (void) memcpy(tmbs, mbs, mbs_len); in add_charmap_range()
399 mb_last = tmbs + mbs_len - 1; in add_charmap_range()
422 add_charmap_impl(nn, tmbs, mbs_len, 1); in add_charmap_range()