Home
last modified time | relevance | path

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

12345678910>>...14

/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/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/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/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/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/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/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()
/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/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/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/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()
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/
Dtypes.pass.cpp38 assert(&std::use_facet<std::ctype<char> >(l) in main()
43 assert(&std::use_facet<std::ctype<wchar_t> >(l) in main()
51 assert(&std::use_facet<std::ctype<char> >(l) in main()
56 assert(&std::use_facet<std::ctype<wchar_t> >(l) in main()
/external/python/cpython3/Parser/
Dasdl_c.py151 ctype = get_c_type(name)
152 s = "typedef enum _%s { %s } %s;" % (name, enums, ctype)
157 ctype = get_c_type(name)
163 ctype = get_c_type(name)
182 ctype = get_c_type(name)
244 ctype = get_c_type(field.type)
308 ctype = "asdl_int_seq *"
310 ctype = f"asdl_{f.type}_seq *"
312 ctype = get_c_type(f.type)
313 args.append((ctype, name, f.opt or f.seq))
[all …]
/external/python/cpython3/Doc/includes/
Demail-dir.py56 ctype, encoding = mimetypes.guess_type(path)
57 if ctype is None or encoding is not None:
60 ctype = 'application/octet-stream'
61 maintype, subtype = ctype.split('/', 1)
/external/libcxx/test/std/localization/locales/locale/locale.types/locale.category/
Dcategory.pass.cpp32 assert(std::locale::ctype); in main()
38 & std::locale::ctype in main()
44 | std::locale::ctype in main()
53 test(std::locale::ctype); in main()
/external/angle/src/libANGLE/renderer/
Dgen_dxgi_format_table.py126 found = [ctype in dxgi_format for ctype in types.keys()]
133 gltype for ctype, gltype in sorted(types.items()) if ctype in dxgi_format)
/external/python/cpython2/Lib/
DMimeWriter.py128 def startbody(self, ctype, plist=[], prefix=1): argument
139 ctype = ctype + ';\n %s=\"%s\"' % (name, value)
140 self.addheader("Content-Type", ctype, prefix=prefix)
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py242 self.ctype = None
304 self.ctype, self.pbtype, self.enc_size, isa = datatypes[desc.type]
308 self.ctype = intsizes[field_options.int_size]
310 self.ctype = 'u' + self.ctype;
313 self.ctype = names_from_type_name(desc.type_name)
315 self.default = self.ctype + self.default
319 self.ctype = 'char'
321 self.ctype = 'char'
329 self.ctype = 'pb_byte_t'
332 self.ctype = self.struct_name + self.name + 't'
[all …]
/external/protobuf/src/google/protobuf/
Dunittest_lite.proto88 optional string optional_string_piece = 24 [ctype=STRING_PIECE];
89 optional string optional_cord = 25 [ctype=CORD];
127 repeated string repeated_string_piece = 54 [ctype=STRING_PIECE];
128 repeated string repeated_cord = 55 [ctype=CORD];
155 optional string default_string_piece = 84 [ctype=STRING_PIECE,default="abc"];
156 optional string default_cord = 85 [ctype=CORD,default="123"];
236 [ctype=STRING_PIECE];
237 optional string optional_cord_extension_lite = 25 [ctype=CORD];
278 [ctype=STRING_PIECE];
279 repeated string repeated_cord_extension_lite = 55 [ctype=CORD];
[all …]
/external/llvm/test/Transforms/InstCombine/
D2008-05-09-SinkOfInvoke.ll3 …%"struct.std::ctype<char>" = type { %"struct.std::locale::facet", i32*, i8, i32*, i32*, i16*, i8, …
12 define void @_ZNSt5ctypeIcEC2EPiPKtbm(%"struct.std::ctype<char>"* %this, i32* %unnamed_arg, i16* %_…
27 …%tmp41 = getelementptr %"struct.std::ctype<char>", %"struct.std::ctype<char>"* %this, i32 0, i32 4…
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Dupb.c156 #define INTCHECK(type, ctype) \ argument
157 ctype lupb_check##type(lua_State *L, int narg) { \
159 ctype i; \
168 i = (ctype)n; \
176 void lupb_push##type(lua_State *L, ctype val) { \

12345678910>>...14