HomeSort by relevance Sort by last modified time
    Searched refs:dirPath (Results 1 - 25 of 64) sorted by null

1 2 3

  /cts/suite/audio_quality/test/
FileUtilTest.cpp 33 android::String8 dirPath;
34 ASSERT_TRUE(FileUtil::prepare(dirPath));
35 ASSERT_TRUE(dirPath.find("reports/") == 0);
36 LOGI("returned %s %d", dirPath.string(), dirPath.find("reports/"));
39 ASSERT_TRUE(dirPath == dirPath2);
  /external/webrtc/talk/app/webrtc/java/src/org/webrtc/
CallSessionFileRotatingLogSink.java 37 public static byte[] getLogData(String dirPath) {
38 return nativeGetLogData(dirPath);
42 String dirPath, int maxFileSize, Logging.Severity severity) {
43 nativeSink = nativeAddSink(dirPath, maxFileSize, severity.ordinal());
54 String dirPath, int maxFileSize, int severity);
56 private static native byte[] nativeGetLogData(String dirPath);
  /sdk/find_lock/
find_lock_exe.cpp 32 CPath dirPath;
39 } else if (dirPath.isEmpty()) {
40 dirPath.set(argv[i]);
47 if (dirPath.isEmpty()) {
51 } else if (!dirPath.dirExists()) {
52 fprintf(stderr, "Error: '%s' is not a valid directory.\n", dirPath.cstr());
71 if (findLock(dirPath, &result)) {
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
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);
file_utils.cpp 45 /* static */ bool FileUtils::existsDir(const char *const dirPath) {
46 DIR *const dir = opendir(dirPath);
55 /* static */ bool FileUtils::removeDirAndFiles(const char *const dirPath) {
56 return removeDirAndFiles(dirPath, 5 /* maxTries */);
60 /* static */ bool FileUtils::removeDirAndFiles(const char *const dirPath, const int maxTries) {
61 DIR *const dir = opendir(dirPath);
63 AKLOGE("Cannot open dir %s.", dirPath);
74 const int filePathBufSize = getFilePathBufSize(dirPath, dirent->d_name);
76 getFilePath(dirPath, dirent->d_name, filePathBufSize, filePath);
84 if (remove(dirPath) != 0)
    [all...]
mmapped_buffer.h 38 static MmappedBufferPtr openBuffer(const char *const dirPath, const char *const fileName,
mmapped_buffer.cpp 73 const char *const dirPath, const char *const fileName, const bool isUpdatable) {
76 const int filePathLength = snprintf(filePath, filePathBufferSize, "%s%s", dirPath,
dict_file_writing_utils.cpp 65 /* static */ bool DictFileWritingUtils::createEmptyV4DictFile(const char *const dirPath,
79 return dictBuffers->flush(dirPath);
  /external/webrtc/talk/app/webrtc/objc/public/
RTCFileLogger.h 68 - (instancetype)initWithDirPath:(NSString *)dirPath
71 - (instancetype)initWithDirPath:(NSString *)dirPath
  /external/skia/tools/
picture_utils.h 41 * @param dirPath directory within which to write the image file
42 * @param subdirOrNull subdirectory within dirPath, or nullptr to just write into dirPath
47 bool write_bitmap_to_disk(const SkBitmap& bm, const SkString& dirPath,
picture_utils.cpp 54 bool write_bitmap_to_disk(const SkBitmap& bm, const SkString& dirPath,
58 partialPath = SkOSPath::Join(dirPath.c_str(), subdirOrNull);
61 partialPath.set(dirPath);
  /cts/suite/audio_quality/lib/include/
FileUtil.h 36 * @param dirPath returns path of created dir
38 static bool prepare(android::String8& dirPath);
55 // store dirPath to prevent creating multiple times
  /external/lzma/CPP/7zip/Bundles/SFXSetup/
ExtractEngine.cpp 63 FString dirPath = DestFolder;
64 NName::NormalizeDirPathPrefix(dirPath);
66 if (!CreateComplexDir(dirPath))
72 fs2us(dirPath));
77 ExtractCallbackSpec->Init(ArchiveLink.GetArchive(), dirPath, L"Default", fi.MTime, 0);
  /external/webrtc/talk/app/webrtc/objc/
RTCFileLogger.mm 60 - (instancetype)initWithDirPath:(NSString *)dirPath
62 return [self initWithDirPath:dirPath
67 - (instancetype)initWithDirPath:(NSString *)dirPath
70 NSParameterAssert(dirPath.length);
75 if ([fileManager fileExistsAtPath:dirPath isDirectory:&isDir]) {
81 if (![fileManager createDirectoryAtPath:dirPath
89 _dirPath = dirPath;