/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/ |
Path.kt | 21 import android.graphics.Path 25 * Flattens (or approximate) the [Path] with a series of line segments. 27 * @param error The acceptable error for a line on the Path. Typically this would be 31 * @see Path.approximate 34 fun Path.flatten(error: Float = 0.5f): Iterable<PathSegment> = PathUtils.flatten(this, error) 37 * Returns the union of two paths as a new [Path]. 40 inline operator fun Path.plus(p: Path): Path { 41 return Path(this).apply [all...] |
/frameworks/compile/mclinker/lib/Support/ |
Path.cpp | 1 //===- Path.cpp -----------------------------------------------------------===// 9 #include "mcld/Support/Path.h" 34 const Path::StringType separator_str("/"); 41 const Path::StringType separator_str("/"); 47 // Path 49 Path::Path() : m_PathName() { 52 Path::Path(const Path::ValueType* s) : m_PathName(s) [all...] |
RealPath.cpp | 18 RealPath::RealPath() : Path() { 21 RealPath::RealPath(const RealPath::ValueType* s) : Path(s) { 25 RealPath::RealPath(const RealPath::StringType& s) : Path(s) { 29 RealPath::RealPath(const Path& pPath) : Path(pPath) { 36 RealPath& RealPath::assign(const Path& pPath) { 37 Path::m_PathName.assign(pPath.native()); 45 Path path_name;
|
/libcore/ojluni/src/main/java/java/nio/file/ |
Path.java | 35 * typically represent a system dependent file path. 37 * <p> A {@code Path} represents a path that is hierarchical and composed of a 42 * The other name elements are directory names. A {@code Path} can represent a 44 * A {@code Path} is considered to be an <i>empty path</i> if it consists 46 * <i>empty path</i> is equivalent to accessing the default directory of the 47 * file system. {@code Path} defines the {@link #getFileName() getFileName}, 49 * subpath} methods to access the path components or a subsequence of its name 52 * <p> In addition to accessing the components of a path, a {@code Path} als [all...] |
PathMatcher.java | 35 * @see Files#newDirectoryStream(Path,String) 40 * Tells if given path matches this matcher's pattern. 42 * @param path 43 * the path to match 45 * @return {@code true} if, and only if, the path matches this 48 boolean matches(Path path);
|
StandardWatchEventKinds.java | 58 public static final WatchEvent.Kind<Path> ENTRY_CREATE = 59 new StdWatchEventKind<Path>("ENTRY_CREATE", Path.class); 69 public static final WatchEvent.Kind<Path> ENTRY_DELETE = 70 new StdWatchEventKind<Path>("ENTRY_DELETE", Path.class); 80 public static final WatchEvent.Kind<Path> ENTRY_MODIFY = 81 new StdWatchEventKind<Path>("ENTRY_MODIFY", Path.class);
|
/external/skia/experimental/sksg/geometry/ |
SkSGPath.h | 23 class Path : public GeometryNode { 25 static sk_sp<Path> Make() { return sk_sp<Path>(new Path(SkPath())); } 26 static sk_sp<Path> Make(const SkPath& r) { return sk_sp<Path>(new Path(r)); } 28 SG_ATTRIBUTE(Path, SkPath, fPath) 38 explicit Path(const SkPath&);
|
SkSGPath.cpp | 15 Path::Path(const SkPath& path) : fPath(path) {} 17 void Path::onClip(SkCanvas* canvas, bool antiAlias) const { 21 void Path::onDraw(SkCanvas* canvas, const SkPaint& paint) const { 25 SkRect Path::onRevalidate(InvalidationController*, const SkMatrix&) { 31 SkPath Path::onAsPath() const {
|
/external/skqp/experimental/sksg/geometry/ |
SkSGPath.h | 23 class Path : public GeometryNode { 25 static sk_sp<Path> Make() { return sk_sp<Path>(new Path(SkPath())); } 26 static sk_sp<Path> Make(const SkPath& r) { return sk_sp<Path>(new Path(r)); } 28 SG_ATTRIBUTE(Path, SkPath, fPath) 38 explicit Path(const SkPath&);
|
SkSGPath.cpp | 15 Path::Path(const SkPath& path) : fPath(path) {} 17 void Path::onClip(SkCanvas* canvas, bool antiAlias) const { 21 void Path::onDraw(SkCanvas* canvas, const SkPaint& paint) const { 25 SkRect Path::onRevalidate(InvalidationController*, const SkMatrix&) { 31 SkPath Path::onAsPath() const {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
AccuracyPath.java | 16 package com.android.cts.verifier.sensors.sixdof.Utils.Path; 19 * Class with the implementation for the Accuracy path 21 public class AccuracyPath extends Path { 23 * Implementation of the abstract class in path but left empty because there is nothing extra to
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
FilePaths.c | 2 Defines file-path manipulation functions.
17 Removes the last directory or file entry in a path. For a path which is
20 @param[in,out] Path A pointer to the path to modify.
28 IN OUT CHAR16 *Path
34 // get directory name from path... ('chop' off extra)
36 for ( Walker = Path, LastSlash = NULL
56 - Single periods in the path are removed.
57 - Double periods in the path are removed along with a single parent directory. [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
Path.h | 1 //===- Path.h -------------------------------------------------------------===// 9 // This file declares the mcld::sys::fs::Path. It follows TR2/boost 11 // path class. 40 /** \class Path 41 * \brief Path provides an abstraction for the path to a file or directory in 44 class Path { 50 Path(); 51 explicit Path(const ValueType* s); 52 explicit Path(const StringType& s) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathTest.java | 29 import android.graphics.Path; 51 // new the Path instance 52 new Path(); 54 // another the Path instance with different params 55 new Path(new Path()); 60 Path path = new Path(); local 61 assertTrue(path.isEmpty()) 69 Path path = new Path(); local 77 Path path = new Path(); local 83 Path path = new Path(); local 93 Path path = new Path(); local 104 Path path = new Path(); local 120 Path path = new Path(); local 134 Path path = new Path(); local 142 Path path = new Path(); local 152 Path path = new Path(); local 160 Path path = new Path(); local 168 Path path = new Path(); local 177 Path path = new Path(); local 185 Path path = new Path(); local 194 Path path = new Path(); local 204 Path path = new Path(); local 218 Path path = new Path(); local 232 Path path = new Path(); local 238 Path path = new Path(); local 247 Path path = new Path(); local 257 Path path = new Path(); local 268 Path path = new Path(); local 277 Path path = new Path(); local 284 Path path = new Path(); local 294 Path path = new Path(); local 304 Path path = new Path(); local 315 Path path = new Path(); local 324 Path path = new Path(); local 337 Path path = new Path(); local 347 Path path = new Path(); local 357 Path path = new Path(); local 367 Path path = new Path(); local 375 Path path = new Path(); local 385 Path path = new Path(); local 393 Path path = new Path(); local 405 Path path = new Path(); local 413 Path path = new Path(); local 422 Path path = new Path(); local 431 Path path = new Path(); local 454 Path path = new Path(); local 467 Path path = new Path(); local 480 Path path = new Path(); local 489 Path path = new Path(); local [all...] |
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
PathPerfTest.java | 19 import android.graphics.Path; 36 Path path = new Path(); local 38 path.reset(); 45 Path path = new Path(); local 47 path.addRect(0, 0, 100, 100, Path.Direction.CW) 55 Path path = new Path(); local 64 Path path = new Path(); local 74 Path path = new Path(); local 84 Path path = new Path(); local 94 Path path = new Path(); local 105 Path path = new Path(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DataSourceType.java | 27 private static final Path PICASA_ROOT = Path.fromString("/picasa"); 28 private static final Path LOCAL_ROOT = Path.fromString("/local"); 35 Path path = set.getPath(); local 36 if (MediaSetUtils.isCameraSource(path)) return TYPE_CAMERA; 38 Path prefix = path.getPrefixPath();
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
gc_test.py | 35 def parser(path): 36 # Modify the path object for RegEx match for Windows Paths 40 compat.as_str_any(path.path).replace("\\", "/")) 43 compat.as_str_any(path.path)) 46 return path._replace(export_version=int(match.group(1))) 54 paths = [gc.Path("/foo", 8), gc.Path("/foo", 9), gc.Path("/foo", 10) [all...] |
/external/tensorflow/tensorflow/contrib/session_bundle/ |
gc_test.py | 35 paths = [gc.Path("/foo", 8), gc.Path("/foo", 9), gc.Path("/foo", 10)] 38 self.assertEquals(n, [gc.Path("/foo", 9), gc.Path("/foo", 10)]) 41 paths = [gc.Path("/foo", 0), gc.Path("/foo", 3)] 44 self.assertEquals(n, [gc.Path("/foo", 0), gc.Path("/foo", 3)]) 48 gc.Path("/foo", 4), gc.Path("/foo", 5), gc.Path("/foo", 6) [all...] |
/external/tensorflow/tensorflow/python/estimator/ |
gc_test.py | 35 def parser(path): 36 # Modify the path object for RegEx match for Windows Paths 40 compat.as_str_any(path.path).replace("\\", "/")) 43 compat.as_str_any(path.path)) 46 return path._replace(export_version=int(match.group(1))) 54 paths = [gc.Path("/foo", 8), gc.Path("/foo", 9), gc.Path("/foo", 10) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Program.h | 17 #include "llvm/Support/Path.h" 27 /// programs from the path and to execute them in various ways. The sys::Path 52 /// invoking program. If Path::executable() does not return true when this 58 ( const Path& path, ///< sys::Path object providing the path of the 67 const sys::Path** redirects = 0, ///< An optional array of pointers to 72 ///< When an empty Path is passed in, the corresponding fil [all...] |
Signals.h | 18 #include "llvm/Support/Path.h" 30 bool RemoveFileOnSignal(const Path &Filename, std::string* ErrMsg = 0); 34 void DontRemoveFileOnSignal(const Path &Filename);
|
SystemUtils.h | 22 namespace sys { class Path; } 33 /// PrependMainExecutablePath - Prepend the path to the program being executed 37 /// just mainpulates the path and doesn't check for executability. 39 sys::Path PrependMainExecutablePath(const std::string &ExeName,
|
/external/llvm/include/llvm/Support/ |
CachePruning.h | 22 /// Handle pruning a directory provided a path and some options to control what 26 /// Prepare to prune \p Path. 27 CachePruning(StringRef Path) : Path(Path) {} 61 std::string Path;
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
SystemUtils.cpp | 35 /// PrependMainExecutablePath - Prepend the path to the program being executed 39 /// just mainpulates the path and doesn't check for executability. 41 sys::Path llvm::PrependMainExecutablePath(const std::string &ExeName, 45 // is a relative path to the executable itself. 46 sys::Path Result = sys::Path::GetMainExecutable(Argv0, MainAddr); 51 Result.appendSuffix(sys::Path::GetEXESuffix());
|
/external/jcommander/src/main/java/com/beust/jcommander/converters/ |
PathConverter.java | 23 import java.nio.file.Path; 27 * Convert a string into a path. 31 public class PathConverter implements IStringConverter<Path> { 33 public Path convert(String value) {
|