/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
MultipleWorkspace.py | 35 # Convert path to match workspace.
39 # @param Path Path to be converted to match workspace.
42 def convertPackagePath(cls, Ws, Path):
43 if str(os.path.normcase (Path)).startswith(Ws):
44 return os.path.join(Ws, os.path.relpath(Path, Ws))
45 return Path
[all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
FileSystem.h | 11 // path class. 69 class Path; 73 bool exists(const Path& pPath); 74 bool is_directory(const Path& pPath); 78 extern Path::StringType static_library_extension; 79 extern Path::StringType shared_library_extension; 80 extern Path::StringType executable_extension; 81 extern Path::StringType relocatable_extension; 82 extern Path::StringType assembly_extension; 83 extern Path::StringType bitcode_extension [all...] |
/frameworks/base/core/tests/coretests/src/android/graphics/ |
PathTest.java | 28 Path path = new Path(); local 30 final Path.FillType defaultFillType = path.getFillType(); 31 final Path.FillType fillType = Path.FillType.INVERSE_EVEN_ODD; 34 path.setFillType(fillType); 35 path.reset(); 36 assertEquals(path.getFillType(), fillType) [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
PatternPathMotionTest.java | 20 import android.graphics.Path; 33 Path pattern = new Path(); 40 Path expected = new Path(); 49 Path pattern = new Path(); 55 Path expected = new Path(); 63 Path pattern = new Path() [all...] |
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
PatternPathMotionTest.java | 21 import android.graphics.Path; 35 Path pattern = new Path(); 42 Path expected = new Path(); 52 Path pattern = new Path(); 59 Path expected = new Path(); 68 Path pattern = new Path() [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
AbstractPath.java | 35 * Base implementation class of {@code Path}. 38 abstract class AbstractPath implements Path { 52 public final Path resolve(String other) { 57 public final Path resolveSibling(Path other) { 60 Path parent = getParent(); 65 public final Path resolveSibling(String other) { 70 public final Iterator<Path> iterator() { 71 return new Iterator<Path>() { 78 public Path next() [all...] |
UnixDirectoryStream.java | 43 implements DirectoryStream<Path> 45 // path to directory when originally opened 52 private final DirectoryStream.Filter<? super Path> filter; 62 private Iterator<Path> iterator; 70 UnixDirectoryStream(UnixPath dir, long dp, DirectoryStream.Filter<? super Path> filter) { 124 protected final Iterator<Path> iterator(DirectoryStream<Path> ds) { 137 public Iterator<Path> iterator() { 144 private class UnixDirectoryIterator implements Iterator<Path> { 145 private final DirectoryStream<Path> stream [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathOpsActivity.java | 24 import android.graphics.Path; 40 private Path[] mPaths; 57 Path.Op[] ops = Path.Op.values(); 58 mPaths = new Path[ops.length]; 62 Path p1 = new Path(); 63 p1.addRect(0.0f, 0.0f, mSize, mSize, Path.Direction.CW); 65 Path p2 = new Path(); [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
PathV1.h | 1 //===- llvm/Support/PathV1.h - Path Operating System Concept ----*- C++ -*-===// 10 // This file declares the llvm::sys::Path class. 63 /// This class provides an abstraction for the path to a file or directory 65 /// on it. Note that this class only represents the name of a path to a file 68 /// extensions and several omissions (not relevant to LLVM). A Path object 69 /// ensures that the path it encapsulates is syntactically valid for the 71 /// any particular file system. That is, a syntactically valid path might 72 /// specify path components that do not exist in the file system and using 73 /// such a Path to act on the file system could produce errors. There is one 74 /// invalid Path value which is permitted: the empty path. The class shoul 626 mutable std::string path; \/\/\/< Storage for the path name. member in class:llvm::sys::Path [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
GestureDescriptionTest.java | 19 import android.graphics.Path; 32 private Path mNominalPath; 36 mNominalPath = new Path(); 58 Path negativeStartXPath = new Path(); 69 Path negativeStartYPath = new Path(); 80 Path negativeEndXPath = new Path(); 91 Path negativeEndYPath = new Path() 144 Path path = new Path(); local 149 Path path = new Path(); local 160 Path path = new Path(); local 187 Path path = new Path(); local [all...] |
/external/llvm/lib/DebugInfo/PDB/ |
PDB.cpp | 27 Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, 31 return RawSession::createFromPdb(Path, Session); 34 return DIASession::createFromPdb(Path, Session); 40 Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path, 44 return RawSession::createFromExe(Path, Session); 47 return DIASession::createFromExe(Path, Session);
|
/external/llvm/tools/dsymutil/ |
MachOUtils.h | 24 std::string Arch, Path; 25 ArchAndFilename(StringRef Arch, StringRef Path) : Arch(Arch), Path(Path) {}
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
Program.cpp | 25 Program::ExecuteAndWait(const Path& path, 28 const Path** redirects, 33 if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg)) 34 return prg.Wait(path, secondsToWait, ErrMsg); 40 Program::ExecuteNoWait(const Path& path, 43 const Path** redirects, 47 prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathFillTypes.java | 38 private Path mPath; 45 mPath = new Path(); 46 mPath.addCircle(40, 40, 45, Path.Direction.CCW); 47 mPath.addCircle(80, 80, 45, Path.Direction.CCW); 50 private void showPath(Canvas canvas, int x, int y, Path.FillType ft, 70 showPath(canvas, 0, 0, Path.FillType.WINDING, paint); 71 showPath(canvas, 160, 0, Path.FillType.EVEN_ODD, paint); 72 showPath(canvas, 0, 160, Path.FillType.INVERSE_WINDING, paint); 73 showPath(canvas, 160, 160, Path.FillType.INVERSE_EVEN_ODD, paint);
|
/prebuilts/clang/host/linux-x86/clang-4579689/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerIO.h | 19 long GetEpoch(const std::string &Path); 21 Unit FileToVector(const std::string &Path, size_t MaxSize = 0, 24 std::string FileToString(const std::string &Path); 26 void CopyFileToErr(const std::string &Path); 28 void WriteToFile(const Unit &U, const std::string &Path); 30 void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, 40 // Returns path to a TmpDir. 55 bool IsFile(const std::string &Path); 56 size_t FileSize(const std::string &Path); 77 void RemoveFile(const std::string &Path); [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerIO.h | 19 long GetEpoch(const std::string &Path); 21 Unit FileToVector(const std::string &Path, size_t MaxSize = 0, 24 std::string FileToString(const std::string &Path); 26 void CopyFileToErr(const std::string &Path); 28 void WriteToFile(const Unit &U, const std::string &Path); 30 void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, 40 // Returns path to a TmpDir. 55 bool IsFile(const std::string &Path); 56 size_t FileSize(const std::string &Path); 77 void RemoveFile(const std::string &Path); [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerIO.h | 19 long GetEpoch(const std::string &Path); 21 Unit FileToVector(const std::string &Path, size_t MaxSize = 0, 24 std::string FileToString(const std::string &Path); 26 void CopyFileToErr(const std::string &Path); 28 void WriteToFile(const Unit &U, const std::string &Path); 30 void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, 40 // Returns path to a TmpDir. 55 bool IsFile(const std::string &Path); 56 size_t FileSize(const std::string &Path); 77 void RemoveFile(const std::string &Path); [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerIO.h | 19 long GetEpoch(const std::string &Path); 21 Unit FileToVector(const std::string &Path, size_t MaxSize = 0, 24 std::string FileToString(const std::string &Path); 26 void CopyFileToErr(const std::string &Path); 28 void WriteToFile(const Unit &U, const std::string &Path); 30 void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, 40 // Returns path to a TmpDir. 55 bool IsFile(const std::string &Path); 56 size_t FileSize(const std::string &Path); 77 void RemoveFile(const std::string &Path); [all...] |
/libcore/tools/upstream/src/main/java/libcore/ |
Repository.java | 21 import java.nio.file.Path; 36 protected final Path rootPath; 39 protected Repository(Path rootPath, String name) { 48 * @param relPath a relative path of a .java file in the repository, e.g. 50 * @return the path of the indicated file (either absolute, or relative to the current 53 public final Path absolutePath(Path relPath) { 54 Path p = pathFromRepository(relPath); 58 public abstract Path pathFromRepository(Path relPath) 151 Path path = new File(matcher.group(1)).toPath(); local [all...] |
CopyUpstreamFiles.java | 22 import java.nio.file.Path; 31 private final Path outputDir; 33 private CopyUpstreamFiles(StandardRepositories standardRepositories, Path outputDir) { 39 List<Path> relPaths = standardRepositories.ojluni().loadRelPathsFromMakefile(); 48 for (Path relPath : relPaths) { 51 Path upstreamFile = upstream.absolutePath(relPath); 53 Path outputFile = outputDir 65 private void copyFile(Path from, Path to) throws IOException { 69 Path toDir = to.getParent() [all...] |
/libcore/luni/src/test/filesystems/src/mypackage/ |
MockFileSystemProvider.java | 29 import java.nio.file.Path; 50 public FileSystem newFileSystem(Path path, Map<String, ?> env) throws IOException { 51 return new MockFileSystem(path, env); 60 public Path getPath(URI uri) { 65 public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, 71 public DirectoryStream<Path> newDirectoryStream(Path dir, 72 DirectoryStream.Filter<? super Path> filter) throws IOException [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
Path.java | 25 public class Path { 26 private static final String TAG = "Path"; 27 private static Path sRoot = new Path(null, "ROOT"); 29 private final Path mParent; 32 private IdentityCache<String, Path> mChildren; 34 private Path(Path parent, String segment) { 39 public Path getChild(String segment) { 40 synchronized (Path.class) 96 String path = toString(); local [all...] |
TagClustering.java | 31 private ArrayList<ArrayList<Path>> mClusters; 41 final TreeMap<String, ArrayList<Path>> map = 42 new TreeMap<String, ArrayList<Path>>(); 43 final ArrayList<Path> untagged = new ArrayList<Path>(); 48 Path path = item.getPath(); 52 untagged.add(path); 57 ArrayList<Path> list = map.get(key); 59 list = new ArrayList<Path>(); [all...] |
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/ |
CompilationUnitTest.java | 28 import java.nio.file.Path; 48 Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "resources")).normalize(); 49 Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "Z.java")); 52 Path sourceRoot1 = cu.getStorage().get().getSourceRoot(); 58 Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "resources")).normalize(); 59 Path testFile = sourceRoot.resolve(Paths.get("com", "github", "javaparser", "storage", "A.java")); 67 Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "resources", "com", "github", "javaparser", "storage")).normalize(); 68 Path testFile = sourceRoot.resolve(Paths.get("B.java")); 71 Path sourceRoot1 = cu.getStorage().get().getSourceRoot(); 77 Path sourceRoot = mavenModuleRoot(CompilationUnitTest.class).resolve(Paths.get("src", "test", "resource (…) [all...] |
/libcore/ojluni/src/test/java/nio/file/ |
TestUtil.java | 36 static public Path createTemporaryDirectory(String where) throws IOException { 37 Path dir = FileSystems.getDefault().getPath(where); 41 static public Path createTemporaryDirectory() throws IOException { 45 static public void removeAll(Path dir) throws IOException { 46 Files.walkFileTree(dir, new FileVisitor<Path>() { 48 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) { 52 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { 61 public FileVisitResult postVisitDirectory(Path dir, IOException exc) { 70 public FileVisitResult visitFileFailed(Path file, IOException exc) { 77 static public void deleteUnchecked(Path file) [all...] |