Home
last modified time | relevance | path

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

12345

/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/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, &ccookie); in send_nvlist_parent()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_recompress.c100 enum zio_compress ctype; in zstream_do_recompress() local
102 ctype = ZIO_COMPRESS_OFF; in zstream_do_recompress()
104 for (ctype = 0; ctype < ZIO_COMPRESS_FUNCTIONS; ctype++) { in zstream_do_recompress()
106 zio_compress_table[ctype].ci_name) == 0) in zstream_do_recompress()
109 if (ctype == ZIO_COMPRESS_FUNCTIONS || in zstream_do_recompress()
110 zio_compress_table[ctype].ci_compress == NULL) { in zstream_do_recompress()
249 if (ctype == ZIO_COMPRESS_OFF) in zstream_do_recompress()
284 if (ctype != ZIO_COMPRESS_OFF) { in zstream_do_recompress()
290 size_t csize = zio_compress_data(ctype, &dabd, in zstream_do_recompress()
302 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/sys/netgraph/
H A Dng_parse.c105 u_char *const buf, int *buflen, enum comptype ctype);
108 enum comptype ctype);
111 int *buflen, enum comptype ctype);
114 enum comptype ctype);
116 ng_parse_type *type, int index, enum comptype ctype);
118 int index, enum comptype ctype, int posn);
1201 const enum comptype ctype) in ng_parse_composite() argument
1203 const int num = ng_get_composite_len(type, start, buf, ctype); in ng_parse_composite()
1220 != (ctype == CT_STRUCT ? T_LBRACE : T_LBRACKET)) { in ng_parse_composite()
1232 if (tok == (ctype == CT_STRUCT ? T_RBRACE : T_RBRACKET)) { in ng_parse_composite()
[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()
H A Dctf_types.c292 uint_t kind, ctype; in ctf_type_resolve() local
301 ctf_get_ctt_index(fp, tp, NULL, &ctype, NULL); in ctf_type_resolve()
302 if (ctype == type || ctype == otype || ctype == prev) { in ctf_type_resolve()
307 type = ctype; in ctf_type_resolve()
617 uint_t ctype, kind; in ctf_type_reference() local
630 ctf_get_ctt_index(fp, tp, NULL, &ctype, NULL); in ctf_type_reference()
631 return (ctype); in ctf_type_reference()
/freebsd/crypto/openssl/crypto/objects/
H A Dobjects.txt1128 id-set 0 : set-ctype : content types
1135 set-ctype 0 : setct-PANData
1136 set-ctype 1 : setct-PANToken
1137 set-ctype 2 : setct-PANOnly
1138 set-ctype 3 : setct-OIData
1139 set-ctype 4 : setct-PI
1140 set-ctype 5 : setct-PIData
1141 set-ctype 6 : setct-PIDataUnsigned
1142 set-ctype 7 : setct-HODInput
1143 set-ctype 8 : setct-AuthResBaggage
[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/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/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/crypto/openssl/include/crypto/
H A Dsparse_array.h23 # define DEFINE_SPARSE_ARRAY_OF_INTERNAL(type, ctype) \ argument
60 static ossl_unused ossl_inline ctype \
67 ossl_uintmax_t n, ctype *val) \
/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 Dlocale30 ctype = 0x020,
35 all = collate | ctype | monetary | numeric | time | messages;
146 // 22.4.1 and 22.4.1.3, ctype:
148 template <class charT> class ctype;
149 template <> class ctype<char>; // specialization
445 use_facet<ctype<_Tp> >(__loc).widen(__src, __src + __int_chr_cnt, __atoms);
461 std::use_facet<ctype<_CharT> >(__loc).widen(__src, __src + __int_chr_cnt, __atoms);
472 std::use_facet<ctype<_CharT> >(__loc).widen(__src, __src + __fp_chr_cnt, __atoms);
841 const ctype<_CharT>& __ct = std::use_facet<ctype<_CharT> >(__iob.getloc());
1029 std::use_facet<ctype<_CharT> >(__iob.getloc())
[all …]
H A Dcctype39 #include <ctype.h>
42 # error <cctype> tried including <ctype.h> but didn't find libc++'s <ctype.h> header. \
H A D__locale63 …collate = LC_COLLATE_MASK, ctype = LC_CTYPE_MASK, monetary = LC_MONETARY_MASK, numeric = LC_NUMERI…
64 …time = LC_TIME_MASK, messages = LC_MESSAGES_MASK, all = collate | ctype | monetary | numeric | tim…
294 // template <class charT> class ctype
390 // Same type as Newlib's _ctype_ array in newlib/libc/include/ctype.h.
450 class _LIBCPP_TEMPLATE_VIS ctype;
454 class _LIBCPP_EXPORTED_FROM_ABI ctype<wchar_t> : public locale::facet, public ctype_base {
458 _LIBCPP_HIDE_FROM_ABI explicit ctype(size_t __refs = 0) : locale::facet(__refs) {}
502 ~ctype() override;
520 class _LIBCPP_EXPORTED_FROM_ABI ctype<char> : public locale::facet, public ctype_base {
527 explicit ctype(const mask* __tab = nullptr, bool __del = false, size_t __refs = 0);
[all …]
/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/llvm-project/libcxx/modules/std/
H A Dlocale.inc33 // [category.ctype], ctype
37 using std::ctype;
H A Dlocale.cppm
/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 …]
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_nvlist.py190 ctype = _ffi.typeof(element)
191 if ctype is not specimen_ctype:
243 valptr = _ffi.new(typeinfo.ctype)
256 valptr = _ffi.new(typeinfo.ctype)
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_ess.c385 ASN1_OBJECT *ctype; in ossl_cms_encode_Receipt() local
399 ctype = CMS_signed_get0_data_by_OBJ(si, in ossl_cms_encode_Receipt()
402 if (!ctype) { in ossl_cms_encode_Receipt()
408 rct.contentType = ctype; in ossl_cms_encode_Receipt()
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dutil.c46 show_vdev_stats(const char *desc, const char *ctype, nvlist_t *nv, int indent) in show_vdev_stats() argument
111 if (nvlist_lookup_nvlist_array(nv, ctype, &child, &children) != 0) in show_vdev_stats()
128 show_vdev_stats(tname, ctype, cnv, indent + 2); in show_vdev_stats()

12345