Home
last modified time | relevance | path

Searched refs:BaseType (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/external/libtextclassifier/native/utils/grammar/semantics/
Dvalue.h51 return arena->AllocAndInit<SemanticValue>(reflection::BaseType::String, in Create()
58 reflection::BaseType::String, in Create()
78 static const SemanticValue* Create(const reflection::BaseType base_type, in Create()
85 static const SemanticValue* Create(const reflection::BaseType base_type, in Create()
88 case reflection::BaseType::Bool: in Create()
91 flatbuffers_cpp_type<reflection::BaseType::Bool>::value>(value), in Create()
93 case reflection::BaseType::Byte: in Create()
96 flatbuffers_cpp_type<reflection::BaseType::Byte>::value>(value), in Create()
98 case reflection::BaseType::UByte: in Create()
101 flatbuffers_cpp_type<reflection::BaseType::UByte>::value>( in Create()
[all …]
/external/libtextclassifier/native/utils/flatbuffers/
Dreflection.h33 static const reflection::BaseType value;
37 inline const reflection::BaseType flatbuffers_base_type<T>::value =
41 inline const reflection::BaseType flatbuffers_base_type<bool>::value =
45 inline const reflection::BaseType flatbuffers_base_type<int8>::value =
49 inline const reflection::BaseType flatbuffers_base_type<uint8>::value =
53 inline const reflection::BaseType flatbuffers_base_type<int16>::value =
57 inline const reflection::BaseType flatbuffers_base_type<uint16>::value =
61 inline const reflection::BaseType flatbuffers_base_type<int32>::value =
65 inline const reflection::BaseType flatbuffers_base_type<uint32>::value =
69 inline const reflection::BaseType flatbuffers_base_type<int64>::value =
[all …]
Dreflection.cc143 case reflection::BaseType::Byte: in ParseEnumValue()
145 case reflection::BaseType::UByte: in ParseEnumValue()
147 case reflection::BaseType::Short: in ParseEnumValue()
149 case reflection::BaseType::UShort: in ParseEnumValue()
151 case reflection::BaseType::Int: in ParseEnumValue()
153 case reflection::BaseType::UInt: in ParseEnumValue()
155 case reflection::BaseType::Long: in ParseEnumValue()
157 case reflection::BaseType::ULong: in ParseEnumValue()
/external/antlr/runtime/Cpp/include/
Dantlr3traits.hpp30 typedef Empty BaseType; typedef in CustomTraitsBase::IntStreamType
47 typedef Empty BaseType; typedef in CustomTraitsBase::RecognizerSharedStateType
54 typedef Empty BaseType; typedef in CustomTraitsBase::RecognizerType
64 typedef Empty BaseType; typedef in CustomTraitsBase::ExceptionBaseType
78 typedef Empty BaseType; typedef in CustomTraitsBase::RewriteStreamType
165 typename UserTraits<TraitsType>::template IntStreamType<SuperType>::BaseType
208 typename UserTraits<TraitsType>::template RecognizerSharedStateType<StreamType>::BaseType
217 typename UserTraits<TraitsType>::template RecognizerType<StreamType>::BaseType
224 typename UserTraits<TraitsType>::template RecognizerType<StreamType>::BaseType
225 >::selected BaseType; typedef in Traits::RecognizerType
[all …]
/external/deqp/framework/referencerenderer/
DrrPrimitiveTypes.hpp53 …TYPE_TRIANGLES> { typedef pa::Triangle Type; typedef pa::Triangle BaseType; typedef pa::Tria… typedef
54 …E_TRIANGLE_STRIP> { typedef pa::Triangle Type; typedef pa::Triangle BaseType; typedef pa::Tria… typedef
55 …PE_TRIANGLE_FAN> { typedef pa::Triangle Type; typedef pa::Triangle BaseType; typedef pa::Tria… typedef
56 …PRIMITIVETYPE_LINES> { typedef pa::Line Type; typedef pa::Line BaseType; typedef pa::Line… typedef
57 …MITIVETYPE_LINE_STRIP> { typedef pa::Line Type; typedef pa::Line BaseType; typedef pa::Line… typedef
58 …MITIVETYPE_LINE_LOOP> { typedef pa::Line Type; typedef pa::Line BaseType; typedef pa::Line… typedef
59 …IMITIVETYPE_POINTS> { typedef pa::Point Type; typedef pa::Point BaseType; typedef pa::Poin… typedef
60 …LINES_ADJACENCY> { typedef pa::LineAdjacency Type; typedef pa::Line BaseType; typedef pa::Line… typedef
61 …_STRIP_ADJACENCY> { typedef pa::LineAdjacency Type; typedef pa::Line BaseType; typedef pa::Line… typedef
62 …_ADJACENCY> { typedef pa::TriangleAdjacency Type; typedef pa::Triangle BaseType; typedef pa::Tria… typedef
[all …]
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Darithmetic-eval.cc105 case reflection::BaseType::Byte: in Apply()
107 case reflection::BaseType::UByte: in Apply()
109 case reflection::BaseType::Short: in Apply()
111 case reflection::BaseType::UShort: in Apply()
113 case reflection::BaseType::Int: in Apply()
115 case reflection::BaseType::UInt: in Apply()
117 case reflection::BaseType::Long: in Apply()
119 case reflection::BaseType::ULong: in Apply()
121 case reflection::BaseType::Float: in Apply()
123 case reflection::BaseType::Double: in Apply()
[all …]
Dcompose-eval.cc109 case reflection::BaseType::Bool: { in Apply()
114 case reflection::BaseType::Byte: { in Apply()
119 case reflection::BaseType::UByte: { in Apply()
124 case reflection::BaseType::Short: { in Apply()
129 case reflection::BaseType::UShort: { in Apply()
134 case reflection::BaseType::Int: { in Apply()
139 case reflection::BaseType::UInt: { in Apply()
144 case reflection::BaseType::Long: { in Apply()
149 case reflection::BaseType::ULong: { in Apply()
154 case reflection::BaseType::Float: { in Apply()
[all …]
/external/llvm-project/clang/include/clang/AST/
DLexicallyOrderedRecursiveASTVisitor.h61 using BaseType = RecursiveASTVisitor<Derived>; variable
70 bool Result = BaseType::TraverseObjCImplementationDecl(D); in TraverseObjCImplementationDecl()
75 bool Result = BaseType::TraverseObjCCategoryImplDecl(D); in TraverseObjCCategoryImplDecl()
85 if (BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Child)) { in TraverseDeclContextHelper()
91 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
104 if (!BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Sibling)) in TraverseDeclContextHelper()
107 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
147 assert(!BaseType::getDerived().shouldTraversePostOrder() && in TraverseAdditionalLexicallyNestedDeclarations()
151 if (!BaseType::getDerived().TraverseDecl(D)) in TraverseAdditionalLexicallyNestedDeclarations()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardingReferenceOverloadCheck.cpp33 const Type *BaseType = Node.getTypePtr(); in AST_MATCHER() local
35 while (BaseType->isPointerType() || BaseType->isReferenceType()) { in AST_MATCHER()
36 BaseType = BaseType->getPointeeType().getTypePtr(); in AST_MATCHER()
39 if (const auto *Dependent = BaseType->getAs<DependentNameType>()) { in AST_MATCHER()
40 BaseType = Dependent->getQualifier()->getAsType(); in AST_MATCHER()
42 if (!BaseType) in AST_MATCHER()
44 if (CheckTemplate(BaseType->getAs<TemplateSpecializationType>())) { in AST_MATCHER()
46 } else if (const auto *Elaborated = BaseType->getAs<ElaboratedType>()) { in AST_MATCHER()
/external/pdfium/core/fxcrt/
Dfx_coordinates.h19 template <class BaseType>
23 CFX_PTemplate(BaseType new_x, BaseType new_y) : x(new_x), y(new_y) {} in CFX_PTemplate()
39 CFX_PTemplate& operator+=(const CFX_PTemplate<BaseType>& obj) {
44 CFX_PTemplate& operator-=(const CFX_PTemplate<BaseType>& obj) {
56 BaseType x;
57 BaseType y;
62 template <class BaseType>
67 CFX_STemplate(BaseType new_width, BaseType new_height) in CFX_STemplate()
96 CFX_STemplate& operator+=(const CFX_STemplate<BaseType>& obj) {
101 CFX_STemplate& operator-=(const CFX_STemplate<BaseType>& obj) {
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmTrinaryMinMaxTests.cpp67 enum class BaseType enum
95 BaseType baseType;
239 BaseType type;
275 { { BaseType::TYPE_INT, TypeSize::SIZE_8BIT, OperationType::MIN }, { genInt8, minInt8 } },
276 { { BaseType::TYPE_INT, TypeSize::SIZE_8BIT, OperationType::MAX }, { genInt8, maxInt8 } },
277 { { BaseType::TYPE_INT, TypeSize::SIZE_8BIT, OperationType::MID }, { genInt8, midInt8 } },
278 { { BaseType::TYPE_INT, TypeSize::SIZE_16BIT, OperationType::MIN }, { genInt16, minInt16 } },
279 { { BaseType::TYPE_INT, TypeSize::SIZE_16BIT, OperationType::MAX }, { genInt16, maxInt16 } },
280 { { BaseType::TYPE_INT, TypeSize::SIZE_16BIT, OperationType::MID }, { genInt16, midInt16 } },
281 { { BaseType::TYPE_INT, TypeSize::SIZE_32BIT, OperationType::MIN }, { genInt32, minInt32 } },
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dmanual_constructor.h103 template <class BaseType, class... DerivedTypes>
111 BaseType* get() { return reinterpret_cast<BaseType*>(&space_); } in get()
112 const BaseType* get() const { in get()
113 return reinterpret_cast<const BaseType*>(&space_); in get()
116 BaseType* operator->() { return get(); }
117 const BaseType* operator->() const { return get(); }
119 BaseType& operator*() { return *get(); }
120 const BaseType& operator*() const { return *get(); }
151 void Destroy() { get()->~BaseType(); } in Destroy()
159 GPR_ASSERT(static_cast<BaseType*>(p) == p); in FinishInit()
/external/grpc-grpc/src/core/lib/gprpp/
Dmanual_constructor.h103 template <class BaseType, class... DerivedTypes>
111 BaseType* get() { return reinterpret_cast<BaseType*>(&space_); } in get()
112 const BaseType* get() const { in get()
113 return reinterpret_cast<const BaseType*>(&space_); in get()
116 BaseType* operator->() { return get(); }
117 const BaseType* operator->() const { return get(); }
119 BaseType& operator*() { return *get(); }
120 const BaseType& operator*() const { return *get(); }
151 void Destroy() { get()->~BaseType(); } in Destroy()
159 GPR_ASSERT(static_cast<BaseType*>(p) == p); in FinishInit()
/external/tensorflow/tensorflow/python/framework/
Ddtypes.cc91 return tensorflow::DataTypeSize(tensorflow::BaseType(self)); in PYBIND11_MODULE()
113 tensorflow::BaseType(self)); in PYBIND11_MODULE()
120 return tensorflow::BaseType(self) == tensorflow::DT_BOOL; in PYBIND11_MODULE()
126 return tensorflow::DataTypeIsComplex(tensorflow::BaseType(self)); in PYBIND11_MODULE()
132 return tensorflow::DataTypeIsFloating(tensorflow::BaseType(self)); in PYBIND11_MODULE()
139 return tensorflow::DataTypeIsInteger(tensorflow::BaseType(self)); in PYBIND11_MODULE()
145 return tensorflow::DataTypeIsQuantized(tensorflow::BaseType(self)); in PYBIND11_MODULE()
151 return tensorflow::DataTypeIsUnsigned(tensorflow::BaseType(self)); in PYBIND11_MODULE()
/external/llvm-project/lldb/include/lldb/Utility/
DRangeMap.h30 typedef B BaseType; typedef
33 BaseType base;
38 Range(BaseType b, SizeType s) : base(b), size(s) {} in Range()
40 void Clear(BaseType b = 0) {
46 BaseType GetRangeBase() const { return base; } in GetRangeBase()
48 void SetRangeBase(BaseType b) { base = b; } in SetRangeBase()
50 void Slide(BaseType slide) { base += slide; } in Slide()
54 auto new_end = std::max<BaseType>(GetRangeEnd(), rhs.GetRangeEnd()); in Union()
55 base = std::min<BaseType>(base, rhs.base); in Union()
62 BaseType GetRangeEnd() const { return base + size; } in GetRangeEnd()
[all …]
/external/clang/lib/Sema/
DSemaExprMember.cpp457 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, in ActOnDependentMemberExpr() argument
474 const PointerType *PT = BaseType->getAs<PointerType>(); in ActOnDependentMemberExpr()
479 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); in ActOnDependentMemberExpr()
484 assert(BaseType->isDependentType() || in ActOnDependentMemberExpr()
491 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr()
501 QualType BaseType, in DiagnoseQualifiedMemberReference() argument
511 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference()
527 QualType BaseType, in CheckQualifiedMemberReference() argument
531 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType)); in CheckQualifiedMemberReference()
535 assert(BaseType->isDependentType()); in CheckQualifiedMemberReference()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaExprMember.cpp478 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, in ActOnDependentMemberExpr() argument
495 const PointerType *PT = BaseType->getAs<PointerType>(); in ActOnDependentMemberExpr()
500 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); in ActOnDependentMemberExpr()
505 assert(BaseType->isDependentType() || in ActOnDependentMemberExpr()
512 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr()
522 QualType BaseType, in DiagnoseQualifiedMemberReference() argument
532 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference()
548 QualType BaseType, in CheckQualifiedMemberReference() argument
552 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType)); in CheckQualifiedMemberReference()
556 assert(BaseType->isDependentType()); in CheckQualifiedMemberReference()
[all …]
/external/flatbuffers/include/flatbuffers/
Dreflection.h33 inline bool IsScalar(reflection::BaseType t) { in IsScalar()
36 inline bool IsInteger(reflection::BaseType t) { in IsInteger()
39 inline bool IsFloat(reflection::BaseType t) { in IsFloat()
42 inline bool IsLong(reflection::BaseType t) { in IsLong()
47 inline size_t GetTypeSize(reflection::BaseType base_type) { in GetTypeSize()
55 inline size_t GetTypeSizeInline(reflection::BaseType base_type, int type_index, in GetTypeSizeInline()
151 int64_t GetAnyValueI(reflection::BaseType type, const uint8_t *data);
154 double GetAnyValueF(reflection::BaseType type, const uint8_t *data);
157 std::string GetAnyValueS(reflection::BaseType type, const uint8_t *data,
208 reflection::BaseType elem_type, size_t i) { in GetAnyVectorElemI()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCodeGenTBAA.h43 TBAAAccessInfo(TBAAAccessKind Kind, llvm::MDNode *BaseType, in TBAAAccessInfo()
45 : Kind(Kind), BaseType(BaseType), AccessType(AccessType), in TBAAAccessInfo()
49 TBAAAccessInfo(llvm::MDNode *BaseType, llvm::MDNode *AccessType, in TBAAAccessInfo()
51 : TBAAAccessInfo(TBAAAccessKind::Ordinary, BaseType, AccessType, in TBAAAccessInfo()
81 BaseType == Other.BaseType &&
101 llvm::MDNode *BaseType; member
243 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
/external/llvm/lib/Target/X86/
DX86InstrBuilder.h41 } BaseType; member
55 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode()
64 if (BaseType == X86AddressMode::RegBase) in getFullAddress()
68 assert(BaseType == X86AddressMode::FrameIndexBase); in getFullAddress()
93 AM.BaseType = X86AddressMode::RegBase; in getAddressFromInstr()
96 AM.BaseType = X86AddressMode::FrameIndexBase; in getAddressFromInstr()
155 if (AM.BaseType == X86AddressMode::RegBase) in addFullAddress()
158 assert(AM.BaseType == X86AddressMode::FrameIndexBase); in addFullAddress()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrBuilder.h46 } BaseType; member
60 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode()
68 if (BaseType == X86AddressMode::RegBase) in getFullAddress()
72 assert(BaseType == X86AddressMode::FrameIndexBase); in getFullAddress()
97 AM.BaseType = X86AddressMode::RegBase; in getAddressFromInstr()
100 AM.BaseType = X86AddressMode::FrameIndexBase; in getAddressFromInstr()
176 if (AM.BaseType == X86AddressMode::RegBase) in addFullAddress()
179 assert(AM.BaseType == X86AddressMode::FrameIndexBase); in addFullAddress()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrBuilder.h46 } BaseType; member
60 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode()
68 if (BaseType == X86AddressMode::RegBase) in getFullAddress()
72 assert(BaseType == X86AddressMode::FrameIndexBase); in getFullAddress()
97 AM.BaseType = X86AddressMode::RegBase; in getAddressFromInstr()
100 AM.BaseType = X86AddressMode::FrameIndexBase; in getAddressFromInstr()
176 if (AM.BaseType == X86AddressMode::RegBase) in addFullAddress()
179 assert(AM.BaseType == X86AddressMode::FrameIndexBase); in addFullAddress()
/external/angle/src/common/
DSynchronizedValue.h55 using BaseType = ConstStrictLockPtr<T, Lockable>;
58 StrictLockPtr(T &value, Lockable &mutex) : BaseType(value, mutex) {} in StrictLockPtr()
60 : BaseType(value, mutex, std::adopt_lock) in StrictLockPtr()
64 : BaseType(std::move(static_cast<BaseType &&>(other))) in StrictLockPtr()
92 using BaseType = std::unique_lock<Lockable>;
98 ConstUniqueLockPtr(const T &value, Lockable &mutex) : BaseType(mutex), mValue(value) {}
100 : BaseType(mutex, std::adopt_lock), mValue(value)
103 : BaseType(mutex, std::defer_lock), mValue(value)
106 : BaseType(mutex, std::try_to_lock), mValue(value)
110 : BaseType(std::move(static_cast<BaseType &&>(other))), mValue(other.mValue)
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestGenericFieldInSubtype.java23 BaseType.SubType<?> r = mapper.readValue("{}", BaseType.SubType.class); in testInnerType()
38 abstract class BaseType<T> { class
41 public final static class SubType<T extends Number> extends BaseType<T>
/external/llvm-project/llvm/test/MC/COFF/
Dcgprofile.s41 # CHECK-NEXT: BaseType:
48 # CHECK-NEXT: BaseType:
55 # CHECK-NEXT: BaseType:
62 # CHECK-NEXT: BaseType:
69 # CHECK-NEXT: BaseType:
76 # CHECK-NEXT: BaseType:

12345678910>>...13