Home
last modified time | relevance | path

Searched refs:addPath (Results 1 – 25 of 70) sorted by relevance

123

/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/regex/
DNfaFlattenerTest.java43 nfa.addPath(INITIAL, TERMINAL, "12"); in testSimple()
48 nfa.addPath(INITIAL, TERMINAL, "34"); in testSimple()
60 Node split = nfa.addPath(INITIAL, "12"); in testSubgroup()
61 Node join = nfa.addPath(split, "34"); in testSubgroup()
62 nfa.addPath(split, join, "56"); in testSubgroup()
63 nfa.addPath(join, TERMINAL, "78"); in testSubgroup()
80 Node groupStart = nfa.addPath(INITIAL, "0"); in testSubgroupWithEarlyJoining()
83 Node firstJoin = nfa.addPath(nfa.addPath(groupStart, "1"), "2"); in testSubgroupWithEarlyJoining()
84 nfa.addPath(groupStart, firstJoin, "3"); in testSubgroupWithEarlyJoining()
85 Node secondJoin = nfa.addPath(firstJoin, "4"); in testSubgroupWithEarlyJoining()
[all …]
DTrailingPathOptimizerTest.java34 nfa.addPath(INITIAL, TERMINAL, "12xx"); in testSimple()
35 nfa.addPath(INITIAL, TERMINAL, "34xxxx"); in testSimple()
40 Node join = expected.addPath(INITIAL, "12"); in testSimple()
41 expected.addPath(INITIAL, join, "34xx"); in testSimple()
42 expected.addPath(join, TERMINAL, "xx"); in testSimple()
50 nfa.addPath(INITIAL, TERMINAL, "12xx"); in testTrailingOptionalGroup()
52 Node optStart = nfa.addPath(INITIAL, "34xx"); in testTrailingOptionalGroup()
59 Node join = expected.addPath(INITIAL, "12"); in testTrailingOptionalGroup()
61 optStart = expected.addPath(INITIAL, "34"); in testTrailingOptionalGroup()
64 expected.addPath(join, TERMINAL, "xx"); in testTrailingOptionalGroup()
[all …]
DNfaBuilder.java52 public Node addPath(Node source, String path) { in addPath() method in NfaBuilder
63 public void addPath(Node source, Node target, String path) { in addPath() method in NfaBuilder
78 addPath(source, target, path); in addOptionalPath()
/third_party/skia/modules/pathkit/tests/
Dpath2d.spec.js34 path.addPath(secondPath);
41 path.addPath(secondPath, m);
133 basePath.addPath(otherPath)
135 .addPath(otherPath, 1, 0, 0, 1, 0, 20.5)
138 .addPath(otherPath, 3, 0, 30,
/third_party/skia/gm/
Dpatharcto.cpp103 path.addPath(path1, SkPath::kAppend_AddPathMode);
110 path.addPath(path1, perspective, SkPath::kAppend_AddPathMode);
117 path.addPath(path1, SkPath::kExtend_AddPathMode);
124 path.addPath(path1, perspective, SkPath::kExtend_AddPathMode);
/third_party/node/deps/npm/node_modules/diff/lib/diff/
Dbase.js107 addPath = bestPath[diagonalPath + 1];
116 if (addPath) {
118 var addPathNewPos = addPath.oldPos - diagonalPath;
119 canAdd = addPath && 0 <= addPathNewPos && addPathNewPos < newLen;
135 if (!canRemove || canAdd && removePath.oldPos + 1 < addPath.oldPos) {
136 basePath = self.addToPath(addPath, true, undefined, 0);
/third_party/skia/modules/pathkit/perf/
Dpath.bench.js31 path.addPath(secondPath);
38 path.addPath(secondPath, m);
230 path.addPath(ctx.path, m);
258 path.addPath(ctx.path, m);
280 path.addPath(ctx.path, 1, 0, 0, 1, 0, 20.5);
/third_party/skia/src/core/
DHMSymbol.cpp70 path.addPath(paths[i]); in MultilayerPath()
79 path.addPath(paths[multMap[i][j]]); in MultilayerPath()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/
DTrailingPathOptimizer.java99 lastAddedNode = addPath(shortestPathNode, pathEnd, shortestPath, lastAddedNode, out); in optimize()
113 lastAddedNode = addPath(e.getKey(), pathEnd, e.getValue(), lastAddedNode, out); in optimize()
185 private static Node addPath( in addPath() method in TrailingPathOptimizer
/third_party/skia/tests/
DPathOpsBuilderTest.cpp225 clipRect.addPath(inner); in DEF_TEST()
237 clipRect.addPath(inner); in DEF_TEST()
249 clipRect.addPath(inner); in DEF_TEST()
265 clipRect.addPath(inner); in DEF_TEST()
DPathOpsAsWindingTest.cpp167 test.addPath(build_squircle(curveB, rectB, dirB)); in DEF_TEST()
169 test.addPath(pathA); in DEF_TEST()
/third_party/skia/src/pathops/
DSkPathWriter.cpp29 fPathPtr->addPath(fCurrent); in close()
257 partial.addPath(part, SkPath::kExtend_AddPathMode); in assemble()
261 reverse.addPath(partial, SkPath::kExtend_AddPathMode); in assemble()
370 fPathPtr->addPath(contour, in assemble()
/third_party/skia/site/docs/user/modules/
Dpathkit.md377 #### `addPath(otherPath)`
383 #### `addPath(otherPath, transform)`
391 [Path2D.addPath()](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)
394 #### `addPath(otherPath, a, b, c, d, e, f)`
403 [Path2D.addPath()](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)
411 moreBoxes.addPath(box)
417 .addPath(box, 1, 0, 0, 1, 300, 0)
419 .addPath(box, 0.5, 0, 0, 0.5, 0, 0);
422 #### `addPath(otherPath, scaleX, skewX, transX, skewY, scaleY, transY, pers0, pers1, pers2)`
438 moreBoxes.addPath(box)
[all …]
/third_party/skia/fuzz/
DFuzzCommon.cpp173 path->addPath(p, m, mode); in FuzzNicePath()
180 path->addPath(*path, m, mode); in FuzzNicePath()
188 path->addPath(*path); in FuzzNicePath()
/third_party/skia/docs/examples/
DPath_addPath_2.cpp12 dest.addPath(path, SkPath::kExtend_AddPathMode); in draw()
DPaint_getTextPath.cpp14 path.addPath(path2);
DPath_addPath_3.cpp15 dest.addPath(path, matrix); in draw()
DPath_addPath.cpp14 dest.addPath(text, i * 20, i * 20);
DPath_AddPathMode.cpp19 test.addPath(path2, addPathMode); in draw()
DPath_IsQuadDegenerate.cpp17 offset.addPath(path, 1000, 1000); in draw()
/third_party/skia/include/core/
DSkPath.h1263 SkPath& addPath(const SkPath& src, SkScalar dx, SkScalar dy,
1276 SkPath& addPath(const SkPath& src, AddPathMode mode = kAppend_AddPathMode) {
1279 return this->addPath(src, m, mode);
1294 SkPath& addPath(const SkPath& src, const SkMatrix& matrix,
/third_party/skia/modules/canvaskit/htmlcanvas/
Dpath2d.js159 this.addPath = function(path2d, transform) { method in Path2D
166 this._path.addPath(path2d._getPath(), [transform.a, transform.c, transform.e,
/third_party/skia/src/effects/
DSk1DPathEffect.cpp220 dst->addPath(fPath, pos.fX, pos.fY); in next()
226 dst->addPath(fPath, matrix); in next()
/third_party/skia/src/utils/
DSkTextUtils.cpp44 rec->fDst->addPath(*src, m); in GetPath()
/third_party/skia/src/gpu/ops/
DAtlasRenderTask.h39 bool addPath(const SkMatrix&, const SkPath&, SkIPoint pathDevTopLeft, int widthInAtlas,

123