Home
last modified time | relevance | path

Searched refs:usesAdditionalBuffer (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_pt_node_array_reader.cpp34 const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(ptNodeArrayPos); in readPtNodeArrayInfoAndReturnIfValid() local
35 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readPtNodeArrayInfoAndReturnIfValid()
37 if (usesAdditionalBuffer) { in readPtNodeArrayInfoAndReturnIfValid()
42 if (usesAdditionalBuffer) { in readPtNodeArrayInfoAndReturnIfValid()
63 const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(forwordLinkPos); in readForwardLinkAndReturnIfValid() local
64 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readForwardLinkAndReturnIfValid()
66 if (usesAdditionalBuffer) { in readForwardLinkAndReturnIfValid()
Dver4_patricia_trie_node_reader.cpp39 const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(ptNodePos); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local
40 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
43 if (usesAdditionalBuffer) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
61 if (usesAdditionalBuffer) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
67 if (usesAdditionalBuffer) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
72 if (usesAdditionalBuffer && childrenPos != NOT_A_DICT_POS) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
75 if (usesAdditionalBuffer) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
Dver4_patricia_trie_node_writer.cpp38 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsDeleted() local
39 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsDeleted()
40 if (usesAdditionalBuffer) { in markPtNodeAsDeleted()
69 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsMoved() local
70 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsMoved()
71 if (usesAdditionalBuffer) { in markPtNodeAsMoved()
114 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsWillBecomeNonTerminal() local
115 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsWillBecomeNonTerminal()
116 if (usesAdditionalBuffer) { in markPtNodeAsWillBecomeNonTerminal()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_pt_node_array_reader.cpp43 const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(ptNodeArrayPos); in readPtNodeArrayInfoAndReturnIfValid() local
44 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readPtNodeArrayInfoAndReturnIfValid()
46 if (usesAdditionalBuffer) { in readPtNodeArrayInfoAndReturnIfValid()
51 if (usesAdditionalBuffer) { in readPtNodeArrayInfoAndReturnIfValid()
72 const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(forwordLinkPos); in readForwardLinkAndReturnIfValid() local
73 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readForwardLinkAndReturnIfValid()
75 if (usesAdditionalBuffer) { in readForwardLinkAndReturnIfValid()
Dver4_patricia_trie_node_reader.cpp48 const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(ptNodePos); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local
49 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
52 if (usesAdditionalBuffer) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
70 if (usesAdditionalBuffer) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
84 if (usesAdditionalBuffer) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
89 if (usesAdditionalBuffer && childrenPos != NOT_A_DICT_POS) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
92 if (usesAdditionalBuffer) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
Dver4_patricia_trie_node_writer.cpp48 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsDeleted() local
49 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsDeleted()
50 if (usesAdditionalBuffer) { in markPtNodeAsDeleted()
78 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsMoved() local
79 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsMoved()
80 if (usesAdditionalBuffer) { in markPtNodeAsMoved()
123 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsWillBecomeNonTerminal() local
124 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsWillBecomeNonTerminal()
125 if (usesAdditionalBuffer) { in markPtNodeAsWillBecomeNonTerminal()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbuffer_with_extendable_buffer.cpp73 const bool usesAdditionalBuffer = isInAdditionalBuffer(*pos); in writeUintAndAdvancePosition() local
75 usesAdditionalBuffer ? mAdditionalBuffer.data() : mOriginalBuffer.data(); in writeUintAndAdvancePosition()
76 if (usesAdditionalBuffer) { in writeUintAndAdvancePosition()
80 if (usesAdditionalBuffer) { in writeUintAndAdvancePosition()
93 const bool usesAdditionalBuffer = isInAdditionalBuffer(*pos); in writeCodePointsAndAdvancePosition() local
95 usesAdditionalBuffer ? mAdditionalBuffer.data() : mOriginalBuffer.data(); in writeCodePointsAndAdvancePosition()
96 if (usesAdditionalBuffer) { in writeCodePointsAndAdvancePosition()
101 if (usesAdditionalBuffer) { in writeCodePointsAndAdvancePosition()
Dbuffer_with_extendable_buffer.h65 AK_FORCE_INLINE const uint8_t *getBuffer(const bool usesAdditionalBuffer) const { in getBuffer() argument
66 if (usesAdditionalBuffer) { in getBuffer()