/external/icu/icu4c/source/common/ |
D | capi_helper.h | 14 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/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ |
D | convert_nodes_test.cc | 227 template <typename CType> 228 std::vector<CType> InitTestVector(int size, CType start_value = CType(0)) { in InitTestVector() 229 std::vector<CType> res; in InitTestVector() 232 res.push_back(start_value + CType(i)); in InitTestVector() 2033 typedef typename EnumToDataType<dtype>::Type CType; in TestConvertBiasAdd() typedef 2052 std::vector<CType> bias(channel_size); in TestConvertBiasAdd() 2054 bias[i] = CType(i + 1); // bias will be {1, 2, 3, ...} in TestConvertBiasAdd() 2056 test->AddTestWeights<CType>("weights", {channel_size}, bias); in TestConvertBiasAdd() 2071 {"input", ConstructTensor<CType>(num_input, CType(0))}}; in TestConvertBiasAdd() 2072 DataVec output_data{{"my_biasadd", ConstructTensor<CType>(num_input)}}; in TestConvertBiasAdd() [all …]
|
/external/skia/src/sksl/ |
D | SkSLCPPUniformCTypes.cpp | 116 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::kSkV4, { "half4", "float4", "double4" }, in get_mappers() 169 REGISTER(Layout::CType::kSkPoint, { "half2", "float2", "double2" } , in get_mappers() 173 REGISTER(Layout::CType::kSkIPoint, { "int2", "short2", "byte2" }, in get_mappers() 177 REGISTER(Layout::CType::kSkMatrix, { "half3x3", "float3x3", "double3x3" }, in get_mappers() [all …]
|
D | SkSLHCodeGenerator.cpp | 32 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() 47 return Layout::CType::kFloat; in ParameterCType() 51 return Layout::CType::kInt32; in ParameterCType() 53 return Layout::CType::kSkPoint; in ParameterCType() 57 return Layout::CType::kSkIPoint; in ParameterCType() 61 return Layout::CType::kSkIRect; in ParameterCType() 63 return Layout::CType::kSkRect; in ParameterCType() [all …]
|
D | SkSLCPPUniformCTypes.h | 36 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/skia/src/sksl/ir/ |
D | SkSLLayout.h | 81 enum class CType { enum 154 static const char* CTypeToStr(CType ctype) { in CTypeToStr() 156 case CType::kDefault: in CTypeToStr() 158 case CType::kFloat: in CTypeToStr() 160 case CType::kInt32: in CTypeToStr() 162 case CType::kSkRect: in CTypeToStr() 164 case CType::kSkIRect: in CTypeToStr() 166 case CType::kSkPMColor4f: in CTypeToStr() 168 case CType::kSkPMColor: in CTypeToStr() 170 case CType::kSkV4: in CTypeToStr() [all …]
|
/external/skqp/src/sksl/ |
D | SkSLCPPUniformCTypes.cpp | 116 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 …]
|
D | SkSLHCodeGenerator.cpp | 32 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 …]
|
D | SkSLCPPUniformCTypes.h | 36 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/ |
D | SkSLLayout.h | 80 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/ |
D | catch_multi_level_pointer.pass.cpp | 74 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/parameter-framework/upstream/parameter/ |
D | IntegerParameterType.h | 59 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/icu/icu4c/source/i18n/ |
D | formattedval_impl.h | 221 #define UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix) \ argument 222 U_CAPI CType* U_EXPORT2 \ 235 Prefix ## _resultAsValue (const CType* uresult, UErrorCode* ec) { \ 241 Prefix ## _closeResult (CType* uresult) { \ 257 #define UPRV_FORMATTED_VALUE_CAPI_AUTO_IMPL(CPPType, CType, ImplType, HelperType, Prefix, MagicNumb… argument 260 typedef IcuCApiHelper<CType, ImplType, MagicNumber> HelperType; \ 272 UPRV_FORMATTED_VALUE_CAPI_NO_IMPLTYPE_AUTO_IMPL(CType, ImplType, HelperType, Prefix)
|
/external/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyTIL.h | 396 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 …]
|
D | ThreadSafetyTraverse.h | 307 typedef bool CType; typedef 309 CType trueResult() { return true; } in trueResult() 310 bool notTrue(CType ct) { return !ct; } in notTrue() 343 typedef bool CType; typedef 345 CType trueResult() { return true; } in trueResult() 346 bool notTrue(CType ct) { return !ct; } in notTrue()
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_lite.h | 255 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/skqp/src/c/ |
D | sk_c_from_to.h | 8 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
|
D | sk_paint.cpp | 36 #define CType sk_stroke_cap_t macro 41 #define CType sk_stroke_join_t macro
|
/external/skia/src/c/ |
D | sk_c_from_to.h | 8 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
|
D | sk_paint.cpp | 36 #define CType sk_stroke_cap_t macro 41 #define CType sk_stroke_join_t macro
|
/external/protobuf/php/src/Google/Protobuf/Internal/FieldOptions/ |
D | CType.php | 12 class CType class 57 class_alias(CType::class, \Google\Protobuf\Internal\FieldOptions_CType::class);
|
/external/python/cffi/testing/cffi1/ |
D | test_realize_c_type.py | 10 assert isinstance(ct, ffi.CType) 54 assert isinstance(ct, ffi.CType)
|
/external/angle/src/tests/gl_tests/ |
D | AttributeLayoutTest.cpp | 175 template <class CType, GLenum GLType, bool Normalized> 190 double minOut = std::numeric_limits<CType>::min(); in operator ()() 191 double rangeOut = std::numeric_limits<CType>::max() - minOut; in operator ()() 193 if (std::is_signed<CType>::value) in operator ()() 205 container, offset, stride, data, Store<CType>, GLType, in operator ()() 206 Normalized, sizeof(CType), minIn, maxIn, minOut, rangeOut / (maxIn - minIn), in operator ()()
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | FieldOptions_CType.php | 14 class_exists(FieldOptions\CType::class);
|
/external/libcxx/src/filesystem/ |
D | filesystem_common.h | 308 template <class CType, class ChronoType> 309 static _LIBCPP_CONSTEXPR_AFTER_CXX11 bool checked_set(CType* out, 311 using Lim = numeric_limits<CType>; 314 *out = static_cast<CType>(time);
|