Searched refs:ENTRY_SIZE (Results 1 – 3 of 3) sorted by relevance
283 static const int ENTRY_SIZE; variable352 return mBuffer.readUint(FIELD0_SIZE, ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE); in readField0()357 ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE + FIELD0_SIZE); in readField1()370 ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE); in writeField0()375 ROOT_BITMAP_ENTRY_POS + entryIndex * ENTRY_SIZE + FIELD0_SIZE); in writeField1()392 return (mBuffer.getTailPosition() - ROOT_BITMAP_ENTRY_POS) / ENTRY_SIZE; in getTailEntryIndex()
26 const int TrieMap::ENTRY_SIZE = FIELD0_SIZE + FIELD1_SIZE; member in latinime::TrieMap41 const int TrieMap::MAX_BUFFER_SIZE = TERMINAL_LINK_MASK * ENTRY_SIZE;245 if (!mBuffer.extend(entryCount * ENTRY_SIZE)) { in allocateTable()
173 template<class TYPE, unsigned ENTRY_SIZE>184 CHECK_LT(ENTRY_SIZE, UINT32_MAX / mElementCapacity); in ListTableEntries()201 CHECK_LT(pos, mTotalNumTableEntries * ENTRY_SIZE); in set()212 (*it)[(pos % (mElementCapacity * ENTRY_SIZE))] = value; in set()220 if (pos >= mTotalNumTableEntries * ENTRY_SIZE) { in get()233 value = (*it)[(pos % (mElementCapacity * ENTRY_SIZE))]; in get()246 entryArray += ENTRY_SIZE; in adjustEntries()257 uint32_t nValues = mNumValuesInCurrEntry % ENTRY_SIZE; in add()264 uint32_t pos = nEntries * ENTRY_SIZE + nValues; in add()268 if ((mNumValuesInCurrEntry % ENTRY_SIZE) == 0) { in add()[all …]