Home
last modified time | relevance | path

Searched refs:COUNTER_SIZE_IN_BYTES (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content_global_counters.h51 if (!bufferToWrite.writeUint(mTotalCount, COUNTER_SIZE_IN_BYTES, in save()
52 TOTAL_COUNT_INDEX * COUNTER_SIZE_IN_BYTES)) { in save()
55 if (!bufferToWrite.writeUint(mMaxValueOfCounters, COUNTER_SIZE_IN_BYTES, in save()
56 MAX_VALUE_OF_COUNTERS_INDEX * COUNTER_SIZE_IN_BYTES)) { in save()
84 const static int COUNTER_SIZE_IN_BYTES; variable
93 const int pos = COUNTER_SIZE_IN_BYTES * index; in readValue()
94 if (pos + COUNTER_SIZE_IN_BYTES > buffer.getTailPosition()) { in readValue()
97 return buffer.readUint(COUNTER_SIZE_IN_BYTES, pos); in readValue()
Dlanguage_model_dict_content_global_counters.cpp28 const int LanguageModelDictContentGlobalCounters::COUNTER_SIZE_IN_BYTES = 4; member in latinime::LanguageModelDictContentGlobalCounters