Home | History | Annotate | Download | only in rtl

Lines Matching defs:idx

67   void Free(Cache *c, IndexT idx) {
68 DCHECK_NE(idx, 0);
71 c->cache[c->pos++] = idx;
74 T *Map(IndexT idx) {
75 DCHECK_NE(idx, 0);
76 DCHECK_LE(idx, kL1Size * kL2Size);
77 return &map_[idx / kL2Size][idx % kL2Size];
83 IndexT idx = c->cache[--c->pos];
84 *(IndexT*)Map(idx) = freelist_;
85 freelist_ = idx;
119 IndexT idx = freelist_;
120 c->cache[c->pos++] = idx;
121 freelist_ = *(IndexT*)Map(idx);
128 IndexT idx = c->cache[--c->pos];
129 *(IndexT*)Map(idx) = freelist_;
130 freelist_ = idx;