Searched defs:tmpDirPath (Results 1 - 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_dict_buffers.cpp58 char tmpDirPath[tmpDirPathBufSize]; local
61 tmpDirPath);
62 if (FileUtils::existsDir(tmpDirPath)) {
63 if (!FileUtils::removeDirAndFiles(tmpDirPath)) {
64 AKLOGE("Existing directory %s cannot be removed.", tmpDirPath);
70 if (mkdir(tmpDirPath, S_IRWXU) == -1) {
71 AKLOGE("Cannot create directory: %s. errno: %d.", tmpDirPath, errno);
78 const int dictPathBufSize = FileUtils::getFilePathBufSize(tmpDirPath, dictName);
80 FileUtils::getFilePath(tmpDirPath, dictName, dictPathBufSize, dictPath);
85 AKLOGE("Dictionary header file %s%s cannot be written.", tmpDirPath,
[all...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_dict_buffers.cpp74 char tmpDirPath[tmpDirPathBufSize]; local
77 tmpDirPath);
78 if (FileUtils::existsDir(tmpDirPath)) {
79 if (!FileUtils::removeDirAndFiles(tmpDirPath)) {
80 AKLOGE("Existing directory %s cannot be removed.", tmpDirPath);
86 if (mkdir(tmpDirPath, S_IRWXU) == -1) {
87 AKLOGE("Cannot create directory: %s. errno: %d.", tmpDirPath, errno);
94 const int dictPathBufSize = FileUtils::getFilePathBufSize(tmpDirPath, dictName);
96 FileUtils::getFilePath(tmpDirPath, dictName, dictPathBufSize, dictPath);
101 AKLOGE("Dictionary header file %s%s cannot be written.", tmpDirPath,
[all...]

Completed in 10 milliseconds