HomeSort by relevance Sort by last modified time
    Searched refs:getTailPosition (Results 1 - 25 of 26) sorted by null

1 2

  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
sparse_table.cpp 26 if (id < 0 || mIndexTableBuffer->getTailPosition() <= readingPos) {
38 || contentTableReadingPos >= mContentTableBuffer->getTailPosition()) {
50 int tailPos = mIndexTableBuffer->getTailPosition();
62 getPosInContentTable(id, index), mContentTableBuffer->getTailPosition(),
70 const int index = getIndexFromContentTablePos(mContentTableBuffer->getTailPosition());
81 "mDataSize: %d", writingPos, mContentTableBuffer->getTailPosition(), mDataSize);
buffer_with_extendable_buffer.cpp 55 return checkAndPrepareWriting(getTailPosition(), size);
134 const size_t tailPosition = static_cast<size_t>(getTailPosition());
155 const int tailPos = sourceBuffer->getTailPosition();
dict_file_writing_utils.cpp 94 ByteArrayUtils::writeUintAndAdvancePosition(bufferSize, buffer->getTailPosition(),
120 buffer->getTailPosition());
buffer_with_extendable_buffer.h 48 AK_FORCE_INLINE int getTailPosition() const {
trie_map.h 392 return (mBuffer.getTailPosition() - ROOT_BITMAP_ENTRY_POS) / ENTRY_SIZE;
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_pt_node_array_reader.cpp 36 if (ptNodeArrayPos < 0 || ptNodeArrayPos >= mBuffer->getTailPosition()) {
39 ptNodeArrayPos, mBuffer->getTailPosition());
65 if (forwordLinkPos < 0 || forwordLinkPos >= mBuffer->getTailPosition()) {
68 forwordLinkPos, mBuffer->getTailPosition());
ver4_patricia_trie_node_reader.cpp 41 if (ptNodePos < 0 || ptNodePos >= mBuffer->getTailPosition()) {
44 ptNodePos, mBuffer->getTailPosition());
ver4_patricia_trie_policy.cpp 272 if (mDictBuffer->getTailPosition() >= MIN_DICT_SIZE_TO_REFUSE_DYNAMIC_OPERATIONS) {
274 mDictBuffer->getTailPosition());
352 if (mDictBuffer->getTailPosition() >= MIN_DICT_SIZE_TO_REFUSE_DYNAMIC_OPERATIONS) {
354 mDictBuffer->getTailPosition());
414 if (mDictBuffer->getTailPosition() >= MIN_DICT_SIZE_TO_REFUSE_DYNAMIC_OPERATIONS) {
416 mDictBuffer->getTailPosition());
513 } else if (mDictBuffer->getTailPosition() >= MIN_DICT_SIZE_TO_REFUSE_DYNAMIC_OPERATIONS
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_pt_node_array_reader.cpp 27 if (ptNodeArrayPos < 0 || ptNodeArrayPos >= mBuffer->getTailPosition()) {
30 ptNodeArrayPos, mBuffer->getTailPosition());
56 if (forwordLinkPos < 0 || forwordLinkPos >= mBuffer->getTailPosition()) {
59 forwordLinkPos, mBuffer->getTailPosition());
ver4_patricia_trie_node_reader.cpp 32 if (ptNodePos < 0 || ptNodePos >= mBuffer->getTailPosition()) {
35 ptNodePos, mBuffer->getTailPosition());
ver4_patricia_trie_policy.cpp 185 if (mDictBuffer->getTailPosition() >= MIN_DICT_SIZE_TO_REFUSE_DYNAMIC_OPERATIONS) {
187 mDictBuffer->getTailPosition());
277 if (mDictBuffer->getTailPosition() >= MIN_DICT_SIZE_TO_REFUSE_DYNAMIC_OPERATIONS) {
279 mDictBuffer->getTailPosition());
340 if (mDictBuffer->getTailPosition() >= MIN_DICT_SIZE_TO_REFUSE_DYNAMIC_OPERATIONS) {
342 mDictBuffer->getTailPosition());
468 } else if (mDictBuffer->getTailPosition() >= MIN_DICT_SIZE_TO_REFUSE_DYNAMIC_OPERATIONS
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
bigram_dict_content.h 71 int writingPos = getContentBuffer()->getTailPosition();
84 const int bigramListPos = getContentBuffer()->getTailPosition();
101 return pos == getContentBuffer()->getTailPosition();
probability_dict_content.h 45 mSize(getBuffer()->getTailPosition() / getEntrySize()) {}
terminal_position_lookup_table.h 44 mSize(getBuffer()->getTailPosition()
shortcut_dict_content.cpp 36 if (*shortcutEntryPos < 0 || *shortcutEntryPos >= shortcutListBuffer->getTailPosition()) {
38 *shortcutEntryPos, shortcutListBuffer->getTailPosition());
87 const int shortcutListPos = getContentBuffer()->getTailPosition();
106 const int shortcutListListPos = getContentBuffer()->getTailPosition();
terminal_position_lookup_table.cpp 65 if (getEntryPos(mSize) < getBuffer()->getTailPosition()) {
probability_dict_content.cpp 70 int writingPos = getBuffer()->getTailPosition();
85 if (getEntryPos(mSize) < getBuffer()->getTailPosition()) {
bigram_dict_content.cpp 36 if (*bigramEntryPos < 0 || bigramEntryTailPos > bigramListBuffer->getTailPosition()) {
39 bigramListBuffer->getTailPosition());
157 const int bigramListPos = getContentBuffer()->getTailPosition();
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
dynamic_pt_gc_event_listeners.cpp 83 int writingPos = mBufferToWrite->getTailPosition();
96 int writingPos = mBufferToWrite->getTailPosition();
120 int writingPos = mBufferToWrite->getTailPosition();
dynamic_pt_updating_helper.cpp 129 const int newPtNodeArrayPos = mBuffer->getTailPosition();
146 const int movedPos = mBuffer->getTailPosition();
166 const int newPtNodeArrayPos = mBuffer->getTailPosition();
177 int writingPos = mBuffer->getTailPosition();
210 const int firstPartOfReallocatedPtNodePos = mBuffer->getTailPosition();
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
terminal_position_lookup_table.h 36 mSize(getBuffer()->getTailPosition()
shortcut_dict_content.cpp 27 if (*shortcutEntryPos < 0 || *shortcutEntryPos >= shortcutListBuffer->getTailPosition()) {
29 *shortcutEntryPos, shortcutListBuffer->getTailPosition());
72 const int shortcutListPos = getContentBuffer()->getTailPosition();
91 const int shortcutListListPos = getContentBuffer()->getTailPosition();
language_model_dict_content_global_counters.h 94 if (pos + COUNTER_SIZE_IN_BYTES > buffer.getTailPosition()) {
terminal_position_lookup_table.cpp 55 if (getEntryPos(mSize) < getBuffer()->getTailPosition()) {
  /packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
buffer_with_extendable_buffer_test.cpp 52 EXPECT_EQ(0, buffer.getTailPosition());
54 EXPECT_EQ(4, buffer.getTailPosition());
56 EXPECT_EQ(12, buffer.getTailPosition());

Completed in 284 milliseconds

1 2