Home
last modified time | relevance | path

Searched refs:CType (Results 1 – 25 of 117) sorted by relevance

12345

/external/icu/icu4c/source/common/
Dcapi_helper.h14 template<typename CType, typename CPPType, int32_t kMagic>
20 static const CPPType* validate(const CType* input, UErrorCode& status);
25 static CPPType* validate(CType* input, UErrorCode& status);
30 const CType* exportConstForC() const;
35 CType* exportForC();
50 template<typename CType, typename CPPType, int32_t kMagic>
52 IcuCApiHelper<CType, CPPType, kMagic>::validate(const CType* input, UErrorCode& status) { in validate()
61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate()
68 template<typename CType, typename CPPType, int32_t kMagic>
70 IcuCApiHelper<CType, CPPType, kMagic>::validate(CType* input, UErrorCode& status) { in validate()
[all …]
/external/icu/libicu/cts_headers/
Dcapi_helper.h14 template<typename CType, typename CPPType, int32_t kMagic>
20 static const CPPType* validate(const CType* input, UErrorCode& status);
25 static CPPType* validate(CType* input, UErrorCode& status);
30 const CType* exportConstForC() const;
35 CType* exportForC();
50 template<typename CType, typename CPPType, int32_t kMagic>
52 IcuCApiHelper<CType, CPPType, kMagic>::validate(const CType* input, UErrorCode& status) { in validate()
61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate()
68 template<typename CType, typename CPPType, int32_t kMagic>
70 IcuCApiHelper<CType, CPPType, kMagic>::validate(CType* input, UErrorCode& status) { in validate()
[all …]
Dformattedval_impl.h252 #define UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix) \ argument
253 U_CAPI CType* U_EXPORT2 \
266 Prefix ## _resultAsValue (const CType* uresult, UErrorCode* ec) { \
272 Prefix ## _closeResult (CType* uresult) { \
288 #define UPRV_FORMATTED_VALUE_CAPI_AUTO_IMPL(CPPType, CType, ImplType, HelperType, Prefix, MagicNumb… argument
291 typedef IcuCApiHelper<CType, ImplType, MagicNumber> HelperType; \
303 UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix)
/external/skia/include/private/
DSkSLLayout.h56 enum class CType { enum
77 static const char* CTypeToStr(CType ctype) { in CTypeToStr()
79 case CType::kDefault: in CTypeToStr()
81 case CType::kFloat: in CTypeToStr()
83 case CType::kInt32: in CTypeToStr()
85 case CType::kSkRect: in CTypeToStr()
87 case CType::kSkIRect: in CTypeToStr()
89 case CType::kSkPMColor4f: in CTypeToStr()
91 case CType::kSkPMColor: in CTypeToStr()
93 case CType::kSkV4: in CTypeToStr()
[all …]
/external/skia/src/sksl/
DSkSLCPPUniformCTypes.cpp98 Layout::CType ctype, const std::vector<String>& skslTypes, in UniformCTypeMapper()
130 static UniformCTypeMapper register_array(Layout::CType ctype, const std::vector<String>& skslTypes, in register_array()
137 static UniformCTypeMapper register_array(Layout::CType ctype, const std::vector<String>& skslTypes, in register_array()
144 static UniformCTypeMapper register_type(Layout::CType ctype, const std::vector<String>& skslTypes, in register_type()
151 static UniformCTypeMapper register_type(Layout::CType ctype, const std::vector<String>& skslTypes, in register_type()
162 register_type(Layout::CType::kSkRect, { "half4", "float4", "double4" }, in get_mappers()
167 register_type(Layout::CType::kSkIRect, { "int4", "short4", "byte4" }, in get_mappers()
172 register_type(Layout::CType::kSkPMColor4f, { "half4", "float4", "double4" }, in get_mappers()
176 register_type(Layout::CType::kSkV4, { "half4", "float4", "double4" }, in get_mappers()
181 register_array(Layout::CType::kSkPoint, { "half2", "float2", "double2" } , in get_mappers()
[all …]
DSkSLCPPUniformCTypes.h37 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes,
55 Layout::CType ctype() const { in ctype()
104 Layout::CType fCType;
/external/skqp/src/sksl/
DSkSLCPPUniformCTypes.cpp116 Layout::CType ctype, const std::vector<String>& skslTypes, const String& setUniformFormat, in UniformCTypeMapper()
131 static UniformCTypeMapper REGISTER(Layout::CType ctype, const std::vector<String>& skslTypes, in REGISTER()
138 static UniformCTypeMapper REGISTER(Layout::CType ctype, const std::vector<String>& skslTypes, in REGISTER()
150 REGISTER(Layout::CType::kSkRect, { "half4", "float4", "double4" }, in get_mappers()
155 REGISTER(Layout::CType::kSkIRect, { "int4", "short4", "byte4" }, in get_mappers()
160 REGISTER(Layout::CType::kSkPMColor4f, { "half4", "float4", "double4" }, in get_mappers()
164 REGISTER(Layout::CType::kSkPoint, { "half2", "float2", "double2" } , in get_mappers()
168 REGISTER(Layout::CType::kSkIPoint, { "int2", "short2", "byte2" }, in get_mappers()
172 REGISTER(Layout::CType::kSkMatrix, { "half3x3", "float3x3", "double3x3" }, in get_mappers()
177 REGISTER(Layout::CType::kSkMatrix44, { "half4x4", "float4x4", "double4x4" }, in get_mappers()
[all …]
DSkSLHCodeGenerator.cpp32 Layout::CType ctype = ParameterCType(context, type, layout); in ParameterType()
33 if (ctype != Layout::CType::kDefault) { in ParameterType()
39 Layout::CType HCodeGenerator::ParameterCType(const Context& context, const Type& type, in ParameterCType()
41 if (layout.fCType != Layout::CType::kDefault) { in ParameterCType()
45 return Layout::CType::kFloat; in ParameterCType()
49 return Layout::CType::kInt32; in ParameterCType()
51 return Layout::CType::kSkPoint; in ParameterCType()
55 return Layout::CType::kSkIPoint; in ParameterCType()
59 return Layout::CType::kSkIRect; in ParameterCType()
61 return Layout::CType::kSkRect; in ParameterCType()
[all …]
DSkSLCPPUniformCTypes.h36 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes, in UniformCTypeMapper()
42 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes, in UniformCTypeMapper()
61 Layout::CType ctype() const { in ctype()
116 UniformCTypeMapper(Layout::CType ctype, const std::vector<String>& skslTypes,
120 Layout::CType fCType;
/external/skqp/src/sksl/ir/
DSkSLLayout.h80 enum class CType { enum
144 static const char* CTypeToStr(CType ctype) { in CTypeToStr()
146 case CType::kDefault: in CTypeToStr()
148 case CType::kFloat: in CTypeToStr()
150 case CType::kInt32: in CTypeToStr()
152 case CType::kSkRect: in CTypeToStr()
154 case CType::kSkIRect: in CTypeToStr()
156 case CType::kSkPMColor4f: in CTypeToStr()
158 case CType::kSkPMColor: in CTypeToStr()
160 case CType::kSkPoint: in CTypeToStr()
[all …]
/external/libcxxabi/test/
Dcatch_multi_level_pointer.pass.cpp74 typedef Tp const* CType; typedef
84 typedef const Member (Class::*CType);
95 typedef typename ThrowTypes::CType CType; in operator ()() typedef
100 run_catch_tests<CType>(); in operator ()()
108 typedef typename CatchTypes::CType CType; in run_catch_tests() typedef
113 catch_pointer_test<ThrowTp, CType>(); in run_catch_tests()
118 generate_tests_imp<ThrowTp, CType, level-1>()(); in run_catch_tests()
/external/llvm-project/libcxxabi/test/
Dcatch_multi_level_pointer.pass.cpp73 typedef Tp const* CType; typedef
83 typedef const Member (Class::*CType);
94 typedef typename ThrowTypes::CType CType; in operator ()() typedef
99 run_catch_tests<CType>(); in operator ()()
107 typedef typename CatchTypes::CType CType; in run_catch_tests() typedef
112 catch_pointer_test<ThrowTp, CType>(); in run_catch_tests()
117 generate_tests_imp<ThrowTp, CType, level-1>()(); in run_catch_tests()
/external/parameter-framework/upstream/parameter/
DIntegerParameterType.h59 using CType = typename std::conditional<isSigned, Signed, Unsigned>::type;
68 using CType = typename detail::IntegerTraits<isSigned, bitSize>::CType; variable
213 CType value = static_cast<CType>(intermediate); in toBlackboard()
228 using Intermediate = typename std::make_unsigned<CType>::type; in toBlackboard()
232 return toBlackboard<CType>(strValue, uiValue, parameterAccessContext); in toBlackboard()
308 bool checkValueAgainstRange(const std::string &strValue, CType value, in checkValueAgainstRange()
343 CType _min{std::numeric_limits<CType>::min()};
344 CType _max{std::numeric_limits<CType>::max()};
/external/skia/src/sksl/codegen/
DSkSLHCodeGenerator.cpp40 Layout::CType ctype = ParameterCType(context, type, layout); in ParameterType()
41 if (ctype != Layout::CType::kDefault) { in ParameterType()
47 Layout::CType HCodeGenerator::ParameterCType(const Context& context, const Type& type, in ParameterCType()
50 if (layout.fCType != Layout::CType::kDefault) { in ParameterCType()
54 return Layout::CType::kFloat; in ParameterCType()
57 return Layout::CType::kInt32; in ParameterCType()
59 return Layout::CType::kSkPoint; in ParameterCType()
62 return Layout::CType::kSkIPoint; in ParameterCType()
65 return Layout::CType::kSkIRect; in ParameterCType()
67 return Layout::CType::kSkRect; in ParameterCType()
[all …]
/external/llvm-project/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h413 typename C::CType compare(const Variable* E, C& Cmp) const { in compare()
473 typename C::CType compare(const Future* E, C& Cmp) const { in compare()
500 typename C::CType compare(const Undefined* E, C& Cmp) const { in compare()
521 typename C::CType compare(const Wildcard* E, C& Cmp) const { in compare()
553 typename C::CType compare(const Literal* E, C& Cmp) const { in compare()
653 typename C::CType compare(const LiteralPtr* E, C& Cmp) const { in compare()
696 typename C::CType compare(const Function* E, C& Cmp) const { in compare()
697 typename C::CType Ct = in compare()
752 typename C::CType compare(const SFunction* E, C& Cmp) const { in compare()
754 typename C::CType Ct = Cmp.compare(body(), E->body()); in compare()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h396 typename C::CType compare(const Variable* E, C& Cmp) const { in compare()
457 typename C::CType compare(const Future* E, C& Cmp) const { in compare()
485 typename C::CType compare(const Undefined* E, C& Cmp) const { in compare()
507 typename C::CType compare(const Wildcard* E, C& Cmp) const { in compare()
541 typename C::CType compare(const Literal* E, C& Cmp) const { in compare()
643 typename C::CType compare(const LiteralPtr* E, C& Cmp) const { in compare()
686 typename C::CType compare(const Function* E, C& Cmp) const { in compare()
687 typename C::CType Ct = in compare()
742 typename C::CType compare(const SFunction* E, C& Cmp) const { in compare()
744 typename C::CType Ct = Cmp.compare(body(), E->body()); in compare()
[all …]
/external/protobuf/src/google/protobuf/
Dwire_format_lite.h255 template <typename CType, enum FieldType DeclaredType>
257 CType* value);
262 template <typename CType, enum FieldType DeclaredType>
265 RepeatedField<CType>* value);
269 template <typename CType, enum FieldType DeclaredType>
272 RepeatedField<CType>* value);
279 template <typename CType, enum FieldType DeclaredType>
281 const uint8* buffer, CType* value);
286 template <typename CType, enum FieldType DeclaredType>
288 io::CodedInputStream* input, RepeatedField<CType>* value);
[all …]
/external/icu/icu4c/source/i18n/
Dformattedval_impl.h252 #define UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix) \ argument
253 U_CAPI CType* U_EXPORT2 \
266 Prefix ## _resultAsValue (const CType* uresult, UErrorCode* ec) { \
272 Prefix ## _closeResult (CType* uresult) { \
288 #define UPRV_FORMATTED_VALUE_CAPI_AUTO_IMPL(CPPType, CType, ImplType, HelperType, Prefix, MagicNumb… argument
291 typedef IcuCApiHelper<CType, ImplType, MagicNumber> HelperType; \
303 UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix)
/external/skia/src/c/
Dsk_c_from_to.h8 static bool find_sk(CType from, SKType* to) { in find_sk()
20 static bool find_c(SKType from, CType* to) { in find_c()
32 #undef CType
/external/skqp/src/c/
Dsk_c_from_to.h8 static bool find_sk(CType from, SKType* to) { in find_sk()
20 static bool find_c(SKType from, CType* to) { in find_c()
32 #undef CType
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dutils.h85 template <typename CType, typename = typename std::enable_if<
86 std::is_arithmetic<CType>::value, CType>::type>
87 string DebugString(const CType& el) { in DebugString()
95 template <typename CType>
96 string DebugString(const std::vector<CType>& vector) { in DebugString()
Dconvert_nodes_test.cc303 template <typename CType>
304 std::vector<CType> InitTestVector(int size, CType start_value = CType(0)) { in InitTestVector()
305 std::vector<CType> res; in InitTestVector()
308 res.push_back(start_value + CType(i)); in InitTestVector()
5865 typedef typename EnumToDataType<dtype>::Type CType; in TEST_P() typedef
5869 std::vector<CType> value; in TEST_P()
5873 std::vector<std::vector<CType>> expected_outputs; in TEST_P()
5876 const std::vector<CType> common_input = InitTestVector<CType>(6); in TEST_P()
5881 /*expected_outputs=*/{InitTestVector<CType>(6)}}, in TEST_P()
5888 {{CType(0), CType(3)}, {CType(1), CType(4)}, {CType(2), CType(5)}}}, in TEST_P()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/
Dprotoc-gen-upb.cc189 std::string CType(const protobuf::FieldDescriptor* field) { in CType() function
304 msgname, field->name(), CType(key), CType(val), in GenerateMessageInHeader()
324 CTypeConst(field), msgname, field->name(), CType(field), in GenerateMessageInHeader()
368 msgname, field->name(), CType(key), CType(val), in GenerateMessageInHeader()
379 msgname, field->name(), CType(key), in GenerateMessageInHeader()
387 CType(field), msgname, field->name(), in GenerateMessageInHeader()
394 CType(field), msgname, field->name(), in GenerateMessageInHeader()
401 CType(field), msgname, field->name(), in GenerateMessageInHeader()
423 CType(field), msgname, field->name(), in GenerateMessageInHeader()
437 field->name(), CType(field)); in GenerateMessageInHeader()
[all …]
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DInlineAsmLowering.cpp167 TargetLowering::ConstraintType CType = in chooseConstraint() local
171 if (OpInfo.isIndirect && !(CType == TargetLowering::C_Memory || in chooseConstraint()
172 CType == TargetLowering::C_Register || in chooseConstraint()
173 CType == TargetLowering::C_RegisterClass)) in chooseConstraint()
180 if (CType == TargetLowering::C_Other || in chooseConstraint()
181 CType == TargetLowering::C_Immediate) { in chooseConstraint()
189 if (CType == TargetLowering::C_Memory && OpInfo.hasMatchingInput()) in chooseConstraint()
193 int Generality = getConstraintGenerality(CType); in chooseConstraint()
195 BestType = CType; in chooseConstraint()
/external/protobuf/php/src/Google/Protobuf/Internal/FieldOptions/
DCType.php12 class CType class
57 class_alias(CType::class, \Google\Protobuf\Internal\FieldOptions_CType::class);

12345