Searched refs:dirPath (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | file_utils.cpp | 45 /* static */ bool FileUtils::existsDir(const char *const dirPath) { in existsDir() argument 46 DIR *const dir = opendir(dirPath); in existsDir() 55 /* static */ bool FileUtils::removeDirAndFiles(const char *const dirPath) { in removeDirAndFiles() argument 56 return removeDirAndFiles(dirPath, 5 /* maxTries */); in removeDirAndFiles() 60 /* static */ bool FileUtils::removeDirAndFiles(const char *const dirPath, const int maxTries) { in removeDirAndFiles() argument 61 DIR *const dir = opendir(dirPath); in removeDirAndFiles() 63 AKLOGE("Cannot open dir %s.", dirPath); in removeDirAndFiles() 74 const int filePathBufSize = getFilePathBufSize(dirPath, dirent->d_name); in removeDirAndFiles() 76 getFilePath(dirPath, dirent->d_name, filePathBufSize, filePath); in removeDirAndFiles() 84 if (remove(dirPath) != 0) { in removeDirAndFiles() [all …]
|
D | file_utils.h | 29 static bool existsDir(const char *const dirPath); 32 static bool removeDirAndFiles(const char *const dirPath); 39 static int getFilePathBufSize(const char *const dirPath, const char *const fileName); 41 static void getFilePath(const char *const dirPath, const char *const fileName, 57 static bool removeDirAndFiles(const char *const dirPath, const int maxTries);
|
D | mmapped_buffer.cpp | 73 const char *const dirPath, const char *const fileName, const bool isUpdatable) { in openBuffer() argument 76 const int filePathLength = snprintf(filePath, filePathBufferSize, "%s%s", dirPath, in openBuffer()
|
D | dict_file_writing_utils.cpp | 65 /* static */ bool DictFileWritingUtils::createEmptyV4DictFile(const char *const dirPath, in createEmptyV4DictFile() argument 79 return dictBuffers->flush(dirPath); in createEmptyV4DictFile()
|
D | mmapped_buffer.h | 38 static MmappedBufferPtr openBuffer(const char *const dirPath, const char *const fileName,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/ |
D | dictionary_structure_with_buffer_policy_factory.h | 60 static void getHeaderFilePathInDictDir(const char *const dirPath,
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | DataModel.java | 273 String dirPath = fullPath.substring(0, fileNameStart); in doInBackground() local 274 paths.add(dirPath); in doInBackground()
|