Home
last modified time | relevance | path

Searched refs:Underlying (Results 1 – 25 of 62) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
Dfallible_iterator.h68 template <typename Underlying> class fallible_iterator {
84 static fallible_iterator itr(Underlying I, Error &Err) { in itr()
94 static fallible_iterator end(Underlying I) { in end()
99 auto operator*() -> decltype(*std::declval<Underlying>()) { return *I; }
102 auto operator*() const -> decltype(*std::declval<const Underlying>()) {
108 template <typename T = Underlying>
115 template <typename T = Underlying>
197 fallible_iterator(Underlying I, Error *Err) in fallible_iterator()
216 Underlying I;
222 template <typename Underlying>
[all …]
DBitmaskEnum.h90 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
100 return static_cast<E>(~Underlying(Val) & Mask<E>());
106 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
112 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
118 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
DEnumeratedArray.h28 Underlying[IX] = V; in EnumeratedArray()
34 return Underlying[IX];
43 ValueType Underlying[Size];
/external/llvm-project/llvm/include/llvm/ADT/
Dfallible_iterator.h68 template <typename Underlying> class fallible_iterator {
84 static fallible_iterator itr(Underlying I, Error &Err) { in itr()
94 static fallible_iterator end(Underlying I) { in end()
106 template <typename T = Underlying>
113 template <typename T = Underlying>
195 fallible_iterator(Underlying I, Error *Err) in fallible_iterator()
214 Underlying I;
220 template <typename Underlying>
221 fallible_iterator<Underlying> make_fallible_itr(Underlying I, Error &Err) { in make_fallible_itr()
222 return fallible_iterator<Underlying>::itr(std::move(I), Err); in make_fallible_itr()
[all …]
DBitmaskEnum.h90 template <typename E> std::underlying_type_t<E> Underlying(E Val) {
103 return static_cast<E>(~Underlying(Val) & Mask<E>());
108 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
118 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
DEnumeratedArray.h28 Underlying[IX] = V; in EnumeratedArray()
34 return Underlying[IX];
44 ValueType Underlying[Size];
/external/minigbm/cros_gralloc/gralloc3/
DCrosGralloc3Utils.cc91 using Underlying = typename std::underlying_type<BufferUsage>::type; in getUsageString() typedef
93 Underlying usage = static_cast<Underlying>(bufferUsage); in getUsageString()
97 usage &= ~static_cast<Underlying>(BufferUsage::CAMERA_INPUT); in getUsageString()
101 usage &= ~static_cast<Underlying>(BufferUsage::CAMERA_OUTPUT); in getUsageString()
105 usage &= ~static_cast<Underlying>(BufferUsage::COMPOSER_CURSOR); in getUsageString()
109 usage &= ~static_cast<Underlying>(BufferUsage::COMPOSER_OVERLAY); in getUsageString()
113 usage &= ~static_cast<Underlying>(BufferUsage::CPU_READ_OFTEN); in getUsageString()
117 usage &= ~static_cast<Underlying>(BufferUsage::CPU_READ_NEVER); in getUsageString()
121 usage &= ~static_cast<Underlying>(BufferUsage::CPU_READ_RARELY); in getUsageString()
125 usage &= ~static_cast<Underlying>(BufferUsage::CPU_WRITE_NEVER); in getUsageString()
[all …]
/external/llvm/include/llvm/ADT/
DBitmaskEnum.h91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS));
/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Utils.cc95 using Underlying = typename std::underlying_type<BufferUsage>::type; in getUsageString() typedef
97 Underlying usage = static_cast<Underlying>(bufferUsage); in getUsageString()
101 usage &= ~static_cast<Underlying>(BufferUsage::CAMERA_INPUT); in getUsageString()
105 usage &= ~static_cast<Underlying>(BufferUsage::CAMERA_OUTPUT); in getUsageString()
109 usage &= ~static_cast<Underlying>(BufferUsage::COMPOSER_CURSOR); in getUsageString()
113 usage &= ~static_cast<Underlying>(BufferUsage::COMPOSER_OVERLAY); in getUsageString()
117 usage &= ~static_cast<Underlying>(BufferUsage::CPU_READ_OFTEN); in getUsageString()
121 usage &= ~static_cast<Underlying>(BufferUsage::CPU_READ_NEVER); in getUsageString()
125 usage &= ~static_cast<Underlying>(BufferUsage::CPU_READ_RARELY); in getUsageString()
129 usage &= ~static_cast<Underlying>(BufferUsage::CPU_WRITE_NEVER); in getUsageString()
[all …]
/external/tensorflow/tensorflow/core/platform/
Dretrying_file_system.h33 template <typename Underlying>
36 RetryingFileSystem(std::unique_ptr<Underlying> base_file_system, in RetryingFileSystem()
162 Underlying* underlying() const { return base_file_system_.get(); } in underlying()
165 std::unique_ptr<Underlying> base_file_system_;
240 template <typename Underlying>
241 Status RetryingFileSystem<Underlying>::NewRandomAccessFile( in NewRandomAccessFile()
256 template <typename Underlying>
257 Status RetryingFileSystem<Underlying>::NewWritableFile( in NewWritableFile()
271 template <typename Underlying>
272 Status RetryingFileSystem<Underlying>::NewAppendableFile( in NewAppendableFile()
[all …]
/external/rust/crates/ring/src/
Dbssl.rs45 type Underlying = c::int; in size_and_alignment() typedef
46 assert_eq!(mem::size_of::<bssl::Result>(), mem::size_of::<Underlying>()); in size_and_alignment()
49 mem::align_of::<Underlying>() in size_and_alignment()
/external/llvm-project/llvm/test/CodeGen/NVPTX/
Dlibcall-fulfilled.ll4 ; Underlying libcall declaration
27 ; Underlying libcall definition
/external/vulkan-validation-layers/layers/
Dhash_util.h50 using Underlying = typename std::underlying_type<Value>::type; variable
51 return std::hash<Underlying>()(static_cast<const Underlying &>(value));
/external/llvm-project/clang-tools-extra/clangd/unittests/
DFindTargetTests.cpp286 {"namespace a", Rel::Underlying}); in TEST_F()
302 {"struct S", Rel::Underlying}); in TEST_F()
309 {"struct S", Rel::Underlying}); in TEST_F()
336 EXPECT_DECLS("DecltypeTypeLoc", {"struct S", Rel::Underlying}); in TEST_F()
545 Rel::TemplateInstantiation | Rel::Underlying}, in TEST_F()
546 {"class SmallVector", Rel::TemplatePattern | Rel::Underlying}, in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp621 InstrProfReaderIndexBase &Underlying; member in __anon51f3be0f0211::InstrProfReaderNullRemapper
624 InstrProfReaderNullRemapper(InstrProfReaderIndexBase &Underlying) in InstrProfReaderNullRemapper() argument
625 : Underlying(Underlying) {} in InstrProfReaderNullRemapper()
629 return Underlying.getRecords(FuncName, Data); in getRecords()
641 InstrProfReaderIndex<HashTableImpl> &Underlying) in InstrProfReaderItaniumRemapper() argument
642 : RemapBuffer(std::move(RemapBuffer)), Underlying(Underlying) { in InstrProfReaderItaniumRemapper()
674 for (StringRef Name : Underlying.HashTable->keys()) { in populateRemappings()
699 Error E = Underlying.getRecords(Reconstituted, Data); in getRecords()
715 return Underlying.getRecords(FuncName, Data); in getRecords()
733 InstrProfReaderIndex<HashTableImpl> &Underlying; member in llvm::InstrProfReaderItaniumRemapper
/external/llvm-project/llvm/lib/ProfileData/
DInstrProfReader.cpp628 InstrProfReaderIndexBase &Underlying; member in __anonaebdb31b0211::InstrProfReaderNullRemapper
631 InstrProfReaderNullRemapper(InstrProfReaderIndexBase &Underlying) in InstrProfReaderNullRemapper() argument
632 : Underlying(Underlying) {} in InstrProfReaderNullRemapper()
636 return Underlying.getRecords(FuncName, Data); in getRecords()
648 InstrProfReaderIndex<HashTableImpl> &Underlying) in InstrProfReaderItaniumRemapper() argument
649 : RemapBuffer(std::move(RemapBuffer)), Underlying(Underlying) { in InstrProfReaderItaniumRemapper()
681 for (StringRef Name : Underlying.HashTable->keys()) { in populateRemappings()
706 Error E = Underlying.getRecords(Reconstituted, Data); in getRecords()
722 return Underlying.getRecords(FuncName, Data); in getRecords()
740 InstrProfReaderIndex<HashTableImpl> &Underlying; member in llvm::InstrProfReaderItaniumRemapper
/external/llvm-project/clang-tools-extra/clangd/
DFindTarget.h119 Underlying, enumerator
171 using Set = std::bitset<static_cast<unsigned>(DeclRelation::Underlying) + 1>;
DFindTarget.cpp370 add(TND->getUnderlyingType(), Flags | Rel::Underlying); in add()
378 add(NAD->getUnderlyingDecl(), Flags | Rel::Underlying); in add()
549 Outer.add(DTT->getUnderlyingType(), Flags | Rel::Underlying); in add()
554 Outer.add(DT->getDeducedType(), Flags | Rel::Underlying); in add()
596 Outer.add(TST->getAliasedType(), Flags | Rel::Underlying); in add()
771 DeclRelation::Underlying)}); in refInDecl()
1191 REL_CASE(Underlying); in operator <<()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DNativeTypeEnum.cpp184 codeview::TypeIndex Underlying = Record->getUnderlyingType(); in getBuiltinType() local
187 if (!Underlying.isSimple() || in getBuiltinType()
188 Underlying.getSimpleMode() != SimpleTypeMode::Direct) { in getBuiltinType()
192 switch (Underlying.getSimpleKind()) { in getBuiltinType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeTypeEnum.cpp184 codeview::TypeIndex Underlying = Record->getUnderlyingType(); in getBuiltinType() local
187 if (!Underlying.isSimple() || in getBuiltinType()
188 Underlying.getSimpleMode() != SimpleTypeMode::Direct) { in getBuiltinType()
192 switch (Underlying.getSimpleKind()) { in getBuiltinType()
/external/mesa3d/src/gtest/include/gtest/internal/custom/
DREADME.md45 ### Underlying library support features
/external/googletest/googletest/include/gtest/internal/custom/
DREADME.md45 ### Underlying library support features
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/custom/
DREADME.md45 ### Underlying library support features
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/custom/
DREADME.md45 ### Underlying library support features
/external/llvm-project/clang/lib/Index/
DIndexTypeSourceInfo.cpp60 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc() local
61 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()

123