OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:codePointTable
(Results
1 - 6
of
6
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
ver2_patricia_trie_node_reader.h
37
const int *const
codePointTable
)
39
mCodePointTable(
codePointTable
) {}
patricia_trie_policy.cpp
88
const int *const
codePointTable
= mHeaderPolicy.getCodePointTable();
121
mBuffer.data(),
codePointTable
, &pos);
128
mBuffer.data(),
codePointTable
, &pos);
135
mBuffer.data(),
codePointTable
, &pos);
149
codePointTable
, &pos);
200
mBuffer.data(),
codePointTable
, &lastCandidatePtNodePos);
205
mBuffer.data(),
codePointTable
, &lastCandidatePtNodePos);
210
mBuffer.data(),
codePointTable
, &lastCandidatePtNodePos);
412
const int *const
codePointTable
= mHeaderPolicy.getCodePointTable();
414
&mBigramListPolicy,
codePointTable
, &flags, &mergedNodeCodePointCount
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
patricia_trie_reading_utils.cpp
64
const int *const
codePointTable
, int *const pos) {
65
return ByteArrayUtils::readCodePointAndAdvancePosition(buffer,
codePointTable
, pos);
70
const NodeFlags flags, const int maxLength, const int *const
codePointTable
,
74
length = ByteArrayUtils::readStringAndAdvancePosition(buffer, maxLength,
codePointTable
,
77
const int codePoint = getCodePointAndAdvancePosition(buffer,
codePointTable
, pos);
96
const int maxLength, const int *const
codePointTable
, int *const pos) {
101
getCodePointAndAdvancePosition(buffer,
codePointTable
, pos);
138
const DictionaryBigramsStructurePolicy *const bigramPolicy, const int *const
codePointTable
,
146
dictBuf, flags, MAX_WORD_LENGTH,
codePointTable
, outCodePoint, &readingPos);
patricia_trie_reading_utils.h
38
const int *const
codePointTable
, int *const pos);
42
const int maxLength, const int *const
codePointTable
, int *const outBuffer,
47
const int maxLength, const int *const
codePointTable
, int *const pos);
111
const int *const
codePointTable
, NodeFlags *const outFlags,
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
byte_array_utils_test.cpp
27
const int
codePointTable
[] = { 0x6f, 0x6b };
30
// Expect the first entry of
codePointTable
31
EXPECT_EQ(0x6f, ByteArrayUtils::readCodePointAndAdvancePosition(buffer,
codePointTable
, &pos));
32
// Expect the second entry of
codePointTable
33
EXPECT_EQ(0x6b, ByteArrayUtils::readCodePointAndAdvancePosition(buffer,
codePointTable
, &pos));
35
// It isn't picked from the
codePointTable
, since it exceeds the range of the
codePointTable
.
36
EXPECT_EQ(0x100, ByteArrayUtils::readCodePointAndAdvancePosition(buffer,
codePointTable
, &pos));
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
byte_array_utils.h
150
return readCodePointAndAdvancePosition(buffer, nullptr /*
codePointTable
*/, &p);
154
const uint8_t *const buffer, const int *const
codePointTable
, int *const pos) {
156
*
codePointTable
is an array to convert the most frequent characters in this dictionary to
160
*
codePointTable
. The indices are calculated by subtracting 0x20 from the firstByte.
172
if (
codePointTable
) {
173
return
codePointTable
[firstByte - MINIMUM_ONE_BYTE_CHARACTER_VALUE];
186
const int maxLength, const int *const
codePointTable
, int *const outBuffer,
189
int codePoint = readCodePointAndAdvancePosition(buffer,
codePointTable
, pos);
192
codePoint = readCodePointAndAdvancePosition(buffer,
codePointTable
, pos);
201
int codePoint = readCodePointAndAdvancePosition(buffer, nullptr /*
codePointTable
*/, pos)
[
all
...]
Completed in 192 milliseconds