Home
last modified time | relevance | path

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

12

/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.c409 char *fullPath = NULL; in addFile() local
427 fullPath = pathToFullPath(filename, source); in addFile()
440 files[fileCount].pathname=fullPath; in addFile()
445 file=T_FileStream_open(fullPath, "rb"); in addFile()
447 fprintf(stderr, "gencmn: unable to open listed file %s\n", fullPath); in addFile()
454 fprintf(stderr, "gencmn: unable to get length of listed file %s\n", fullPath); in addFile()
463 printf("%s ignored (size %ld > %ld)\n", fullPath, (long)length, (long)maxSize); in addFile()
513 char *fullPath; in pathToFullPath() local
518 fullPath = uprv_malloc(newLength); in pathToFullPath()
520 uprv_strcpy(fullPath, source); in pathToFullPath()
[all …]
/external/skia/tools/
DThermalManager.cpp46 SkString fullPath(kThermalZonePath); in ThermalManager() local
47 fullPath.append(path); in ThermalManager()
48 SkOSFile::Iter thermalZoneIt(fullPath.c_str()); in ThermalManager()
56 fTripPoints.push_back(TripPoint(fullPath, filename, threshold)); in ThermalManager()
93 SkString fullPath(thermalZoneRoot); in TripPoint() local
94 fullPath.appendf("/%s", pointName.c_str()); in TripPoint()
95 fPoint = OpenFileAndReadInt32(fullPath.c_str()); in TripPoint()
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/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/deqp/scripts/build/
Dcommon.py68 fullPath = os.path.join(path, binName)
69 if os.path.isfile(fullPath) and os.access(fullPath, os.X_OK):
70 return fullPath
/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/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/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/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/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/lzma/CPP/Windows/
DFileName.h110 bool GetFullPath(CFSTR dirPrefix, CFSTR path, FString &fullPath);
111 bool GetFullPath(CFSTR path, FString &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()
DxeTestCase.cpp266 std::string fullPath; in addChildGroupsToMap() local
267 childGroup->getFullPath(fullPath); in addChildGroupsToMap()
269 groupMap.insert(std::make_pair(fullPath, childGroup)); in addChildGroupsToMap()
/external/deqp/android/scripts/
Dcommon.py70 fullPath = os.path.join(path, binName)
71 if isExecutable(fullPath):
72 return fullPath
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DLightCodeInsightParsingTestCase.java184 …public static void doCheckResult(String fullPath, String targetDataName, String text) throws IOExc… in doCheckResult() argument
185 String expectedFileName = fullPath + File.separatorChar + targetDataName; in doCheckResult()
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp272 UString fullPath; in GetStream() local
274 fullPath = kEmptyFileAlias; in GetStream()
279 fullPath = prop.bstrVal; in GetStream()
281 _filePath = fullPath; in GetStream()

12