/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/cts/ |
H A D | PathTest.java | 30 import android.graphics.Path; 31 import android.graphics.Path.Direction; 70 new Path(); in testConstructor() 73 new Path(new Path()); in testConstructor() 78 Path path = new Path(); in testAddRect1() 81 path.addRect(rect, Path.Direction.CW); in testAddRect1() 87 Path path = new Path(); in testAddRect2() 89 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 95 Path path = new Path(); in testMoveTo() 102 Path path = new Path(); in testSet() [all …]
|
/aosp_15_r20/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/ |
H A D | ShadowNativePathTest.java | 30 import android.graphics.Path; 52 Path path = new Path(); in testAddRect1() 55 path.addRect(rect, Path.Direction.CW); in testAddRect1() 61 Path path = new Path(); in testAddRect2() 63 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 69 Path path = new Path(); in testMoveTo() 76 Path.FillType expected1 = Path.FillType.EVEN_ODD; in testAccessFillType() 77 Path.FillType expected2 = Path.FillType.INVERSE_EVEN_ODD; in testAccessFillType() 78 Path.FillType expected3 = Path.FillType.INVERSE_WINDING; in testAccessFillType() 79 Path.FillType expected4 = Path.FillType.WINDING; in testAccessFillType() [all …]
|
/aosp_15_r20/art/test/ |
H A D | run_test_build.py | 37 from pathlib import Path 73 self.java_home = Path(os.environ.get("JAVA_HOME")).absolute() 125 def run(self, executable: pathlib.Path, args: List[Union[pathlib.Path, str]]): argument 126 assert isinstance(executable, pathlib.Path), executable 127 cmd: List[Union[pathlib.Path, str]] = [] 138 if isinstance(arg, pathlib.Path): 165 def rbe_wrap(self, args, inputs: Set[pathlib.Path]=None): argument 171 if isinstance(arg, pathlib.Path): 185 def rbe_javac(self, javac_path:Path, args): argument 186 output = relpath(Path(args[args.index("-d") + 1]), self.rbe_exec_root) [all …]
|
/aosp_15_r20/external/apache-commons-io/src/main/java/org/apache/commons/io/file/ |
H A D | FilesUncheck.java | 37 import java.nio.file.Path; 72 public static long copy(final InputStream in, final Path target, final CopyOption... options) { in copy() 85 public static long copy(final Path source, final OutputStream out) { in copy() 99 public static Path copy(final Path source, final Path target, final CopyOption... options) { in copy() 112 public static Path createDirectories(final Path dir, final FileAttribute<?>... attrs) { in createDirectories() 125 public static Path createDirectory(final Path dir, final FileAttribute<?>... attrs) { in createDirectory() 138 public static Path createFile(final Path path, final FileAttribute<?>... attrs) { in createFile() 151 public static Path createLink(final Path link, final Path existing) { in createLink() 165 …public static Path createSymbolicLink(final Path link, final Path target, final FileAttribute<?>..… in createSymbolicLink() 179 …public static Path createTempDirectory(final Path dir, final String prefix, final FileAttribute<?>… in createTempDirectory() [all …]
|
H A D | PathUtils.java | 41 import java.nio.file.Path; 98 final List<Path> relativeFileList1; 99 final List<Path> relativeFileList2; 111 …private RelativeSortedPaths(final Path dir1, final Path dir2, final int maxDepth, final LinkOption… in RelativeSortedPaths() 113 final List<Path> tmpRelativeDirList1; in RelativeSortedPaths() 114 final List<Path> tmpRelativeDirList2; in RelativeSortedPaths() 115 List<Path> tmpRelativeFileList1 = null; in RelativeSortedPaths() 116 List<Path> tmpRelativeFileList2 = null; in RelativeSortedPaths() 212 public static final Path[] EMPTY_PATH_ARRAY = {}; 223 …private static AccumulatorPathVisitor accumulate(final Path directory, final int maxDepth, final F… in accumulate() [all …]
|
/aosp_15_r20/frameworks/compile/mclinker/lib/Support/ |
D | Path.cpp | 34 const Path::StringType separator_str("/"); 41 const Path::StringType separator_str("/"); 49 Path::Path() : m_PathName() { in Path() function in mcld::sys::fs::Path 52 Path::Path(const Path::ValueType* s) : m_PathName(s) { in Path() function in mcld::sys::fs::Path 55 Path::Path(const Path::StringType& s) : m_PathName(s) { in Path() function in mcld::sys::fs::Path 58 Path::Path(const Path& pCopy) : m_PathName(pCopy.m_PathName) { in Path() function in mcld::sys::fs::Path 61 Path::~Path() { in ~Path() 64 bool Path::isFromRoot() const { in isFromRoot() 70 bool Path::isFromPWD() const { in isFromPWD() 76 Path& Path::assign(const Path::StringType& s) { in assign() [all …]
|
/aosp_15_r20/external/skia/infra/bots/deps/ |
H A D | deps_gen.go | 13 Path: "third_party/externals/dng_sdk", 18 Path: "third_party/externals/microhttpd", 23 Path: "third_party/externals/perfetto", 28 Path: "third_party/externals/piex", 33 Path: "third_party/externals/angle2", 38 Path: "third_party/externals/icu", 43 Path: "third_party/externals/libjpeg-turbo", 48 Path: "third_party/externals/partition_alloc", 53 Path: "buildtools", 58 Path: "third_party/externals/freetype", [all …]
|
/aosp_15_r20/external/ruy/ruy/ |
H A D | path.h | 55 enum class Path : std::uint8_t { enum 92 inline constexpr Path operator|(Path p, Path q) { 93 return static_cast<Path>(static_cast<std::uint32_t>(p) | 97 inline constexpr Path operator&(Path p, Path q) { 98 return static_cast<Path>(static_cast<std::uint32_t>(p) & 102 inline constexpr Path operator^(Path p, Path q) { 103 return static_cast<Path>(static_cast<std::uint32_t>(p) ^ 107 inline constexpr Path operator~(Path p) { 108 return static_cast<Path>(~static_cast<std::uint32_t>(p)); 111 inline constexpr bool Disjoint(Path p, Path q) { in Disjoint() [all …]
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | Files.java | 96 private static FileSystemProvider provider(Path path) { in provider() 149 public static InputStream newInputStream(Path path, OpenOption... options) 213 public static OutputStream newOutputStream(Path path, OpenOption... options) 356 public static SeekableByteChannel newByteChannel(Path path, 402 public static SeekableByteChannel newByteChannel(Path path, OpenOption... options) 413 implements DirectoryStream.Filter<Path> 418 public boolean accept(Path entry) { return true; } 454 public static DirectoryStream<Path> newDirectoryStream(Path dir) 509 public static DirectoryStream<Path> newDirectoryStream(Path dir, String glob) 519 DirectoryStream.Filter<Path> filter = new DirectoryStream.Filter<Path>() { [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/nio/file/ |
D | Files.java | 96 private static FileSystemProvider provider(Path path) { in provider() 149 public static InputStream newInputStream(Path path, OpenOption... options) 213 public static OutputStream newOutputStream(Path path, OpenOption... options) 356 public static SeekableByteChannel newByteChannel(Path path, 402 public static SeekableByteChannel newByteChannel(Path path, OpenOption... options) 413 implements DirectoryStream.Filter<Path> 418 public boolean accept(Path entry) { return true; } 454 public static DirectoryStream<Path> newDirectoryStream(Path dir) 509 public static DirectoryStream<Path> newDirectoryStream(Path dir, String glob) 519 DirectoryStream.Filter<Path> filter = new DirectoryStream.Filter<Path>() { [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/9/libcore/ojluni/src/main/java/java/nio/file/ |
D | Files.java | 96 private static FileSystemProvider provider(Path path) { in provider() 149 public static InputStream newInputStream(Path path, OpenOption... options) 213 public static OutputStream newOutputStream(Path path, OpenOption... options) 356 public static SeekableByteChannel newByteChannel(Path path, 402 public static SeekableByteChannel newByteChannel(Path path, OpenOption... options) 413 implements DirectoryStream.Filter<Path> 418 public boolean accept(Path entry) { return true; } 454 public static DirectoryStream<Path> newDirectoryStream(Path dir) 509 public static DirectoryStream<Path> newDirectoryStream(Path dir, String glob) 519 DirectoryStream.Filter<Path> filter = new DirectoryStream.Filter<Path>() { [all …]
|
/aosp_15_r20/frameworks/compile/mclinker/include/mcld/Support/ |
D | Path.h | 44 class Path { 50 Path(); 51 explicit Path(const ValueType* s); 52 explicit Path(const StringType& s); 53 Path(const Path& pCopy); 54 virtual ~Path(); 58 Path& assign(InputIterator begin, InputIterator end); 59 Path& assign(const StringType& s); 60 Path& assign(const ValueType* s, unsigned int length); 64 Path& append(InputIterator begin, InputIterator end); [all …]
|
/aosp_15_r20/external/perfetto/test/trace_processor/diff_tests/parser/parsing/ |
H A D | tests.py | 16 from python.generators.diff_tests.testing import Path, DataPath, Metric 93 query=Path('b120487929_test.sql'), 94 out=Path('cpu_counters_b120487929.out')) 99 trace=Path('ftrace_with_tracing_start.py'), 125 out=Path('sched_slices_sched_switch_original.out')) 135 out=Path('sched_slices_sched_switch_compact.out')) 142 query=Path('sched_waking_raw_test.sql'), 143 out=Path('sched_waking_raw_compact_sched.out')) 155 out=Path('sched_waking_instants_compact_sched.out')) 170 out=Path('mm_event.out')) [all …]
|
/aosp_15_r20/external/executorch/backends/apple/coreml/runtime/sdk/ |
H A D | ETCoreMLModelStructurePath.mm | 22 template<typename T> void append_component(NSDictionary<NSString *, id> *component, Path& path); 24 template<> void append_component<Path::Program>(NSDictionary<NSString *, id> * __unused component, … 25 path.append_component(Path::Program()); 28 template<> void append_component<Path::Program::Function>(NSDictionary<NSString *, id> *component, … 29 NSString *name = SAFE_CAST(component[@(Path::Program::Function::kNameKeyName)], NSString); 30 path.append_component(Path::Program::Function(name.UTF8String)); 33 template<> void append_component<Path::Program::Block>(NSDictionary<NSString *, id> *component, Pat… 34 NSNumber *index = SAFE_CAST(component[@(Path::Program::Block::kIndexKeyName)], NSNumber); 36 path.append_component(Path::Program::Block(indexValue)); 39 template<> void append_component<Path::Program::Operation>(NSDictionary<NSString *, id> *component,… [all …]
|
/aosp_15_r20/external/perfetto/test/trace_processor/diff_tests/parser/profiling/ |
H A D | tests_heap_graph.py | 16 from python.generators.diff_tests.testing import Path, DataPath, Metric 26 trace=Path('heap_graph_baseapk.textproto'), 48 out=Path('heap_graph_flamegraph.out')) 52 trace=Path('heap_graph_baseapk.textproto'), 66 out=Path('heap_graph_object.out')) 70 trace=Path('heap_graph_baseapk.textproto'), 74 out=Path('heap_graph_reference.out')) 78 trace=Path('heap_graph_deobfuscate_pkg.textproto'), 92 out=Path('heap_graph_object.out')) 164 out=Path('heap_graph_duplicate_flamegraph.out')) [all …]
|
/aosp_15_r20/external/okio/okio/src/jvmMain/kotlin/okio/ |
H A D | FileSystem.kt | 19 import okio.Path.Companion.toPath 30 actual abstract fun canonicalize(path: Path): Path in canonicalize() 33 actual fun metadata(path: Path): FileMetadata = commonMetadata(path) in canonicalize() 36 actual abstract fun metadataOrNull(path: Path): FileMetadata? in canonicalize() 39 actual fun exists(path: Path): Boolean = commonExists(path) in canonicalize() 42 actual abstract fun list(dir: Path): List<Path> in canonicalize() 44 actual abstract fun listOrNull(dir: Path): List<Path>? in canonicalize() 46 actual open fun listRecursively(dir: Path, followSymlinks: Boolean): Sequence<Path> = in canonicalize() 49 fun listRecursively(dir: Path): Sequence<Path> = listRecursively(dir, followSymlinks = false) in canonicalize() 52 actual abstract fun openReadOnly(file: Path): FileHandle in canonicalize() [all …]
|
/aosp_15_r20/external/okio/okio/src/commonMain/kotlin/okio/internal/ |
H A D | Path.kt | 25 import okio.Path 26 import okio.Path.Companion.toPath 44 internal inline fun Path.commonRoot(): Path? { in commonRoot() 47 else -> Path(bytes.substring(0, rootLength)) in commonRoot() 52 internal inline fun Path.commonSegments(): List<String> { in commonSegments() 58 internal inline fun Path.commonSegmentsBytes(): List<ByteString> { in commonSegmentsBytes() 84 private fun Path.rootLength(): Int { in Path() method 111 internal inline fun Path.commonIsAbsolute(): Boolean { in commonIsAbsolute() 116 internal inline fun Path.commonIsRelative(): Boolean { in commonIsRelative() 121 internal inline fun Path.commonVolumeLetter(): Char? { in commonVolumeLetter() [all …]
|
/aosp_15_r20/external/pigweed/pw_presubmit/py/pw_presubmit/ |
H A D | git_repo.py | 16 from pathlib import Path 31 def __init__(self, repo_root: Path): argument 37 *args: Path | str, show_stderr=False, repo: Path | str = '.' 54 def find_git_repo(path_in_repo: Path) -> git_repo.GitRepo: argument 61 repo_path: Path | None = None, 78 repo = repo_path if repo_path is not None else Path.cwd() 85 pathspecs: Collection[Path | str] = (), 86 repo_path: Path | None = None, 87 ) -> list[Path]: 98 repo = repo_path if repo_path is not None else Path.cwd() [all …]
|
H A D | format_code.py | 28 from pathlib import Path 78 _DEFAULT_PATH = Path('out', 'format') 122 ) -> dict[Path, str]: 135 ) -> dict[Path, str]: 146 statuses: Iterable[tuple[Path, FormatFixStatus]], argument 147 ) -> dict[Path, str]: 154 def clang_format_check(ctx: _Context) -> dict[Path, str]: 162 def clang_format_fix(ctx: _Context) -> dict[Path, str]: 168 def _typescript_format(*args: Path | str, **kwargs) -> bytes: 174 Path(npm_env['_PW_ACTUAL_ENVIRONMENT_ROOT']) / 'npm-cache' [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/modload/ |
D | buildlist.go | 100 if m.Path == "go" { 131 if m.Version == "" && MainModules.Contains(m.Path) { 134 if m.Path == "" || m.Version == "" { 150 …if prev.Path > m.Path || (prev.Path == m.Path && gover.ModCompare(m.Path, prev.Version, m.Version)… 155 if v, ok := rs.maxRootVersion[m.Path]; ok && gover.ModCompare(m.Path, v, m.Version) >= 0 { 158 rs.maxRootVersion[m.Path] = m.Version 197 if v, ok := rs.rootSelected(m.Path); !ok || v != m.Version { 220 vendorMod := module.Version{Path: "vendor/modules.txt", Version: ""} 267 if MainModules.Contains(m.Path) || (i > 0 && m.Path == rs.rootModules[i-1].Path) { 447 hasDepsInAll[m.Path] = true [all …]
|
/aosp_15_r20/external/guava/guava/src/com/google/common/io/ |
H A D | MoreFiles.java | 46 import java.nio.file.Path; 85 public static ByteSource asByteSource(Path path, OpenOption... options) { in asByteSource() 95 private final Path path; 99 private PathByteSource(Path path, OpenOption... options) { in PathByteSource() 203 public static ByteSink asByteSink(Path path, OpenOption... options) { 209 private final Path path; 212 private PathByteSink(Path path, OpenOption... options) { 238 public static CharSource asCharSource(Path path, Charset charset, OpenOption... options) { 252 public static CharSink asCharSink(Path path, Charset charset, OpenOption... options) { 264 public static ImmutableList<Path> listFiles(Path dir) throws IOException { [all …]
|
/aosp_15_r20/external/okio/okio/src/commonMain/kotlin/okio/ |
H A D | FileSystem.kt | 98 abstract fun canonicalize(path: Path): Path in canonicalize() 106 fun metadata(path: Path): FileMetadata in canonicalize() 116 abstract fun metadataOrNull(path: Path): FileMetadata? in canonicalize() 125 fun exists(path: Path): Boolean in canonicalize() 141 abstract fun list(dir: Path): List<Path> in canonicalize() 152 abstract fun listOrNull(dir: Path): List<Path>? in canonicalize() 168 open fun listRecursively(dir: Path, followSymlinks: Boolean = false): Sequence<Path> in canonicalize() 178 abstract fun openReadOnly(file: Path): FileHandle in canonicalize() 194 file: Path, in canonicalize() 207 abstract fun source(file: Path): Source in canonicalize() [all …]
|
/aosp_15_r20/external/okio/okio/src/wasmMain/kotlin/okio/ |
H A D | FileSystem.kt | 18 import okio.Path.Companion.toPath 27 actual abstract fun canonicalize(path: Path): Path in canonicalize() 29 actual fun metadata(path: Path): FileMetadata = commonMetadata(path) in canonicalize() 31 actual abstract fun metadataOrNull(path: Path): FileMetadata? in canonicalize() 33 actual fun exists(path: Path): Boolean = commonExists(path) in canonicalize() 35 actual abstract fun list(dir: Path): List<Path> in canonicalize() 37 actual abstract fun listOrNull(dir: Path): List<Path>? in canonicalize() 39 actual open fun listRecursively(dir: Path, followSymlinks: Boolean): Sequence<Path> = in canonicalize() 42 actual abstract fun openReadOnly(file: Path): FileHandle in canonicalize() 45 file: Path, in canonicalize() [all …]
|
/aosp_15_r20/external/okio/okio/src/jsMain/kotlin/okio/ |
H A D | FileSystem.kt | 18 import okio.Path.Companion.toPath 27 actual abstract fun canonicalize(path: Path): Path in canonicalize() 29 actual fun metadata(path: Path): FileMetadata = commonMetadata(path) in canonicalize() 31 actual abstract fun metadataOrNull(path: Path): FileMetadata? in canonicalize() 33 actual fun exists(path: Path): Boolean = commonExists(path) in canonicalize() 35 actual abstract fun list(dir: Path): List<Path> in canonicalize() 37 actual abstract fun listOrNull(dir: Path): List<Path>? in canonicalize() 39 actual open fun listRecursively(dir: Path, followSymlinks: Boolean): Sequence<Path> = in canonicalize() 42 actual abstract fun openReadOnly(file: Path): FileHandle in canonicalize() 45 file: Path, in canonicalize() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/ |
H A D | path.rs | 569 impl AsRef<Path> for Component<'_> { 571 fn as_ref(&self) -> &Path { in as_ref() argument 631 struct DebugHelper<'a>(&'a Path); in fmt() 695 pub fn as_path(&self) -> &'a Path { in as_path() argument 703 unsafe { Path::from_u8_slice(comps.path) } in as_path() 797 impl AsRef<Path> for Components<'_> { 799 fn as_ref(&self) -> &Path { in as_ref() argument 815 struct DebugHelper<'a>(&'a Path); in fmt() 844 pub fn as_path(&self) -> &'a Path { in as_path() argument 850 impl AsRef<Path> for Iter<'_> { [all …]
|