Home
last modified time | relevance | path

Searched refs:ToEnum (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dserialization.cc133 DataType ToEnum(data::DataType type) { in ToEnum() function
162 AccessType ToEnum(data::AccessType type) { in ToEnum() function
173 MemoryType ToEnum(data::MemoryType type) { in ToEnum() function
184 LinearStorageType ToEnum(data::LinearStorageType type) { in ToEnum() function
193 TensorStorageType ToEnum(data::TensorStorageType type) { in ToEnum() function
212 Layout ToEnum(data::Layout type) { in ToEnum() function
270 CalculationsPrecision ToEnum(data::CalculationsPrecision type) { in ToEnum() function
281 TensorToGrid ToEnum(data::TensorToGrid type) { in ToEnum() function
296 CompilerOptions ToEnum(data::CompilerOptions type) { in ToEnum() function
351 obj->access_type_ = ToEnum(fb_obj->access_type()); in Decode()
[all …]
/external/skia/modules/skottie/src/effects/
DDisplacementMapEffect.cpp344 E ToEnum(float v) { in ToEnum() function in skottie::internal::__anon047daa7d0111::DisplacementMapAdapter
361 this->node()->setPos(ToEnum<DisplacementNode::Pos>(fMapBehavior)); in onSync()
362 this->node()->setXSelector(ToEnum<DisplacementNode::Selector>(fHorizontalSelector)); in onSync()
363 this->node()->setYSelector(ToEnum<DisplacementNode::Selector>(fVerticalSelector)); in onSync()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dserialization.cc486 DataType ToEnum(data::DataType type) { in ToEnum() function
501 ObjectType ToEnum(data::ObjectType type) { in ToEnum() function
512 AccessType ToEnum(data::AccessType type) { in ToEnum() function
524 object->access = ToEnum(fb_object.access()); in ParseObject()
526 object->object_type = ToEnum(fb_object.type()); in ParseObject()
527 object->data_type = ToEnum(fb_object.data_type()); in ParseObject()
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.h169 util::StatusOr<int> ToEnum(const google::protobuf::Enum* enum_type,
Ddatapiece.cc276 StatusOr<int> DataPiece::ToEnum(const google::protobuf::Enum* enum_type, in ToEnum() function in google::protobuf::util::converter::DataPiece
Dproto_writer.cc597 StatusOr<int> e = data.ToEnum(enum_type, use_lower_camel_for_enums, in WriteEnum()
/external/clang/lib/AST/
DASTImporter.cpp2046 if (EnumDecl *ToEnum = cast_or_null<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded() local
2047 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded()
2048 ImportDefinition(FromEnum, ToEnum); in ImportDefinitionIfNeeded()
2383 bool ASTNodeImporter::IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToEnum) { in IsStructuralMatch() argument
2387 return Ctx.IsStructurallyEquivalent(FromEnum, ToEnum); in IsStructuralMatch()
6164 } else if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(ToDC)) { in ImportContext() local
6166 if (ToEnum->isCompleteDefinition()) { in ImportContext()
6169 ASTNodeImporter(*this).ImportDefinition(FromEnum, ToEnum, in ImportContext()
6172 CompleteDecl(ToEnum); in ImportContext()
6522 if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(To)) { in ImportDefinition() local
[all …]
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp1670 if (EnumDecl *ToEnum = cast<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded() local
1671 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded()
1672 if (Error Err = ImportDefinition(FromEnum, ToEnum)) in ImportDefinitionIfNeeded()
2144 bool ASTNodeImporter::IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToEnum) { in IsStructuralMatch() argument
2147 if (Decl *ToOrigin = Importer.GetOriginalDecl(ToEnum)) in IsStructuralMatch()
2149 ToEnum = ToOriginEnum; in IsStructuralMatch()
2154 return Ctx.IsEquivalent(FromEnum, ToEnum); in IsStructuralMatch()
8333 } else if (auto *ToEnum = dyn_cast<EnumDecl>(ToDC)) { in ImportContext() local
8335 if (ToEnum->isCompleteDefinition()) { in ImportContext()
8339 FromEnum, ToEnum, ASTNodeImporter::IDK_Basic)) in ImportContext()
[all …]