Home
last modified time | relevance | path

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

1234567

/external/linux-kselftest/tools/testing/selftests/ia64/
Daliasing-test.c68 char *name, *path2; in scan_tree() local
86 path2 = malloc(strlen(path) + strlen(name) + 3); in scan_tree()
87 strcpy(path2, path); in scan_tree()
88 strcat(path2, "/"); in scan_tree()
89 strcat(path2, name); in scan_tree()
92 rc = map_mem(path2, offset, length, touch); in scan_tree()
94 …fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree()
96 fprintf(stderr, "PASS: %s 0x%lx-0x%lx not mappable\n", path2, offset, offset + length); in scan_tree()
98 fprintf(stderr, "FAIL: %s 0x%lx-0x%lx not accessible\n", path2, offset, offset + length); in scan_tree()
102 r = lstat(path2, &buf); in scan_tree()
[all …]
/external/skia/modules/pathkit/perf/
Dpathops.bench.js56 ctx.path2 = drawStar(X=140, Y=145);
60 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.DIFFERENCE);
66 ctx.path2.delete();
80 ctx.path2 = drawStar(X=140, Y=145);
84 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.INTERSECT);
90 ctx.path2.delete();
104 ctx.path2 = drawStar(X=140, Y=145);
108 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.UNION);
114 ctx.path2.delete();
128 ctx.path2 = drawStar(X=140, Y=145);
[all …]
/external/skqp/modules/pathkit/perf/
Dpathops.bench.js56 ctx.path2 = drawStar(X=140, Y=145);
60 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.DIFFERENCE);
66 ctx.path2.delete();
80 ctx.path2 = drawStar(X=140, Y=145);
84 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.INTERSECT);
90 ctx.path2.delete();
104 ctx.path2 = drawStar(X=140, Y=145);
108 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.UNION);
114 ctx.path2.delete();
128 ctx.path2 = drawStar(X=140, Y=145);
[all …]
/external/skqp/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 …]
DPathOpsBuilderTest.cpp96 SkPath path2; in DEF_TEST() local
99 builder.resolve(&path2); in DEF_TEST()
100 int pixelDiff = comparePaths(reporter, __FUNCTION__, path, path2); in DEF_TEST()
284 SkPath path2; in DEF_TEST() local
285 path2.moveTo(5940, 2790); in DEF_TEST()
286 path2.lineTo(5940, 2160); in DEF_TEST()
287 path2.lineTo(5970, 1980); in DEF_TEST()
288 path2.lineTo(5688, 773669888); in DEF_TEST()
289 path2.lineTo(5688, 2160); in DEF_TEST()
290 path2.lineTo(5688, 2430); in DEF_TEST()
[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()
81 SkPath path, path2; in DEF_TEST() local
DPathOpsOpTest.cpp1897 SkPath path2; in issue1417() local
1898 path2.moveTo(174.117645263671875f, 100); in issue1417()
1899 path2.lineTo(161.1764678955078125f, 100); in issue1417()
1900 path2.lineTo(161.1764678955078125f, 100); in issue1417()
1901 path2.lineTo(155.1280364990234375f, 82.86279296875f); in issue1417()
1902 path2.lineTo(155.1280364990234375f, 82.86279296875f); in issue1417()
1903path2.quadTo(153.14971923828125f, 82.15229034423828125f, 151.098419189453125f, 81.618133544921875f… in issue1417()
1904 path2.lineTo(143.5294189453125f, 100); in issue1417()
1905 path2.lineTo(143.5294189453125f, 100); in issue1417()
1906 path2.lineTo(161.1764678955078125f, 100); in issue1417()
[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 …]
DPathOpsBuilderTest.cpp96 SkPath path2; in DEF_TEST() local
99 builder.resolve(&path2); in DEF_TEST()
100 int pixelDiff = comparePaths(reporter, __FUNCTION__, path, path2); in DEF_TEST()
284 SkPath path2; in DEF_TEST() local
285 path2.moveTo(5940, 2790); in DEF_TEST()
286 path2.lineTo(5940, 2160); in DEF_TEST()
287 path2.lineTo(5970, 1980); in DEF_TEST()
288 path2.lineTo(5688, 773669888); in DEF_TEST()
289 path2.lineTo(5688, 2160); in DEF_TEST()
290 path2.lineTo(5688, 2430); in DEF_TEST()
[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()
81 SkPath path, path2; in DEF_TEST() local
DPathOpsOpTest.cpp1897 SkPath path2; in issue1417() local
1898 path2.moveTo(174.117645263671875f, 100); in issue1417()
1899 path2.lineTo(161.1764678955078125f, 100); in issue1417()
1900 path2.lineTo(161.1764678955078125f, 100); in issue1417()
1901 path2.lineTo(155.1280364990234375f, 82.86279296875f); in issue1417()
1902 path2.lineTo(155.1280364990234375f, 82.86279296875f); in issue1417()
1903path2.quadTo(153.14971923828125f, 82.15229034423828125f, 151.098419189453125f, 81.618133544921875f… in issue1417()
1904 path2.lineTo(143.5294189453125f, 100); in issue1417()
1905 path2.lineTo(143.5294189453125f, 100); in issue1417()
1906 path2.lineTo(161.1764678955078125f, 100); in issue1417()
[all …]
/external/ltp/testcases/kernel/syscalls/symlink/
Dsymlink01.c224 void delete_files(char *path1, char *path2);
316 int creat_both(char *path1, char *path2, char *path3);
317 int creat_symlink(char *path1, char *path2, char *_path3);
318 int creat_path_max(char *path1, char *path2, char *path3);
319 int ck_symlink(char *path1, char *path2, char *path3);
321 int ck_object(char *path1, char *path2, char *path3);
322 int ck_both(char *path1, char *path2, char *path3);
323 int ck_path_max(char *path1, char *path2, char *path3);
333 int (*test_setup) (char *path1, char *path2, char *path3);
334 int (*ck_test) (char *path1, char *path2, char *path3);
[all …]
/external/skia/gm/
Dstrokefill.cpp281 SkPath path2; variable
282 path2.setFillType(SkPath::kWinding_FillType);
283path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Di…
284path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCW_Dir…
285 canvas->drawPath(path2, paint);
287 path2.reset();
288path2.addCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Di…
289 canvas->drawPath(path2, paint);
290 SkASSERT(SkPathPriv::CheapIsFirstDirection(path2, SkPathPriv::kCCW_FirstDirection));
292 path2.reset();
[all …]
Dbug530095.cpp13 SkPath path1, path2; variable
15 path2.addCircle(2, 2, 1.24f);
33 canvas->drawPath(path2, paint);
47 canvas->drawPath(path2, paint);
/external/skqp/gm/
Dstrokefill.cpp281 SkPath path2; variable
282 path2.setFillType(SkPath::kWinding_FillType);
283path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Di…
284path2.addCircle(x + SkIntToScalar(120), y + SkIntToScalar(200), SkIntToScalar(40), SkPath::kCW_Dir…
285 canvas->drawPath(path2, paint);
287 path2.reset();
288path2.addCircle(x + SkIntToScalar(240), y + SkIntToScalar(200), SkIntToScalar(50), SkPath::kCCW_Di…
289 canvas->drawPath(path2, paint);
290 SkASSERT(SkPathPriv::CheapIsFirstDirection(path2, SkPathPriv::kCCW_FirstDirection));
292 path2.reset();
[all …]
Dbug530095.cpp13 SkPath path1, path2; variable
15 path2.addCircle(2, 2, 1.24f);
33 canvas->drawPath(path2, paint);
47 canvas->drawPath(path2, paint);
/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/libcxx/test/std/input.output/filesystems/class.filesystem_error/
Dfilesystem_error.members.pass.cpp53 assert(e.path1().empty() && e.path2().empty()); in test_constructors()
62 assert(e.path2().empty()); in test_constructors()
71 assert(e.path2() == p2); in test_constructors()
88 ASSERT_SAME_TYPE(path const&, decltype(e.path2())); in test_signatures()
89 ASSERT_NOEXCEPT(e.path2()); in test_signatures()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaMetadataRetrieverTest.java28 private final String path2 = "/media/foo2.mp3"; field in ShadowMediaMetadataRetrieverTest
50 addFrame(path2, 1, bitmap2); in getFrameAtTime_shouldDependOnDataSource()
52 retriever2.setDataSource(path2); in getFrameAtTime_shouldDependOnDataSource()
112 addException(toDataSource(path2), new IllegalArgumentException()); in reset_clearsStaticValues()
117 retriever2.setDataSource(path2); in reset_clearsStaticValues()
124 retriever2.setDataSource(path2); in reset_clearsStaticValues()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateDayPeriods.java72 for (String path2 : With.in(localeFile.iterator())) { in getLocalizations()
73 if (!path2.startsWith(dayPeriodLocalization) || path2.endsWith("/alias")) { in getLocalizations()
76 XPathParts parts = XPathParts.getFrozenInstance(path2); in getLocalizations()
78 result.put(DayPeriod.valueOf(type), localeFile.getStringValue(path2)); in getLocalizations()
/external/deqp-deps/glslang/Test/
Dhlsl.dashI.vert1 // For -Iinc1/path1 -Iinc1/path2
2 // bar.h from local directory will define i1, while the ones from inc1/path1 and inc1/path2 will no…
3 // notHere.h is only in inc1/path1 and inc2/path2, and only inc1/path1 defines p1, p2, and p3
/external/fonttools/Tests/ufoLib/
DUFOConversion_test.py37 def compareFileStructures(self, path1, path2, expectedInfoData, testFeatures): argument
50 metainfoPath2 = os.path.join(path2, "metainfo.plist")
51 fontinfoPath2 = os.path.join(path2, "fontinfo.plist")
52 kerningPath2 = os.path.join(path2, "kerning.plist")
53 groupsPath2 = os.path.join(path2, "groups.plist")
54 libPath2 = os.path.join(path2, "lib.plist")
55 featuresPath2 = os.path.join(path2, "features.plist")
56 glyphsPath2 = os.path.join(path2, "glyphs")
/external/dtc/tests/
Ddtbs_equal_unordered.c181 char path1[PATH_MAX], path2[PATH_MAX]; in compare_node() local
184 CHECK(fdt_get_path(fdt2, offset2, path2, sizeof(path2))); in compare_node()
186 if (!streq(path1, path2)) in compare_node()
187 TEST_BUG("Path mismatch %s vs. %s\n", path1, path2); in compare_node()
/external/mesa3d/src/compiler/glsl/tests/
Dcompare_ir.py48 file2, path2 = tempfile.mkstemp(os.path.basename(sys.argv[2])) variable
54 subprocess.call(['diff', '-u', path1, path2])
57 os.remove(path2)
/external/skia/modules/pathkit/tests/
Dpathops.spec.js138 let path2 = PathKit.FromCmds(test.p2);
139 expect(path2).not.toBeNull(`path2 error when loading cmds '${test.p2}'`);
140 path2.setFillType(getFillType(test.fillType2));
142 let combined = path1.op(path2, getPathOp(test.op));
170 path2.delete();

1234567