/external/llvm-project/compiler-rt/lib/xray/tests/unit/ |
D | buffer_queue_test.cpp | 30 BufferQueue Buffers(kSize, 1, Success); in TEST() local 36 BufferQueue Buffers(kSize, 1, Success); in TEST() local 39 ASSERT_EQ(Buffers.getBuffer(Buf), BufferQueue::ErrorCode::Ok); in TEST() 41 ASSERT_EQ(Buffers.releaseBuffer(Buf), BufferQueue::ErrorCode::Ok); in TEST() 47 BufferQueue Buffers(kSize, 1, Success); in TEST() local 50 EXPECT_EQ(Buffers.getBuffer(Buf0), BufferQueue::ErrorCode::Ok); in TEST() 52 EXPECT_EQ(BufferQueue::ErrorCode::NotEnoughMemory, Buffers.getBuffer(Buf1)); in TEST() 53 EXPECT_EQ(Buffers.releaseBuffer(Buf0), BufferQueue::ErrorCode::Ok); in TEST() 58 BufferQueue Buffers(kSize, 1, Success); in TEST() local 63 Buf.Generation = Buffers.generation(); in TEST() [all …]
|
D | fdr_log_writer_test.cpp | 41 BufferQueue Buffers(kSize, 1, Success); in TEST() local 43 ASSERT_EQ(Buffers.getBuffer(B), BufferQueue::ErrorCode::Ok); in TEST() 59 ASSERT_EQ(Buffers.releaseBuffer(B), BufferQueue::ErrorCode::Ok); in TEST() 61 ASSERT_EQ(Buffers.finalize(), BufferQueue::ErrorCode::Ok); in TEST() 66 std::string Serialized = serialize(Buffers, 3); in TEST() 79 BufferQueue Buffers(kSize, 1, Success); in TEST() local 81 ASSERT_EQ(Buffers.getBuffer(B), BufferQueue::ErrorCode::Ok); in TEST() 102 ASSERT_EQ(Buffers.releaseBuffer(B), BufferQueue::ErrorCode::Ok); in TEST() 106 ASSERT_EQ(Buffers.getBuffer(B), BufferQueue::ErrorCode::Ok); in TEST() 114 ASSERT_EQ(Buffers.releaseBuffer(B), BufferQueue::ErrorCode::Ok); in TEST() [all …]
|
D | profile_collector_test.cpp | 116 FunctionCallTrie::Allocators::Buffers Buffers; in TEST() local 117 ASSERT_EQ(BQ.getBuffer(Buffers.NodeBuffer), BufferQueue::ErrorCode::Ok); in TEST() 118 ASSERT_EQ(BQ.getBuffer(Buffers.RootsBuffer), BufferQueue::ErrorCode::Ok); in TEST() 119 ASSERT_EQ(BQ.getBuffer(Buffers.ShadowStackBuffer), in TEST() 121 ASSERT_EQ(BQ.getBuffer(Buffers.NodeIdPairBuffer), BufferQueue::ErrorCode::Ok); in TEST() 122 auto Allocators = FunctionCallTrie::InitAllocatorsFromBuffers(Buffers); in TEST() 136 std::move(Buffers), 1); in TEST() 186 thread_local FunctionCallTrie::Allocators::Buffers Buffers = [] { in threadProcessing() local 187 FunctionCallTrie::Allocators::Buffers B; in threadProcessing() 196 FunctionCallTrie::InitAllocatorsFromBuffers(Buffers); in threadProcessing() [all …]
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_buffer_queue.h | 82 BufferRep *Buffers = nullptr; 90 } while (!Buffers[Offset].Used && Offset != Max); 100 T &operator*() const { return Buffers[Offset].Buff; } 102 T *operator->() const { return &(Buffers[Offset].Buff); } 105 : Buffers(Root), in Iterator() 110 while (!Buffers[Offset].Used && Offset != Max) { in Iterator() 125 return L.Buffers == R.Buffers && L.Offset == R.Offset; 150 BufferRep *Buffers; variable 265 iterator begin() const { return iterator(Buffers, 0, BufferCount); } in begin() 267 return const_iterator(Buffers, 0, BufferCount); in cbegin() [all …]
|
D | xray_buffer_queue.cpp | 105 Buffers = initArray<BufferRep>(BufferCount); in init() 106 if (Buffers == nullptr) in init() 122 auto &T = Buffers[i]; in init() 137 Next = Buffers; in init() 138 First = Buffers; in init() 153 Buffers(nullptr), 154 Next(Buffers), 155 First(Buffers), 171 if (Next == (Buffers + BufferCount)) in getBuffer() 172 Next = Buffers; in getBuffer() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | buffer_sequence_adapter.hpp | 61 template <typename Buffer, typename Buffers> 66 explicit buffer_sequence_adapter(const Buffers& buffer_sequence) in buffer_sequence_adapter() 69 typename Buffers::const_iterator iter = buffer_sequence.begin(); in buffer_sequence_adapter() 70 typename Buffers::const_iterator end = buffer_sequence.end(); in buffer_sequence_adapter() 94 static bool all_empty(const Buffers& buffer_sequence) in all_empty() 96 typename Buffers::const_iterator iter = buffer_sequence.begin(); in all_empty() 97 typename Buffers::const_iterator end = buffer_sequence.end(); in all_empty() 105 static void validate(const Buffers& buffer_sequence) in validate() 107 typename Buffers::const_iterator iter = buffer_sequence.begin(); in validate() 108 typename Buffers::const_iterator end = buffer_sequence.end(); in validate() [all …]
|
D | consuming_buffers.hpp | 151 template <typename Buffer, typename Buffers> 159 typedef consuming_buffers_iterator<Buffer, typename Buffers::const_iterator> 163 consuming_buffers(const Buffers& buffers) in consuming_buffers() 184 typename Buffers::const_iterator first = other.buffers_.begin(); in consuming_buffers() 185 typename Buffers::const_iterator second = other.begin_remainder_; in consuming_buffers() 196 typename Buffers::const_iterator first = other.buffers_.begin(); in operator =() 197 typename Buffers::const_iterator second = other.begin_remainder_; in operator =() 254 Buffers buffers_; 257 typename Buffers::const_iterator begin_remainder_;
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.subgroupExtendedTypesVote.comp.out | 35 Name 32 "Buffers" 36 MemberName 32(Buffers) 0 "i8" 37 MemberName 32(Buffers) 1 "u8" 38 MemberName 32(Buffers) 2 "i16" 39 MemberName 32(Buffers) 3 "u16" 40 MemberName 32(Buffers) 4 "i64" 41 MemberName 32(Buffers) 5 "u64" 42 MemberName 32(Buffers) 6 "f16" 43 MemberName 32(Buffers) 7 "r" 53 MemberDecorate 32(Buffers) 0 Offset 0 [all …]
|
D | spv.subgroupVote.comp.out | 21 Name 24 "Buffers" 22 MemberName 24(Buffers) 0 "f4" 23 MemberName 24(Buffers) 1 "i4" 24 MemberName 24(Buffers) 2 "u4" 25 MemberName 24(Buffers) 3 "d4" 26 MemberName 24(Buffers) 4 "r" 36 MemberDecorate 24(Buffers) 0 Offset 0 37 MemberDecorate 24(Buffers) 1 Offset 16 38 MemberDecorate 24(Buffers) 2 Offset 32 39 MemberDecorate 24(Buffers) 3 Offset 64 [all …]
|
D | spv.shaderGroupVote.comp.out | 17 Name 10 "Buffers" 18 MemberName 10(Buffers) 0 "b" 20 MemberDecorate 10(Buffers) 0 Offset 0 21 Decorate 10(Buffers) BufferBlock 30 10(Buffers): TypeStruct 9(int) 31 11: TypePointer Uniform 10(Buffers)
|
D | spv.subgroupExtendedTypesBallot.comp.out | 35 Name 31 "Buffers" 36 MemberName 31(Buffers) 0 "i8" 37 MemberName 31(Buffers) 1 "u8" 38 MemberName 31(Buffers) 2 "i16" 39 MemberName 31(Buffers) 3 "u16" 40 MemberName 31(Buffers) 4 "i64" 41 MemberName 31(Buffers) 5 "u64" 42 MemberName 31(Buffers) 6 "f16" 52 MemberDecorate 31(Buffers) 0 Offset 0 53 MemberDecorate 31(Buffers) 1 Offset 4 [all …]
|
D | spv.subgroupExtendedTypesShuffleRelative.comp.out | 35 Name 31 "Buffers" 36 MemberName 31(Buffers) 0 "i8" 37 MemberName 31(Buffers) 1 "u8" 38 MemberName 31(Buffers) 2 "i16" 39 MemberName 31(Buffers) 3 "u16" 40 MemberName 31(Buffers) 4 "i64" 41 MemberName 31(Buffers) 5 "u64" 42 MemberName 31(Buffers) 6 "f16" 52 MemberDecorate 31(Buffers) 0 Offset 0 53 MemberDecorate 31(Buffers) 1 Offset 4 [all …]
|
D | spv.subgroupExtendedTypesShuffle.comp.out | 35 Name 31 "Buffers" 36 MemberName 31(Buffers) 0 "i8" 37 MemberName 31(Buffers) 1 "u8" 38 MemberName 31(Buffers) 2 "i16" 39 MemberName 31(Buffers) 3 "u16" 40 MemberName 31(Buffers) 4 "i64" 41 MemberName 31(Buffers) 5 "u64" 42 MemberName 31(Buffers) 6 "f16" 52 MemberDecorate 31(Buffers) 0 Offset 0 53 MemberDecorate 31(Buffers) 1 Offset 4 [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.subgroupExtendedTypesVote.comp.out | 35 Name 32 "Buffers" 36 MemberName 32(Buffers) 0 "i8" 37 MemberName 32(Buffers) 1 "u8" 38 MemberName 32(Buffers) 2 "i16" 39 MemberName 32(Buffers) 3 "u16" 40 MemberName 32(Buffers) 4 "i64" 41 MemberName 32(Buffers) 5 "u64" 42 MemberName 32(Buffers) 6 "f16" 43 MemberName 32(Buffers) 7 "r" 53 MemberDecorate 32(Buffers) 0 Offset 0 [all …]
|
D | spv.subgroupVote.comp.out | 21 Name 24 "Buffers" 22 MemberName 24(Buffers) 0 "f4" 23 MemberName 24(Buffers) 1 "i4" 24 MemberName 24(Buffers) 2 "u4" 25 MemberName 24(Buffers) 3 "d4" 26 MemberName 24(Buffers) 4 "r" 36 MemberDecorate 24(Buffers) 0 Offset 0 37 MemberDecorate 24(Buffers) 1 Offset 16 38 MemberDecorate 24(Buffers) 2 Offset 32 39 MemberDecorate 24(Buffers) 3 Offset 64 [all …]
|
D | spv.shaderGroupVote.comp.out | 17 Name 10 "Buffers" 18 MemberName 10(Buffers) 0 "b" 20 MemberDecorate 10(Buffers) 0 Offset 0 21 Decorate 10(Buffers) BufferBlock 30 10(Buffers): TypeStruct 9(int) 31 11: TypePointer Uniform 10(Buffers)
|
D | spv.subgroupExtendedTypesBallot.comp.out | 35 Name 31 "Buffers" 36 MemberName 31(Buffers) 0 "i8" 37 MemberName 31(Buffers) 1 "u8" 38 MemberName 31(Buffers) 2 "i16" 39 MemberName 31(Buffers) 3 "u16" 40 MemberName 31(Buffers) 4 "i64" 41 MemberName 31(Buffers) 5 "u64" 42 MemberName 31(Buffers) 6 "f16" 52 MemberDecorate 31(Buffers) 0 Offset 0 53 MemberDecorate 31(Buffers) 1 Offset 4 [all …]
|
D | spv.subgroupExtendedTypesShuffleRelative.comp.out | 35 Name 31 "Buffers" 36 MemberName 31(Buffers) 0 "i8" 37 MemberName 31(Buffers) 1 "u8" 38 MemberName 31(Buffers) 2 "i16" 39 MemberName 31(Buffers) 3 "u16" 40 MemberName 31(Buffers) 4 "i64" 41 MemberName 31(Buffers) 5 "u64" 42 MemberName 31(Buffers) 6 "f16" 52 MemberDecorate 31(Buffers) 0 Offset 0 53 MemberDecorate 31(Buffers) 1 Offset 4 [all …]
|
D | spv.subgroupExtendedTypesShuffle.comp.out | 35 Name 31 "Buffers" 36 MemberName 31(Buffers) 0 "i8" 37 MemberName 31(Buffers) 1 "u8" 38 MemberName 31(Buffers) 2 "i16" 39 MemberName 31(Buffers) 3 "u16" 40 MemberName 31(Buffers) 4 "i64" 41 MemberName 31(Buffers) 5 "u64" 42 MemberName 31(Buffers) 6 "f16" 52 MemberDecorate 31(Buffers) 0 Offset 0 53 MemberDecorate 31(Buffers) 1 Offset 4 [all …]
|
/external/llvm/tools/dsymutil/ |
D | BinaryHolder.cpp | 25 std::vector<MemoryBufferRef> Buffers; in getMachOFatMemoryBuffers() local 30 Buffers.emplace_back(ObjData, Filename); in getMachOFatMemoryBuffers() 32 return Buffers; in getMachOFatMemoryBuffers() 101 std::vector<MemoryBufferRef> Buffers; in GetArchiveMemberBuffers() local 102 Buffers.reserve(CurrentArchives.size()); in GetArchiveMemberBuffers() 120 Buffers.push_back(*ErrOrMem); in GetArchiveMemberBuffers() 128 if (Buffers.empty()) in GetArchiveMemberBuffers() 130 return Buffers; in GetArchiveMemberBuffers()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SourceMgr.h | 57 std::vector<SrcBuffer> Buffers; variable 69 bool isValidBufferID(unsigned i) const { return i && i <= Buffers.size(); } in isValidBufferID() 94 return Buffers[i - 1]; in getBufferInfo() 99 return Buffers[i - 1].Buffer.get(); in getMemoryBuffer() 103 return Buffers.size(); in getNumBuffers() 113 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc() 123 Buffers.push_back(std::move(NB)); in AddNewSourceBuffer() 124 return Buffers.size(); in AddNewSourceBuffer()
|
/external/llvm-project/clang/unittests/Format/ |
D | TestLexer.h | 63 std::vector<std::unique_ptr<llvm::MemoryBuffer>> &Buffers, 65 : Allocator(Allocator), Buffers(Buffers), Style(Style), in Allocator() 102 Buffers.push_back( in getNewLexer() 105 SourceMgr.get().createFileID(Buffers.back()->getMemBufferRef()); in getNewLexer() 112 std::vector<std::unique_ptr<llvm::MemoryBuffer>>& Buffers; variable
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 62 std::vector<SrcBuffer> Buffers; variable 74 bool isValidBufferID(unsigned i) const { return i && i <= Buffers.size(); } in isValidBufferID() 99 return Buffers[i - 1]; in getBufferInfo() 104 return Buffers[i - 1].Buffer.get(); in getMemoryBuffer() 108 return Buffers.size(); in getNumBuffers() 118 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc() 128 Buffers.push_back(std::move(NB)); in AddNewSourceBuffer() 129 return Buffers.size(); in AddNewSourceBuffer()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | SourceMgr.h | 85 std::vector<SrcBuffer> Buffers; variable 93 bool isValidBufferID(unsigned i) const { return i && i <= Buffers.size(); } in isValidBufferID() 119 return Buffers[i - 1]; in getBufferInfo() 124 return Buffers[i - 1].Buffer.get(); in getMemoryBuffer() 127 unsigned getNumBuffers() const { return Buffers.size(); } in getNumBuffers() 136 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc() 146 Buffers.push_back(std::move(NB)); in AddNewSourceBuffer() 147 return Buffers.size(); in AddNewSourceBuffer()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | SourceMgr.h | 95 std::vector<SrcBuffer> Buffers; variable 103 bool isValidBufferID(unsigned i) const { return i && i <= Buffers.size(); } in isValidBufferID() 129 return Buffers[i - 1]; in getBufferInfo() 134 return Buffers[i - 1].Buffer.get(); in getMemoryBuffer() 138 return Buffers.size(); in getNumBuffers() 148 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc() 158 Buffers.push_back(std::move(NB)); in AddNewSourceBuffer() 159 return Buffers.size(); in AddNewSourceBuffer()
|