OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ptNodePos
(Results
1 - 6
of
6
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_writing_helper.cpp
227
const int
ptNodePos
= priorityQueue.top().getDictPos();
230
ptNodeReader->fetchPtNodeParamsInBufferFromPtNodePos(
ptNodePos
);
235
AKLOGE("Cannot mark PtNode as willBecomeNonterminal. PtNode pos: %d",
ptNodePos
);
ver4_patricia_trie_node_writer.cpp
68
toBeUpdatedPtNodeParams->getTerminalId(), NOT_A_DICT_POS /*
ptNodePos
*/);
135
toBeUpdatedPtNodeParams->getTerminalId(), NOT_A_DICT_POS /*
ptNodePos
*/)) {
241
const int
ptNodePos
=
244
mPtNodeReader->fetchPtNodeParamsInBufferFromPtNodePos(
ptNodePos
);
413
bool Ver4PatriciaTrieNodeWriter::updatePtNodeFlags(const int
ptNodePos
,
421
if (!DynamicPtWritingUtils::writeFlags(mTrieBuffer, nodeFlags,
ptNodePos
)) {
422
AKLOGE("Cannot write PtNode flags. flags: %x, pos: %d", nodeFlags,
ptNodePos
);
ver4_patricia_trie_policy.cpp
94
const int
ptNodePos
= getTerminalPtNodePosFromWordId(wordId);
95
readingHelper.initWithPtNodePos(
ptNodePos
);
109
const int
ptNodePos
= readingHelper.getTerminalPtNodePositionOfWord(wordCodePoints.data(),
115
return getWordIdFromTerminalPtNodePos(
ptNodePos
);
124
const int
ptNodePos
= getTerminalPtNodePosFromWordId(wordId);
125
const PtNodeParams ptNodeParams(mNodeReader.fetchPtNodeParamsInBufferFromPtNodePos(
ptNodePos
));
165
const int
ptNodePos
= getTerminalPtNodePosFromWordId(wordId);
166
const PtNodeParams ptNodeParams(mNodeReader.fetchPtNodeParamsInBufferFromPtNodePos(
ptNodePos
));
186
if (bigramsIt.getBigramPos() ==
ptNodePos
242
int Ver4PatriciaTriePolicy::getShortcutPositionOfPtNode(const int
ptNodePos
) const
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
patricia_trie_policy.cpp
85
const int
ptNodePos
= getTerminalPtNodePosFromWordId(wordId);
122
if (
ptNodePos
== startPos) {
169
if (childrenPos >
ptNodePos
) {
273
// If we have looked through all the PtNodes and found no match, the
ptNodePos
is
284
const int
ptNodePos
= readingHelper.getTerminalPtNodePositionOfWord(wordCodePoints.data(),
290
return getWordIdFromTerminalPtNodePos(
ptNodePos
);
299
const int
ptNodePos
= getTerminalPtNodePosFromWordId(wordId);
301
mPtNodeReader.fetchPtNodeParamsInBufferFromPtNodePos(
ptNodePos
);
344
const int
ptNodePos
= getTerminalPtNodePosFromWordId(wordId);
346
mPtNodeReader.fetchPtNodeParamsInBufferFromPtNodePos(
ptNodePos
);
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_patricia_trie_policy.cpp
75
const int
ptNodePos
=
77
readingHelper.initWithPtNodePos(
ptNodePos
);
91
const int
ptNodePos
= readingHelper.getTerminalPtNodePositionOfWord(wordCodePoints.data(),
97
if (
ptNodePos
== NOT_A_DICT_POS) {
100
const PtNodeParams ptNodeParams = mNodeReader.fetchPtNodeParamsInBufferFromPtNodePos(
ptNodePos
);
169
const int
ptNodePos
=
171
const PtNodeParams ptNodeParams(mNodeReader.fetchPtNodeParamsInBufferFromPtNodePos(
ptNodePos
));
234
AKLOGE("Cannot add new shortcut target.
PtNodePos
: %d, length: %zd, "
256
const int
ptNodePos
=
258
const PtNodeParams ptNodeParams = mNodeReader.fetchPtNodeParamsInBufferFromPtNodePos(
ptNodePos
);
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictIOUtils.java
183
final int
ptNodePos
= dictDecoder.getPosition();
184
final PtNodeInfo currentInfo = dictDecoder.readPtNode(
ptNodePos
);
199
return currentInfo.isTerminal() ?
ptNodePos
: FormatSpec.NOT_VALID_WORD;
Completed in 125 milliseconds