Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 6976) sorted by relevance

12345678910>>...280

/external/skia/experimental/Intersection/
DEdgeWalkerPolygons_Test.cpp14 SkPath path, out; in testSimplifyTriangle() local
15 path.setFillType(SkPath::kWinding_FillType); in testSimplifyTriangle()
16 path.moveTo(10,10); // triangle |\ . in testSimplifyTriangle()
17 path.lineTo(10,30); // |_\ . in testSimplifyTriangle()
18 path.lineTo(20,30); in testSimplifyTriangle()
19 path.close(); in testSimplifyTriangle()
20 path.moveTo(20,10); // triangle /| in testSimplifyTriangle()
21 path.lineTo(10,30); // /_| in testSimplifyTriangle()
22 path.lineTo(20,30); in testSimplifyTriangle()
23 path.close(); in testSimplifyTriangle()
[all …]
DSimplifyNew_Test.cpp15 SkPath path; in testLine1() local
16 path.moveTo(2,0); in testLine1()
17 path.lineTo(1,1); in testLine1()
18 path.lineTo(0,0); in testLine1()
19 path.close(); in testLine1()
20 testSimplifyx(path); in testLine1()
24 SkPath path; in testLine1x() local
25 path.setFillType(SkPath::kEvenOdd_FillType); in testLine1x()
26 path.moveTo(2,0); in testLine1x()
27 path.lineTo(1,1); in testLine1x()
[all …]
DEdgeWalkerQuadratics_Test.cpp14 SkPath path, out; in testSimplifyQuadratic1() local
15 path.moveTo(0, 0); in testSimplifyQuadratic1()
16 path.quadTo(1, 0, 1, 1); in testSimplifyQuadratic1()
17 path.close(); in testSimplifyQuadratic1()
18 path.moveTo(1, 0); in testSimplifyQuadratic1()
19 path.quadTo(0, 0, 0, 1); in testSimplifyQuadratic1()
20 path.close(); in testSimplifyQuadratic1()
21 testSimplify(path, true, out, bitmap); in testSimplifyQuadratic1()
25 SkPath path, out; in testSimplifyQuadratic2() local
26 path.moveTo(0, 0); in testSimplifyQuadratic2()
[all …]
DEdgeWalkerQuadralaterals_Test.cpp14 SkPath path, out; in testSimplifyQuad1() local
15 path.moveTo(0, 0); in testSimplifyQuad1()
16 path.lineTo(1, 0); in testSimplifyQuad1()
17 path.lineTo(3, 2); in testSimplifyQuad1()
18 path.lineTo(3, 3); in testSimplifyQuad1()
19 path.close(); in testSimplifyQuad1()
20 path.moveTo(1, 0); in testSimplifyQuad1()
21 path.lineTo(1, 3); in testSimplifyQuad1()
22 path.lineTo(1, 3); in testSimplifyQuad1()
23 path.lineTo(1, 3); in testSimplifyQuad1()
[all …]
DSimplifyFindTop_Test.cpp43 static void test(const SkPath& path) { in test() argument
45 SimplifyFindTopTest::EdgeBuilder builder(path, contours); in test()
51 static void test(const SkPath& path, SkScalar x1, SkScalar y1, in test() argument
54 SimplifyFindTopTest::EdgeBuilder builder(path, contours); in test()
80 SkPath path; in testLine1() local
81 path.moveTo(2,0); in testLine1()
82 path.lineTo(1,1); in testLine1()
83 path.lineTo(0,0); in testLine1()
84 path.close(); in testLine1()
85 test(path); in testLine1()
[all …]
/external/chromium_org/third_party/skia/experimental/Intersection/
DEdgeWalkerPolygons_Test.cpp14 SkPath path, out; in testSimplifyTriangle() local
15 path.setFillType(SkPath::kWinding_FillType); in testSimplifyTriangle()
16 path.moveTo(10,10); // triangle |\ . in testSimplifyTriangle()
17 path.lineTo(10,30); // |_\ . in testSimplifyTriangle()
18 path.lineTo(20,30); in testSimplifyTriangle()
19 path.close(); in testSimplifyTriangle()
20 path.moveTo(20,10); // triangle /| in testSimplifyTriangle()
21 path.lineTo(10,30); // /_| in testSimplifyTriangle()
22 path.lineTo(20,30); in testSimplifyTriangle()
23 path.close(); in testSimplifyTriangle()
[all …]
DSimplifyNew_Test.cpp15 SkPath path; in testLine1() local
16 path.moveTo(2,0); in testLine1()
17 path.lineTo(1,1); in testLine1()
18 path.lineTo(0,0); in testLine1()
19 path.close(); in testLine1()
20 testSimplifyx(path); in testLine1()
24 SkPath path; in testLine1x() local
25 path.setFillType(SkPath::kEvenOdd_FillType); in testLine1x()
26 path.moveTo(2,0); in testLine1x()
27 path.lineTo(1,1); in testLine1x()
[all …]
DEdgeWalkerQuadratics_Test.cpp14 SkPath path, out; in testSimplifyQuadratic1() local
15 path.moveTo(0, 0); in testSimplifyQuadratic1()
16 path.quadTo(1, 0, 1, 1); in testSimplifyQuadratic1()
17 path.close(); in testSimplifyQuadratic1()
18 path.moveTo(1, 0); in testSimplifyQuadratic1()
19 path.quadTo(0, 0, 0, 1); in testSimplifyQuadratic1()
20 path.close(); in testSimplifyQuadratic1()
21 testSimplify(path, true, out, bitmap); in testSimplifyQuadratic1()
25 SkPath path, out; in testSimplifyQuadratic2() local
26 path.moveTo(0, 0); in testSimplifyQuadratic2()
[all …]
DEdgeWalkerQuadralaterals_Test.cpp14 SkPath path, out; in testSimplifyQuad1() local
15 path.moveTo(0, 0); in testSimplifyQuad1()
16 path.lineTo(1, 0); in testSimplifyQuad1()
17 path.lineTo(3, 2); in testSimplifyQuad1()
18 path.lineTo(3, 3); in testSimplifyQuad1()
19 path.close(); in testSimplifyQuad1()
20 path.moveTo(1, 0); in testSimplifyQuad1()
21 path.lineTo(1, 3); in testSimplifyQuad1()
22 path.lineTo(1, 3); in testSimplifyQuad1()
23 path.lineTo(1, 3); in testSimplifyQuad1()
[all …]
DSimplifyFindTop_Test.cpp43 static void test(const SkPath& path) { in test() argument
45 SimplifyFindTopTest::EdgeBuilder builder(path, contours); in test()
51 static void test(const SkPath& path, SkScalar x1, SkScalar y1, in test() argument
54 SimplifyFindTopTest::EdgeBuilder builder(path, contours); in test()
80 SkPath path; in testLine1() local
81 path.moveTo(2,0); in testLine1()
82 path.lineTo(1,1); in testLine1()
83 path.lineTo(0,0); in testLine1()
84 path.close(); in testLine1()
85 test(path); in testLine1()
[all …]
/external/chromium_org/third_party/skia/tests/
DPathOpsSimplifyTest.cpp12 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(SkPath::kEvenOdd_FillType); in testLine1x()
23 path.moveTo(2,0); in testLine1x()
24 path.lineTo(1,1); in testLine1x()
[all …]
DPathOpsBattles.cpp93 SkPath path; in battleOp1() local
94 path.setFillType((SkPath::FillType) 0); in battleOp1()
95 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1()
96 path.cubicTo(SkBits2Float(0x3ea4d9f5), SkBits2Float(0xc2a5ffff), SkBits2Float(0x3f24d9a9), SkBits2F… in battleOp1()
97 path.lineTo(SkBits2Float(0x3f32bfc3), SkBits2Float(0xc26ffbd7)); in battleOp1()
98 path.cubicTo(SkBits2Float(0x3eee5669), SkBits2Float(0xc26ffe9e), SkBits2Float(0x3e6e56cc), SkBits2F… in battleOp1()
99 path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); in battleOp1()
100 path.close(); in battleOp1()
102 SkPath path1(path); in battleOp1()
103 path.reset(); in battleOp1()
[all …]
DPathOpsSkpTest.cpp14 SkPath path; in skpcheeseandburger_com225() local
15 path.setFillType(SkPath::kEvenOdd_FillType); in skpcheeseandburger_com225()
16 path.moveTo(555, 468); in skpcheeseandburger_com225()
17 path.lineTo(555, 362); in skpcheeseandburger_com225()
18 path.lineTo(872, 362); in skpcheeseandburger_com225()
19 path.lineTo(872, 468); in skpcheeseandburger_com225()
20 path.lineTo(555, 468); in skpcheeseandburger_com225()
21 path.close(); in skpcheeseandburger_com225()
371 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); in skpcheeseandburger_com225()
375 SkPath path; in skpeverytechpro_blogspot_com100() local
[all …]
DPathOpsOpTest.cpp13 SkPath path, pathB; in cubicOp1d() local
14 path.setFillType(SkPath::kWinding_FillType); in cubicOp1d()
15 path.moveTo(0,1); in cubicOp1d()
16 path.cubicTo(0,2, 1,0, 1,0); in cubicOp1d()
17 path.close(); in cubicOp1d()
22 testPathOp(reporter, path, pathB, kDifference_PathOp, filename); in cubicOp1d()
26 SkPath path, pathB; in cubicOp2d() local
27 path.setFillType(SkPath::kWinding_FillType); in cubicOp2d()
28 path.moveTo(0,2); in cubicOp2d()
29 path.cubicTo(0,1, 1,0, 1,0); in cubicOp2d()
[all …]
/external/skia/tests/
DPathOpsSimplifyTest.cpp12 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(SkPath::kEvenOdd_FillType); in testLine1x()
23 path.moveTo(2,0); in testLine1x()
24 path.lineTo(1,1); in testLine1x()
[all …]
DPathOpsSkpTest.cpp12 SkPath path; in skpcheeseandburger_com225() local
13 path.setFillType(SkPath::kEvenOdd_FillType); 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_PathOp, filename); in skpcheeseandburger_com225()
373 SkPath path; in skpeverytechpro_blogspot_com100() local
[all …]
DPathOpsOpTest.cpp13 SkPath path, pathB; in cubicOp1d() local
14 path.setFillType(SkPath::kWinding_FillType); in cubicOp1d()
15 path.moveTo(0,1); in cubicOp1d()
16 path.cubicTo(0,2, 1,0, 1,0); in cubicOp1d()
17 path.close(); in cubicOp1d()
22 testPathOp(reporter, path, pathB, kDifference_PathOp, filename); in cubicOp1d()
26 SkPath path, pathB; in cubicOp2d() local
27 path.setFillType(SkPath::kWinding_FillType); in cubicOp2d()
28 path.moveTo(0,2); in cubicOp2d()
29 path.cubicTo(0,1, 1,0, 1,0); in cubicOp2d()
[all …]
/external/chromium_org/tools/
Dlicenses.py26 os.path.join('third_party','nss'),
29 os.path.join('third_party','adobe'),
32 os.path.join('third_party','widevine'),
35 os.path.join('third_party','valgrind'),
38 os.path.join('build','secondary'),
39 os.path.join('third_party','bison'),
40 os.path.join('third_party','blanketjs'),
41 os.path.join('third_party','cygwin'),
42 os.path.join('third_party','gnu_binutils'),
43 os.path.join('third_party','gold'),
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Dfilesystem.py50 def abspath(self, path): argument
51 return os.path.abspath(path)
53 def realpath(self, path): argument
54 return os.path.realpath(path)
61 def expanduser(self, path): argument
62 return os.path.expanduser(path)
64 def basename(self, path): argument
65 return os.path.basename(path)
67 def chdir(self, path): argument
68 return os.chdir(path)
[all …]
Dfilesystem_mock.py35 from webkitpy.common.system import path
68 def _raise_not_found(self, path): argument
69 raise IOError(errno.ENOENT, path, os.strerror(errno.ENOENT))
71 def _split(self, path): argument
74 if self.sep in path:
75 return path.rsplit(self.sep, 1)
76 return ('', path)
78 def abspath(self, path): argument
79 if os.path.isabs(path):
80 return self.normpath(path)
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DBstInOrderPathTest.java52 BstInOrderPath<SimpleNode> path = extension(factory, d, LEFT, LEFT); in testFullTreeRight() local
53 ASSERT.that(pathToList(path)).hasContentsInOrder(a, b, d); in testFullTreeRight()
54 path = testNextPathIs(path, b, d); in testFullTreeRight()
55 path = testNextPathIs(path, c, b, d); in testFullTreeRight()
56 path = testNextPathIs(path, d); in testFullTreeRight()
57 path = testNextPathIs(path, e, f, d); in testFullTreeRight()
58 path = testNextPathIs(path, f, d); in testFullTreeRight()
59 path = testNextPathIs(path, g, f, d); in testFullTreeRight()
60 assertFalse(path.hasNext(RIGHT)); in testFullTreeRight()
78 BstInOrderPath<SimpleNode> path = extension(factory, d, RIGHT, RIGHT); in testFullTreeLeft() local
[all …]
/external/chromium_org/chrome/common/extensions/docs/server2/
Dpath_util.py12 def IsDirectory(path): argument
16 AssertIsValid(path)
17 return path in ('', '.', '..') or path.endswith('/') or path.endswith('/..')
20 def IsValid(path): argument
25 return not path.startswith('/') and not '\\' in path and not '//' in path
28 def AssertIsValid(path): argument
29 assert IsValid(path), 'Path "%s" is invalid' % path
33 assert all(IsValid(path) for path in paths), paths
37 def SplitParent(path): argument
42 parent, base = posixpath.split(path.rstrip('/'))
[all …]
/external/chromium_org/third_party/apache-win32/
Dremove_files_not_needed_for_chromium.sh12 -path . -o \
13 -path .. -o \
14 -path ./ABOUT_APACHE.txt -o \
15 -path ./bin -o \
16 -path ./bin/ApacheMonitor.exe -o \
17 -path ./bin/httpd.exe -o \
18 -path ./bin/libapr-1.dll -o \
19 -path ./bin/libapriconv-1.dll -o \
20 -path ./bin/libaprutil-1.dll -o \
21 -path ./bin/libeay32.dll -o \
[all …]
/external/skia/samplecode/
DSampleConcavePaths.cpp50 SkPath path; in onDrawContent() local
52 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
53 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in onDrawContent()
54 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in onDrawContent()
55 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in onDrawContent()
56 canvas->drawPath(path, paint); in onDrawContent()
60 SkPath path; in onDrawContent() local
63 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
64 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in onDrawContent()
65 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in onDrawContent()
[all …]
/external/chromium_org/third_party/skia/samplecode/
DSampleConcavePaths.cpp50 SkPath path; in onDrawContent() local
52 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
53 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); in onDrawContent()
54 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in onDrawContent()
55 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in onDrawContent()
56 canvas->drawPath(path, paint); in onDrawContent()
60 SkPath path; in onDrawContent() local
63 path.moveTo(SkIntToScalar(20), SkIntToScalar(20)); in onDrawContent()
64 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); in onDrawContent()
65 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); in onDrawContent()
[all …]

12345678910>>...280