Home
last modified time | relevance | path

Searched refs:pathOne (Results 1 – 12 of 12) sorted by relevance

/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DDiagnosticTest.java116 Path pathOne = tmpdir.resolve("One.java"); in oneFileParseError() local
117 Files.write(pathOne, one.getBytes(UTF_8)); in oneFileParseError()
122 int result = main.format(pathOne.toString(), pathTwo.toString()); in oneFileParseError()
138 Path pathOne = tmpdir.resolve("One.java"); in oneFileParseErrorReplace() local
139 Files.write(pathOne, one.getBytes(UTF_8)); in oneFileParseErrorReplace()
144 int result = main.format("-i", pathOne.toString(), pathTwo.toString()); in oneFileParseErrorReplace()
149 assertThat(Files.readAllLines(pathOne, UTF_8)).containsExactly("class One {}}"); in oneFileParseErrorReplace()
/external/skia/modules/canvaskit/tests/
Dpath.spec.js86 const pathOne = new CanvasKit.Path(); constant
87 pathOne.addRect([10, 10, 20, 20]);
92 const path = CanvasKit.Path.MakeFromOp(pathOne, pathTwo, CanvasKit.PathOp.Intersect);
101 pathOne.delete();
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp237 bool EMSCRIPTEN_KEEPALIVE ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() argument
238 return Op(pathOne, pathTwo, op, &pathOne); in ApplyPathOp()
241 SkPathOrNull EMSCRIPTEN_KEEPALIVE MakeFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPathOp… in MakeFromOp() argument
243 if (Op(pathOne, pathTwo, op, &out)) { in MakeFromOp()
/external/skqp/modules/pathkit/
Dpathkit_wasm_bindings.cpp250 bool EMSCRIPTEN_KEEPALIVE ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() argument
251 return Op(pathOne, pathTwo, op, &pathOne); in ApplyPathOp()
254 SkPathOrNull EMSCRIPTEN_KEEPALIVE MakeFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPathOp… in MakeFromOp() argument
256 if (Op(pathOne, pathTwo, op, &out)) { in MakeFromOp()
/external/skqp/site/user/modules/
Dpathkit.md313 #### `MakeFromOp(pathOne, pathTwo, op)` ####
314 **pathOne** - `SkPath`, a path. <br>
323 let pathOne = PathKit.NewPath().moveTo(0, 20).lineTo(10, 10).lineTo(20, 20).close();
325 let mountains = PathKit.MakeFromOp(pathOne, pathTwo, PathKit.PathOp.UNION);
327 // Users can also do pathOne.op(pathTwo, PathKit.PathOp.UNION);
328 // to have the resulting path be stored to pathOne and avoid allocating another object.
569 let pathOne = PathKit.NewPath().moveTo(0, 20).lineTo(10, 10).lineTo(20, 20).close();
572 let mountains = pathOne.copy().op(pathOne, pathTwo, PathKit.PathOp.UNION);
573 // set pathOne to be the small triangle where pathOne and pathTwo overlap
574 pathOne.op(pathOne, pathTwo, PathKit.PathOp.INTERSECT);
/external/skia/site/docs/user/modules/
Dpathkit.md328 #### `MakeFromOp(pathOne, pathTwo, op)`
330 **pathOne** - `SkPath`, a path. <br> **pathTwo** - `SkPath`, a path. <br>
338 let pathOne = PathKit.NewPath().moveTo(0, 20).lineTo(10, 10).lineTo(20, 20).close();
340 let mountains = PathKit.MakeFromOp(pathOne, pathTwo, PathKit.PathOp.UNION);
342 // Users can also do pathOne.op(pathTwo, PathKit.PathOp.UNION);
343 // to have the resulting path be stored to pathOne and avoid allocating another object.
611 let pathOne = PathKit.NewPath().moveTo(0, 20).lineTo(10, 10).lineTo(20, 20).close();
614 let mountains = pathOne.copy().op(pathOne, pathTwo, PathKit.PathOp.UNION);
615 // set pathOne to be the small triangle where pathOne and pathTwo overlap
616 pathOne.op(pathOne, pathTwo, PathKit.PathOp.INTERSECT);
/external/skia/tests/
DPathOpsExtendedTest.h62 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo);
/external/skqp/tests/
DPathOpsExtendedTest.h63 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo);
/external/skqp/experimental/canvaskit/
Dcanvaskit_bindings.cpp242 bool EMSCRIPTEN_KEEPALIVE ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() argument
243 return Op(pathOne, pathTwo, op, &pathOne); in ApplyPathOp()
260 SkPathOrNull EMSCRIPTEN_KEEPALIVE MakePathFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPa… in MakePathFromOp() argument
262 if (Op(pathOne, pathTwo, op, &out)) { in MakePathFromOp()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp321 bool ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() argument
322 return Op(pathOne, pathTwo, op, &pathOne); in ApplyPathOp()
325 SkPathOrNull MakePathFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in MakePathFromOp() argument
327 if (Op(pathOne, pathTwo, op, &out)) { in MakePathFromOp()
/external/skqp/src/pathops/
DSkPathOpsDebug.cpp555 static void show_op(SkPathOp op, const char* pathOne, const char* pathTwo) { in show_op() argument
556 SkDebugf(" testPathOp(reporter, %s, %s, %s, filename);\n", pathOne, pathTwo, gOpStrs[op]); in show_op()
/external/skia/src/pathops/
DSkPathOpsDebug.cpp533 static void show_op(SkPathOp op, const char* pathOne, const char* pathTwo) { in show_op() argument
534 SkDebugf(" testPathOp(reporter, %s, %s, %s, filename);\n", pathOne, pathTwo, gOpStrs[op]); in show_op()