Home
last modified time | relevance | path

Searched refs:TypeInfo (Results 1 – 25 of 71) sorted by relevance

123

/third_party/skia/third_party/externals/tint/src/
Dcastable.h56 const tint::TypeInfo tint::detail::TypeInfoOf<CLASS>::info{ \
63 struct TypeInfo { struct
65 const TypeInfo* base; argument
72 bool Is(const tint::TypeInfo& type) const;
76 static const TypeInfo& Of() { in Of() argument
90 static const TypeInfo info;
136 return obj->TypeInfo().Is(TypeInfo::Of<std::remove_const_t<TO>>()); in Is()
160 obj->TypeInfo().Is(TypeInfo::Of<std::remove_const_t<TO>>()); in Is()
211 virtual const tint::TypeInfo& TypeInfo() const = 0;
289 const tint::TypeInfo& TypeInfo() const override { in TypeInfo() function
[all …]
Dcastable.cc22 const TypeInfo detail::TypeInfoOf<CastableBase>::info{
27 bool TypeInfo::Is(const TypeInfo& typeinfo) const { in Is()
Dprogram.h131 std::unordered_set<const TypeInfo*> TransformsApplied() const { in TransformsApplied()
138 bool HasTransformApplied(const TypeInfo* transform) const { in HasTransformApplied()
145 return HasTransformApplied(&TypeInfo::Of<T>()); in HasTransformApplied()
187 std::unordered_set<const TypeInfo*> transforms_applied_;
Dclone_context.h280 if (transform.typeinfo->Is(TypeInfo::Of<T>()) || in ReplaceAll()
281 TypeInfo::Of<T>().Is(*transform.typeinfo)) { in ReplaceAll()
284 << TypeInfo::Of<T>().name in ReplaceAll()
291 transform.typeinfo = &TypeInfo::Of<T>(); in ReplaceAll()
477 const TypeInfo* typeinfo;
494 CheckedCastFailure(obj, TypeInfo::Of<TO>()); in CheckedCast()
504 void CheckedCastFailure(const Cloneable* got, const TypeInfo& expected);
Dclone_context.cc85 auto& typeinfo = object->TypeInfo(); in CloneCloneable()
101 const TypeInfo& expected) { in CheckedCastFailure()
104 << "got: " << got->TypeInfo().name << "\n" in CheckedCastFailure()
/third_party/protobuf/src/google/protobuf/util/internal/
Dtype_info.h50 class PROTOBUF_EXPORT TypeInfo {
52 TypeInfo() {} in TypeInfo() function
53 virtual ~TypeInfo() {} in ~TypeInfo()
84 static TypeInfo* NewTypeInfo(TypeResolver* type_resolver);
87 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeInfo);
Ddefault_value_objectwriter.h170 virtual void PopulateChildren(const TypeInfo* typeinfo);
204 const google::protobuf::Type& found_type, const TypeInfo* typeinfo);
258 const google::protobuf::Field& field, const TypeInfo* typeinfo) { in CreateDefaultDataPieceForField()
264 const google::protobuf::Field& field, const TypeInfo* typeinfo,
287 const TypeInfo* typeinfo,
292 const TypeInfo* typeinfo_;
Dproto_writer.h142 const TypeInfo* typeinfo() { return typeinfo_; } in typeinfo()
167 ProtoElement(const TypeInfo* typeinfo, const google::protobuf::Type& type,
219 const TypeInfo* typeinfo_;
250 ProtoWriter(const TypeInfo* typeinfo, const google::protobuf::Type& type,
322 const TypeInfo* typeinfo_;
Dtype_info_test_helper.h72 TypeInfo* GetTypeInfo();
86 std::unique_ptr<TypeInfo> typeinfo_;
Dtype_info.cc51 class TypeInfoForTypeResolver : public TypeInfo {
174 TypeInfo* TypeInfo::NewTypeInfo(TypeResolver* type_resolver) { in NewTypeInfo()
Dtype_info_test_helper.cc65 typeinfo_.reset(TypeInfo::NewTypeInfo(type_resolver_.get())); in ResetTypeInfo()
86 TypeInfo* TypeInfoTestHelper::GetTypeInfo() { return typeinfo_.get(); } in GetTypeInfo()
Dprotostream_objectsource.h57 class TypeInfo; variable
168 const TypeInfo* typeinfo,
291 const TypeInfo* typeinfo_;
Ddefault_value_objectwriter.cc62 : typeinfo_(TypeInfo::NewTypeInfo(type_resolver)), in DefaultValueObjectWriter()
275 const google::protobuf::Type& found_type, const TypeInfo* typeinfo) { in GetMapValueType()
301 const TypeInfo* typeinfo) { in PopulateChildren()
414 const google::protobuf::Field& field, const TypeInfo* typeinfo, in FindEnumDefault()
435 const google::protobuf::Field& field, const TypeInfo* typeinfo, in CreateDefaultDataPieceForField()
/third_party/protobuf/src/google/protobuf/
Ddynamic_message.cc259 struct TypeInfo { struct in google::protobuf::DynamicMessage
282 TypeInfo() : prototype(NULL) {} in TypeInfo() argument
284 ~TypeInfo() { delete prototype; } in ~TypeInfo() argument
287 DynamicMessage(const TypeInfo* type_info);
290 DynamicMessage(TypeInfo* type_info, bool lock_factory);
317 DynamicMessage(const TypeInfo* type_info, Arena* arena);
338 const TypeInfo* type_info_;
343 DynamicMessage::DynamicMessage(const TypeInfo* type_info) in DynamicMessage()
348 DynamicMessage::DynamicMessage(const TypeInfo* type_info, Arena* arena) in DynamicMessage()
355 DynamicMessage::DynamicMessage(TypeInfo* type_info, bool lock_factory) in DynamicMessage()
[all …]
/third_party/skia/third_party/externals/tint/src/transform/
Dtransform.h77 map_[&TypeInfo::Of<T>()] = std::move(data); in Put()
92 auto it = map_.find(&TypeInfo::Of<T>()); in Get()
120 std::unordered_map<const TypeInfo*, std::unique_ptr<Data>> map_;
177 return Requires(ctx, {&::tint::TypeInfo::Of<TRANSFORMS>()...}); in Requires()
186 std::initializer_list<const ::tint::TypeInfo*> deps);
Dtransform.cc61 << "Transform::Run() unimplemented for " << TypeInfo().name; in Run()
65 std::initializer_list<const ::tint::TypeInfo*> deps) { in Requires()
69 diag::System::Transform, std::string(TypeInfo().name) + in Requires()
90 << sem->TypeInfo().name; in RemoveStatement()
162 << "Unhandled type: " << ty->TypeInfo().name; in CreateASTTypeFor()
Dsingle_entry_point.cc39 "missing transform data for " + std::string(TypeInfo().name)); in Run()
101 << "unhandled global declaration: " << decl->TypeInfo().name; in Run()
/third_party/skia/third_party/externals/tint/src/resolver/
Dptr_ref_test.cc102 << "function_ptr is " << TypeOf(function_ptr)->TypeInfo().name; in TEST_F()
104 << "private_ptr is " << TypeOf(private_ptr)->TypeInfo().name; in TEST_F()
106 << "workgroup_ptr is " << TypeOf(workgroup_ptr)->TypeInfo().name; in TEST_F()
108 << "uniform_ptr is " << TypeOf(uniform_ptr)->TypeInfo().name; in TEST_F()
110 << "storage_ptr is " << TypeOf(storage_ptr)->TypeInfo().name; in TEST_F()
/third_party/python/Lib/xml/dom/
Dexpatbuilder.py49 "CDATA": minidom.TypeInfo(None, "cdata"),
50 "ENUM": minidom.TypeInfo(None, "enumeration"),
51 "ENTITY": minidom.TypeInfo(None, "entity"),
52 "ENTITIES": minidom.TypeInfo(None, "entities"),
53 "ID": minidom.TypeInfo(None, "id"),
54 "IDREF": minidom.TypeInfo(None, "idref"),
55 "IDREFS": minidom.TypeInfo(None, "idrefs"),
56 "NMTOKEN": minidom.TypeInfo(None, "nmtoken"),
57 "NMTOKENS": minidom.TypeInfo(None, "nmtokens"),
/third_party/skia/third_party/externals/tint/src/sem/
Dfunction.h221 const tint::TypeInfo& type_info) const;
228 return TransitivelyReferencedVariablesOfType(TypeInfo::Of<T>()); in TransitivelyReferencedVariablesOfType()
Dfunction.cc129 const tint::TypeInfo& type_info) const { in TransitivelyReferencedVariablesOfType()
133 if (unwrapped_type->TypeInfo().Is(type_info)) { in TransitivelyReferencedVariablesOfType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCOFF.h658 uint16_t TypeInfo; member
661 return static_cast<ImportType>(TypeInfo & 0x3); in getType()
665 return static_cast<ImportNameType>((TypeInfo & 0x1C) >> 2); in getNameType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DCOFF.h708 uint16_t TypeInfo; member
710 ImportType getType() const { return static_cast<ImportType>(TypeInfo & 0x3); } in getType()
713 return static_cast<ImportNameType>((TypeInfo & 0x1C) >> 2); in getNameType()
/third_party/skia/third_party/externals/tint/src/writer/
Dappend_vector.cc61 << "unsupported vector element type: " << ty->TypeInfo().name; in Zero()
99 << packed_el_sem_ty->TypeInfo().name; in AppendVector()
/third_party/skia/third_party/externals/tint/src/inspector/
Dinspector.cc480 const tint::TypeInfo& texture_type, in GetTextureResourceBindings()
512 entry_point, TypeInfo::Of<sem::DepthTexture>(), in GetDepthTextureResourceBindings()
520 entry_point, TypeInfo::Of<sem::DepthMultisampledTexture>(), in GetDepthMultisampledTextureResourceBindings()
527 entry_point, TypeInfo::Of<sem::ExternalTexture>(), in GetExternalTextureResourceBindings()
908 << "unexpected variable type " << var->TypeInfo().name; in GetOriginatingResources()
930 << expr->TypeInfo().name; in GetOriginatingResources()

123