/titanic_44/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 355 size_t mblen; in nge_send_copy() local 390 if ((mblen = MBLKL(bp)) == 0) in nge_send_copy() 392 if ((totlen += mblen) <= ngep->max_sdu) { in nge_send_copy() 393 bcopy(bp->b_rptr, txb, mblen); in nge_send_copy() 394 txb += mblen; in nge_send_copy() 437 uint32_t mblen; in nge_send_mapped() local 482 mblen = MBLKL(bp); in nge_send_mapped() 483 if (mblen == 0) in nge_send_mapped() 487 NULL, (caddr_t)bp->b_rptr, mblen, in nge_send_mapped() 597 uint32_t mblen = 0; in nge_send() local [all …]
|
/titanic_44/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 488 size_t mblen; in rge_send_copy() local 527 mblen = MBLKL(bp); in rge_send_copy() 528 ASSERT(mblen >= 2 * ETHERADDRL + VLAN_TAGSZ); in rge_send_copy() 529 mblen -= 2 * ETHERADDRL + VLAN_TAGSZ; in rge_send_copy() 530 if ((totlen += mblen) <= rgep->ethmax_size) { in rge_send_copy() 532 txb, mblen); in rge_send_copy() 533 txb += mblen; in rge_send_copy() 539 mblen = MBLKL(bp); in rge_send_copy() 540 if ((totlen += mblen) <= rgep->ethmax_size) { in rge_send_copy() 541 bcopy(bp->b_rptr, txb, mblen); in rge_send_copy() [all …]
|
/titanic_44/usr/src/lib/libslp/clib/ |
H A D | slp_utf8.c | 59 len = mblen(p, MB_CUR_MAX); in slp_utf_strchr() 85 len = mblen(s, MB_CUR_MAX); in slp_fold_space() 104 len = mblen(s, MB_CUR_MAX); in slp_fold_space()
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | mbtowc.c | 41 #undef mblen 116 int mblen(s, n) in mblen() function
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 307 if ((len = mblen(p, MB_CUR_MAX)) <= 0) in execbrc() 313 if ((len = mblen(pe, MB_CUR_MAX)) <= 0) in execbrc() 330 if ((len = mblen(pe, MB_CUR_MAX)) <= 0) in execbrc() 340 if ((len = mblen(pm, MB_CUR_MAX)) <= 0) in execbrc() 381 if ((len = mblen(pm, MB_CUR_MAX)) <= 0) in execbrc() 637 if ((len = mblen(p, MB_CUR_MAX)) <= 0) in rscan() 672 if ((len = mblen(s, MB_CUR_MAX)) <= 0) in any()
|
H A D | domacro.c | 99 if ((len = mblen(cp1, MB_CUR_MAX)) <= 0) in domacro() 128 if ((len = mblen(cp1, MB_CUR_MAX)) <= 0) in domacro()
|
H A D | cmds.c | 460 mblen(tp, MB_CUR_MAX)) <= 0) in mput() 470 if ((len = mblen(tp, in mput() 657 if ((len = mblen(tp, MB_CUR_MAX)) <= 0) in getit() 667 if ((len = mblen(tp, MB_CUR_MAX)) <= 0) in getit() 744 if ((len = mblen(tp2, MB_CUR_MAX)) <= 0) in mget() 753 if ((len = mblen(tp2, MB_CUR_MAX)) <= 0) in mget() 1961 if ((len2 = mblen(cp2, MB_CUR_MAX)) <= 0) in domap() 2014 mblen(cp2, MB_CUR_MAX)) <= in domap() 2035 if ((len2 = mblen(cp2, MB_CUR_MAX)) <= in domap() 2079 if ((len2 = mblen(cp2, MB_CUR_MAX)) <= 0) in domap()
|
H A D | main.c | 546 if ((len = mblen(sb, MB_CUR_MAX)) <= 0) in slurpstring() 562 if ((len = mblen(sb, MB_CUR_MAX)) <= 0) in slurpstring() 581 if ((len = mblen(sb, MB_CUR_MAX)) <= 0) in slurpstring()
|
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | g11n.c | 823 int mblen, len; in g11n_filter_string() local 832 mblen = mbtowc(&wc, s, mb_cur_max); in g11n_filter_string() 833 if (mblen <= 0) { in g11n_filter_string() 834 mblen = 1; in g11n_filter_string() 843 while (mblen != 0) { in g11n_filter_string() 846 mblen--; in g11n_filter_string() 849 while (mblen != 0) { in g11n_filter_string() 851 mblen--; in g11n_filter_string()
|
/titanic_44/usr/src/uts/common/io/bge/ |
H A D | bge_send.c | 344 uint32_t mblen; in bge_send_copy() local 350 if ((mblen = MBLKL(bp)) == 0) in bge_send_copy() 352 ASSERT(txbuf->copy_len + mblen <= in bge_send_copy() 354 bcopy(bp->b_rptr, pbuf, mblen); in bge_send_copy() 355 pbuf += mblen; in bge_send_copy() 356 txbuf->copy_len += mblen; in bge_send_copy()
|
/titanic_44/usr/src/lib/libbc/inc/include/ |
H A D | stdlib.h | 41 #define mblen(s, n) mbtowc((wchar_t *)0, s, n) macro
|
/titanic_44/usr/src/lib/libc/port/locale/ |
H A D | mblen.c | 54 mblen(const char *s, size_t n) in mblen() function
|
/titanic_44/usr/src/cmd/vi/port/ |
H A D | ex_vops3.c | 282 if ((len = mblen((char *)cp, MB_CUR_MAX)) <= 0) in endsent() 382 if ((i = mblen((char *)cp, MB_CUR_MAX)) <= 0) in lmatchp() 476 if ((len = mblen((char *)cp, MB_CUR_MAX)) <= 0) in ltosol1()
|
H A D | ex_re.c | 598 if ((len = mblen((char *)rp, MB_CUR_MAX)) <= 0) in dosub() 606 if ((len = mblen((char *)rp, MB_CUR_MAX)) <= 0) in dosub() 1085 if ((len = mblen((char *)p2, MB_CUR_MAX)) <= 0) in execute() 1112 if ((len = mblen((char *)p2, MB_CUR_MAX)) <= 0) in execute()
|
/titanic_44/usr/src/lib/libbc/inc/5include/ |
H A D | stdlib.h | 76 #define mblen(s, n) mbtowc((wchar_t *)0, s, n) macro
|
/titanic_44/usr/src/lib/libast/common/comp/ |
H A D | setlocale.c | 56 #ifdef mblen 57 #undef mblen 58 extern int mblen(const char*, size_t); 178 #define mblen 0 macro 643 …ags & LC_default) || (ast.mb_cur_max = MB_CUR_MAX) <= 1 || !(ast.mb_len = mblen) || !(ast.mb_towc … in set_ctype() 689 , ast.mb_len == debug_mblen ? " debug_mblen" : ast.mb_len == mblen ? " mblen" : "" in set_ctype()
|
/titanic_44/usr/src/head/iso/ |
H A D | stdlib_iso.h | 143 extern int mblen(const char *, size_t);
|
/titanic_44/usr/src/lib/libxcurses/h/solaris2/ |
H A D | mkslocal.h | 167 #define mbrlen(c, n, ps) mblen(c, n)
|
/titanic_44/usr/src/cmd/csplit/ |
H A D | csplit.c | 459 if ((len = mblen(arg, MB_LEN_MAX)) <= 0) in num_arg() 508 if ((len = mblen(ptr, MB_LEN_MAX)) <= 0) in re_arg()
|
/titanic_44/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_data.c | 773 uint_t mblen; in eib_data_setup_lso() local 836 mblen = MBLKL(nmp); in eib_data_setup_lso() 837 if (pending > mblen) { in eib_data_setup_lso() 838 bcopy(nmp->b_rptr, dst, mblen); in eib_data_setup_lso() 839 dst += mblen; in eib_data_setup_lso() 840 pending -= mblen; in eib_data_setup_lso()
|
/titanic_44/usr/src/lib/libxcurses/h/ |
H A D | m_wchar.h | 313 #undef mblen 324 #define mblen(s, n) m_sb_mblen(s, n) macro
|
/titanic_44/usr/src/uts/common/io/zyd/ |
H A D | zyd.c | 289 int len, off, mblen; in zyd_send() local 331 mblen = MBLKL(m0); in zyd_send() 332 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen); in zyd_send() 333 off += mblen; in zyd_send()
|
/titanic_44/usr/src/uts/common/io/xge/drv/ |
H A D | xgell.c | 1034 int mblen; in xgell_ring_tx() local 1040 mblen = MBLKL(bp); in xgell_ring_tx() 1041 if (mblen == 0) { in xgell_ring_tx() 1045 sent_bytes += mblen; in xgell_ring_tx() 1051 if (mblen < lldev->config.tx_dma_lowat && in xgell_ring_tx() 1052 (copied + mblen) < lldev->tx_copied_max) { in xgell_ring_tx() 1055 dtr, bp->b_rptr, mblen); in xgell_ring_tx() 1058 copied += mblen; in xgell_ring_tx() 1081 (caddr_t)bp->b_rptr, mblen, in xgell_ring_tx()
|
/titanic_44/usr/src/uts/sun4u/starfire/sys/ |
H A D | idn_smr.h | 222 register pfn_t new_pfn, uint_t mblen);
|
/titanic_44/usr/src/cmd/file/ |
H A D | file.c | 741 if ((len = mblen(&fbuf[i], MB_CUR_MAX)) <= 0) in def_context_tests() 772 if ((len = mblen(&fbuf[i], MB_CUR_MAX)) <= 0) in def_context_tests() 1362 if ((len = mblen(&fbuf[i], MB_CUR_MAX)) <= 0) in ccom() 1446 if ((len = mblen(&bp[j], MB_CUR_MAX)) <= 0) in english()
|