Home
last modified time | relevance | path

Searched refs:IndexT (Results 1 – 10 of 10) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_dense_alloc.h30 typedef u32 IndexT; typedef
32 IndexT cache[kSize];
40 typedef typename Cache::IndexT IndexT; typedef
46 CHECK_GE(1ull << (sizeof(IndexT) * 8), kL1Size * kL2Size); in DenseSlabAlloc()
48 CHECK_GE(sizeof(T), sizeof(IndexT)); in DenseSlabAlloc()
61 IndexT Alloc(Cache *c) { in Alloc()
67 void Free(Cache *c, IndexT idx) { in Free()
74 T *Map(IndexT idx) { in Map()
83 IndexT idx = c->cache[--c->pos]; in FlushCache()
84 *(IndexT*)Map(idx) = freelist_; in FlushCache()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddynamic_ops_test.cc43 template <typename IndexT, typename DataT>
46 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {0}, {5}, {0, 1, 2, 3, 4}); in TestR1()
48 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {2}, {3}, {2, 3, 4}); in TestR1()
50 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {5}, {3}, {5, 6, 7}); in TestR1()
52 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {2}, {0}, {}); in TestR1()
55 template <typename IndexT, typename DataT>
58 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {6}, {4}, {4, 5, 6, 7}); in TestR1OOB()
61 template <typename IndexT, typename DataT>
64 RunR2<IndexT, DataT>({{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}, {0, 0}, {2, 2}, in TestR2()
67 RunR2<IndexT, DataT>({{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}, {1, 1}, {2, 1}, in TestR2()
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_dense_alloc_test.cc27 typedef Alloc::IndexT IndexT; in TEST() typedef
34 IndexT blocks[N]; in TEST()
37 IndexT idx = alloc.Alloc(&cache); in TEST()
45 IndexT idx = blocks[i]; in TEST()
/external/swiftshader/third_party/subzero/src/
DIceLoopAnalyzer.cpp46 using IndexT = uint32_t; typedef in Ice::LoopAnalyzer
47 static constexpr IndexT UndefinedIndex = 0;
48 static constexpr IndexT FirstDefinedIndex = 1;
65 void visit(IndexT VisitIndex) { Index = LowLink = VisitIndex; } in visit()
67 IndexT getIndex() const { return Index; } in getIndex()
69 void tryLink(IndexT NewLink) { in tryLink()
73 IndexT getLowLink() const { return LowLink; } in getLowLink()
89 IndexT Index;
90 IndexT LowLink;
112 IndexT NextIndex = FirstDefinedIndex;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DIndexedMap.h31 using IndexT = typename ToIndexT::argument_type; variable
46 typename StorageT::reference operator[](IndexT n) {
51 typename StorageT::const_reference operator[](IndexT n) const {
68 void grow(IndexT n) { in grow()
74 bool inBounds(IndexT n) const { in inBounds()
/external/llvm/include/llvm/ADT/
DIndexedMap.h32 typedef typename ToIndexT::argument_type IndexT; typedef
46 typename StorageT::reference operator[](IndexT n) {
51 typename StorageT::const_reference operator[](IndexT n) const {
68 void grow(IndexT n) { in grow()
74 bool inBounds(IndexT n) const { in inBounds()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DIndexedMap.h37 typedef typename ToIndexT::argument_type IndexT; typedef
48 typename StorageT::reference operator[](IndexT n) {
53 typename StorageT::const_reference operator[](IndexT n) const {
70 void grow(IndexT n) { in grow()
76 bool inBounds(IndexT n) const { in inBounds()
/external/libcxx/test/libcxx/utilities/variant/variant.variant/
Dvariant_size.pass.cpp58 using IndexT = std::__variant_index_t<Lim::max()-1>; in test_index_internals() typedef
59 using IndexLim = std::numeric_limits<IndexT>; in test_index_internals()
60 static_assert(std::__variant_npos<IndexT> == IndexLim::max(), ""); in test_index_internals()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.pas1315 procedure Replace(const IndexT: IToken; const Text: IANTLRInterface); overload;
1323 procedure Replace(const IndexT: IToken; const Text: String); overload;
1332 procedure Delete(const IndexT: IToken); overload;
2701 procedure Replace(const IndexT: IToken; const Text: IANTLRInterface); overload; virtual;
2709 procedure Replace(const IndexT: IToken; const Text: String); overload;
2718 procedure Delete(const IndexT: IToken); overload; virtual;
5771 procedure TTokenRewriteStream.Delete(const IndexT: IToken);
5773 Delete(DEFAULT_PROGRAM_NAME, IndexT, IndexT);
5981 procedure TTokenRewriteStream.Replace(const IndexT: IToken;
5984 Replace(DEFAULT_PROGRAM_NAME, IndexT, IndexT, Text);
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h2857 template <typename IndexT>
2866 parent_->GetEvaluatedLiteralFor(index).GetFirstElement<IndexT>()); in DynamicSlice()
2892 template <typename IndexT>
2901 parent_->GetEvaluatedLiteralFor(index).GetFirstElement<IndexT>()); in DynamicUpdateSlice()