Home
last modified time | relevance | path

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

12345678910>>...15

/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/syzkaller/vendor/google.golang.org/api/gensupport/
Dmedia.go30 ctype string // set on first sniff. member
57 return cs.ctype, cs.ctype != ""
68 cs.ctype = http.DetectContentType(cs.start)
69 return cs.ctype, true
79 func DetermineContentType(media io.Reader, ctype string) (io.Reader, string) {
83 if ctype != "" {
84 return media, ctype
94 if ctype, ok := sniffer.ContentType(); ok {
95 return sniffer, ctype
111 ctype string member
[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/v8/src/wasm/
Dwasm-value.h72 #define DEFINE_TYPE_SPECIFIC_METHODS(name, localtype, ctype) \ argument
73 explicit WasmValue(ctype v) : type_(localtype), bit_pattern_{} { \
74 static_assert(sizeof(ctype) <= sizeof(bit_pattern_), \
76 WriteUnalignedValue<ctype>(reinterpret_cast<Address>(bit_pattern_), v); \
78 ctype to_##name() const { \
82 ctype to_##name##_unchecked() const { \
83 return ReadUnalignedValue<ctype>(reinterpret_cast<Address>(bit_pattern_)); \
107 #define DECLARE_CAST(name, localtype, ctype, ...) \ argument
109 inline ctype WasmValue::to_unchecked() const { \
113 inline ctype WasmValue::to() const { \
/external/skia/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/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/boringssl/src/crypto/obj/
Dobjects.txt1003 id-set 0 : set-ctype : content types
1010 set-ctype 0 : setct-PANData
1011 set-ctype 1 : setct-PANToken
1012 set-ctype 2 : setct-PANOnly
1013 set-ctype 3 : setct-OIData
1014 set-ctype 4 : setct-PI
1015 set-ctype 5 : setct-PIData
1016 set-ctype 6 : setct-PIDataUnsigned
1017 set-ctype 7 : setct-HODInput
1018 set-ctype 8 : setct-AuthResBaggage
[all …]
/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/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/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/python/cpython3/Parser/
Dasdl_c.py122 ctype = get_c_type(name)
123 s = "typedef enum _%s { %s } %s;" % (name, enums, ctype)
128 ctype = get_c_type(name)
134 ctype = get_c_type(name)
189 ctype = get_c_type(field.type)
248 ctype = "asdl_int_seq *"
250 ctype = "asdl_seq *"
252 ctype = get_c_type(f.type)
253 args.append((ctype, name, f.opt or f.seq))
259 ctype = get_c_type(type)
[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.c143 int is_html(char *ctype) in is_html() argument
145 return ctype != NULL && strlen(ctype) > 10 && strstr(ctype, "text/html"); in is_html()
187 char *ctype; in main() local
188 curl_easy_getinfo(handle, CURLINFO_CONTENT_TYPE, &ctype); in main()
189 printf("[%d] HTTP 200 (%s): %s\n", complete, ctype, url); in main()
190 if(is_html(ctype) && mem->size > 100) { 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/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/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/v8/src/runtime/
Druntime-atomics.cc264 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype) \ in RUNTIME_FUNCTION() argument
266 return DoExchange<ctype>(isolate, source, index, value); in RUNTIME_FUNCTION()
292 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype) \ in RUNTIME_FUNCTION() argument
294 return DoCompareExchange<ctype>(isolate, source, index, oldobj, newobj); in RUNTIME_FUNCTION()
321 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype) \ in RUNTIME_FUNCTION() argument
323 return DoAdd<ctype>(isolate, source, index, value); in RUNTIME_FUNCTION()
350 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype) \ in RUNTIME_FUNCTION() argument
352 return DoSub<ctype>(isolate, source, index, value); in RUNTIME_FUNCTION()
379 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype) \ in RUNTIME_FUNCTION() argument
381 return DoAnd<ctype>(isolate, source, index, value); in RUNTIME_FUNCTION()
[all …]
/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/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 …]

12345678910>>...15