/external/skia/src/utils/ |
SkOSFile.cpp | 18 SkString SkOSPath::Basename(const char* fullPath) { 19 if (!fullPath) { 22 const char* filename = strrchr(fullPath, SkPATH_SEPARATOR); 24 filename = fullPath; 31 SkString SkOSPath::Dirname(const char* fullPath) { 32 if (!fullPath) { 35 const char* end = strrchr(fullPath, SkPATH_SEPARATOR); 39 if (end == fullPath) { 40 SkASSERT(fullPath[0] == SkPATH_SEPARATOR); 43 return SkString(fullPath, end - fullPath) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/util/ |
utility.h | 21 #define OPEN_FILE_WB(filePtr, fullPath) \ 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) \ 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) \ 60 if(fullPath != NULL) [all...] |
/external/skia/tools/ |
ThermalManager.cpp | 46 SkString fullPath(kThermalZonePath); 47 fullPath.append(path); 48 SkOSFile::Iter thermalZoneIt(fullPath.c_str()); 56 fTripPoints.push_back(TripPoint(fullPath, filename, threshold)); 93 SkString fullPath(thermalZoneRoot); 94 fullPath.appendf("/%s", pointName.c_str()); 95 fPoint = OpenFileAndReadInt32(fullPath.c_str()); 101 SkDebugf("Trip point %s base - %d trip point-%d\n", fullPath.c_str(),
|
picture_utils.cpp | 63 SkString fullPath = SkOSPath::Join(partialPath.c_str(), baseName.c_str()); 64 if (SkImageEncoder::EncodeFile(fullPath.c_str(), bm, SkImageEncoder::kPNG_Type, 100)) { 67 SkDebugf("Failed to write the bitmap to %s.\n", fullPath.c_str());
|
/external/skia/tests/ |
BadIcoTest.cpp | 32 SkString fullPath = SkOSPath::Join(resourcePath.c_str(), badImages[i]); 33 SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(fullPath.c_str()));
|
/external/deqp/scripts/build/ |
common.py | 68 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/ |
FileSystemResourceLoader.java | 77 String fullPath; 79 fullPath = file.getCanonicalPath(); 81 fullPath = file.getAbsolutePath(); 83 return String.format("%s@%s", fullPath, file.lastModified());
|
/frameworks/base/tools/aapt/ |
FileFinder.cpp | 60 String8 fullPath = basePath.appendPathCopy(entryName); 62 if (isDirectory(fullPath.string()) ) { 64 findFiles(fullPath, extensions, fileStore,copy); 69 if (isFile(fullPath.string()) ) { 70 checkAndAddFile(fullPath,dw->entryStats(),extensions,fileStore);
|
DirectoryWalker.h | 80 String8 fullPath = mBasePath.appendPathCopy(mEntry.d_name); 81 stat(fullPath.string(),&mStats);
|
/frameworks/base/core/jni/ |
android_graphics_drawable_VectorDrawable.cpp | 47 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(); 52 VectorDrawable::FullPath* srcFullPath = 53 reinterpret_cast<VectorDrawable::FullPath*>(srcFullPathPtr); 54 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(*srcFullPath); 135 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(fullPathPtr); 136 fullPath->mutateStagingProperties()->updateProperties(strokeWidth, strokeColor, strokeAlpha [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
pkg_gencmn.c | 407 char *fullPath = NULL; 425 fullPath = pathToFullPath(filename, source); 438 files[fileCount].pathname=fullPath; 443 file=T_FileStream_open(fullPath, "rb"); 445 fprintf(stderr, "gencmn: unable to open listed file %s\n", fullPath); 452 fprintf(stderr, "gencmn: unable to get length of listed file %s\n", fullPath); 461 printf("%s ignored (size %ld > %ld)\n", fullPath, (long)length, (long)maxSize); 511 char *fullPath; 516 fullPath = uprv_malloc(newLength); 518 uprv_strcpy(fullPath, source) [all...] |
/external/lzma/CPP/7zip/Bundles/SFXSetup/ |
ExtractCallbackSfx.cpp | 81 FString fullPath = _directoryPath;
84 fullPath += us2fs(dirPathParts[i]);
85 CreateDir(fullPath);
86 fullPath += FCHAR_PATH_SEPARATOR;
100 UString fullPath;
102 fullPath = _itemDefaultName;
107 fullPath = propVariantName.bstrVal;
109 _filePath = fullPath;
144 SplitPathToParts(fullPath, pathParts);
148 UString processedPath = fullPath;
[all...] |
/external/lzma/CPP/7zip/UI/Common/ |
ArchiveOpenCallback.cpp | 86 FString fullPath;
87 if (!NFile::NName::GetFullPath(_folderPrefix, us2fs(name), fullPath))
89 if (!_fileInfo.Find(fullPath))
95 if (!inFile->Open(fullPath))
|
EnumDirItems.cpp | 291 const FString fullPath = phyPrefix + fi.Name;
292 NFind::CStreamEnumerator enumerator(fullPath);
299 dirItems.AddError(fullPath + FTEXT(":*"), (DWORD)E_FAIL);
472 const FString fullPath = phyPrefix + us2fs(name);
478 fi.Name = fullPath;
482 if (!fi.Find(fullPath))
484 dirItems.AddError(fullPath);
490 dirItems.AddError(fullPath, (DWORD)E_FAIL);
503 dirItems.AddSecurityItem(fullPath, secureIndex);
558 const FString fullPath = phyPrefix + us2fs(nextNode.Name); [all...] |
/frameworks/native/cmds/rawbu/ |
backup.cpp | 260 char* fullPath = NULL; 287 if (fullPath != NULL) { 288 free(fullPath); 290 fullPath = (char*)malloc(srcLen + strlen(de->d_name) + 2); 291 strcpy(fullPath, srcPath); 292 fullPath[srcLen] = '/'; 293 strcpy(fullPath+srcLen+1, de->d_name); 298 if (strcmp(SKIP_PATHS[i].path, fullPath) == 0) { 307 int ret = lstat(fullPath, &statBuffer); 311 fullPath, strerror(errno)) [all...] |
/external/skia/include/core/ |
SkOSFile.h | 130 * Behaves like python's os.path.basename. If the fullPath is 132 * @param fullPath Full path to the file. 136 static SkString Basename(const char* fullPath); 140 * Behaves like python's os.path.dirname. If the fullPath is 142 * @param fullPath Full path to the file. 146 static SkString Dirname(const char* fullPath);
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
Interp.java | 109 public static String getTestsuiteDir(String fullPath, String fileName) { 110 return fullPath.substring(0, fullPath.length()-fileName.length());
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
GeeTest.java | 157 String fullPath = NATIVE_TESTS_DIRECTORY + ANDROID_PATH_SEPARATOR + mExeName; 159 CLog.v("Running gtest %s %s on %s", fullPath, flags, mDevice.getSerialNumber()); 161 CLog.v("%s", mDevice.executeShellCommand(String.format("chmod 755 %s", fullPath))); 164 mDevice.executeShellCommand(String.format("%s %s", fullPath, flags), resultParser,
|
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
ResourceLoaderAdaptor.java | 196 String fullPath; 198 fullPath = file.getCanonicalPath(); 200 fullPath = file.getAbsolutePath(); 202 return String.format("%s@%s", fullPath, file.lastModified());
|
/external/lzma/CPP/7zip/Bundles/SFXWin/ |
SfxWin.cpp | 126 FString fullPath;
127 if (!MyGetFullPathName(path, fullPath))
174 v1.Add(fs2us(fullPath));
175 v2.Add(fs2us(fullPath));
|
/frameworks/base/tools/aapt2/flatten/ |
Archive.cpp | 53 std::string fullPath = mOutDir; 54 file::appendPath(&fullPath, path); 55 file::mkdirs(file::getStem(fullPath)); 57 mFile = { fopen(fullPath.data(), "wb"), fclose };
|
/external/lzma/CPP/Windows/ |
FileName.h | 69 bool GetFullPath(CFSTR dirPrefix, CFSTR path, FString &fullPath);
70 bool GetFullPath(CFSTR path, FString &fullPath);
|
/external/skia/bench/ |
SkipZeroesBench.cpp | 55 SkString fullPath = SkOSPath::Join(resourcePath.c_str(), fFilename.c_str()); 56 SkFILEStream fileStream(fullPath.c_str());
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
VectorDrawable_Delegate.java | [all...] |
/frameworks/compile/slang/ |
slang_rs_reflect_utils.cpp | 297 std::string fullPath = path1; 298 if (fullPath[fullPath.length() - 1] != OS_PATH_SEPARATOR) { 299 fullPath += OS_PATH_SEPARATOR; 302 fullPath += path2.substr(1, string::npos); 304 fullPath += path2; 306 return fullPath;
|