Searched defs:dictDirPath (Results 1 - 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/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) { 83 return dictBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); 63 writeToDictFileWithGC(const int rootPtNodeArrayPos, const char *const dictDirPath) argument
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
H A D | ver4_patricia_trie_writing_helper.cpp | 36 bool Ver4PatriciaTrieWritingHelper::writeToDictFile(const char *const dictDirPath, argument 53 return mBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); 57 const char *const dictDirPath) { 72 return dictBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); 56 writeToDictFileWithGC(const int rootPtNodeArrayPos, const char *const dictDirPath) argument
|
H A D | ver4_dict_buffers.cpp | 41 // TODO: take only dictDirPath, and open both header and trie files in the constructor below 69 bool Ver4DictBuffers::flushHeaderAndDictBuffers(const char *const dictDirPath, argument 72 const int tmpDirPathBufSize = FileUtils::getFilePathWithSuffixBufSize(dictDirPath, 75 FileUtils::getFilePathWithSuffix(dictDirPath, 91 const int dictNameBufSize = strlen(dictDirPath) + 1 /* terminator */; 93 FileUtils::getBasename(dictDirPath, dictNameBufSize, dictName); 132 if (!FileUtils::removeDirAndFiles(dictDirPath)) { 133 AKLOGE("Existing directory %s cannot be removed.", dictDirPath); 138 if (rename(tmpDirPath, dictDirPath) != 0) { 139 AKLOGE("%s cannot be renamed to %s", tmpDirPath, dictDirPath); [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/ |
H A D | dictionary_structure_with_buffer_policy_factory.cpp | 200 const char *const dictDirPath, const int outHeaderFileBufSize, 202 const int dictNameBufSize = strlen(dictDirPath) + 1 /* terminator */; 204 FileUtils::getBasename(dictDirPath, dictNameBufSize, dictName); 205 snprintf(outHeaderFilePath, outHeaderFileBufSize, "%s/%s%s", dictDirPath, 199 getHeaderFilePathInDictDir( const char *const dictDirPath, const int outHeaderFileBufSize, char *const outHeaderFilePath) argument
|
Completed in 78 milliseconds