OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dictPath
(Results
1 - 13
of
13
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
sparse_table_dict_content.cpp
30
bool SparseTableDictContent::flush(const char *const
dictPath
,
33
if (!DictFileWritingUtils::flushBufferToFileWithSuffix(
dictPath
, lookupTableFileNameSuffix,
37
if (!DictFileWritingUtils::flushBufferToFileWithSuffix(
dictPath
, addressTableFileNameSuffix,
41
if (!DictFileWritingUtils::flushBufferToFileWithSuffix(
dictPath
, contentFileNameSuffix,
probability_dict_content.h
41
ProbabilityDictContent(const char *const
dictPath
, const bool hasHistoricalInfo,
43
: SingleDictContent(
dictPath
, Ver4DictConstants::FREQ_FILE_EXTENSION, isUpdatable),
54
bool flushToFile(const char *const
dictPath
) const;
terminal_position_lookup_table.h
41
TerminalPositionLookupTable(const char *const
dictPath
, const bool isUpdatable)
42
: SingleDictContent(
dictPath
,
57
bool flushToFile(const char *const
dictPath
) const;
single_dict_content.h
41
SingleDictContent(const char *const
dictPath
, const char *const contentFileName,
43
: mMmappedBuffer(MmappedBuffer::openBuffer(
dictPath
, contentFileName, isUpdatable)),
73
bool flush(const char *const
dictPath
, const char *const contentFileNameSuffix) const {
74
return DictFileWritingUtils::flushBufferToFileWithSuffix(
dictPath
,
bigram_dict_content.h
39
BigramDictContent(const char *const
dictPath
, const bool hasHistoricalInfo,
41
: SparseTableDictContent(
dictPath
,
90
bool flushToFile(const char *const
dictPath
) const {
91
return flush(
dictPath
, Ver4DictConstants::BIGRAM_LOOKUP_TABLE_FILE_EXTENSION,
sparse_table_dict_content.h
43
AK_FORCE_INLINE SparseTableDictContent(const char *const
dictPath
,
48
MmappedBuffer::openBuffer(
dictPath
, lookupTableFileName, isUpdatable)),
50
MmappedBuffer::openBuffer(
dictPath
, addressTableFileName, isUpdatable)),
52
MmappedBuffer::openBuffer(
dictPath
, contentFileName, isUpdatable)),
shortcut_dict_content.h
38
ShortcutDictContent(const char *const
dictPath
, const bool isUpdatable)
39
: SparseTableDictContent(
dictPath
,
65
bool flushToFile(const char *const
dictPath
) const;
terminal_position_lookup_table.cpp
62
bool TerminalPositionLookupTable::flushToFile(const char *const
dictPath
) const {
75
return lookupTableToWrite.flush(
dictPath
,
80
return flush(
dictPath
, Ver4DictConstants::TERMINAL_ADDRESS_TABLE_FILE_EXTENSION);
probability_dict_content.cpp
84
bool ProbabilityDictContent::flushToFile(const char *const
dictPath
) const {
94
return probabilityDictContentToWrite.flush(
dictPath
,
97
return flush(
dictPath
, Ver4DictConstants::FREQ_FILE_EXTENSION);
shortcut_dict_content.cpp
71
bool ShortcutDictContent::flushToFile(const char *const
dictPath
) const {
72
return flush(
dictPath
, Ver4DictConstants::SHORTCUT_LOOKUP_TABLE_FILE_EXTENSION,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_dict_buffers.cpp
40
const char *const
dictPath
, MmappedBuffer::MmappedBufferPtr headerBuffer,
49
return Ver4DictBuffersPtr(new Ver4DictBuffers(
dictPath
, std::move(headerBuffer), isUpdatable,
79
char
dictPath
[dictPathBufSize];
80
FileUtils::getFilePath(tmpDirPath, dictName, dictPathBufSize,
dictPath
);
83
if (!DictFileWritingUtils::flushBufferToFileWithSuffix(
dictPath
,
90
if (!DictFileWritingUtils::flushBufferToFileWithSuffix(
dictPath
,
97
if (!mTerminalPositionLookupTable.flushToFile(
dictPath
)) {
101
if (!mProbabilityDictContent.flushToFile(
dictPath
)) {
105
if (!mBigramDictContent.flushToFile(
dictPath
)) {
109
if (!mShortcutDictContent.flushToFile(
dictPath
)) {
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_dict_buffers.cpp
34
const char *const
dictPath
, MmappedBuffer::MmappedBufferPtr &&headerBuffer,
43
MmappedBuffer::MmappedBufferPtr bodyBuffer = MmappedBuffer::openBuffer(
dictPath
,
95
char
dictPath
[dictPathBufSize];
96
FileUtils::getFilePath(tmpDirPath, dictName, dictPathBufSize,
dictPath
);
99
if (!DictFileWritingUtils::flushBufferToFileWithSuffix(
dictPath
,
107
const int bodyFilePathBufSize = FileUtils::getFilePathWithSuffixBufSize(
dictPath
,
110
FileUtils::getFilePathWithSuffix(
dictPath
, Ver4DictConstants::BODY_FILE_EXTENSION,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
dictionary_structure_with_buffer_policy_factory.cpp
148
char
dictPath
[dictDirPathBufSize];
150
DictConstants::HEADER_FILE_EXTENSION, dictDirPathBufSize,
dictPath
)) {
157
DictBuffers::openVer4DictBuffers(
dictPath
, std::move(mmappedBuffer), formatVersion);
160
dictPath
);
Completed in 179 milliseconds