Searched defs:dictDirPath (Results 1 - 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
H A D | ver4_dict_buffers.cpp | 47 // TODO: take only dictDirPath, and open both header and trie files in the constructor below 53 bool Ver4DictBuffers::flushHeaderAndDictBuffers(const char *const dictDirPath, argument 56 const int tmpDirPathBufSize = FileUtils::getFilePathWithSuffixBufSize(dictDirPath, 59 FileUtils::getFilePathWithSuffix(dictDirPath, 75 const int dictNameBufSize = strlen(dictDirPath) + 1 /* terminator */; 77 FileUtils::getBasename(dictDirPath, dictNameBufSize, dictName); 114 if (!FileUtils::removeDirAndFiles(dictDirPath)) { 115 AKLOGE("Existing directory %s cannot be removed.", dictDirPath); 120 if (rename(tmpDirPath, dictDirPath) != 0) { 121 AKLOGE("%s cannot be renamed to %s", tmpDirPath, dictDirPath); [all...] |
H A D | ver4_patricia_trie_writing_helper.cpp | 45 bool Ver4PatriciaTrieWritingHelper::writeToDictFile(const char *const dictDirPath, argument 60 return mBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); 64 const char *const dictDirPath) { 80 return dictBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); 63 writeToDictFileWithGC(const int rootPtNodeArrayPos, const char *const dictDirPath) argument
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/ |
H A D | dictionary_structure_with_buffer_policy_factory.cpp | 196 const char *const dictDirPath, const int outHeaderFileBufSize, 198 const int dictNameBufSize = strlen(dictDirPath) + 1 /* terminator */; 200 FileUtils::getBasename(dictDirPath, dictNameBufSize, dictName); 201 snprintf(outHeaderFilePath, outHeaderFileBufSize, "%s/%s%s", dictDirPath, 195 getHeaderFilePathInDictDir( const char *const dictDirPath, const int outHeaderFileBufSize, char *const outHeaderFilePath) argument
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
H A D | ver4_dict_buffers.cpp | 41 // TODO: take only dictDirPath, and open both header and trie files in the constructor below 72 bool Ver4DictBuffers::flushHeaderAndDictBuffers(const char *const dictDirPath, argument 75 const int tmpDirPathBufSize = FileUtils::getFilePathWithSuffixBufSize(dictDirPath, 78 FileUtils::getFilePathWithSuffix(dictDirPath, 94 const int dictNameBufSize = strlen(dictDirPath) + 1 /* terminator */; 96 FileUtils::getBasename(dictDirPath, dictNameBufSize, dictName); 135 if (!FileUtils::removeDirAndFiles(dictDirPath)) { 136 AKLOGE("Existing directory %s cannot be removed.", dictDirPath); 141 if (rename(tmpDirPath, dictDirPath) != 0) { 142 AKLOGE("%s cannot be renamed to %s", tmpDirPath, dictDirPath); [all...] |
H A D | ver4_patricia_trie_writing_helper.cpp | 36 bool Ver4PatriciaTrieWritingHelper::writeToDictFile(const char *const dictDirPath, argument 51 return mBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); 55 const char *const dictDirPath) { 71 return dictBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); 54 writeToDictFileWithGC(const int rootPtNodeArrayPos, const char *const dictDirPath) argument
|
Completed in 58 milliseconds