Home
last modified time | relevance | path

Searched refs:st (Results 26 – 50 of 983) sorted by relevance

12345678910>>...40

/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A Dzh_TW-iso2022-7%zh_TW-big5.c71 _iconv_st *st; in _icv_open() local
78 st->cstate = C0; in _icv_open()
79 st->plane_no = 0; in _icv_open()
80 st->_errno = 0; in _icv_open()
95 if (!st) in _icv_close()
98 free(st); in _icv_close()
129 if (st == NULL) { in _icv_iconv()
136 st->_errno = 0; in _icv_iconv()
245 st->keepc[2] = st->keepc[3] = '\0'; in _icv_iconv()
258 n = iso_to_big5(st->plane_no, st->keepc, *outbuf, in _icv_iconv()
[all …]
H A Dzh_TW-iso2022-7%UTF-8.c74 _iconv_st *st; in _icv_open() local
81 st->cstate = C0; in _icv_open()
82 st->plane_no = 0; in _icv_open()
83 st->_errno = 0; in _icv_open()
95 if (!st) in _icv_close()
98 free(st); in _icv_close()
132 if (st == NULL) { in _icv_iconv()
139 st->_errno = 0; in _icv_iconv()
245 st->keepc[2] = st->keepc[3] = '\0'; in _icv_iconv()
259 n = iso_to_utf8(st->plane_no, st->keepc, *outbuf, in _icv_iconv()
[all …]
H A Dzh_CN.gbk%UTF-8.c81 _iconv_st *st; in _icv_open() local
88 st->cstate = C0; in _icv_open()
89 st->_errno = 0; in _icv_open()
105 if (!st) in _icv_close()
108 free(st); in _icv_close()
152 if (st == NULL) { in _icv_iconv()
159 st->_errno = 0; in _icv_iconv()
192 st->keepc[2] = st->keepc[3] = 0; in _icv_iconv()
194 n = output_char (st, gbk_to_unicode (st), *outbuf, in _icv_iconv()
230 n = output_char (st, gbk_to_unicode (st), *outbuf, in _icv_iconv()
[all …]
H A DUTF-8%zh_CN.gbk.c61 _iconv_st *st; in _icv_open() local
68 st->ustate = U0; in _icv_open()
69 st->_errno = 0; in _icv_open()
80 if (!st) in _icv_close()
83 free(st); in _icv_close()
100 if (st == NULL) { in _icv_iconv()
106 st->ustate = U0; in _icv_iconv()
107 st->_errno = 0; in _icv_iconv()
263 c2 = ((st->keepc[0]&0x03)<<6) | ((st->keepc[1])&0x3f); in _icv_iconv()
268 st->keepc[0]&ONEBYTE, st->keepc[1]&ONEBYTE); in _icv_iconv()
[all …]
H A DUTF-8%zh_CN.euc.c53 _iconv_st *st; in _icv_open() local
60 st->_ustate = U0; in _icv_open()
67 return ((void *)st); in _icv_open()
77 if (st == NULL) in _icv_close()
80 free(st); in _icv_close()
95 if (st == NULL) { in _icv_iconv()
101 st->_ustate = U0; in _icv_iconv()
141 st->_ustate = U4; in _icv_iconv()
155 c2 = st->_cbuf[0]; in _icv_iconv()
206 c1 = ((st->_cbuf[0]&0x0f)<<4) | ((st->_cbuf[1]&0x3c)>>2); in _icv_iconv()
[all …]
H A Dzh_TW-big5%zh_TW-iso2022-7.c72 _iconv_st *st; in _icv_open() local
79 st->cstate = C0; in _icv_open()
80 st->istate = IN; in _icv_open()
81 st->_errno = 0; in _icv_open()
96 if (!st) in _icv_close()
99 free(st); in _icv_close()
136 if (st == NULL) { in _icv_iconv()
142 st->cstate = C0; in _icv_iconv()
144 st->_errno = 0; in _icv_iconv()
151 st->cstate, st->istate, st->_errno, plane_no); in _icv_iconv()
[all …]
H A Dzh_CN.euc%zh_CN.iso2022-CN.c54 _iconv_st *st; in _icv_open() local
61 st->_gstate = G0; in _icv_open()
72 if (st == NULL) in _icv_close()
75 free(st); in _icv_close()
94 if (st == NULL) { in _icv_iconv()
110 st->_gstate = G0; in _icv_iconv()
227 _enconv_st *st; in _cv_open() local
233 st->_gstate = G0; in _cv_open()
244 if (st != NULL) in _cv_close()
245 free(st); in _cv_close()
[all …]
H A Dzh_TW-euc%UTF-8.c69 _iconv_st *st; in _icv_open() local
76 st->cstate = C0; in _icv_open()
77 st->_errno = 0; in _icv_open()
94 if (!st) in _icv_close()
97 free(st); in _icv_close()
128 if (st == NULL) { in _icv_iconv()
134 st->cstate = C0; in _icv_iconv()
135 st->_errno = 0; in _icv_iconv()
197 st->keepc[2] = st->keepc[3] = '\0'; in _icv_iconv()
255 st->_errno, st->cstate); in _icv_iconv()
[all …]
H A DUTF-8%HZ-GB-2312.c52 _iconv_st *st; in _icv_open() local
59 st->_ustate = U0; in _icv_open()
60 st->saved_ustate = U0; in _icv_open()
61 return ((void *)st); in _icv_open()
71 if (st == NULL) in _icv_close()
74 free(st); in _icv_close()
88 if (st == NULL) { in _icv_iconv()
94 st->_ustate = U0; in _icv_iconv()
116 if (st->saved_ustate == U1 || st->saved_ustate == U3) in _icv_iconv()
162 st->_ustate = U4; in _icv_iconv()
[all …]
H A DUTF-8%zh_CN.iso2022-7.c58 _iconv_st *st; in _icv_open() local
65 st->_ustate = U0; in _icv_open()
66 st->_istate = IN; in _icv_open()
67 st->_gstate = G0; in _icv_open()
79 if (st == NULL) in _icv_close()
82 free(st); in _icv_close()
96 if (st == NULL) { in _icv_iconv()
102 st->_ustate = U0; in _icv_iconv()
103 st->_istate = IN; in _icv_iconv()
104 st->_gstate = G0; in _icv_iconv()
[all …]
H A Dzh_TW-euc%zh_TW-big5.c60 _iconv_st *st; in _icv_open() local
67 st->cstate = C0; in _icv_open()
68 st->_errno = 0; in _icv_open()
84 if (!st) in _icv_close()
87 free(st); in _icv_close()
114 if (st == NULL) { in _icv_iconv()
120 st->cstate = C0; in _icv_iconv()
121 st->_errno = 0; in _icv_iconv()
156 st->keepc[2] = st->keepc[3] = '\0'; in _icv_iconv()
205 if (st->_errno) { in _icv_iconv()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dnvstore.c69 nvstore_t *st; in nvstore_get_store() local
71 st = NULL; in nvstore_get_store()
78 return (st); in nvstore_get_store()
84 nvstore_t *st; in nvstore_init() local
90 if ((st = malloc(sizeof (*st))) == NULL) in nvstore_init()
94 free(st); in nvstore_init()
108 nvstore_t *st; in nvstore_fini() local
118 free(st); in nvstore_fini()
127 return (st->nvs_cb->nvs_iterate(st->nvs_data, st->nvs_cb->nvs_print)); in nvstore_print()
135 return (st->nvs_cb->nvs_getter(st->nvs_data, name, data)); in nvstore_get_var()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_rights.c314 st=-1;
368 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
370 st = set_ldap_error (context, st, OP_MOD);
399 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
401 st = set_ldap_error (context, st, OP_MOD);
442 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
444 st = set_ldap_error (context, st, OP_MOD);
469 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
497 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
536 if (st != LDAP_SUCCESS && st != LDAP_TYPE_OR_VALUE_EXISTS && st != LDAP_OTHER) {
[all …]
H A Dldap_tkt_policy.c58 st = EINVAL;
100 st = set_ldap_error (context, st, OP_ADD);
110 return st;
136 st = EINVAL;
177 st = set_ldap_error (context, st, OP_MOD);
216 st = EINVAL;
237 st = ENOMEM;
305 st = EINVAL;
326 prepend_err_str (context,ldap_err2string(st),st,st);
405 return st;
[all …]
H A Dldap_realm.c203 st = set_ldap_error (context, st, OP_SEARCH);
358 st = translate_ldap_error (st, OP_DEL);
627 st = set_ldap_error (context, st, OP_MOD);
847 st = translate_ldap_error (st, OP_ADD);
882 st = translate_ldap_error (st, OP_MOD);
936 st = translate_ldap_error (st, OP_ADD); in krb5_ldap_delete_krbcontainer()
1138 st = set_ldap_error (context, st, OP_ADD);
1148 prepend_err_str (context, errbuf, st, st);
1159 prepend_err_str (context, errbuf, st, st);
1170 prepend_err_str (context, errbuf, st, st);
[all …]
H A Dldap_services.c63 st = EINVAL;
140 st = set_ldap_error (context, st, OP_ADD);
154 prepend_err_str (context, errbuf, st, st);
169 return st;
197 st = EINVAL;
260 st = set_ldap_error (context, st, OP_SEARCH);
283 st = set_ldap_error (context, st, OP_MOD);
361 st = set_ldap_error (context, st, OP_DEL);
433 st = EINVAL;
450 st = ENOMEM;
[all …]
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Deuc_to_nbyte.c432 st->invalid = 0; in _cv_open()
436 st->end_cnt = 0; in _cv_open()
442 _cv_close(st) in _cv_close() argument
445 free(st);
471 **outbuf = st->temp_obuf[st->start_cnt];
477 if (st->start_cnt < st->end_cnt) {
572 st->temp_obuf[st->end_cnt] = Char;
577 (*(st->my_outbuf))++, (*(st->my_outbytesleft))--;
626 _cv_close(st); in main()
668 _cv_close(st); in main()
[all …]
H A Dnbyte_to_euc.c412 st->ibuf_left = 0; in _cv_open()
413 st->istart = 0; in _cv_open()
414 st->iend = 0; in _cv_open()
415 st->flush_obuf = 0; in _cv_open()
417 return (st); in _cv_open()
421 _cv_close(st) in _cv_close() argument
424 free(st);
439 st->istart = 0;
440 st->iend = 0;
519 st->temp_ibuf[st->iend] = **inbuf;
[all …]
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A Dtcvn%UTF-8.c50 _iconv_st *st; in _icv_open() local
57 st->_errno = 0; in _icv_open()
58 return ((void *) st); in _icv_open()
68 if (!st) in _icv_close()
71 free(st); in _icv_close()
86 if (st == NULL) { in _icv_iconv()
92 st->_errno = 0; in _icv_iconv()
131 } else if (st->last >= 0x0080 && st->last <= 0x07ff) { in _icv_iconv()
193 st->last = 0; in _icv_iconv()
201 } else if (st->last >= 0x0080 && st->last <= 0x07ff) { in _icv_iconv()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/common/
H A Dibm%utf8.c71 if (st == NULL) { in _icv_iconv()
79 st->shift = SHIFT_IN; in _icv_iconv()
99 st->shift = SHIFT_IN; in _icv_iconv()
111 st->keepc[0] = 0x0; in _icv_iconv()
113 st->ustate = C2; in _icv_iconv()
119 st->ustate = C1; in _icv_iconv()
123 st->ustate = C2; in _icv_iconv()
151 st->_errno, st->ustate); in _icv_iconv()
175 _icv_state *st; in ibm_to_utf8()
183 ibm_val = ((st->keepc[0]&ONEBYTE) << 8) + (st->keepc[1]&ONEBYTE);
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncstat.c175 osize = st.ochar / st.opack; in main()
177 isize = st.ichar / st.ipack; in main()
181 st.ipack, st.opack, st.underrun, st.overrun, st.abort, st.crc, in main()
204 st.ipack = nst.ipack - st.ipack; in sample()
205 st.opack = nst.opack - st.opack; in sample()
206 st.ichar = nst.ichar - st.ichar; in sample()
207 st.ochar = nst.ochar - st.ochar; in sample()
208 st.crc = nst.crc - st.crc; in sample()
209 st.overrun = nst.overrun - st.overrun; in sample()
211 st.abort = nst.abort - st.abort; in sample()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/hi_IN/
H A Discii91%UTF-8.c158 st->keepc[1] = st->keepc[2] = 0; in iscii_to_utf8()
167 st->keepc[1] = st->keepc[2]; in iscii_to_utf8()
176 st->keepc[1] = st->keepc[2] = 0; in iscii_to_utf8()
187 st->keepc[1] = st->keepc[2] = 0; in iscii_to_utf8()
207 st->keepc[1] = st->keepc[2] = 0; in iscii_to_utf8()
210 st->keepc[1] = st->keepc[2]; in iscii_to_utf8()
214 st->keepc[1] = st->keepc[2]; in iscii_to_utf8()
221 st->keepc[1] = st->keepc[2]; in iscii_to_utf8()
282 _iconv_st *st; in _icv_open() local
302 if (!st) in _icv_close()
[all …]
H A Dea-iscii%iscii91.c77 if ( st->keepc == 0 ) { in get_iscii()
92 if ( st->is_vowel ) { in get_iscii()
97 st->keepc = 0; in get_iscii()
102 st->is_vowel = 0; in get_iscii()
123 st->keepc = 0; in get_iscii()
144 _iconv_st *st; in _icv_open() local
153 return ((void*)st); in _icv_open()
160 _icv_close(_iconv_st *st) in _icv_close() argument
162 if (!st) in _icv_close()
165 free(st); in _icv_close()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dtv25 #define ST_ATIME_NSEC_GET(st) ((st)->st_atimespec.tv_nsec)
26 #define ST_CTIME_NSEC_GET(st) ((st)->st_ctimespec.tv_nsec)
27 #define ST_MTIME_NSEC_GET(st) ((st)->st_mtimespec.tv_nsec)
30 #define ST_ATIME_NSEC_GET(st) ((st)->st_atim.st__tim.tv_nsec)
31 #define ST_CTIME_NSEC_GET(st) ((st)->st_ctim.st__tim.tv_nsec)
35 #define ST_ATIME_NSEC_GET(st) ((st)->st_atim.tv_nsec)
36 #define ST_CTIME_NSEC_GET(st) ((st)->st_ctim.tv_nsec)
37 #define ST_MTIME_NSEC_GET(st) ((st)->st_mtim.tv_nsec)
40 #define ST_ATIME_NSEC_GET(st) ((st)->st_atimensec)
41 #define ST_CTIME_NSEC_GET(st) ((st)->st_ctimensec)
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/symbols/
H A Dsymbols_test.c157 *sym_insert = st; in append_sym_test()
367 addprogfmt("|| %s != %s", st->st_name, st->st_defval); in mkprog()
369 st->st_name); in mkprog()
445 if (expand_env_list(envs, &st->st_test_mask, &st->st_need_mask, in add_envs()
503 st = myzalloc(sizeof (*st)); in do_type()
535 st = myzalloc(sizeof (*st)); in do_value()
565 st = myzalloc(sizeof (*st)); in do_define()
607 st = myzalloc(sizeof (*st)); in do_func()
625 return (st == NULL ? sym_tests : st->st_next); in next_sym_test()
632 mkprog(st); in sym_test_prog()
[all …]

12345678910>>...40