Lines Matching refs:pos
123 ssize_t pos = vidx >= 0 ? mValues.valueAt(vidx) : -1;
124 ssize_t eidx = pos >= 0 ? mEntryArray.itemAt(pos) : -1;
165 const bool styled = (pos >= 0 && (size_t)pos < mEntryStyleArray.size()) ?
166 mEntryStyleArray[pos].spans.size() : 0;
168 pos = mEntryArray.add(eidx);
170 vidx = mValues.add(value, pos);
173 ent.indices.add(pos);
176 NOISY(printf("Adding string %s to pool: pos=%d eidx=%d vidx=%d\n",
177 String8(value).string(), pos, eidx, vidx));
179 return pos;
569 ssize_t pos = mValues.valueFor(val);
570 if (pos < 0) {
573 return &mEntries[mEntryArray[pos]].indices;