/external/skia/bench/ |
D | BigPath.cpp | 20 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/ |
D | ShadowNativePathTest.java | 30 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/ |
D | PathOpsSimplifyTest.cpp | 12 SkPath path; in testLine1() local 13 path.moveTo(2,0); in testLine1() 14 path.lineTo(1,1); in testLine1() 15 path.lineTo(0,0); in testLine1() 16 path.close(); in testLine1() 17 testSimplify(reporter, path, filename); in testLine1() 21 SkPath path; in testLine1x() local 22 path.setFillType(SkPathFillType::kEvenOdd); in testLine1x() 23 path.moveTo(2,0); in testLine1x() 24 path.lineTo(1,1); in testLine1x() [all …]
|
D | PathOpsBattles.cpp | 92 SkPath path; in battleOp1() local 93 path.setFillType((SkPathFillType) 0); in battleOp1() 94 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1() 95 path.cubicTo(SkBits2Float(0x3ea4d9f5), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f24d9a9), SkBits2F… in battleOp1() 96 path.lineTo(SkBits2Float(0x3f32bfc3), SkBits2Float(0xc26ffbd7)); in battleOp1() 97 path.cubicTo(SkBits2Float(0x3eee5669), SkBits2Float(0xc26ffe9e), SkBits2Float(0x3e6e56cc), SkBits2F… in battleOp1() 98 path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1() 99 path.close(); in battleOp1() 101 SkPath path1(path); in battleOp1() 102 path.reset(); in battleOp1() [all …]
|
D | PathOpsSkpTest.cpp | 12 SkPath path; in skpcheeseandburger_com225() local 13 path.setFillType(SkPathFillType::kEvenOdd); in skpcheeseandburger_com225() 14 path.moveTo(555, 468); in skpcheeseandburger_com225() 15 path.lineTo(555, 362); in skpcheeseandburger_com225() 16 path.lineTo(872, 362); in skpcheeseandburger_com225() 17 path.lineTo(872, 468); in skpcheeseandburger_com225() 18 path.lineTo(555, 468); in skpcheeseandburger_com225() 19 path.close(); in skpcheeseandburger_com225() 369 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename); in skpcheeseandburger_com225() 373 SkPath path; in skpeverytechpro_blogspot_com100() local [all …]
|
D | PathOpsOpTest.cpp | 13 PathTest_Private(SkPath* path) in PathTest_Private() argument 14 : fPath(path) {} in PathTest_Private() 23 static void path_edit(const SkPoint& from, const SkPoint& to, SkPath* path) { in path_edit() argument 24 PathTest_Private testPath(path); in path_edit() 25 for (int index = 0; index < path->countPoints(); ++index) { in path_edit() 26 if (SkDPoint::ApproximatelyEqual(path->getPoint(index), from)) { in path_edit() 34 SkPath path, pathB; in cubicOp1d() local 35 path.setFillType(SkPathFillType::kWinding); in cubicOp1d() 36 path.moveTo(0,1); in cubicOp1d() 37 path.cubicTo(0,2, 1,0, 1,0); in cubicOp1d() [all …]
|
D | TriangulatingPathRendererTests.cpp | 37 SkPath path; in __anond605c7b70102() local 38 path.moveTo(229.127044677734375f, 67.34100341796875f); in __anond605c7b70102() 39 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anond605c7b70102() 40 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anond605c7b70102() 41 path.lineTo(245.5253753662109375f, 9.6253643035888671875f); in __anond605c7b70102() 42 path.moveTo(208.4683990478515625f, 30.284009933471679688f); in __anond605c7b70102() 43 path.lineTo(171.411407470703125f, 50.94266510009765625f); in __anond605c7b70102() 44 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); in __anond605c7b70102() 45 return path; in __anond605c7b70102() 51 SkPath path; in __anond605c7b70202() local [all …]
|
D | PathOpsFuzz763Test.cpp | 13 SkPath path; in fuzz763_3084() local 14 path.setFillType((SkPathFillType) 1); in fuzz763_3084() 15 path.moveTo(SkBits2Float(0xc19e6455), SkBits2Float(0xc19e6455)); in fuzz763_3084() 16 path.quadTo(SkBits2Float(0xc1399153), SkBits2Float(0xc1e00000), SkBits2Float(0x00000000), SkBits2Fl… in fuzz763_3084() 17 path.quadTo(SkBits2Float(0x41399153), SkBits2Float(0xc1e00000), SkBits2Float(0x419e6455), SkBits2Fl… in fuzz763_3084() 18 path.quadTo(SkBits2Float(0x41e00000), SkBits2Float(0xc1399153), SkBits2Float(0x41e00000), SkBits2Fl… in fuzz763_3084() 19 path.quadTo(SkBits2Float(0x41e00000), SkBits2Float(0x41399153), SkBits2Float(0x419e6455), SkBits2Fl… in fuzz763_3084() 20 path.quadTo(SkBits2Float(0x415b75ce), SkBits2Float(0x41cf0dc3), SkBits2Float(0x40b878fc), SkBits2Fl… in fuzz763_3084() 21 path.quadTo(SkBits2Float(0x41000000), SkBits2Float(0x41ee1ba4), SkBits2Float(0x41000000), SkBits2Fl… in fuzz763_3084() 22 path.quadTo(SkBits2Float(0x41000000), SkBits2Float(0x4211413d), SkBits2Float(0x40b504f3), SkBits2Fl… in fuzz763_3084() [all …]
|
D | PathOpsBuildUseTest.cpp | 14 SkPath path; in build1_1() local 15 path.reset(); in build1_1() 16 path.moveTo(SkBits2Float(0x436ae68e), SkBits2Float(0x43adff26)); // 234.901f, 347.993f in build1_1() 17 path.quadTo(SkBits2Float(0x436ae68e), SkBits2Float(0x43b32ca2), SkBits2Float(0x4363940a), SkBits2Fl… in build1_1() 18 path.quadTo(SkBits2Float(0x435c4186), SkBits2Float(0x43ba7f26), SkBits2Float(0x4351e68e), SkBits2Fl… in build1_1() 19 path.quadTo(SkBits2Float(0x43478b96), SkBits2Float(0x43ba7f26), SkBits2Float(0x43403912), SkBits2Fl… in build1_1() 20 path.quadTo(SkBits2Float(0x4338e68e), SkBits2Float(0x43b32ca2), SkBits2Float(0x4338e68e), SkBits2Fl… in build1_1() 21 path.quadTo(SkBits2Float(0x4338e68e), SkBits2Float(0x43a8d1aa), SkBits2Float(0x43403912), SkBits2Fl… in build1_1() 22 path.quadTo(SkBits2Float(0x43478b96), SkBits2Float(0x43a17f26), SkBits2Float(0x4351e68e), SkBits2Fl… in build1_1() 23 path.quadTo(SkBits2Float(0x435c4186), SkBits2Float(0x43a17f26), SkBits2Float(0x4363940a), SkBits2Fl… in build1_1() [all …]
|
/external/libcxx/include/experimental/ |
D | filesystem | 17 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/python/pyfakefs/pyfakefs/tests/ |
D | fake_pathlib_test.py | 43 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/ |
D | strokefill.cpp | 36 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 …]
|
D | pathfill.cpp | 21 SkPath path; member 31 SkPath path = SkPath::RRect(SkRRect::MakeRectXY(r, 15, 15)); in make_frame() local 35 paint.getFillPath(path, &path); in make_frame() 36 return {path, 15}; in make_frame() 155 // We don't expect any output from this path. 171 SkPathBuilder path; in make_info() local 172 path.moveTo(24, 4); in make_info() 173 path.cubicTo(12.94999980926514f, 4, in make_info() 176 path.cubicTo(4, 35.04999923706055f, in make_info() 179 path.cubicTo(35.04999923706055f, 44, in make_info() [all …]
|
D | collapsepaths.cpp | 15 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/ |
D | AbstractFakeFileSystem.groovy | 56 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 …]
|
D | FileSystem.groovy | 36 * @param path - the path of the filename to create 39 * @throws AssertionError - if path is null 42 public boolean createFile(String path) 47 * @param path - the path of the directory to create 50 * @throws AssertionError - if path is null 52 public boolean createDirectory(String path) 55 * Create and return a new OutputStream for writing to the file at the specified path 56 * @param path - the path of the file 59 * @throws AssertionError - if path is null 62 public OutputStream createOutputStream(String path, boolean append) [all …]
|
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/ |
D | PathTest.java | 10 /** 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/ |
D | AbstractFakeFileSystem.java | 106 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/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Path.h | 1 //===- 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/llvm/include/llvm/Support/ |
D | Path.h | 1 //===- 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-10.0/llvm/include/llvm/Support/ |
D | Path.h | 1 //===- 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/python/cpython3/Lib/ |
D | ntpath.py | 5 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 …]
|
D | posixpath.py | 4 this module as os.path. The "os.path" name is an alias for this 6 os.path provides the same operations in a manner specific to that 13 # Strings representing various path-related bits and pieces. 41 def _get_sep(path): argument 42 if isinstance(path, bytes): 57 # Return whether a path is absolute. 61 """Test whether a path is absolute""" 73 If any component is an absolute path, all previous path components 74 will be discarded. An empty last part will result in a path that 78 path = a [all …]
|
/external/curl/tests/ |
D | pathhelp.pm | 23 # This Perl package helps with path transforming when running curl tests on 28 # (1) /some/path - absolute path in Unix-style 29 # (2) D:/some/path - absolute path in Win32-style 30 # (3) some/path - relative path 31 # (4) D:some/path - path relative to current directory on Win32 drive (paths 33 # (5) \some/path - path from root directory on current Win32 drive (*) 48 # control on Win32 current drive and Win32 current path on specific drive. 108 # Returns boolean true if 'cygpath' utility should be used for path conversion. 122 # Performs path "normalization": all slashes converted to forward 126 # Path processed as string, directories are not checked for presence so [all …]
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.java | 106 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 …]
|