Home
last modified time | relevance | path

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

12345678910>>...18

/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/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/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/cronet/buildtools/third_party/libc++/trunk/test/std/localization/locale.categories/category.ctype/locale.ctype/
Dtypes.pass.cpp32 assert(std::has_facet<std::ctype<wchar_t> >(l)); in main()
33 const std::ctype<wchar_t>& f = std::use_facet<std::ctype<wchar_t> >(l); in main()
36 (void)std::ctype<wchar_t>::id; in main()
38 static_assert((std::is_same<std::ctype<wchar_t>::char_type, wchar_t>::value), ""); in main()
39 static_assert((std::is_base_of<std::ctype_base, std::ctype<wchar_t> >::value), ""); in main()
40 static_assert((std::is_base_of<std::locale::facet, std::ctype<wchar_t> >::value), ""); in main()
/external/cronet/buildtools/third_party/libc++/trunk/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/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/rust/crates/foreign-types/src/
Dlib.rs211 type CType = $ctype:ty;
220 pub struct $owned(*mut $ctype);
224 type CType = $ctype;
228 unsafe fn from_ptr(ptr: *mut $ctype) -> $owned {
233 fn as_ptr(&self) -> *mut $ctype {
250 let handle: *mut $ctype = $clone(self.0);
261 let handle: *mut $ctype = $clone($crate::ForeignTypeRef::as_ptr(self));
303 type CType = $ctype;
/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.h145 #define LSM_LIST(ptype, pname, ctype, cname, lejp_cb, cmap, qname) \ argument
151 sizeof (ctype), \
152 offsetof(ctype, cname), \
157 #define LSM_CHILD_PTR(ptype, pname, ctype, lejp_cb, cmap, qname) \ argument
163 sizeof (ctype), \
169 #define LSM_SCHEMA(ctype, lejp_cb, map, schema_name) \ argument
175 sizeof (ctype), \
181 #define LSM_SCHEMA_DLL2(ctype, cdll2mem, lejp_cb, map, schema_name) \ argument
186 offsetof(ctype, cdll2mem), \
187 sizeof (ctype), \
/external/cronet/buildtools/third_party/libc++/trunk/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/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/cronet/third_party/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/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/ltp/tools/sparse/
Dsparse-ltp.c118 const unsigned long mod = sym->ctype.modifiers; in check_symbol_visibility()
159 switch (sym->ctype.base_type->type) { in unwrap_base_type()
163 return unwrap_base_type(sym->ctype.base_type); in unwrap_base_type()
165 return sym->ctype.base_type; in unwrap_base_type()
210 if (!sym->ctype.base_type) in check_test_struct()
213 ctype_name = sym->ctype.base_type->ident; in check_test_struct()
233 switch (entry->ctype->ctype.base_type->type) { in check_test_struct()
/external/curl/docs/examples/
Dcrawler.c155 int is_html(char *ctype) in is_html() argument
157 return ctype != NULL && strlen(ctype) > 10 && strstr(ctype, "text/html"); in is_html()
199 char *ctype; in main() local
200 curl_easy_getinfo(handle, CURLINFO_CONTENT_TYPE, &ctype); in main()
201 printf("[%d] HTTP 200 (%s): %s\n", complete, ctype, url); in main()
202 if(is_html(ctype) && mem->size > 100) { 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/cronet/buildtools/third_party/libc++/trunk/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/python/cpython3/Lib/email/
Dmessage.py582 ctype = _splitparam(value)[0].lower()
584 if ctype.count('/') != 1:
586 return ctype
594 ctype = self.get_content_type()
595 return ctype.split('/')[0]
603 ctype = self.get_content_type()
604 return ctype.split('/')[1]
615 def set_default_type(self, ctype): argument
622 self._default_type = ctype
723 ctype = 'text/plain'
[all …]
/external/rust/crates/openssl/src/
Dmacros.rs137 type CType = $ctype:ty;
149 type CType = $ctype;
168 type CType = $ctype:ty;
178 pub struct $owned<T>(*mut $ctype, ::std::marker::PhantomData<T>);
182 type CType = $ctype;
186 unsafe fn from_ptr(ptr: *mut $ctype) -> $owned<T> {
191 fn as_ptr(&self) -> *mut $ctype {
208 let handle: *mut $ctype = $clone(self.0);
219 let handle: *mut $ctype =
262 type CType = $ctype;
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock_dgen.c11 int i, j, k, nlines, nchars, ctype; in main() local
30 ctype = atoi(argv[4]); in main()
35 if (ctype) in main()
46 if (!ctype) { in main()
/external/cronet/third_party/protobuf/php/src/Google/Protobuf/Internal/
DFieldOptions.php26 protected $ctype = null; variable in Google\\Protobuf\\Internal\\FieldOptions
203 return isset($this->ctype) ? $this->ctype : 0;
208 return isset($this->ctype);
213 unset($this->ctype);
229 $this->ctype = $var;
/external/protobuf/php/src/Google/Protobuf/Internal/
DFieldOptions.php26 protected $ctype = null; variable in Google\\Protobuf\\Internal\\FieldOptions
203 return isset($this->ctype) ? $this->ctype : 0;
208 return isset($this->ctype);
213 unset($this->ctype);
229 $this->ctype = $var;
/external/webp/src/enc/
Dcost_enc.c61 int ctype, band, ctx; in VP8CalculateLevelCosts() local
65 for (ctype = 0; ctype < NUM_TYPES; ++ctype) { in VP8CalculateLevelCosts()
69 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; in VP8CalculateLevelCosts()
70 uint16_t* const table = proba->level_cost_[ctype][band][ctx]; in VP8CalculateLevelCosts()
84 proba->remapped_costs_[ctype][n][ctx] = in VP8CalculateLevelCosts()
85 proba->level_cost_[ctype][VP8EncBands[n]][ctx]; in VP8CalculateLevelCosts()

12345678910>>...18