Home
last modified time | relevance | path

Searched refs:fullPath (Results 1 – 25 of 45) sorted by relevance

12

/external/skqp/src/utils/
DSkOSPath.cpp19 SkString SkOSPath::Basename(const char* fullPath) { in Basename() argument
20 if (!fullPath) { in Basename()
23 const char* filename = strrchr(fullPath, SEPARATOR); in Basename()
25 filename = fullPath; in Basename()
32 SkString SkOSPath::Dirname(const char* fullPath) { in Dirname() argument
33 if (!fullPath) { in Dirname()
36 const char* end = strrchr(fullPath, SEPARATOR); in Dirname()
40 if (end == fullPath) { in Dirname()
41 SkASSERT(fullPath[0] == SEPARATOR); in Dirname()
44 return SkString(fullPath, end - fullPath); in Dirname()
DSkOSPath.h42 static SkString Basename(const char* fullPath);
52 static SkString Dirname(const char* fullPath);
/external/skia/src/utils/
DSkOSPath.cpp19 SkString SkOSPath::Basename(const char* fullPath) { in Basename() argument
20 if (!fullPath) { in Basename()
23 const char* filename = strrchr(fullPath, SEPARATOR); in Basename()
25 filename = fullPath; in Basename()
32 SkString SkOSPath::Dirname(const char* fullPath) { in Dirname() argument
33 if (!fullPath) { in Dirname()
36 const char* end = strrchr(fullPath, SEPARATOR); in Dirname()
40 if (end == fullPath) { in Dirname()
41 SkASSERT(fullPath[0] == SEPARATOR); in Dirname()
44 return SkString(fullPath, end - fullPath); in Dirname()
DSkOSPath.h42 static SkString Basename(const char* fullPath);
52 static SkString Dirname(const char* fullPath);
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/util/
Dutility.h21 #define OPEN_FILE_WB(filePtr, fullPath) \ argument
24 if(fullPath != NULL) \
26 filePtr = fopen(fullPath, "wb"); \
29 printf("could not open %s to write to.", fullPath); \
39 #define OPEN_FILE_AB(filePtr, fullPath) \ argument
42 if(fullPath != NULL) \
44 filePtr = fopen(fullPath, "ab"); \
47 printf("could not open %s to write to.", fullPath); \
57 #define OPEN_FILE_RB(filePtr, fullPath) \ argument
60 if(fullPath != NULL) \
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dpkg_gencmn.cpp411 char *fullPath = NULL; in addFile() local
429 fullPath = pathToFullPath(filename, source); in addFile()
442 files[fileCount].pathname=fullPath; in addFile()
447 file=T_FileStream_open(fullPath, "rb"); in addFile()
449 fprintf(stderr, "gencmn: unable to open listed file %s\n", fullPath); in addFile()
456 fprintf(stderr, "gencmn: unable to get length of listed file %s\n", fullPath); in addFile()
465 printf("%s ignored (size %ld > %ld)\n", fullPath, (long)length, (long)maxSize); in addFile()
515 char *fullPath; in pathToFullPath() local
520 fullPath = (char *)uprv_malloc(newLength); in pathToFullPath()
522 uprv_strcpy(fullPath, source); in pathToFullPath()
[all …]
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractCallbackSfx.cpp86 FString fullPath = _directoryPath; in CreateComplexDirectory() local
89 fullPath += us2fs(dirPathParts[i]); in CreateComplexDirectory()
90 CreateDir(fullPath); in CreateComplexDirectory()
91 fullPath.Add_PathSepar(); in CreateComplexDirectory()
104 UString fullPath; in GetStream() local
109 fullPath = _itemDefaultName; in GetStream()
114 fullPath.SetFromBstr(prop.bstrVal); in GetStream()
116 _filePath = fullPath; in GetStream()
152 SplitPathToParts(fullPath, pathParts); in GetStream()
156 UString processedPath = fullPath; in GetStream()
DSfxSetup.cpp152 FString fullPath; in WinMain() local
153 NDLL::MyGetModuleFileName(fullPath); in WinMain()
165 if (!ReadDataString(fullPath, kStartID, kEndID, config)) in WinMain()
230 HRESULT result = ExtractArchive(codecs, fullPath, tempDirPath, showProgress, in WinMain()
/external/lzma/CPP/7zip/UI/Common/
DEnumDirItems.cpp343 int phyParent, int logParent, const FString &fullPath, in EnumerateAltStreams() argument
347 NFind::CStreamEnumerator enumerator(fullPath); in EnumerateAltStreams()
354 return dirItems.AddError(fullPath + FTEXT(":*")); // , (DWORD)E_FAIL in EnumerateAltStreams()
542 FString fullPath = phyPrefix + us2fs(name); in EnumerateDirItems() local
573 fullPath = FCHAR_PATH_SEPARATOR; in EnumerateDirItems()
579 fullPath.Add_PathSepar(); in EnumerateDirItems()
594 if (!fi.Find(fullPath)) in EnumerateDirItems()
596 RINOK(dirItems.AddError(fullPath)); in EnumerateDirItems()
603 RINOK(dirItems.AddError(fullPath, (DWORD)E_FAIL)); in EnumerateDirItems()
617 RINOK(dirItems.AddSecurityItem(fullPath, secureIndex)); in EnumerateDirItems()
[all …]
DArchiveOpenCallback.cpp109 FString fullPath; in GetStream() local
110 if (!NFile::NName::GetFullPath(_folderPrefix, us2fs(name2), fullPath)) in GetStream()
112 if (!_fileInfo.Find(fullPath)) in GetStream()
118 if (!inFile->Open(fullPath)) in GetStream()
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DFileSystemResourceLoader.java77 String fullPath; in getResourceVersionId() local
79 fullPath = file.getCanonicalPath(); in getResourceVersionId()
81 fullPath = file.getAbsolutePath(); in getResourceVersionId()
83 return String.format("%s@%s", fullPath, file.lastModified()); in getResourceVersionId()
/external/deqp/scripts/build/
Dcommon.py108 fullPath = os.path.join(path, binWithExt)
109 if os.path.isfile(fullPath) and os.access(fullPath, os.X_OK):
110 return fullPath
/external/lzma/CPP/7zip/Bundles/SFXWin/
DSfxWin.cpp130 FString fullPath; in WinMain2() local
131 if (!MyGetFullPathName(path, fullPath)) in WinMain2()
178 v1.Add(fs2us(fullPath)); in WinMain2()
179 v2.Add(fs2us(fullPath)); in WinMain2()
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DResourceLoaderAdaptor.java196 String fullPath; in getResourceVersionId() local
198 fullPath = file.getCanonicalPath(); in getResourceVersionId()
200 fullPath = file.getAbsolutePath(); in getResourceVersionId()
202 return String.format("%s@%s", fullPath, file.lastModified()); in getResourceVersionId()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DInterp.java109 public static String getTestsuiteDir(String fullPath, String fileName) { in getTestsuiteDir() argument
110 return fullPath.substring(0, fullPath.length()-fileName.length()); in getTestsuiteDir()
/external/skqp/tools/
Dpicture_utils.cpp67 SkString fullPath = SkOSPath::Join(partialPath.c_str(), baseName.c_str()); in write_bitmap_to_disk() local
68 … if (sk_tool_utils::EncodeImageToFile(fullPath.c_str(), bm, SkEncodedImageFormat::kPNG, 100)) { in write_bitmap_to_disk()
71 SkDebugf("Failed to write the bitmap to %s.\n", fullPath.c_str()); in write_bitmap_to_disk()
/external/skia/tools/
Dpicture_utils.cpp67 SkString fullPath = SkOSPath::Join(partialPath.c_str(), baseName.c_str()); in write_bitmap_to_disk() local
68 … if (sk_tool_utils::EncodeImageToFile(fullPath.c_str(), bm, SkEncodedImageFormat::kPNG, 100)) { in write_bitmap_to_disk()
71 SkDebugf("Failed to write the bitmap to %s.\n", fullPath.c_str()); in write_bitmap_to_disk()
/external/deqp/executor/tools/
DxeCommandLineExecutor.cpp311 const string fullPath = child->getFullPath(); in addMatchingCases() local
313 if (checkCasePathPatternMatch(filter, fullPath.c_str(), isGroup)) in addMatchingCases()
335 const string fullPath = child->getFullPath(); in removeMatchingCases() local
337 if (checkCasePathPatternMatch(filter, fullPath.c_str(), isGroup)) in removeMatchingCases()
420 string fullPath; in printBatchResultSummary() local
422 testCase->getFullPath(fullPath); in printBatchResultSummary()
425 if (batchResult.hasTestCaseResult(fullPath.c_str())) in printBatchResultSummary()
427 xe::ConstTestCaseResultPtr resultData = batchResult.getTestCaseResult(fullPath.c_str()); in printBatchResultSummary()
/external/deqp/scripts/
Dbuild_caselists.py74 fullPath = os.path.join(modulesDir, module.dirName)
75 if os.path.exists(fullPath) and os.path.isdir(fullPath):
Drun_nightly.py143 fullPath = os.path.join(logsDir, file)
144 if os.path.isfile(fullPath) and fnmatch.fnmatch(file, "*.csv"):
145 files.append(fullPath)
/external/doclava/src/com/google/doclava/
DClearPage.java86 public static void write(Data data, String templ, String filename, boolean fullPath) { in write() argument
90 public static void write(Data data, String templ, String filename, boolean fullPath, JSilver cs) { in write() argument
112 if (!fullPath) { in write()
/external/deqp/executor/
DxeBatchExecutor.cpp46 std::string fullPath; in isExecutedInBatch() local
47 testCase->getFullPath(fullPath); in isExecutedInBatch()
49 if (batchResult->hasTestCaseResult(fullPath.c_str())) in isExecutedInBatch()
51 ConstTestCaseResultPtr data = batchResult->getTestCaseResult(fullPath.c_str()); in isExecutedInBatch()
/external/lzma/CPP/Windows/
DFileName.h110 bool GetFullPath(CFSTR dirPrefix, CFSTR path, FString &fullPath);
111 bool GetFullPath(CFSTR path, FString &fullPath);
/external/skqp/tools/skqp/
Dskqp.cpp123 SkString fullPath = fPrefix.isEmpty() in open() local
126 return SkStream::MakeFromFile(fullPath.c_str()); in open()
/external/skia/tools/skqp/
Dskqp.cpp123 SkString fullPath = fPrefix.isEmpty() in open() local
126 return SkStream::MakeFromFile(fullPath.c_str()); in open()

12