Home
last modified time | relevance | path

Searched refs:path2 (Results 1 – 25 of 73) sorted by relevance

123

/external/skia/gm/
Dstrokefill.cpp63 SkPath path2; in onDraw() local
64 path2.setFillType(SkPath::kWinding_FillType); in onDraw()
65path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Di… in onDraw()
66path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCW_Dir… in onDraw()
67 canvas->drawPath(path2, paint); in onDraw()
69 path2.reset(); in onDraw()
70path2.addCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Di… in onDraw()
71 canvas->drawPath(path2, paint); in onDraw()
72 SkASSERT(path2.cheapIsDirection(SkPath::kCCW_Direction)); in onDraw()
74 path2.reset(); in onDraw()
[all …]
/external/skia/tests/
DPathOpsBattles.cpp13 SkPath path1, path2; in issue414409() local
29 path2.moveTo(46.9383f, 68.4529f); in issue414409()
30 path2.cubicTo(17.5117f, 88.6307f, -21.518f, 87.7442f, -49.9981f, 66.251f); in issue414409()
31 path2.cubicTo(-78.4781f, 44.7578f, -90.035f, 7.46781f, -78.7014f, -26.3644f); in issue414409()
32 path2.cubicTo(-67.3679f, -60.1967f, -35.6801f, -83, -1.48383e-06f, -83); in issue414409()
33 path2.lineTo(4.22689e-14f, -60); in issue414409()
34 path2.cubicTo(-25.7929f, -60, -48.6997f, -43.5157f, -56.8926f, -19.0586f); in issue414409()
35 path2.cubicTo(-65.0855f, 5.39842f, -56.7312f, 32.355f, -36.1432f, 47.8923f); in issue414409()
36 path2.cubicTo(-15.5552f, 63.4296f, 12.6591f, 64.0704f, 33.9313f, 49.484f); in issue414409()
37 path2.lineTo(46.9383f, 68.4529f); in issue414409()
[all …]
DParsePathTest.cpp15 SkPath path2; in test_to_from() local
16 bool success = SkParsePath::FromSVGString(str.c_str(), &path2); in test_to_from()
19 SkParsePath::ToSVGString(path2, &str2); in test_to_from()
23 REPORTER_ASSERT(reporter, path == path2); in test_to_from()
24 if (path != path2) { in test_to_from()
DPathOpsOpTest.cpp1894 SkPath path2; in issue1417() local
1895 path2.moveTo(174.117645263671875f, 100); in issue1417()
1896 path2.lineTo(161.1764678955078125f, 100); in issue1417()
1897 path2.lineTo(161.1764678955078125f, 100); in issue1417()
1898 path2.lineTo(155.1280364990234375f, 82.86279296875f); in issue1417()
1899 path2.lineTo(155.1280364990234375f, 82.86279296875f); in issue1417()
1900path2.quadTo(153.14971923828125f, 82.15229034423828125f, 151.098419189453125f, 81.618133544921875f… in issue1417()
1901 path2.lineTo(143.5294189453125f, 100); in issue1417()
1902 path2.lineTo(143.5294189453125f, 100); in issue1417()
1903 path2.lineTo(161.1764678955078125f, 100); in issue1417()
[all …]
DPathOpsBuilderTest.cpp99 SkPath path2; in DEF_TEST() local
102 builder.resolve(&path2); in DEF_TEST()
104 int pixelDiff = comparePaths(reporter, __FUNCTION__, path, path2, bitmap); in DEF_TEST()
DPathOpsFuzz763Test.cpp64 SkPath path2(path); in fuzz763_3084() local
65 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_3084()
119 SkPath path2(path); in fuzz763_1823() local
120 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_1823()
212 SkPath path2(path); in fuzz763_378() local
213 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378()
235 SkPath path2(path); in fuzz763_378b() local
236 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); in fuzz763_378b()
256 SkPath path2(path); in fuzz763_378c() local
257 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFail); in fuzz763_378c()
[all …]
/external/apache-http/src/org/apache/http/cookie/
DCookiePathComparator.java73 String path2 = normalizePath(c2); in compare() local
74 if (path1.equals(path2)) { in compare()
76 } else if (path1.startsWith(path2)) { in compare()
78 } else if (path2.startsWith(path1)) { in compare()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCanvasTest.java95 Path path2 = new Path(); in drawPath_shouldAppendDescriptionToBitmap() local
96 path2.moveTo(100, 100); in drawPath_shouldAppendDescriptionToBitmap()
97 path2.lineTo(150, 140); in drawPath_shouldAppendDescriptionToBitmap()
101 canvas.drawPath(path2, paint); in drawPath_shouldAppendDescriptionToBitmap()
104 … + "Path " + shadowOf(path2).getPoints().toString(), shadowOf(canvas).getDescription()); in drawPath_shouldAppendDescriptionToBitmap()
107 … + "Path " + shadowOf(path2).getPoints().toString(), shadowOf(targetBitmap).getDescription()); in drawPath_shouldAppendDescriptionToBitmap()
/external/mesa3d/src/glsl/tests/
Dcompare_ir49 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2])) variable
55 subprocess.call(['diff', '-u', path1, path2])
58 os.remove(path2)
/external/skia/samplecode/
DSamplePictFile.cpp152 SkString path2(path); in LoadPicture() local
153 path2.append(".new.skp"); in LoadPicture()
154 SkFILEWStream writer(path2.c_str()); in LoadPicture()
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/
DDefaultFileSystem.groovy266 …* Build a path from the two path components. Concatenate path1 and path2. Insert the system-depend…
268 * end with a separator character AND path2 does not begin with one).
271 * @param path2 - the second path component may be null or empty
272 * @return the path resulting from concatenating path1 to path2
276 public String path(String path1, String path2) {
281 if (path2 != null && path2.length() > 0) {
284 && (isNotSeparator(path2.charAt(0)))) {
287 buf.append(path2)
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java324 public String path(String path1, String path2) { in path() argument
329 if (path2 != null && path2.length() > 0) { in path()
332 && (!isSeparator(path2.charAt(0)))) { in path()
335 buf.append(path2); in path()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java324 public String path(String path1, String path2) { in path() argument
329 if (path2 != null && path2.length() > 0) { in path()
332 && (!isSeparator(path2.charAt(0)))) { in path()
335 buf.append(path2); in path()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java315 public String path(String path1, String path2) { in path() argument
320 if (path2 != null && path2.length() > 0) { in path()
323 && (!isSeparator(path2.charAt(0)))) { in path()
326 buf.append(path2); in path()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java315 public String path(String path1, String path2) { in path() argument
320 if (path2 != null && path2.length() > 0) { in path()
323 && (!isSeparator(path2.charAt(0)))) { in path()
326 buf.append(path2); in path()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java315 public String path(String path1, String path2) { in path() argument
320 if (path2 != null && path2.length() > 0) { in path()
323 && (!isSeparator(path2.charAt(0)))) { in path()
326 buf.append(path2); in path()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java323 public String path(String path1, String path2) { in path() argument
328 if (path2 != null && path2.length() > 0) { in path()
331 && (!isSeparator(path2.charAt(0)))) { in path()
334 buf.append(path2); in path()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java323 public String path(String path1, String path2) { in path() argument
328 if (path2 != null && path2.length() > 0) { in path()
331 && (!isSeparator(path2.charAt(0)))) { in path()
334 buf.append(path2); in path()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java315 public String path(String path1, String path2) { in path() argument
320 if (path2 != null && path2.length() > 0) { in path()
323 && (!isSeparator(path2.charAt(0)))) { in path()
326 buf.append(path2); in path()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java324 public String path(String path1, String path2) { in path() argument
329 if (path2 != null && path2.length() > 0) { in path()
332 && (!isSeparator(path2.charAt(0)))) { in path()
335 buf.append(path2); in path()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java315 public String path(String path1, String path2) { in path() argument
320 if (path2 != null && path2.length() > 0) { in path()
323 && (!isSeparator(path2.charAt(0)))) { in path()
326 buf.append(path2); in path()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java315 public String path(String path1, String path2) { in path() argument
320 if (path2 != null && path2.length() > 0) { in path()
323 && (!isSeparator(path2.charAt(0)))) { in path()
326 buf.append(path2); in path()
/external/openssh/
Dsftp.c1210 unsigned long *n_arg, char **path1, char **path2) in parse_args() argument
1256 *path1 = *path2 = NULL; in parse_args()
1275 *path2 = xstrdup(argv[optidx + 1]); in parse_args()
1277 undo_glob_escape(*path2); in parse_args()
1298 *path2 = xstrdup(argv[optidx + 1]); in parse_args()
1301 undo_glob_escape(*path2); in parse_args()
1399 char *path1, *path2, *tmp; in parse_dispatch_command() local
1410 path1 = path2 = NULL; in parse_dispatch_command()
1412 &iflag, &lflag, &pflag, &rflag, &sflag, &n_arg, &path1, &path2); in parse_dispatch_command()
1431 err = process_get(conn, path1, path2, *pwd, pflag, in parse_dispatch_command()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
DAbstractFakeFileSystem.java315 public String path(String path1, String path2) { in path() argument
320 if (path2 != null && path2.length() > 0) { in path()
323 && (!isSeparator(path2.charAt(0)))) { in path()
326 buf.append(path2); in path()
/external/clang/test/Modules/
Dmodules-with-same-name.m7 …macro=DIRECT -fsyntax-only %s -verify -I %S/Inputs/modules-with-same-name/path2/A -DDIRECT -DEXPEC…
19 …uts/modules-with-same-name/DependsOnA -I %S/Inputs/modules-with-same-name/path2/A -DEXPECTED_PATH=2

123