Home
last modified time | relevance | path

Searched refs:IndexT (Results 1 – 6 of 6) 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/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/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/antlr/antlr-3.4/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 …]