HomeSort by: relevance | last modified time | path
    Searched defs:mbs (Results 1 - 24 of 24) sorted by relevancy

  /src/lib/libc/stdio/
vswprintf.c 58 mbstate_t mbs; local in function:__weak_alias
92 mbs = initial;
93 nwc = mbsrtowcs_l(s, (void *)&mbp, n, &mbs, loc);
vswscanf.c 78 mbstate_t mbs; local in function:vswscanf_l
93 mbs = initial;
94 if ((mlen = wcsrtombs_l(mbstr, &rstr, SIZE_T_MAX, &mbs, loc))
vfscanf.c 177 mbstate_t mbs; local in function:__svfscanf_unlocked_l
409 mbs = initial;
410 nconv = mbrtowc_l(wcp, buf, n, &mbs,
492 mbs = initial;
493 nconv = mbrtowc_l(wcp, buf, n, &mbs,
594 mbs = initial;
595 nconv = mbrtowc_l(wcp, buf, n, &mbs,
vfwscanf.c 170 mbstate_t mbs; local in function:__vfwscanf_unlocked_l
408 mbs = initial;
414 &mbs, loc);
419 &mbs, loc);
475 mbs = initial;
481 &mbs, loc);
486 &mbs, loc);
537 mbs = initial;
544 &mbs, loc);
549 &mbs, loc)
    [all...]
vfwprintf.c 203 mbstate_t mbs; local in function:__xfputwc
212 mbs = initial;
213 if ((len = wcrtomb_l(buf, wc, &mbs, loc)) == (size_t)-1) {
423 mbstate_t mbs; local in function:__mbsconv
442 mbs = initial;
444 nconv = mbrlen_l(p, MB_CUR_MAX_L(loc), &mbs, loc);
468 mbs = initial;
471 nconv = mbrtowc_l(wcp, p, insize, &mbs, loc);
499 mbstate_t mbs; local in function:__wcsconv
508 mbs = initial
1009 mbstate_t mbs; local in function:WDECL
    [all...]
  /src/lib/libc/locale/
mbrtoc8.c 92 mbstate_t mbs; member in struct:mbrtoc8state
94 __CTASSERT(offsetof(struct mbrtoc8state, mbs) <= sizeof(mbstate_t));
96 offsetof(struct mbrtoc8state, mbs));
168 len = mbrtoc32_l(&c32, s, n, &S->mbs, loc);
mbrtoc16.c 92 mbstate_t mbs; member in struct:mbrtoc16state
94 __CTASSERT(offsetof(struct mbrtoc16state, mbs) <= sizeof(mbstate_t));
96 offsetof(struct mbrtoc16state, mbs));
170 len = mbrtoc32_l(&c32, s, n, &S->mbs, loc);
c16rtomb.c 86 mbstate_t mbs; member in struct:c16rtombstate
88 __CTASSERT(offsetof(struct c16rtombstate, mbs) <= sizeof(mbstate_t));
90 offsetof(struct c16rtombstate, mbs));
211 return c32rtomb_l(s, c32, &S->mbs, loc);
c8rtomb.c 76 mbstate_t mbs; member in struct:c8rtombstate
78 __CTASSERT(offsetof(struct c8rtombstate, mbs) <= sizeof(mbstate_t));
80 offsetof(struct c8rtombstate, mbs));
226 return c32rtomb_l(s, c32, &S->mbs, loc);
  /src/sys/dev/scsipi/
