OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:entryPos
(Results
1 - 12
of
12
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/shortcut/
ver4_shortcut_list_policy.h
79
const int
entryPos
= mShortcutDictContent->findShortcutEntryAndGetPos(shortcutListPos,
81
if (
entryPos
== NOT_A_DICT_POS) {
100
0 /* outCodePointCount */ , 0 /* probability */, &hasNext,
entryPos
);
102
codePointCount, probability, hasNext,
entryPos
)) {
104
entryPos
);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/shortcut/
ver4_shortcut_list_policy.h
69
const int
entryPos
= mShortcutDictContent->findShortcutEntryAndGetPos(shortcutListPos,
71
if (
entryPos
== NOT_A_DICT_POS) {
90
0 /* outCodePointCount */ , 0 /* probability */, &hasNext,
entryPos
);
92
codePointCount, probability, hasNext,
entryPos
)) {
94
entryPos
);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/
probability_dict_content.cpp
41
int
entryPos
= getEntryPos(terminalId);
43
Ver4DictConstants::FLAGS_IN_PROBABILITY_FILE_SIZE, &
entryPos
);
45
Ver4DictConstants::PROBABILITY_SIZE, &
entryPos
);
48
Ver4DictConstants::TIME_STAMP_FIELD_SIZE, &
entryPos
);
50
Ver4DictConstants::WORD_LEVEL_FIELD_SIZE, &
entryPos
);
52
Ver4DictConstants::WORD_COUNT_FIELD_SIZE, &
entryPos
);
65
const int
entryPos
= getEntryPos(terminalId);
70
while (writingPos <=
entryPos
) {
80
return writeEntry(probabilityEntry,
entryPos
);
135
const int
entryPos
) {
[
all
...]
probability_dict_content.h
66
bool writeEntry(const ProbabilityEntry *const probabilityEntry, const int
entryPos
);
shortcut_dict_content.cpp
169
const int
entryPos
= readingPos;
185
return
entryPos
;
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/bigram/
ver4_bigram_list_policy.cpp
177
const int
entryPos
= readingPos;
189
if (!mBigramDictContent->writeBigramEntry(&updatedBigramEntry,
entryPos
)) {
198
if (!mBigramDictContent->writeBigramEntry(&updatedBigramEntry,
entryPos
)) {
205
if (!mBigramDictContent->writeBigramEntry(&updatedBigramEntry,
entryPos
)) {
245
const int
entryPos
= readingPos;
251
return
entryPos
;
254
invalidEntryPos =
entryPos
;
258
*outTailEntryPos =
entryPos
;
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/bigram/
ver4_bigram_list_policy.cpp
180
const int
entryPos
= readingPos - mBigramDictContent->getBigramEntrySize();
190
if (!mBigramDictContent->writeBigramEntry(&updatedBigramEntry,
entryPos
)) {
199
if (!mBigramDictContent->writeBigramEntry(&updatedBigramEntry,
entryPos
)) {
206
if (!mBigramDictContent->writeBigramEntry(&updatedBigramEntry,
entryPos
)) {
247
const int
entryPos
= readingPos - mBigramDictContent->getBigramEntrySize();
250
*outTailEntryPos =
entryPos
;
256
return
entryPos
;
259
invalidEntryPos =
entryPos
;
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
ver4_patricia_trie_writing_helper.cpp
254
const int
entryPos
= readingPos;
265
priorityQueue.push(DictProbability(
entryPos
, probability,
272
const int
entryPos
= priorityQueue.top().getDictPos();
273
const BigramEntry bigramEntry = bigramDictContent->getBigramEntry(
entryPos
);
275
if (!bigramDictContent->writeBigramEntry(&invalidatedBigramEntry,
entryPos
)) {
276
AKLOGE("Cannot write bigram entry to remove. pos: %d",
entryPos
);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
ver4_patricia_trie_writing_helper.cpp
247
const int
entryPos
= readingPos - bigramDictContent->getBigramEntrySize();
256
priorityQueue.push(DictProbability(
entryPos
, probability,
263
const int
entryPos
= priorityQueue.top().getDictPos();
264
const BigramEntry bigramEntry = bigramDictContent->getBigramEntry(
entryPos
);
266
if (!bigramDictContent->writeBigramEntry(&invalidatedBigramEntry,
entryPos
)) {
267
AKLOGE("Cannot write bigram entry to remove. pos: %d",
entryPos
);