Home
last modified time | relevance | path

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