Home
last modified time | relevance | path

Searched refs:nms (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dnetstack.c183 nm_state_t *nms = &ns->netstack_m_state[moduleid]; in netstack_register() local
187 (nms->nms_flags & NSS_CREATE_ALL) == 0) { in netstack_register()
188 nms->nms_flags |= NSS_CREATE_NEEDED; in netstack_register()
225 nm_state_t *nms = &ns->netstack_m_state[moduleid]; in netstack_unregister() local
247 if (nms->nms_flags & NSS_CREATE_NEEDED) in netstack_unregister()
248 nms->nms_flags &= ~NSS_CREATE_NEEDED; in netstack_unregister()
250 if (nms->nms_flags & NSS_CREATE_INPROGRESS || in netstack_unregister()
251 nms->nms_flags & NSS_CREATE_COMPLETED) in netstack_unregister()
255 (nms->nms_flags & NSS_CREATE_COMPLETED) && in netstack_unregister()
256 (nms->nms_flags & NSS_SHUTDOWN_ALL) == 0) { in netstack_unregister()
[all …]
/titanic_41/usr/src/lib/libc/port/locale/
H A Dmbsnrtowcs.c40 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps, locale_t loc) in mbsnrtowcs_l() argument
46 return (loc->ctype->lc_mbsnrtowcs(dst, src, nms, len, ps)); in mbsnrtowcs_l()
51 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) in mbsnrtowcs() argument
53 return (mbsnrtowcs_l(dst, src, nms, len, ps, uselocale(NULL))); in mbsnrtowcs()
58 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps, in __mbsnrtowcs_std() argument
71 if ((nb = pmbrtowc(&wc, s, nms, ps)) == (size_t)-1) in __mbsnrtowcs_std()
77 nms -= nb; in __mbsnrtowcs_std()
84 if ((nb = pmbrtowc(dst, s, nms, ps)) == (size_t)-1) { in __mbsnrtowcs_std()
88 *src = s + nms; in __mbsnrtowcs_std()
95 nms -= nb; in __mbsnrtowcs_std()
H A Dutf8.c200 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) in _UTF8_mbsnrtowcs() argument
219 if (nms > 0 && us->want > 0 && (signed char)*s > 0) { in _UTF8_mbsnrtowcs()
224 if (nms > 0 && (signed char)*s > 0) in _UTF8_mbsnrtowcs()
230 else if ((nb = _UTF8_mbrtowc(&wc, s, nms, ps)) == in _UTF8_mbsnrtowcs()
237 nms -= nb; in _UTF8_mbsnrtowcs()
248 if (nms > 0 && len > 0 && us->want > 0 && (signed char)*s > 0) { in _UTF8_mbsnrtowcs()
253 if (nms > 0 && (signed char)*s > 0) { in _UTF8_mbsnrtowcs()
260 } else if ((nb = _UTF8_mbrtowc(dst, s, nms, ps)) == in _UTF8_mbsnrtowcs()
265 *src = s + nms; in _UTF8_mbsnrtowcs()
272 nms -= nb; in _UTF8_mbsnrtowcs()
H A Dnone.c110 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD unused) in __mbsnrtowcs_ascii() argument
118 s = memchr(*src, '\0', nms); in __mbsnrtowcs_ascii()
119 return (s != NULL ? s - *src : nms); in __mbsnrtowcs_ascii()
124 while (len-- > 0 && nms-- > 0) { in __mbsnrtowcs_ascii()
H A Deuc.c142 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) in _EUC_CN_mbsnrtowcs() argument
144 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _EUC_CN_mbrtowc)); in _EUC_CN_mbsnrtowcs()
187 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) in _EUC_KR_mbsnrtowcs() argument
189 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _EUC_KR_mbrtowc)); in _EUC_KR_mbsnrtowcs()
232 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) in _EUC_JP_mbsnrtowcs() argument
234 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _EUC_JP_mbrtowc)); in _EUC_JP_mbsnrtowcs()
277 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) in _EUC_TW_mbsnrtowcs() argument
279 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _EUC_TW_mbrtowc)); in _EUC_TW_mbsnrtowcs()
H A Dbig5.c176 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) in _BIG5_mbsnrtowcs() argument
178 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _BIG5_mbrtowc)); in _BIG5_mbsnrtowcs()
H A Dgbk.c176 size_t nms, size_t len, mbstate_t *_RESTRICT_KYWD ps) in _GBK_mbsnrtowcs() argument
178 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _GBK_mbrtowc)); in _GBK_mbsnrtowcs()
H A Dmskanji.c167 const char **_RESTRICT_KYWD src, size_t nms, in _MSKanji_mbsnrtowcs() argument
170 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _MSKanji_mbrtowc)); in _MSKanji_mbsnrtowcs()
H A Dgb2312.c170 const char **_RESTRICT_KYWD src, size_t nms, size_t len, in _GB2312_mbsnrtowcs() argument
173 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _GB2312_mbrtowc)); in _GB2312_mbsnrtowcs()
H A Dgb18030.c234 const char **_RESTRICT_KYWD src, size_t nms, size_t len, in _GB18030_mbsnrtowcs() argument
237 return (__mbsnrtowcs_std(dst, src, nms, len, ps, _GB18030_mbrtowc)); in _GB18030_mbsnrtowcs()
H A Dlctype.h57 const char **_RESTRICT_KYWD src, size_t nms, size_t len,
/titanic_41/usr/src/cmd/make/bin/
H A Dread2.cc1751 Wstring nms(name); in enter_equal() local
1752 wchar_t * wcb = nms.get_string(); in enter_equal()
1806 Wstring nms((*name)); in sh_transform()
1807 wchar_t * wcb = nms.get_string(); in sh_transform()
/titanic_41/usr/src/cmd/troff/
H A Dn7.c236 un += nw * (3 + nms + ni); in donum()
247 un += nw * nms; in donum()
H A Dtdef.h471 #define nms env._nms macro
H A Dn5.c1205 getnm(&nms, 0); in casenm()