Lines Matching refs:ent
148 entry& ent = mEntries.editItemAt(eidx); in add() local
151 configTypeName->string(), ent.configTypeName.string()); in add()
153 if (ent.configTypeName.size() <= 0) { in add()
154 ent.configTypeName = *configTypeName; in add()
155 } else if (ent.configTypeName != *configTypeName) { in add()
156 ent.configTypeName = " "; in add()
162 entry& ent = mEntries.editItemAt(eidx); in add() local
164 for (addPos=0; addPos<ent.configs.size(); addPos++) { in add()
165 int cmp = ent.configs.itemAt(addPos).compareLogical(*config); in add()
171 ent.configs.insertAt(*config, addPos); in add()
176 if (addPos >= ent.configs.size()) { in add()
180 ent.configs.add(*config); in add()
192 entry& ent = mEntries.editItemAt(eidx); in add() local
193 ent.indices.add(pos); in add()
358 const entry& ent = mEntries[i]; in sortByConfig() local
359 mValues.add(ent.value, ent.indices[0]); in sortByConfig()
365 const entry& ent = mEntries[i]; in sortByConfig()
366 printf("#" ZD " %s: %s\n", (ZD_TYPE)i, ent.makeConfigsString().string(), in sortByConfig()
367 String8(ent.value).string()); in sortByConfig()
442 entry& ent = mEntries.editItemAt(i); in writeStringBlock() local
443 const size_t strSize = (ent.value.size()); in writeStringBlock()
449 encStr = String8(ent.value); in writeStringBlock()
457 ent.offset = strPos; in writeStringBlock()
481 strcpy16_htod(strings, ent.value); in writeStringBlock()
504 entry_style& ent = mEntryStyleArray.editItemAt(i); in writeStringBlock() local
505 const size_t N = ent.spans.size(); in writeStringBlock()
509 ent.offset = styPos-strPos; in writeStringBlock()
517 span->name.index = htodl(ent.spans[i].span.name.index); in writeStringBlock()
518 span->firstChar = htodl(ent.spans[i].span.firstChar); in writeStringBlock()
519 span->lastChar = htodl(ent.spans[i].span.lastChar); in writeStringBlock()
569 entry& ent = mEntries.editItemAt(mEntryArray[i]); in writeStringBlock() local
570 *index++ = htodl(ent.offset); in writeStringBlock()
574 String8(ent.value).string(), in writeStringBlock()
576 ent.offset); in writeStringBlock()