Home
last modified time | relevance | path

Searched refs:isClosed (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/gm/
Dpatharcto.cpp60 static SkPath old_school_polygon(const SkPoint pts[], size_t count, bool isClosed) { in old_school_polygon() argument
62 path.addPoly(pts, count, isClosed); in old_school_polygon()
66 static SkPath new_school_polygon(const SkPoint pts[], size_t count, bool isClosed) { in new_school_polygon() argument
67 return SkPath::Polygon(pts, count, isClosed); in new_school_polygon()
91 for (bool isClosed : {false, true}) {
95 SkPath path0 = proc(p0, SK_ARRAY_COUNT(p0), isClosed);
/third_party/skia/tests/
DPathBuilderTest.cpp268 auto addpoly = [](const SkPoint pts[], int count, bool isClosed) { in DEF_TEST() argument
275 if (isClosed) { in DEF_TEST()
282 for (bool isClosed : {false, true}) { in DEF_TEST()
284 auto path0 = SkPathBuilder().addPolygon(pts, i, isClosed).detach(); in DEF_TEST()
285 auto path1 = addpoly(pts, i, isClosed); in DEF_TEST()
338 for (bool isClosed : {false, true}) { in DEF_TEST()
343 builder.addPolygon(pts, N, isClosed); // new-school way in DEF_TEST()
344 b.addPoly(pts, N, isClosed); // old-school way in DEF_TEST()
349 const int expected = isClosed ? ~lastMoveToIndex : lastMoveToIndex; in DEF_TEST()
/third_party/skia/docs/examples/
DPath_isRect.cpp10 bool isClosed; in draw() local
11 path.isRect(&rect, &isClosed, &direction) ? in draw()
13 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, isClosed ? "" : "not ", in draw()
/third_party/skia/src/gpu/
DGrRenderTask.cpp31 SkASSERT(this->isClosed()); in disown()
46 SkASSERT(this->isClosed()); in makeSkippable()
70 if (this->isClosed()) { in makeClosed()
132 SkASSERT(!this->isClosed()); in addDependency()
190 SkASSERT(!dependedOnTask || dependedOnTask->isClosed()); in addDependency()
298 SkASSERT(!this->isClosed()); in addTarget()
DGrDrawingManager.cpp562 SkASSERT(prior->isClosed() || prior == task); in setLastRenderTask()
646 SkASSERT(ddlTask->isClosed()); in createDDLTask()
656 SkASSERT(!fActiveOpsTask->isClosed()); in validate()
667 SkASSERT(isActiveResolveTask || isAtlas || fDAG[i]->isClosed()); in validate()
675 SkASSERT(!fDAG.back()->isClosed()); in validate()
676 } else if (fDAG.back()->isClosed()) { in validate()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/libs/
Ddlopen_nodelete.c9 void DlopenNodeleteSetIsClosedPtr(bool* isClosed) in DlopenNodeleteSetIsClosedPtr() argument
11 g_isClosed = isClosed; in DlopenNodeleteSetIsClosedPtr()
/third_party/skia/src/pathops/
DSkPathOpsSimplify.cpp49 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeWinding()
50 if (current->activeWinding(start, end) && !writer->isClosed()) { in bridgeWinding()
126 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeXor()
127 if (!writer->isClosed()) { in bridgeXor()
DSkPathOpsOp.cpp138 && !writer->isClosed()) { in bridgeOp()
142 if (!writer->isClosed()) { in bridgeOp()
163 } while (!writer->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeOp()
164 if (current->activeWinding(start, end) && !writer->isClosed()) { in bridgeOp()
DSkPathWriter.cpp24 SkASSERT(this->isClosed()); in close()
96 if (this->isClosed()) { in finishContour()
112 bool SkPathWriter::isClosed() const { in isClosed() function in SkPathWriter
DSkPathWriter.h31 bool isClosed() const;
/third_party/skia/src/core/
DSkPathMeasure.cpp42 bool SkPathMeasure::isClosed() { in isClosed() function in SkPathMeasure
43 return fContour && fContour->isClosed(); in isClosed()
/third_party/skia/include/core/
DSkContourMeasure.h54 bool isClosed() const { return fIsClosed; } in isClosed() function
83 SkScalar length, bool isClosed);
DSkPathBuilder.h200 SkPathBuilder& addPolygon(const SkPoint pts[], int count, bool isClosed);
201 SkPathBuilder& addPolygon(const std::initializer_list<SkPoint>& list, bool isClosed) { in addPolygon() argument
202 return this->addPolygon(list.begin(), SkToInt(list.size()), isClosed); in addPolygon()
DSkPath.h81 static SkPath Polygon(const SkPoint pts[], int count, bool isClosed,
85 static SkPath Polygon(const std::initializer_list<SkPoint>& list, bool isClosed,
88 return Polygon(list.begin(), SkToInt(list.size()), isClosed, fillType, isVolatile);
1044 bool isRect(SkRect* rect, bool* isClosed = nullptr, SkPathDirection* direction = nullptr) const;
DSkPathMeasure.h69 bool isClosed();
/third_party/node/deps/undici/src/lib/websocket/
Dutil.js32 function isClosed (ws) { function
194 isClosed, property
/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.cpp129 if (!fOpsTask || fOpsTask->isClosed()) { in getOpsTask()
132 SkASSERT(!fOpsTask->isClosed()); in getOpsTask()
150 if (fOpsTask && !fOpsTask->isClosed()) { in onValidate()
/third_party/skia/src/effects/
DSkDiscretePathEffect.cpp107 if (meas.isClosed()) { in onFilterPath()
123 if (meas.isClosed()) { in onFilterPath()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDbgEntityHistoryCalculator.cpp61 !Entries.back().isClosed() && in startDbgValue()
88 assert(!isClosed() && "End index has already been set"); in endEntry()
328 assert(Ent.isDbgValue() && !Ent.isClosed()); in calculateDbgEntityHistory()
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
Dldso_dlopen_test.cpp254 bool isClosed = false; variable
255 fn(&isClosed);
265 EXPECT_FALSE(isClosed);
/third_party/skia/src/gpu/ops/
DAtlasRenderTask.cpp34 SkASSERT(!this->isClosed()); in addPath()
163 SkASSERT(!this->isClosed()); in addAtlasDrawOp()
/third_party/skia/src/pdf/
DSkPDFUtils.cpp131 bool isClosed; // Both closure and direction need to be checked. in EmitPath() local
133 if (path.isRect(&rect, &isClosed, &direction) && in EmitPath()
134 isClosed && in EmitPath()
/third_party/node/lib/internal/streams/
Dutils.js221 function isClosed(stream) { function
317 isClosed, property
Dend-of-stream.js32 isClosed,
140 let closed = isClosed(stream);
/third_party/typescript/src/testRunner/unittests/tsserver/
DconfiguredProjects.ts352 assert.isFalse(project.isClosed());
358 assert.isFalse(project.isClosed());
386 assert.isFalse(project.isClosed());
391 assert.isTrue(project.isClosed());
679 assert.isFalse(project.isClosed());
685 assert.isFalse(project.isClosed());
702 assert.isTrue(project.isClosed());

123