Home
last modified time | relevance | path

Searched refs:ctype (Results 1 – 25 of 139) sorted by relevance

123456

/freebsd/usr.bin/localedef/
H A Dctype.c81 int32_t ctype; member
111 ctn->ctype |= (_ISUPPER | _ISALPHA | _ISGRAPH | _ISPRINT); in add_ctype_impl()
114 ctn->ctype |= (_ISLOWER | _ISALPHA | _ISGRAPH | _ISPRINT); in add_ctype_impl()
117 ctn->ctype |= (_ISALPHA | _ISGRAPH | _ISPRINT); in add_ctype_impl()
120 ctn->ctype |= (_ISDIGIT | _ISGRAPH | _ISPRINT | _ISXDIGIT | _E4); in add_ctype_impl()
129 ctn->ctype |= (_ISSPACE | _ISPRINT); in add_ctype_impl()
132 ctn->ctype |= _ISCNTRL; in add_ctype_impl()
135 ctn->ctype |= (_ISGRAPH | _ISPRINT); in add_ctype_impl()
138 ctn->ctype |= _ISPRINT; in add_ctype_impl()
141 ctn->ctype |= (_ISPUNCT | _ISGRAPH | _ISPRINT); in add_ctype_impl()
[all …]
/freebsd/crypto/krb5/src/lib/crypto/krb/
H A Dold_api_glue.c37 krb5_boolean KRB5_CALLCONV valid_cksumtype(krb5_cksumtype ctype);
38 krb5_boolean KRB5_CALLCONV is_coll_proof_cksum(krb5_cksumtype ctype);
39 krb5_boolean KRB5_CALLCONV is_keyed_cksum(krb5_cksumtype ctype);
204 krb5_checksum_size(krb5_context context, krb5_cksumtype ctype) in krb5_checksum_size() argument
208 if (krb5_c_checksum_length(context, ctype, &ret)) in krb5_checksum_size()
216 guess_enctype(krb5_cksumtype ctype) in guess_enctype() argument
221 if (ctype == CKSUMTYPE_HMAC_MD5_ARCFOUR) in guess_enctype()
223 ctp = find_cksumtype(ctype); in guess_enctype()
234 krb5_calculate_checksum(krb5_context context, krb5_cksumtype ctype, in krb5_calculate_checksum() argument
245 keyblock.enctype = guess_enctype(ctype); in krb5_calculate_checksum()
[all …]
H A Dvalid_cksumtype.c31 krb5_c_valid_cksumtype(krb5_cksumtype ctype) in krb5_c_valid_cksumtype() argument
35 ctp = find_cksumtype(ctype); in krb5_c_valid_cksumtype()
H A Dcoll_proof_cksum.c31 krb5_c_is_coll_proof_cksum(krb5_cksumtype ctype) in krb5_c_is_coll_proof_cksum() argument
35 ctp = find_cksumtype(ctype); in krb5_c_is_coll_proof_cksum()
H A Dkeyed_cksum.c31 krb5_c_is_keyed_cksum(krb5_cksumtype ctype) in krb5_c_is_keyed_cksum() argument
35 ctp = find_cksumtype(ctype); in krb5_c_is_keyed_cksum()
H A Dstring_to_cksumtype.c40 *cksumtypep = ctp->ctype; in krb5_string_to_cksumtype()
49 *cksumtypep = ctp->ctype; in krb5_string_to_cksumtype()
/freebsd/lib/libnv/tests/
H A Dnvlist_send_recv_test.c102 int type, ctype, fd; in send_nvlist_parent() local
227 cname = nvlist_next(cnvl, &ctype, &ccookie); in send_nvlist_parent()
229 ATF_REQUIRE(ctype == NV_TYPE_BOOL); in send_nvlist_parent()
233 cname = nvlist_next(cnvl, &ctype, &ccookie); in send_nvlist_parent()
235 ATF_REQUIRE(ctype == NV_TYPE_BOOL); in send_nvlist_parent()
239 cname = nvlist_next(cnvl, &ctype, &ccookie); in send_nvlist_parent()
241 ATF_REQUIRE(ctype == NV_TYPE_NUMBER); in send_nvlist_parent()
245 cname = nvlist_next(cnvl, &ctype, &ccookie); in send_nvlist_parent()
247 ATF_REQUIRE(ctype == NV_TYPE_NUMBER); in send_nvlist_parent()
251 cname = nvlist_next(cnvl, &ctype, in send_nvlist_parent()
[all...]
/freebsd/crypto/openssl/include/internal/
H A Dpriority_queue.h19 #define DEFINE_PRIORITY_QUEUE_OF_INTERNAL(type, ctype) … argument
21 … PRIORITY_QUEUE_OF(type) * ossl_pqueue_##type##_new(int (*compare)(const ctype *, const ctype *)) \
33 …void (*freefunc)(ctype *)) …
49ctype * data, size_t *elem) …
53 …static ossl_unused ossl_inline ctype * …
58 …static ossl_unused ossl_inline ctype * …
63 …static ossl_unused ossl_inline ctype * …
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_recompress.c101 enum zio_compress ctype; in zstream_do_recompress() local
103 ctype = ZIO_COMPRESS_OFF; in zstream_do_recompress()
105 for (ctype = 0; ctype < ZIO_COMPRESS_FUNCTIONS; ctype++) { in zstream_do_recompress()
107 zio_compress_table[ctype].ci_name) == 0) in zstream_do_recompress()
110 if (ctype == ZIO_COMPRESS_FUNCTIONS || in zstream_do_recompress()
111 zio_compress_table[ctype].ci_compress == NULL) { in zstream_do_recompress()
250 if (ctype == ZIO_COMPRESS_OFF) in zstream_do_recompress()
285 if (ctype != ZIO_COMPRESS_OFF) { in zstream_do_recompress()
291 size_t csize = zio_compress_data(ctype, &dabd, in zstream_do_recompress()
303 drrw->drr_compressiontype = ctype; in zstream_do_recompress()
/freebsd/sys/libkern/
H A Diconv_ucs.c84 void * ctype; member
126 dp->ctype = NULL; in iconv_ucs_open()
128 iconv_open(KICONV_WCTYPE_NAME, ENCODING_UTF8, &dp->ctype); in iconv_ucs_open()
153 if (dp->ctype) in iconv_ucs_close()
154 iconv_close(dp->ctype); in iconv_ucs_close()
201 if (casetype == KICONV_FROM_LOWER && dp->ctype) { in iconv_ucs_conv()
202 code = towlower(code, dp->ctype); in iconv_ucs_conv()
203 } else if (casetype == KICONV_FROM_UPPER && dp->ctype) { in iconv_ucs_conv()
204 code = towupper(code, dp->ctype); in iconv_ucs_conv()
301 if (casetype == KICONV_LOWER && dp->ctype) { in iconv_ucs_conv()
[all …]
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_decl.c91 uint_t ctype, kind, n = 1; in ctf_decl_push() local
103 ctf_get_ctt_index(fp, tp, NULL, &ctype, NULL); in ctf_decl_push()
115 ctf_decl_push(cd, fp, ctype); in ctf_decl_push()
122 ctf_decl_push(cd, fp, ctype); in ctf_decl_push()
127 ctf_decl_push(cd, fp, ctype); in ctf_decl_push()
134 ctf_decl_push(cd, fp, ctype); in ctf_decl_push()
/freebsd/sys/netgraph/
H A Dng_parse.c104 u_char *const buf, int *buflen, enum comptype ctype);
107 enum comptype ctype);
110 int *buflen, enum comptype ctype);
113 enum comptype ctype);
115 ng_parse_type *type, int index, enum comptype ctype);
117 int index, enum comptype ctype, int posn);
1200 const enum comptype ctype) in ng_parse_composite() argument
1208 const int num = ng_get_composite_len(type, start, buf, ctype); in ng_parse_composite()
1219 != (ctype == CT_STRUCT ? T_LBRACE : T_LBRACKET)) { in ng_parse_composite()
1231 if (tok == (ctype == CT_STRUCT ? T_RBRACE : T_RBRACKET)) { in ng_parse_composite()
[all …]
/freebsd/sys/arm/arm/
H A Dcpufunc.c126 u_int ctype, dsize, cpuid; in get_cachetype_cp15() local
130 ctype = cp15_ctr_get(); in get_cachetype_cp15()
139 if (ctype == cpuid) in get_cachetype_cp15()
142 if (CPU_CT_FORMAT(ctype) == CPU_CT_ARMV7) { in get_cachetype_cp15()
172 dsize = CPU_CT_DSIZE(ctype); in get_cachetype_cp15()
/freebsd/contrib/bsnmp/lib/
H A Dsnmpcrypto.c146 const EVP_CIPHER **ctype, uint8_t *piv) in snmp_pdu_cipher_init() argument
154 *ctype = EVP_des_cbc(); in snmp_pdu_cipher_init()
159 *ctype = EVP_aes_128_cfb128(); in snmp_pdu_cipher_init()
182 const EVP_CIPHER *ctype; in snmp_pdu_encrypt() local
185 err = snmp_pdu_cipher_init(pdu, pdu->scoped_len, &ctype, iv); in snmp_pdu_encrypt()
194 if (EVP_EncryptInit(ctx, ctype, pdu->user.priv_key, iv) != 1) in snmp_pdu_encrypt()
215 const EVP_CIPHER *ctype; in snmp_pdu_decrypt() local
218 err = snmp_pdu_cipher_init(pdu, pdu->scoped_len, &ctype, iv); in snmp_pdu_decrypt()
227 if (EVP_DecryptInit(ctx, ctype, pdu->user.priv_key, iv) != 1 || in snmp_pdu_decrypt()
/freebsd/crypto/openssl/crypto/objects/
H A Dobjects.txt1264 id-set 0 : set-ctype : content types
1271 set-ctype 0 : setct-PANData
1272 set-ctype 1 : setct-PANToken
1273 set-ctype 2 : setct-PANOnly
1274 set-ctype 3 : setct-OIData
1275 set-ctype 4 : setct-PI
1276 set-ctype 5 : setct-PIData
1277 set-ctype 6 : setct-PIDataUnsigned
1278 set-ctype 7 : setct-HODInput
1279 set-ctype 8 : setct-AuthResBaggage
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dsymbol.h120 enum ctype { CT_CONTENTS, CT_USER } ;
137 enum ctype ctype;
116 enum ctype { CT_CONTENTS, CT_USER } ; global() enum
133 enum ctype ctype; global() member
/freebsd/crypto/openssl/include/crypto/
H A Dsparse_array.h23 #define DEFINE_SPARSE_ARRAY_OF_INTERNAL(type, ctype) … argument
59 …static ossl_unused ossl_inline ctype *ossl_sa_##type##_get(const SPARSE_ARRAY_OF(type) * sa, ossl_…
65 …ossl_uintmax_t n, ctype * val) …
/freebsd/crypto/openssh/
H A Dserverloop.c589 char *ctype = NULL; in server_input_channel_open() local
594 if ((r = sshpkt_get_cstring(ssh, &ctype, NULL)) != 0 || in server_input_channel_open()
600 ctype, rchan, rwindow, rmaxpack); in server_input_channel_open()
602 if (strcmp(ctype, "session") == 0) { in server_input_channel_open()
604 } else if (strcmp(ctype, "direct-tcpip") == 0) { in server_input_channel_open()
606 } else if (strcmp(ctype, "direct-streamlocal@openssh.com") == 0) { in server_input_channel_open()
608 } else if (strcmp(ctype, "tun@openssh.com") == 0) { in server_input_channel_open()
612 debug_f("confirm %s", ctype); in server_input_channel_open()
629 debug_f("failure %s", ctype); in server_input_channel_open()
640 free(ctype); in server_input_channel_open()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dctype.h14 ctype.h synopsis
38 #if __has_include_next(<ctype.h>)
39 # include_next <ctype.h>
H A Dcctype39 #include <ctype.h>
42 # error <cctype> tried including <ctype.h> but didn't find libc++'s <ctype.h> header. \
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dlocale.inc33 // [category.ctype], ctype
37 using std::ctype;
H A Dlocale.cppm
/freebsd/crypto/heimdal/lib/krb5/
H A Dmit_glue.c146 krb5_c_valid_cksumtype(krb5_cksumtype ctype) in krb5_c_valid_cksumtype() argument
148 return krb5_cksumtype_valid(NULL, ctype); in krb5_c_valid_cksumtype()
152 krb5_c_is_coll_proof_cksum(krb5_cksumtype ctype) in krb5_c_is_coll_proof_cksum() argument
154 return krb5_checksum_is_collision_proof(NULL, ctype); in krb5_c_is_coll_proof_cksum()
158 krb5_c_is_keyed_cksum(krb5_cksumtype ctype) in krb5_c_is_keyed_cksum() argument
160 return krb5_checksum_is_keyed(NULL, ctype); in krb5_c_is_keyed_cksum()
/freebsd/contrib/nvi/common/
H A Dconv.c325 char *ctype = setlocale(LC_CTYPE, NULL); in conv_init() local
331 if (!strcmp(ctype, "ko_KR.CP949")) in conv_init()
333 else if (!strcmp(ctype, "zh_CN.GB2312")) in conv_init()
335 else if (!strcmp(ctype, "zh_CN.GBK")) in conv_init()
342 if (!strcmp(ctype, "C") || !strcmp(ctype, "POSIX")) { in conv_init()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dlocale.cpp120 const locale::category locale::ctype; member in locale
165 install(&make<std::ctype<char> >(nullptr, false, 1u)); in __imp()
167 install(&make<std::ctype<wchar_t> >(1u)); in __imp()
303 if (c & locale::ctype) { in __imp()
382 if (c & locale::ctype) { in __imp()
383 install_from<std::ctype<char> >(one); in __imp()
385 install_from<std::ctype<wchar_t> >(one); in __imp()
705 constinit locale::id ctype<wchar_t>::id;
707 ctype<wchar_t>::~ctype() {} in ~ctype()
709 bool ctype<wchar_t>::do_is(mask m, char_type c) const { in do_is()
[all …]

123456