Home
last modified time | relevance | path

Searched refs:elt_idx (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit.c125 unsigned elt_idx; in vsplit_add_cache_ubyte() local
126 elt_idx = vsplit_get_base_idx(start, fetch); in vsplit_add_cache_ubyte()
127 elt_idx = (unsigned)((int)(DRAW_GET_IDX(elts, elt_idx)) + elt_bias); in vsplit_add_cache_ubyte()
129 if (elt_bias && elt_idx == DRAW_MAX_FETCH_IDX && !vsplit->cache.has_max_fetch) { in vsplit_add_cache_ubyte()
130 unsigned hash = elt_idx % MAP_SIZE; in vsplit_add_cache_ubyte()
134 vsplit_add_cache(vsplit, elt_idx); in vsplit_add_cache_ubyte()
142 unsigned elt_idx; in vsplit_add_cache_ushort() local
143 elt_idx = vsplit_get_base_idx(start, fetch); in vsplit_add_cache_ushort()
144 elt_idx = (unsigned)((int)(DRAW_GET_IDX(elts, elt_idx)) + elt_bias); in vsplit_add_cache_ushort()
146 if (elt_bias && elt_idx == DRAW_MAX_FETCH_IDX && !vsplit->cache.has_max_fetch) { in vsplit_add_cache_ushort()
[all …]
/external/icing/icing/legacy/index/
Dicing-array-storage.cc148 void *IcingArrayStorage::GetMutableMemInternal(uint32_t elt_idx, in GetMutableMemInternal() argument
150 uint32_t start_byte = elt_idx * elt_size_; in GetMutableMemInternal()
153 if (!GrowIfNecessary(elt_idx + elt_len)) { in GetMutableMemInternal()
157 cur_num_ = max(cur_num_, elt_idx + elt_len); in GetMutableMemInternal()
161 if (elt_idx < changes_end_) { in GetMutableMemInternal()
162 uint32_t change_len = min(changes_end_, elt_idx + elt_len) - elt_idx; in GetMutableMemInternal()
175 changes_.push_back(Change(elt_idx, change_len)); in GetMutableMemInternal()
Dicing-array-storage.h77 T *GetMutableMem(uint32_t elt_idx, uint32_t elt_len) { in GetMutableMem() argument
78 return static_cast<T *>(GetMutableMemInternal(elt_idx, elt_len)); in GetMutableMem()
133 void *GetMutableMemInternal(uint32_t elt_idx, uint32_t elt_len);
/external/mesa3d/src/mesa/tnl/
Dt_split_copy.c243 elt(struct copy_context *copy, GLuint elt_idx) in elt() argument
245 GLuint elt = copy->srcelt[elt_idx] + copy->prim->basevertex; in elt()