Home
last modified time | relevance | path

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

12345678910>>...19

/external/python/cpython3/Objects/
Dunicodectype.c66 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToTitlecase() local
68 if (ctype->flags & EXTENDED_CASE_MASK) in _PyUnicode_ToTitlecase()
69 return _PyUnicode_ExtendedCase[ctype->title & 0xFFFF]; in _PyUnicode_ToTitlecase()
70 return ch + ctype->title; in _PyUnicode_ToTitlecase()
78 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsTitlecase() local
80 return (ctype->flags & TITLE_MASK) != 0; in _PyUnicode_IsTitlecase()
88 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsXidStart() local
90 return (ctype->flags & XID_START_MASK) != 0; in _PyUnicode_IsXidStart()
98 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsXidContinue() local
100 return (ctype->flags & XID_CONTINUE_MASK) != 0; in _PyUnicode_IsXidContinue()
[all …]
/external/python/cpython2/Objects/
Dunicodectype.c59 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToTitlecase() local
60 int delta = ctype->title; in _PyUnicode_ToTitlecase()
62 if (ctype->flags & NODELTA_MASK) in _PyUnicode_ToTitlecase()
76 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsTitlecase() local
78 return (ctype->flags & TITLE_MASK) != 0; in _PyUnicode_IsTitlecase()
86 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToDecimalDigit() local
88 return (ctype->flags & DECIMAL_MASK) ? ctype->decimal : -1; in _PyUnicode_ToDecimalDigit()
103 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToDigit() local
105 return (ctype->flags & DIGIT_MASK) ? ctype->digit : -1; in _PyUnicode_ToDigit()
120 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsNumeric() local
[all …]
/external/llvm-project/libc/test/src/ctype/
DCMakeLists.txt10 libc.src.ctype.isalnum
20 libc.src.ctype.isalpha
30 libc.src.ctype.isblank
40 libc.src.ctype.iscntrl
50 libc.src.ctype.isdigit
60 libc.src.ctype.isgraph
70 libc.src.ctype.islower
80 libc.src.ctype.isprint
90 libc.src.ctype.ispunct
100 libc.src.ctype.isspace
[all …]
/external/libsrtp2/crypto/kernel/
Dcrypto_kernel.c178 srtp_kernel_cipher_type_t *ctype = crypto_kernel.cipher_type_list; in srtp_crypto_kernel_status() local
182 while (ctype != NULL) { in srtp_crypto_kernel_status()
184 ctype->cipher_type->description); in srtp_crypto_kernel_status()
186 status = srtp_cipher_type_self_test(ctype->cipher_type); in srtp_crypto_kernel_status()
193 ctype = ctype->next; in srtp_crypto_kernel_status()
243 srtp_kernel_cipher_type_t *ctype = crypto_kernel.cipher_type_list; in srtp_crypto_kernel_shutdown() local
244 crypto_kernel.cipher_type_list = ctype->next; in srtp_crypto_kernel_shutdown()
246 ctype->cipher_type->description); in srtp_crypto_kernel_shutdown()
247 srtp_crypto_free(ctype); in srtp_crypto_kernel_shutdown()
280 srtp_kernel_cipher_type_t *ctype, *new_ctype; in srtp_crypto_kernel_do_load_cipher_type() local
[all …]
/external/llvm-project/polly/test/Isl/Ast/
Druntime_context_with_error_blocks.ll12 %"class.std::ctype" = type <{ %"class.std::locale::facet.base", [4 x i8], %struct.__locale_struct*,…
20 define weak_odr signext i8 @_ZNKSt5ctypeIcE5widenEc(%"class.std::ctype"* %this, i8 signext %__c) #0…
25 …%_M_widen_ok = getelementptr inbounds %"class.std::ctype", %"class.std::ctype"* %this, i64 0, i32 8
32 …%arrayidx = getelementptr inbounds %"class.std::ctype", %"class.std::ctype"* %this, i64 0, i32 9, …
37 tail call void @_ZNKSt5ctypeIcE13_M_widen_initEv(%"class.std::ctype"* %this)
38 %2 = bitcast %"class.std::ctype"* %this to i8 (%"class.std::ctype"*, i8)***
39 …%vtable = load i8 (%"class.std::ctype"*, i8)**, i8 (%"class.std::ctype"*, i8)*** %2, align 8, !tba…
40 …%vfn = getelementptr inbounds i8 (%"class.std::ctype"*, i8)*, i8 (%"class.std::ctype"*, i8)** %vta…
41 %3 = load i8 (%"class.std::ctype"*, i8)*, i8 (%"class.std::ctype"*, i8)** %vfn, align 8
42 %call = tail call signext i8 %3(%"class.std::ctype"* %this, i8 signext %__c)
[all …]
/external/llvm-project/libc/config/linux/aarch64/
Dentrypoints.txt2 # ctype.h entrypoints
3 libc.src.ctype.isalnum
4 libc.src.ctype.isalpha
5 libc.src.ctype.isblank
6 libc.src.ctype.iscntrl
7 libc.src.ctype.isdigit
8 libc.src.ctype.isgraph
9 libc.src.ctype.islower
10 libc.src.ctype.isprint
11 libc.src.ctype.ispunct
[all …]
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/
Dtypes.pass.cpp29 assert(std::has_facet<std::ctype<char> >(l)); in main()
30 const std::ctype<char>& f = std::use_facet<std::ctype<char> >(l); in main()
33 (void)std::ctype<char>::id; in main()
35 static_assert((std::is_same<std::ctype<char>::char_type, char>::value), ""); in main()
36 static_assert((std::is_base_of<std::ctype_base, std::ctype<char> >::value), ""); in main()
37 static_assert((std::is_base_of<std::locale::facet, std::ctype<char> >::value), ""); in main()
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype/
Dtypes.pass.cpp29 assert(std::has_facet<std::ctype<wchar_t> >(l)); in main()
30 const std::ctype<wchar_t>& f = std::use_facet<std::ctype<wchar_t> >(l); in main()
33 (void)std::ctype<wchar_t>::id; in main()
35 static_assert((std::is_same<std::ctype<wchar_t>::char_type, wchar_t>::value), ""); in main()
36 static_assert((std::is_base_of<std::ctype_base, std::ctype<wchar_t> >::value), ""); in main()
37 static_assert((std::is_base_of<std::locale::facet, std::ctype<wchar_t> >::value), ""); in main()
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/
Dtypes.pass.cpp30 assert(std::has_facet<std::ctype<char> >(l)); in main()
31 const std::ctype<char>& f = std::use_facet<std::ctype<char> >(l); in main()
34 (void)std::ctype<char>::id; in main()
36 static_assert((std::is_same<std::ctype<char>::char_type, char>::value), ""); in main()
37 static_assert((std::is_base_of<std::ctype_base, std::ctype<char> >::value), ""); in main()
38 static_assert((std::is_base_of<std::locale::facet, std::ctype<char> >::value), ""); in main()
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype/
Dtypes.pass.cpp30 assert(std::has_facet<std::ctype<wchar_t> >(l)); in main()
31 const std::ctype<wchar_t>& f = std::use_facet<std::ctype<wchar_t> >(l); in main()
34 (void)std::ctype<wchar_t>::id; in main()
36 static_assert((std::is_same<std::ctype<wchar_t>::char_type, wchar_t>::value), ""); in main()
37 static_assert((std::is_base_of<std::ctype_base, std::ctype<wchar_t> >::value), ""); in main()
38 static_assert((std::is_base_of<std::locale::facet, std::ctype<wchar_t> >::value), ""); in main()
/external/skia/src/sksl/
DSkSLCPPUniformCTypes.cpp98 Layout::CType ctype, const std::vector<String>& skslTypes, in UniformCTypeMapper() argument
102 : fCType(ctype) in UniformCTypeMapper()
130 static UniformCTypeMapper register_array(Layout::CType ctype, const std::vector<String>& skslTypes, in register_array() argument
133 return UniformCTypeMapper(ctype, skslTypes, singleSet, arraySet, defaultValue, dirtyExpression, in register_array()
137 static UniformCTypeMapper register_array(Layout::CType ctype, const std::vector<String>& skslTypes, in register_array() argument
140 return register_array(ctype, skslTypes, singleSet, arraySet, defaultValue, in register_array()
144 static UniformCTypeMapper register_type(Layout::CType ctype, const std::vector<String>& skslTypes, in register_type() argument
147 return register_array(ctype, skslTypes, uniformFormat, uniformFormat, defaultValue, in register_type()
151 static UniformCTypeMapper register_type(Layout::CType ctype, const std::vector<String>& skslTypes, in register_type() argument
153 return register_array(ctype, skslTypes, uniformFormat, uniformFormat, defaultValue); in register_type()
[all …]
/external/llvm-project/libc/config/linux/x86_64/
Dentrypoints.txt5 # ctype.h entrypoints
6 libc.src.ctype.isalnum
7 libc.src.ctype.isalpha
8 libc.src.ctype.isblank
9 libc.src.ctype.iscntrl
10 libc.src.ctype.isdigit
11 libc.src.ctype.isgraph
12 libc.src.ctype.islower
13 libc.src.ctype.isprint
14 libc.src.ctype.ispunct
[all …]
/external/skqp/src/sksl/
DSkSLCPPUniformCTypes.cpp116 Layout::CType ctype, const std::vector<String>& skslTypes, const String& setUniformFormat, in UniformCTypeMapper() argument
119 : fCType(ctype) in UniformCTypeMapper()
131 static UniformCTypeMapper REGISTER(Layout::CType ctype, const std::vector<String>& skslTypes, in REGISTER() argument
134 return UniformCTypeMapper(ctype, skslTypes, uniformFormat, defaultValue, dirtyExpression, in REGISTER()
138 static UniformCTypeMapper REGISTER(Layout::CType ctype, const std::vector<String>& skslTypes, in REGISTER() argument
140 return REGISTER(ctype, skslTypes, uniformFormat, defaultValue, in REGISTER()
202 Layout::CType ctype = layout.fCType; in Get() local
204 if (ctype == Layout::CType::kDefault) { in Get()
205 ctype = HCodeGenerator::ParameterCType(context, type, layout); in Get()
211 if (registeredMappers[i].ctype() == ctype) { in Get()
DSkSLCPPUniformCTypes.h36 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes, in UniformCTypeMapper() argument
38 : UniformCTypeMapper(ctype, skslTypes, setUniformFormat, false, "", "", "") { } in UniformCTypeMapper()
42 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes, in UniformCTypeMapper() argument
45 : UniformCTypeMapper(ctype, skslTypes, setUniformFormat, in UniformCTypeMapper()
61 Layout::CType ctype() const { in ctype() function
116 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes,
/external/python/cpython2/Lib/email/
Dmessage.py450 ctype = _splitparam(value)[0].lower()
452 if ctype.count('/') != 1:
454 return ctype
462 ctype = self.get_content_type()
463 return ctype.split('/')[0]
471 ctype = self.get_content_type()
472 return ctype.split('/')[1]
483 def set_default_type(self, ctype): argument
490 self._default_type = ctype
593 ctype = 'text/plain'
[all …]
/external/libwebsockets/include/libwebsockets/
Dlws-struct.h144 #define LSM_LIST(ptype, pname, ctype, cname, lejp_cb, cmap, qname) \ argument
150 sizeof (ctype), \
151 offsetof(ctype, cname), \
156 #define LSM_CHILD_PTR(ptype, pname, ctype, lejp_cb, cmap, qname) \ argument
162 sizeof (ctype), \
168 #define LSM_SCHEMA(ctype, lejp_cb, map, schema_name) \ argument
174 sizeof (ctype), \
180 #define LSM_SCHEMA_DLL2(ctype, cdll2mem, lejp_cb, map, schema_name) \ argument
185 offsetof(ctype, cdll2mem), \
186 sizeof (ctype), \
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/
Ddtor.pass.cpp24 std::locale l(std::locale::classic(), new std::ctype<char>); in main()
29 std::ctype<char>::mask table[256]; in main()
30 std::locale l(std::locale::classic(), new std::ctype<char>(table)); in main()
36 new std::ctype<char>(new std::ctype<char>::mask[256], true)); in main()
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/
Ddtor.pass.cpp25 std::locale l(std::locale::classic(), new std::ctype<char>); in main()
30 std::ctype<char>::mask table[256]; in main()
31 std::locale l(std::locale::classic(), new std::ctype<char>(table)); in main()
37 new std::ctype<char>(new std::ctype<char>::mask[256], true)); in main()
/external/skqp/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.fp17 layout(ctype=SkPMColor4f) in uniform float4 scale0_1;
18 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 scale2_3;
19 layout(ctype=SkPMColor4f, when=intervalCount > 2) in uniform float4 scale4_5;
20 layout(ctype=SkPMColor4f, when=intervalCount > 3) in uniform float4 scale6_7;
21 layout(ctype=SkPMColor4f, when=intervalCount > 4) in uniform float4 scale8_9;
22 layout(ctype=SkPMColor4f, when=intervalCount > 5) in uniform float4 scale10_11;
23 layout(ctype=SkPMColor4f, when=intervalCount > 6) in uniform float4 scale12_13;
24 layout(ctype=SkPMColor4f, when=intervalCount > 7) in uniform float4 scale14_15;
26 layout(ctype=SkPMColor4f) in uniform float4 bias0_1;
27 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 bias2_3;
[all …]
/external/boringssl/src/crypto/obj/
Dobjects.txt1004 id-set 0 : set-ctype : content types
1011 set-ctype 0 : setct-PANData
1012 set-ctype 1 : setct-PANToken
1013 set-ctype 2 : setct-PANOnly
1014 set-ctype 3 : setct-OIData
1015 set-ctype 4 : setct-PI
1016 set-ctype 5 : setct-PIData
1017 set-ctype 6 : setct-PIDataUnsigned
1018 set-ctype 7 : setct-HODInput
1019 set-ctype 8 : setct-AuthResBaggage
[all …]
/external/python/cpython2/Parser/
Dasdl_c.py120 ctype = get_c_type(name)
121 s = "typedef enum _%s { %s } %s;" % (name, enums, ctype)
126 ctype = get_c_type(name)
132 ctype = get_c_type(name)
190 ctype = get_c_type(field.type)
244 ctype = "asdl_int_seq *"
246 ctype = "asdl_seq *"
248 ctype = get_c_type(f.type)
249 args.append((ctype, name, f.opt or f.seq))
255 ctype = get_c_type(type)
[all …]
/external/skia/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.fp17 layout(ctype=SkPMColor4f) in uniform float4 scale0_1;
18 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 scale2_3;
19 layout(ctype=SkPMColor4f, when=intervalCount > 2) in uniform float4 scale4_5;
20 layout(ctype=SkPMColor4f, when=intervalCount > 3) in uniform float4 scale6_7;
21 layout(ctype=SkPMColor4f, when=intervalCount > 4) in uniform float4 scale8_9;
22 layout(ctype=SkPMColor4f, when=intervalCount > 5) in uniform float4 scale10_11;
23 layout(ctype=SkPMColor4f, when=intervalCount > 6) in uniform float4 scale12_13;
24 layout(ctype=SkPMColor4f, when=intervalCount > 7) in uniform float4 scale14_15;
26 layout(ctype=SkPMColor4f) in uniform float4 bias0_1;
27 layout(ctype=SkPMColor4f, when=intervalCount > 1) in uniform float4 bias2_3;
[all …]
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
Dtable.pass.cpp22 typedef std::ctype<char> F; in main()
24 std::locale l(std::locale::classic(), new std::ctype<char>); in main()
29 std::ctype<char>::mask table[256]; in main()
30 std::locale l(std::locale::classic(), new std::ctype<char>(table)); in main()
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
Dtable.pass.cpp21 typedef std::ctype<char> F; in main()
23 std::locale l(std::locale::classic(), new std::ctype<char>); in main()
28 std::ctype<char>::mask table[256]; in main()
29 std::locale l(std::locale::classic(), new std::ctype<char>(table)); in main()
/external/curl/docs/examples/
Dcrawler.c144 int is_html(char *ctype) in is_html() argument
146 return ctype != NULL && strlen(ctype) > 10 && strstr(ctype, "text/html"); in is_html()
188 char *ctype; in main() local
189 curl_easy_getinfo(handle, CURLINFO_CONTENT_TYPE, &ctype); in main()
190 printf("[%d] HTTP 200 (%s): %s\n", complete, ctype, url); in main()
191 if(is_html(ctype) && mem->size > 100) { in main()

12345678910>>...19