Home
last modified time | relevance | path

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

12345

/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()
/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()
/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/cldr/tools/java/org/unicode/cldr/util/
DXPathTokenizer.java128 public static StringBuffer relativeToAbsolute(String xpath, StringBuffer fullPath) { in relativeToAbsolute() argument
130 fullPath.setLength(0); in relativeToAbsolute()
131 fullPath.append(xpath); in relativeToAbsolute()
132 return fullPath; in relativeToAbsolute()
137 retVal.append(fullPath); in relativeToAbsolute()
150 public static StringBuilder relativeToAbsolute(String xpath, StringBuilder fullPath) { in relativeToAbsolute() argument
152 fullPath.setLength(0); in relativeToAbsolute()
153 fullPath.append(xpath); in relativeToAbsolute()
154 return fullPath; in relativeToAbsolute()
159 retVal.append(fullPath); in relativeToAbsolute()
DCharacterFallbacks.java29 String fullPath = characterFallbacks.getFullXPath(path); in CharacterFallbacks() local
30 parts.set(fullPath); in CharacterFallbacks()
38 throw new IllegalArgumentException("Illegal value in " + fullPath); in CharacterFallbacks()
/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()
/external/lzma/CPP/7zip/UI/Common/
DEnumDirItems.cpp345 int phyParent, int logParent, const FString &fullPath, in EnumerateAltStreams() argument
350 NFind::CStreamEnumerator enumerator(fullPath); in EnumerateAltStreams()
357 return dirItems.AddError(fullPath + FTEXT(":*")); // , (DWORD)E_FAIL in EnumerateAltStreams()
567 FString fullPath = phyPrefix + us2fs(name); in EnumerateDirItems() local
598 fullPath = CHAR_PATH_SEPARATOR; in EnumerateDirItems()
604 fullPath.Add_PathSepar(); in EnumerateDirItems()
619 if (!fi.Find(fullPath)) in EnumerateDirItems()
621 RINOK(dirItems.AddError(fullPath)); in EnumerateDirItems()
628 RINOK(dirItems.AddError(fullPath, (DWORD)E_FAIL)); in EnumerateDirItems()
642 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/cldr/tools/java/org/unicode/cldr/tool/
DVettingAdder.java81 private String fullPath; field in VettingAdder.VettingInfo
84 public VettingInfo(String dir, String fullPath, String value) { in VettingInfo() argument
86 this.fullPath = fullPath; in VettingInfo()
96 if (0 != (result = fullPath.compareTo(other.fullPath))) return result; in compareByPathAndValue()
111 public void add(String path, String dir, String fullPath, String value) { in add() argument
112 VettingInfo vi = new VettingInfo(dir, fullPath, value); in add()
143 String fullPath = cldr.getFullXPath(path); in incorporateVetting() local
146 Log.logln("Skipping: [" + value + "] for " + fullPath); in incorporateVetting()
149 accum.add(stripAlt(path), dir, stripAlt(fullPath), value); in incorporateVetting()
164 cldrDelta.add(vi.fullPath, vi.value); in incorporateVetting()
[all …]
DPivotData.java130 String fullPath = me.getFullXPath(path); in writePivot() local
139 if (!fullPath.equals(oldFullXPath) || !value.equals(oldValue)) { in writePivot()
140 if (fullPath.contains("[@casing") != oldFullXPath.contains("[@casing")) { in writePivot()
144 … + CldrUtility.LINE_SEPARATOR + fullPath + CldrUtility.LINE_SEPARATOR + oldFullXPath); in writePivot()
211 String fullPath = null, value = null, oldFullXPath = null, oldValue = null; in addPathsAndValuesFrom() local
212 fullPath = toAddFrom.getFullXPath(path); in addPathsAndValuesFrom()
213 if (fullPath == null) continue; in addPathsAndValuesFrom()
221 if (!fullPath.equals(oldFullXPath) || !value.equals(oldValue)) { in addPathsAndValuesFrom()
222 … if (oldFullXPath != null && fullPath.contains("[@casing") != oldFullXPath.contains("[@casing")) { in addPathsAndValuesFrom()
239 toModify.add(fullPath, value); in addPathsAndValuesFrom()
DDiffWithParent.java44 String fullPath = file.getFullXPath(path); in main() local
47 if (!value.equals(pvalue) || !fullPath.equals(pfullPath)) { in main()
50 .addCell(showDistinguishingAttributes(fullPath)).finishRow(); in main()
89 private static String showDistinguishingAttributes(String fullPath) { in showDistinguishingAttributes() argument
90 fullParts.set(fullPath); in showDistinguishingAttributes()
91 String path = CLDRFile.getDistinguishingXPath(fullPath, null, false); in showDistinguishingAttributes()
DShowCoverageLevels.java32 String fullPath = cldrFileToCheck.getFullXPath(path); in main() local
33 if (fullPath == null) { in main()
38 Level level = coverageInfo.getCoverageLevel(fullPath, locale); in main()
43 + locale + ", " + path + ", " + fullPath + ", " + value); in main()
/external/cldr/tools/java/org/unicode/cldr/json/
DCldrItem.java67 private String fullPath; field in CldrItem
97 …CldrItem(String path, String fullPath, String untransformedPath, String untransformedFullPath, Str… in CldrItem() argument
102 System.out.println("FULLPATH => " + fullPath); in CldrItem()
108 this.fullPath = fullPath; in CldrItem()
120 return fullPath; in getFullPath()
148 public void setFullPath(String fullPath) { in setFullPath() argument
149 this.fullPath = fullPath; in setFullPath()
164 String[] fullPathSegments = splitPathToSegments(fullPath); in getNodesInPath()
229 fullxpp.set(fullPath); in split()
/external/cldr/tools/java/org/unicode/cldr/icu/
DXPPUtil.java40 String fullPath = whichFile.getFullXPath(xpath); in getBasicAttributeValue() local
41 if (fullPath == null) { in getBasicAttributeValue()
44 return getAttributeValue(fullPath, attribute); in getBasicAttributeValue()
48 String fullPath = file.getFullXPath(xpath); in findAttributeValue() local
49 xpp.set(fullPath); in findAttributeValue()
DBreakIteratorMapper.java53 String fullPath = specialsFile.getFullXPath(path); in fillFromCldr() local
55 xpp.set(fullPath); in fillFromCldr()
60 ….err.println("WARNING: brkiter: in " + locale + ".xml (ICU specials): Ignoring path: " + fullPath); in fillFromCldr()
65 …ING: brkiter: in " + locale + ".xml (ICU specials): Ignoring path (unknown special): " + fullPath); in fillFromCldr()
77 … + locale + ".xml (ICU specials): Ignoring path (unknown element: " + element2 + "): " + fullPath); in fillFromCldr()
82 …err.println("WARNING: brkiter: in " + locale + ".xml (ICU specials): Malformed path: " + fullPath); in fillFromCldr()
DLocaleMapper.java305 String fullPath = cldrFile.getFullXPath(xpath); in getFullXPath() local
306 return fullPath == null ? xpath : DRAFT_PATTERN.matcher(fullPath).replaceAll(""); in getFullXPath()
319 String fullPath = cldr.getFullXPath(path); in matchXPath() local
320 fullPath = fullPath == null ? path : DRAFT_PATTERN.matcher(fullPath).replaceAll(""); in matchXPath()
321 List<String> debugResults = isDebugXPath(fullPath) ? new ArrayList<String>() : null; in matchXPath()
323 RegexResult result = lookup.get(fullPath, null, info, matcherFound, debugResults); in matchXPath()
326 RegexManager.printLookupResults(fullPath, debugResults); in matchXPath()
328 System.out.println(fullPath + " successfully matched"); in matchXPath()
/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/ImageMagick/Magick++/fuzz/
Dmain.cc75 fullPath[BUFSIZE], in wmain() local
79 GetFullPathName(argv[0], BUFSIZE, fullPath, lppPart); in wmain()
80 PathRemoveExtension(fullPath); in wmain()
81 fileName = wstring(fullPath) + L".input"; in wmain()
/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/cldr/tools/java/org/unicode/cldr/test/
DCheckCasing.java39 public CheckCLDR handleCheck(String path, String fullPath, String value, Options options, in handleCheck() argument
42 if (fullPath == null) return this; // skip paths that we don't have in handleCheck()
43 if (fullPath.indexOf("casing") < 0) return this; in handleCheck()
46 parts.set(fullPath); in handleCheck()
DCheckCLDR.java938 public final String getHTML(String path, String fullPath, String value) throws Exception { in getHTML() argument
1049 …public final CheckCLDR check(String path, String fullPath, String value, Map<String, String> optio… in check() argument
1051 return check(path, fullPath, value, new Options(options), result); in check()
1066 public final CheckCLDR check(String path, String fullPath, String value, Options options, in check() argument
1105 CheckCLDR instance = handleCheck(path, fullPath, value, options, result); in check()
1110 if (shouldExcludeStatus(fullPath, status)) { in check()
1127 …public final CheckCLDR getExamples(String path, String fullPath, String value, Map<String, String>… in getExamples() argument
1129 return getExamples(path, fullPath, value, new Options(options), result); in getExamples()
1139 public final CheckCLDR getExamples(String path, String fullPath, String value, Options options, in getExamples() argument
1142 return handleGetExamples(path, fullPath, value, options, result); in getExamples()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DTypology.java79 String fullPath = temp_path.toString(); in handleLine() local
83 fullPath = fullPath.intern(); in handleLine()
84 UnicodeSet uset = full_path_to_uset.get(fullPath); in handleLine()
86 full_path_to_uset.put(fullPath, uset = new UnicodeSet()); in handleLine()
91 String[] labels = fullPath.split("/"); in handleLine()
/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()

12345