Home
last modified time | relevance | path

Searched full:path (Results 1 – 25 of 12879) sorted by relevance

12345678910>>...516

/external/skia/bench/
DBigPath.cpp20 SkPathBuilder path; in make_big_path() local
22 path.moveTo(-1113, 81); in make_big_path()
23 path.lineTo(-1113, 83); in make_big_path()
24 path.lineTo(-1113, 82); in make_big_path()
25 path.lineTo(-1112, 82); in make_big_path()
26 path.lineTo(-1112, 83); in make_big_path()
27 path.lineTo(-1111, 82); in make_big_path()
28 path.lineTo(-1111, 82); in make_big_path()
29 path.lineTo(-1110, 81); in make_big_path()
30 path.lineTo(-1110, 81); in make_big_path()
[all …]
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativePathTest.java30 import android.graphics.Path;
53 Path path = new Path(); in testAddRect1() local
54 assertTrue(path.isEmpty()); in testAddRect1()
56 path.addRect(rect, Path.Direction.CW); in testAddRect1()
57 assertFalse(path.isEmpty()); in testAddRect1()
62 Path path = new Path(); in testAddRect2() local
63 assertTrue(path.isEmpty()); in testAddRect2()
64 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2()
65 assertFalse(path.isEmpty()); in testAddRect2()
70 Path path = new Path(); in testMoveTo() local
[all …]
/external/skia/tests/
DPathOpsSimplifyTest.cpp24 SkPath path; in testLine1() local
25 path.moveTo(2,0); in testLine1()
26 path.lineTo(1,1); in testLine1()
27 path.lineTo(0,0); in testLine1()
28 path.close(); in testLine1()
29 testSimplify(reporter, path, filename); in testLine1()
33 SkPath path; in testLine1x() local
34 path.setFillType(SkPathFillType::kEvenOdd); in testLine1x()
35 path.moveTo(2,0); in testLine1x()
36 path.lineTo(1,1); in testLine1x()
[all …]
DPathOpsBattles.cpp100 SkPath path; in battleOp1() local
101 path.setFillType((SkPathFillType) 0); in battleOp1()
102 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1()
103 path.cubicTo(SkBits2Float(0x3ea4d9f5), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f24d9a9), SkBits2F… in battleOp1()
104 path.lineTo(SkBits2Float(0x3f32bfc3), SkBits2Float(0xc26ffbd7)); in battleOp1()
105 path.cubicTo(SkBits2Float(0x3eee5669), SkBits2Float(0xc26ffe9e), SkBits2Float(0x3e6e56cc), SkBits2F… in battleOp1()
106 path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1()
107 path.close(); in battleOp1()
109 SkPath path1(path); in battleOp1()
110 path.reset(); in battleOp1()
[all …]
DPathOpsSkpTest.cpp20 SkPath path; in skpcheeseandburger_com225() local
21 path.setFillType(SkPathFillType::kEvenOdd); in skpcheeseandburger_com225()
22 path.moveTo(555, 468); in skpcheeseandburger_com225()
23 path.lineTo(555, 362); in skpcheeseandburger_com225()
24 path.lineTo(872, 362); in skpcheeseandburger_com225()
25 path.lineTo(872, 468); in skpcheeseandburger_com225()
26 path.lineTo(555, 468); in skpcheeseandburger_com225()
27 path.close(); in skpcheeseandburger_com225()
377 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename); in skpcheeseandburger_com225()
381 SkPath path; in skpeverytechpro_blogspot_com100() local
[all …]
DPathOpsOpTest.cpp32 PathTest_Private(SkPath* path) in PathTest_Private() argument
33 : fPath(path) {} in PathTest_Private()
42 static void path_edit(const SkPoint& from, const SkPoint& to, SkPath* path) { in path_edit() argument
43 PathTest_Private testPath(path); in path_edit()
44 for (int index = 0; index < path->countPoints(); ++index) { in path_edit()
45 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit()
53 SkPath path, pathB; in cubicOp1d() local
54 path.setFillType(SkPathFillType::kWinding); in cubicOp1d()
55 path.moveTo(0,1); in cubicOp1d()
56 path.cubicTo(0,2, 1,0, 1,0); in cubicOp1d()
[all …]
DTriangulatingPathRendererTests.cpp80 SkPath path; in __anon7111d3d00102() local
81 path.moveTo(229.127044677734375f, 67.34100341796875f); in __anon7111d3d00102()
82 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anon7111d3d00102()
83 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anon7111d3d00102()
84 path.lineTo(245.5253753662109375f, 9.6253643035888671875f); in __anon7111d3d00102()
85 path.moveTo(208.4683990478515625f, 30.284009933471679688f); in __anon7111d3d00102()
86 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anon7111d3d00102()
87 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anon7111d3d00102()
88 return path; in __anon7111d3d00102()
94 SkPath path; in __anon7111d3d00202() local
[all …]
DPathOpsFuzz763Test.cpp22 SkPath path; in fuzz763_3084() local
23 path.setFillType((SkPathFillType) 1); in fuzz763_3084()
24 path.moveTo(SkBits2Float(0xc19e6455), SkBits2Float(0xc19e6455)); in fuzz763_3084()
25 path.quadTo(SkBits2Float(0xc1399153), SkBits2Float(0xc1e00000), SkBits2Float(0x00000000), SkBits2Fl… in fuzz763_3084()
26 path.quadTo(SkBits2Float(0x41399153), SkBits2Float(0xc1e00000), SkBits2Float(0x419e6455), SkBits2Fl… in fuzz763_3084()
27 path.quadTo(SkBits2Float(0x41e00000), SkBits2Float(0xc1399153), SkBits2Float(0x41e00000), SkBits2Fl… in fuzz763_3084()
28 path.quadTo(SkBits2Float(0x41e00000), SkBits2Float(0x41399153), SkBits2Float(0x419e6455), SkBits2Fl… in fuzz763_3084()
29 path.quadTo(SkBits2Float(0x415b75ce), SkBits2Float(0x41cf0dc3), SkBits2Float(0x40b878fc), SkBits2Fl… in fuzz763_3084()
30 path.quadTo(SkBits2Float(0x41000000), SkBits2Float(0x41ee1ba4), SkBits2Float(0x41000000), SkBits2Fl… in fuzz763_3084()
31 path.quadTo(SkBits2Float(0x41000000), SkBits2Float(0x4211413d), SkBits2Float(0x40b504f3), SkBits2Fl… in fuzz763_3084()
[all …]
/external/libcxx/include/experimental/
Dfilesystem17 class path;
19 void swap(path& lhs, path& rhs) noexcept;
20 size_t hash_value(const path& p) noexcept;
22 bool operator==(const path& lhs, const path& rhs) noexcept;
23 bool operator!=(const path& lhs, const path& rhs) noexcept;
24 bool operator< (const path& lhs, const path& rhs) noexcept;
25 bool operator<=(const path& lhs, const path& rhs) noexcept;
26 bool operator> (const path& lhs, const path& rhs) noexcept;
27 bool operator>=(const path& lhs, const path& rhs) noexcept;
29 path operator/ (const path& lhs, const path& rhs);
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/
Dfilesystem18 // `class path` from http://eel.is/c++draft/fs.class.path.general#6
19 class path {
27 path() noexcept;
28 path(const path& p);
29 path(path&& p) noexcept;
30 path(string_type&& source, format fmt = auto_format);
32 path(const Source& source, format fmt = auto_format);
34 path(InputIterator first, InputIterator last, format fmt = auto_format);
36 path(const Source& source, const locale& loc, format fmt = auto_format);
38path(InputIterator first, InputIterator last, const locale& loc, format fmt = auto_format);
[all …]
/external/pdfium/core/fxge/
Dcfx_path_unittest.cpp11 CFX_Path path; in TEST() local
12 path.AppendRect(/*left=*/1, /*bottom=*/2, /*right=*/3, /*top=*/5); in TEST()
13 EXPECT_EQ(5u, path.GetPoints().size()); in TEST()
14 EXPECT_TRUE(path.IsRect()); in TEST()
15 absl::optional<CFX_FloatRect> rect = path.GetRect(nullptr); in TEST()
18 EXPECT_EQ(CFX_FloatRect(1, 2, 3, 5), path.GetBoundingBox()); in TEST()
21 rect = path.GetRect(&kScaleMatrix); in TEST()
24 EXPECT_EQ(CFX_FloatRect(1, 2, 3, 5), path.GetBoundingBox()); in TEST()
26 path.Clear(); in TEST()
27 EXPECT_EQ(0u, path.GetPoints().size()); in TEST()
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_pathlib_test.py43 self.path = None
49 self.path = self.pathlib.Path
55 path = self.path('/test')
57 self.assertTrue(isinstance(path, self.pathlib.WindowsPath))
58 self.assertTrue(isinstance(path, self.pathlib.PureWindowsPath))
67 self.assertTrue(isinstance(path, self.pathlib.PosixPath))
68 self.assertTrue(isinstance(path, self.pathlib.PurePosixPath))
77 """Basic initialization tests - taken from pathlib.Path documentation
79 self.assertEqual(self.path('/', 'foo', 'bar', 'baz'),
80 self.path('/foo/bar/baz'))
[all …]
/external/skia/gm/
Dstrokefill.cpp36 SkPath path; in papyrus_hello() local
37 path.moveTo(169.824f, 83.4102f); in papyrus_hello()
38 path.lineTo(167.285f, 85.6074f); in papyrus_hello()
39 path.lineTo(166.504f, 87.2188f); in papyrus_hello()
40 path.lineTo(165.82f, 86.7793f); in papyrus_hello()
41 path.lineTo(165.186f, 87.1211f); in papyrus_hello()
42 path.lineTo(164.6f, 88.1953f); in papyrus_hello()
43 path.lineTo(161.914f, 89.416f); in papyrus_hello()
44 path.lineTo(161.719f, 89.2207f); in papyrus_hello()
45 path.lineTo(160.596f, 88.8789f); in papyrus_hello()
[all …]
Dpathfill.cpp23 SkPath path; member
33 SkPath path = SkPath::RRect(SkRRect::MakeRectXY(r, 15, 15)); in make_frame() local
37 skpathutils::FillPathWithPaint(path, paint, &path); in make_frame()
38 return {path, 15}; in make_frame()
157 // We don't expect any output from this path.
173 SkPathBuilder path; in make_info() local
174 path.moveTo(24, 4); in make_info()
175 path.cubicTo(12.94999980926514f, 4, in make_info()
178 path.cubicTo(4, 35.04999923706055f, in make_info()
181 path.cubicTo(35.04999923706055f, 44, in make_info()
[all …]
Dcollapsepaths.cpp15 SkPathBuilder path; in test_collapse1() local
17 path.moveTo( 652.830078125, 673.9365234375); in test_collapse1()
18 path.lineTo( 479.50152587890625, 213.412628173828125); in test_collapse1()
19 path.lineTo( 511.840545654296875, 209.1551055908203125); in test_collapse1()
20 path.lineTo( 528.14959716796875, 208.6212158203125); in test_collapse1()
21 path.moveTo( 370.50653076171875, 73.684051513671875); in test_collapse1()
22 path.lineTo( 525.02093505859375, 208.6413726806640625); in test_collapse1()
23 path.lineTo( 478.403564453125, 213.5998992919921875); in test_collapse1()
24 path.setFillType(SkPathFillType::kEvenOdd); in test_collapse1()
25 canvas->drawPath(path.detach(), paint); in test_collapse1()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.groovy56 def normalized = normalize(entry.path)
58 throw new FileSystemException("The path [" + normalized + "] already exists")
73 * @param path - the path of the filename to create
76 * @throws AssertionError - if path is null
79 public boolean createFile(String path) {
80 assert path != null
81 checkForInvalidFilename(path)
84 if (!parentDirectoryExists(path)) {
86 String parent = getParent(path)
92 … throw new FileSystemException("Parent directory does not exist: " + getParent(path))
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/__filesystem/
Doperations.h20 #include <__filesystem/path.h>
37 _LIBCPP_FUNC_VIS path __absolute(const path&, error_code* __ec = nullptr);
38 _LIBCPP_FUNC_VIS path __canonical(const path&, error_code* __ec = nullptr);
39 _LIBCPP_FUNC_VIS bool __copy_file(const path& __from, const path& __to, copy_options __opt, error_c…
40 _LIBCPP_FUNC_VIS void __copy_symlink(const path& __existing_symlink, const path& __new_symlink, err…
41 _LIBCPP_FUNC_VIS void __copy(const path& __from, const path& __to, copy_options __opt, error_code* …
42 _LIBCPP_FUNC_VIS bool __create_directories(const path&, error_code* = nullptr);
43 _LIBCPP_FUNC_VIS void __create_directory_symlink(const path& __to, const path& __new_symlink, error…
44 _LIBCPP_FUNC_VIS bool __create_directory(const path&, error_code* = nullptr);
45 _LIBCPP_FUNC_VIS bool __create_directory(const path&, const path& __attributes, error_code* = nullp…
[all …]
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/
DPathTest.java10 /** Compatibility test for {@link Path} */
25 Path path = new Path(); in moveTo() local
26 assertThat(path.isEmpty()).isTrue(); in moveTo()
28 path.moveTo(0, 0); in moveTo()
29 assertThat(path.isEmpty()).isFalse(); in moveTo()
34 Path path = new Path(); in lineTo() local
35 assertThat(path.isEmpty()).isTrue(); in lineTo()
36 path.lineTo(XCOORD, YCOORD); in lineTo()
37 assertThat(path.isEmpty()).isFalse(); in lineTo()
42 Path path = new Path(); in quadTo() local
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java106 String path = entry.getPath(); in add() local
107 checkForInvalidFilename(path); in add()
108 if (getEntry(path) != null) { in add()
109 throw new FileSystemException(path, "filesystem.pathAlreadyExists"); in add()
112 if (!parentDirectoryExists(path)) { in add()
113 String parent = getParent(path); in add()
126 entries.put(getFileSystemEntryKey(path), entry); in add()
131 * Delete the file or directory specified by the path. Return true if the file is successfully
132 * deleted, false otherwise. If the path refers to a directory, it must be empty. Return false
133 * if the path does not refer to a valid file or directory or if it is a non-empty directory.
[all …]
/external/llvm/include/llvm/Support/
DPath.h1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*-===//
10 // This file declares the llvm::sys::path namespace. It is designed after
12 // path class.
25 namespace path {
30 /// @brief Path iterator.
33 /// \a path. The traversal order is as follows:
51 StringRef Path; ///< The entire path. variable
52 StringRef Component; ///< The current component. Not necessarily in Path.
53 size_t Position; ///< The iterators current position within Path.
55 // An end iterator has Position = Path.size() + 1.
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DPath.h1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*-===//
10 // This file declares the llvm::sys::path namespace. It is designed after
12 // path class.
25 namespace path {
30 /// @brief Path iterator.
33 /// \a path. The traversal order is as follows:
51 StringRef Path; ///< The entire path. variable
52 StringRef Component; ///< The current component. Not necessarily in Path.
53 size_t Position; ///< The iterators current position within Path.
55 // An end iterator has Position = Path.size() + 1.
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/
DFilesUncheck.java36 import java.nio.file.Path;
60 …* Delegates to {@link Files#copy(InputStream, Path,CopyOption...)} throwing {@link UncheckedIOExce…
68 * @see Files#copy(InputStream, Path,CopyOption...)
70 public static long copy(final InputStream in, final Path target, final CopyOption... options) { in copy()
75 …* Delegates to {@link Files#copy(Path, OutputStream)} throwing {@link UncheckedIOException} instea…
83 public static long copy(final Path source, final OutputStream out) { in copy()
88 …* Delegates to {@link Files#copy(Path, Path, CopyOption...)} throwing {@link UncheckedIOException}…
97 public static Path copy(final Path source, final Path target, final CopyOption... options) { in copy()
102 …* Delegates to {@link Files#createDirectories(Path, FileAttribute...)} throwing {@link UncheckedIO…
110 public static Path createDirectories(final Path dir, final FileAttribute<?>... attrs) { in createDirectories()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DPath.h1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*-===//
9 // This file declares the llvm::sys::path namespace. It is designed after
11 // path class.
26 namespace path {
33 /// Path iterator.
36 /// \a path. The traversal order is as follows:
55 StringRef Path; ///< The entire path. variable
56 StringRef Component; ///< The current component. Not necessarily in Path.
57 size_t Position = 0; ///< The iterators current position within Path.
58 Style S = Style::native; ///< The path style to use.
[all …]
/external/autotest/utils/frozen_chromite/lib/
Dpath_util.py6 """Handle path inference and translation."""
33 """Perform path resolution to/from the chroot.
38 path's repo parent during inbound translation; overrides |source_path|.
41 # TODO(garnold) We currently infer the source root based on the path's own
49 # either passing a source_root value, or requesting to infer it from the path
84 return os.path.realpath(GetCacheDir())
87 """Returns path to the chroot directory of a given source root."""
90 return os.path.join(source_path, constants.DEFAULT_CHROOT_DIR)
92 def _ReadChrootLink(self, path): argument
93 """Convert a chroot symlink to its absolute path.
[all …]
/external/python/cpython3/Lib/
Dntpath.py5 module as os.path.
8 # strings representing various path-related bits and pieces
34 def _get_bothseps(path): argument
35 if isinstance(path, bytes):
55 # Return whether a path is absolute.
62 """Test whether a path is absolute"""
77 def join(path, *paths): argument
78 path = os.fspath(path)
79 if isinstance(path, bytes):
89 path[:0] + sep #23780: Ensure compatible data type even if p is null.
[all …]

12345678910>>...516