OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ptNodePos
(Results
1 - 13
of
13
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
dynamic_patricia_trie_node_reader.cpp
27
const int
ptNodePos
, const int maxCodePointCount, int *const outCodePoints) {
28
if (
ptNodePos
< 0 ||
ptNodePos
>= mBuffer->getTailPosition()) {
31
ptNodePos
, mBuffer->getTailPosition());
36
const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(
ptNodePos
);
38
int pos =
ptNodePos
;
39
mHeadPos =
ptNodePos
;
dynamic_patricia_trie_reading_utils.cpp
48
/* static */ int DptReadingUtils::getParentPtNodePos(const int parentOffset, const int
ptNodePos
) {
52
return
ptNodePos
;
54
return parentOffset +
ptNodePos
;
patricia_trie_policy.h
62
int getUnigramProbabilityOfPtNode(const int
ptNodePos
) const;
64
int getShortcutPositionOfPtNode(const int
ptNodePos
) const;
66
int getBigramsPositionOfPtNode(const int
ptNodePos
) const;
134
int createAndGetLeavingChildNode(const DicNode *const dicNode, const int
ptNodePos
,
dynamic_patricia_trie_node_reader.h
52
AK_FORCE_INLINE void fetchNodeInfoInBufferFromPtNodePos(const int
ptNodePos
) {
53
fetchNodeInfoInBufferFromPtNodePosAndGetNodeCodePoints(
ptNodePos
,
58
const int
ptNodePos
, const int maxCodePointCount, int *const outCodePoints) {
61
fetchPtNodeInfoFromBufferAndProcessMovedPtNode(
ptNodePos
, maxCodePointCount, outCodePoints);
157
void fetchPtNodeInfoFromBufferAndProcessMovedPtNode(const int
ptNodePos
,
patricia_trie_policy.cpp
64
*
ptNodePos
: the byte position of the terminal PtNode of the word we are searching for (this is
72
const int
ptNodePos
, const int maxCodePointCount, int *const outCodePoints,
93
if (
ptNodePos
== startPos) {
136
if (childrenPos >
ptNodePos
) {
228
// If we have looked through all the PtNodes and found no match, the
ptNodePos
is
252
const int
ptNodePos
= pos;
284
return
ptNodePos
;
334
int PatriciaTriePolicy::getUnigramProbabilityOfPtNode(const int
ptNodePos
) const {
335
if (
ptNodePos
== NOT_A_DICT_POS) {
338
int pos =
ptNodePos
;
[
all
...]
dynamic_patricia_trie_policy.h
65
int getUnigramProbabilityOfPtNode(const int
ptNodePos
) const;
67
int getShortcutPositionOfPtNode(const int
ptNodePos
) const;
69
int getBigramsPositionOfPtNode(const int
ptNodePos
) const;
dynamic_patricia_trie_policy.cpp
75
const int
ptNodePos
, const int maxCodePointCount, int *const outCodePoints,
83
readingHelper.initWithPtNodePos(
ptNodePos
);
85
// Node at the
ptNodePos
is not a valid terminal node.
94
// The
ptNodePos
is not a valid terminal node position in the dictionary.
178
int DynamicPatriciaTriePolicy::getUnigramProbabilityOfPtNode(const int
ptNodePos
) const {
179
if (
ptNodePos
== NOT_A_DICT_POS) {
184
nodeReader.fetchNodeInfoInBufferFromPtNodePos(
ptNodePos
);
191
int DynamicPatriciaTriePolicy::getShortcutPositionOfPtNode(const int
ptNodePos
) const {
192
if (
ptNodePos
== NOT_A_DICT_POS) {
197
nodeReader.fetchNodeInfoInBufferFromPtNodePos(
ptNodePos
);
[
all
...]
dynamic_patricia_trie_reading_helper.h
100
AK_FORCE_INLINE void initWithPtNodePos(const int
ptNodePos
) {
101
if (
ptNodePos
== NOT_A_DICT_POS) {
105
mReadingState.mPos =
ptNodePos
;
dynamic_patricia_trie_reading_utils.h
42
static int getParentPtNodePos(const int parentOffset, const int
ptNodePos
);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
Ver3DictDecoder.java
116
public PtNodeInfo readPtNode(final int
ptNodePos
, final FormatOptions options) {
117
int addressPointer =
ptNodePos
;
178
return new PtNodeInfo(
ptNodePos
, addressPointer, flags, characters, frequency,
Ver4DictDecoder.java
196
public PtNodeInfo readPtNode(int
ptNodePos
, FormatOptions options) {
197
int addressPointer =
ptNodePos
;
269
return new PtNodeInfo(
ptNodePos
, addressPointer, flags, characters, frequency,
DictDecoder.java
47
* @param
ptNodePos
the position of PtNode.
51
public PtNodeInfo readPtNode(final int
ptNodePos
, final FormatOptions formatOptions);
BinaryDictIOUtils.java
187
final int
ptNodePos
= dictDecoder.getPosition();
188
final PtNodeInfo currentInfo = dictDecoder.readPtNode(
ptNodePos
,
213
return
ptNodePos
;
Completed in 77 milliseconds