scsi_base.c 141 int period, freq, speed, mbs; local in function:scsi_print_xfer_mode
172 mbs = speed / 1000;
173 if (mbs > 0) {
174 aprint_normal(" (%d.%03dMB/s)", mbs,
  /src/lib/libedit/
chartype.c 189 mbstate_t mbs; local in function:ct_enc_width
192 memset(&mbs, 0, sizeof(mbs));
194 if ((size = wcrtomb(buf, c, &mbs)) == (size_t)-1)
read.c 318 mbstate_t mbs; local in function:read_char
322 memset(&mbs, 0, sizeof(mbs));
323 switch (mbrtowc(cp, cbuf, cbp, &mbs)) {
  /src/lib/libcurses/EXAMPLES/
ex1.c 65 char mbs[] = "��"; local in function:main
87 if (( wslen = mbstowcs( &cc.vals[ 0 ], mbs, strlen( mbs ))) < 0 ) {
  /src/usr.bin/sed/
process.c 600 mbstate_t mbs; local in function:lputs
618 memset(&mbs, 0, sizeof(mbs));
621 clen = mbrtowc(&wc, s, len, &mbs);
627 memset(&mbs, 0, sizeof(mbs));
  /src/usr.bin/cut/
cut.c 232 mbstate_t mbs; local in function:b_n_cut
234 memset(&mbs, 0, sizeof(mbs));
238 if ((clen = mbrlen(lbuf, lbuflen, &mbs)) < 0) {
243 memset(&mbs, 0, sizeof(mbs));
  /src/lib/libc/regex/
engine.c 104 mbstate_t mbs; /* multibyte conversion state */ member in struct:match
167 mbstate_t mbs; local in function:stepback
178 memset(&mbs, 0, sizeof(mbs));
179 clen = mbrtowc(NULL, ret - mbc, mbc, &mbs);
300 ZAPSTATE(&m->mbs);
332 (size_t)(m->endp - m->coldp), &m->mbs, 0);
392 (size_t)(stop - m->coldp), &m->mbs, 0);
481 &m->mbs, 0);
495 &m->mbs, 0)
    [all...]
regcomp.c 1395 mbstate_t mbs; local in function:p_b_coll_elem
1399 memset(&mbs, 0, sizeof(mbs));
1400 if ((clen = mbrtowc(&wc, sp, len, &mbs)) == len)
1499 mbstate_t mbs; local in function:bothcases
1500 memset(&mbs, 0, sizeof(mbs));
1501 n = wcrtomb(bracket, ch, &mbs);
1652 mbstate_t mbs; local in function:wgetnext
1656 memset(&mbs, 0, sizeof(mbs))
2012 mbstate_t mbs; local in function:findmust
    [all...]
  /src/sys/dev/ic/
isp_netbsd.c 395 mbreg_t mbs; local in function:ispioctl
407 memset(&mbs, 0, sizeof (mbs));
415 mbs.param[0] = MBOX_CLEAR_ACA;
416 mbs.param[1] = loopid;
417 mbs.param[2] = fct->lun;
420 mbs.param[0] = MBOX_TARGET_RESET;
421 mbs.param[1] = loopid;
425 mbs.param[0] = MBOX_LUN_RESET;
426 mbs.param[1] = loopid
    [all...]
isp_library.c 558 mbreg_t mbs; local in function:isp_fc_change_role
593 MBSINIT(&mbs, MBOX_EXEC_COMMAND_IOCB_A64, MBLOGALL, 0);
594 mbs.param[1] = QENTRY_LEN;
595 mbs.param[2] = DMA_WD1(fcp->isp_scdma);
596 mbs.param[3] = DMA_WD0(fcp->isp_scdma);
597 mbs.param[6] = DMA_WD3(fcp->isp_scdma);
598 mbs.param[7] = DMA_WD2(fcp->isp_scdma);
600 isp_control(isp, ISPCTL_RUN_MBOXCMD, &mbs);
601 if (mbs.param[0] != MBOX_COMMAND_COMPLETE) {
isp.c 162 mbreg_t mbs; local in function:isp_reset
689 ISP_MEMZERO(&mbs, sizeof (mbs));
690 mbs.param[0] = MBOX_NO_OP;
691 mbs.logval = MBLOGALL;
692 isp_mboxcmd(isp, &mbs);
693 if (mbs.param[0] != MBOX_COMMAND_COMPLETE) {
694 isp_prt(isp, ISP_LOGERR, "NOP command failed (%x)", mbs.param[0]);
704 ISP_MEMZERO(&mbs, sizeof (mbs));
1185 mbreg_t mbs; local in function:isp_scsi_init
1369 mbreg_t mbs; local in function:isp_scsi_channel_init
1485 mbreg_t mbs; local in function:isp_fibre_init
1747 mbreg_t mbs; local in function:isp_fibre_init_2400
2082 mbreg_t mbs; local in function:isp_plogx
2234 mbreg_t mbs; local in function:isp_port_login
2287 mbreg_t mbs; local in function:isp_port_logout
2304 mbreg_t mbs; local in function:isp_getpdb
2399 mbreg_t mbs; local in function:isp_get_wwn
2457 mbreg_t mbs; local in function:isp_fclink_test
3204 mbreg_t mbs; local in function:isp_gid_ft_sns
3244 mbreg_t mbs; local in function:isp_gid_ft_ct_passthru
3990 mbreg_t mbs; local in function:isp_register_fc4_type
4027 mbreg_t mbs; local in function:isp_register_fc4_type_24xx
4469 mbreg_t *mbr, mbs; local in function:isp_control
6318 mbreg_t mbs; local in function:isp_parse_status
6553 mbreg_t mbs; local in function:isp_mbox_continue
7309 mbreg_t mbs; local in function:isp_fw_state
7324 mbreg_t mbs; local in function:isp_spi_update
7540 mbreg_t mbs; local in function:isp_setdfltsdparm
    [all...]
  /src/sys/arch/mips/rmi/
rmixl_pcix.c 392 uint32_t mba, mbs; local in function:rmixl_pcix_attach
394 mbs = RMIXL_PCIXREG_READ(RMIXL_PCIX_ECFG_MATCH_BIT_SIZE);
395 DPRINTF(("%s: MBLE=%#x, MBA=%#x, MBS=%#x\n", __func__, mble, mba, mbs));
  /src/sys/kern/
uipc_mbuf.c 410 struct mbstat *mbs = v2; local in function:mbstat_convert_to_user_cb
413 for (i = 0; i < __arraycount(mbs->m_mtypes); i++) {
414 mbs->m_mtypes[i] += mbsc->m_mtypes[i];
419 mbstat_convert_to_user(struct mbstat *mbs)
422 memset(mbs, 0, sizeof(*mbs));
423 mbs->m_drain = mbstat.m_drain;
424 percpu_foreach(mbstat_percpu, mbstat_convert_to_user_cb, mbs);
431 struct mbstat mbs; local in function:sysctl_kern_mbuf_stats
433 mbstat_convert_to_user(&mbs);
    [all...]
  /src/sbin/fdisk/
fdisk.c 1427 struct mbr_bootsel *mbs = &mboot.mbr_bootsel; local in function:install_bootsel
1440 if (mbs->mbrbs_nametab[p][0] == 0)
1463 && (mbs->mbrbs_flags & needed) == needed))) {
1465 mbs->mbrbs_flags |= ext13;
1525 mbs->mbrbs_flags = bootcode[0].mbr_bootsel.mbrbs_flags | ext13;
1531 struct mbr_bootsel *mbs = &mboot.mbr_bootsel; local in function:configure_bootsel
1553 tmo = le16toh(mbs->mbrbs_timeo);
1557 mbs->mbrbs_timeo = htole16(tmo == -1 ? 0xffff : (tmo * 182) / 10);
1571 if (mbs->mbrbs_nametab[i][0] == 0)
1573 printf("%d: %s\n", ++opt, &mbs->mbrbs_nametab[i][0])
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/
msan_test.cc 2093 mbstate_t mbs; local in function:TEST
2094 memset(&mbs, 0, sizeof(mbs));
2095 int res = wcsrtombs(buff, &p, 4, &mbs);
2108 mbstate_t mbs; local in function:TEST
2109 memset(&mbs, 0, sizeof(mbs));
2110 int res = wcsnrtombs(buff, &p, 2, 4, &mbs);
2120 mbstate_t mbs; local in function:TEST
2121 memset(&mbs, 0, sizeof(mbs))
2146 mbstate_t mbs = {}; local in function:TEST
    [all...]

Completed in 162 milliseconds