OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BinaryFormat
(Results
1 - 4
of
4
) sorted by null
/packages/inputmethods/LatinIME/native/src/
binary_format.h
24
class
BinaryFormat
{
57
inline int
BinaryFormat
::detectFormat(const uint8_t* const dict) {
63
inline int
BinaryFormat
::getGroupCountAndForwardPointer(const uint8_t* const dict, int* pos) {
67
inline uint8_t
BinaryFormat
::getFlagsAndForwardPointer(const uint8_t* const dict, int* pos) {
71
inline int32_t
BinaryFormat
::getCharCodeAndForwardPointer(const uint8_t* const dict, int* pos) {
90
inline int
BinaryFormat
::readFrequencyWithoutMovingPointer(const uint8_t* const dict,
95
inline int
BinaryFormat
::skipOtherCharacters(const uint8_t* const dict, const int pos) {
121
inline int
BinaryFormat
::skipAttributes(const uint8_t* const dict, const int pos) {
138
inline int
BinaryFormat
::skipChildrenPosition(const uint8_t flags, const int pos) {
142
inline int
BinaryFormat
::skipFrequency(const uint8_t flags, const int pos)
[
all
...]
bigram_dictionary.cpp
115
int pos =
BinaryFormat
::getTerminalPosition(root, prevWord, prevWordLength);
118
const int flags =
BinaryFormat
::getFlagsAndForwardPointer(root, &pos);
121
BinaryFormat
::getCharCodeAndForwardPointer(root, &pos);
123
pos =
BinaryFormat
::skipOtherCharacters(root, pos);
125
pos =
BinaryFormat
::skipChildrenPosition(flags, pos);
126
pos =
BinaryFormat
::skipFrequency(flags, pos);
130
bigramFlags =
BinaryFormat
::getFlagsAndForwardPointer(root, &pos);
132
const int bigramPos =
BinaryFormat
::getAttributeAddressAndForwardPointer(root, bigramFlags,
134
const int length =
BinaryFormat
::getWordAtAddress(root, bigramPos, MAX_WORD_LENGTH,
unigram_dictionary.cpp
472
int32_t character =
BinaryFormat
::getCharCodeAndForwardPointer(root, &pos);
477
*outPos = hasMultipleChars ?
BinaryFormat
::skipOtherCharacters(root, pos) : pos;
484
character =
BinaryFormat
::getCharCodeAndForwardPointer(root, &pos);
488
*outPos =
BinaryFormat
::skipOtherCharacters(root, pos);
493
character =
BinaryFormat
::getCharCodeAndForwardPointer(root, &pos);
532
const uint8_t flags =
BinaryFormat
::getFlagsAndForwardPointer(root, &pos);
540
const int frequency =
BinaryFormat
::readFrequencyWithoutMovingPointer(root, pos);
543
pos =
BinaryFormat
::skipFrequency(flags, pos);
544
const int siblingPos =
BinaryFormat
::skipChildrenPosAndAttributes(root, flags, pos);
545
const int childrenNodePos =
BinaryFormat
::readChildrenPosition(root, flags, pos)
[
all
...]
/packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionary.cpp
111
if (
BinaryFormat
::UNKNOWN_FORMAT ==
BinaryFormat
::detectFormat((uint8_t*)dictBuf)) {
Completed in 27 milliseconds