/third_party/skia/gm/ |
H A D | patharcto.cpp | 60 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}) { in DEF_SIMPLE_GM() 95 SkPath path0 = proc(p0, SK_ARRAY_COUNT(p0), isClosed); in DEF_SIMPLE_GM()
|
/third_party/skia/docs/examples/ |
H A D | Path_isRect.cpp | 10 bool isClosed; in REG_FIDDLE() 11 path.isRect(&rect, &isClosed, &direction) ? in REG_FIDDLE() 13 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, isClosed ? "" : "not ", in REG_FIDDLE()
|
/third_party/skia/tests/ |
H A D | PathBuilderTest.cpp | 268 auto addpoly = [](const SkPoint pts[], int count, bool isClosed) { in DEF_TEST() 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}) { 343 builder.addPolygon(pts, N, isClosed); // new-school way 344 b.addPoly(pts, N, isClosed); // old-school way 349 const int expected = isClosed ? ~lastMoveToIndex : lastMoveToIndex;
|
/third_party/skia/src/gpu/ |
H A D | GrRenderTask.cpp | 31 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()
|
H A D | GrDrawingManager.cpp | 562 SkASSERT(prior->isClosed() || prior == task); in getLastRenderTask() 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/ |
H A D | dlopen_nodelete.c | 9 void DlopenNodeleteSetIsClosedPtr(bool* isClosed) in DlopenNodeleteSetIsClosedPtr() argument 11 g_isClosed = isClosed; in DlopenNodeleteSetIsClosedPtr()
|
/third_party/skia/src/pathops/ |
H A D | SkPathOpsSimplify.cpp | 49 } 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()
|
H A D | SkPathOpsOp.cpp | 138 && !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()
|
H A D | SkPathWriter.h | 31 bool isClosed() const;
|
H A D | SkPathWriter.cpp | 24 SkASSERT(this->isClosed()); in close() 96 if (this->isClosed()) { in finishContour() 112 bool SkPathWriter::isClosed() const { in isClosed() function in SkPathWriter
|
/third_party/skia/src/core/ |
H A D | SkPathMeasure.cpp | 42 bool SkPathMeasure::isClosed() { in isClosed() function in SkPathMeasure 43 return fContour && fContour->isClosed(); in isClosed()
|
/third_party/node/deps/undici/src/lib/websocket/ |
H A D | util.js | 32 function isClosed (ws) { 194 isClosed,
|
/third_party/skia/include/core/ |
H A D | SkContourMeasure.h | 54 bool isClosed() const { return fIsClosed; } in isClosed() function in SkContourMeasure 83 SkScalar length, bool isClosed);
|
H A D | SkPathBuilder.h | 200 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()
|
H A D | SkPathMeasure.h | 69 bool isClosed();
|
H A D | SkPath.h | 81 static SkPath Polygon(const SkPoint pts[], int count, bool isClosed, 85 static SkPath Polygon(const std::initializer_list<SkPoint>& list, bool isClosed, in Polygon() argument 88 return Polygon(list.begin(), SkToInt(list.size()), isClosed, fillType, isVolatile); in Polygon() 1031 If false: rect, isClosed, and direction are unchanged. 1032 If true: rect, isClosed, and direction are written to if not nullptr. 1038 @param isClosed storage set to true if SkPath is closed; may be nullptr 1044 bool isRect(SkRect* rect, bool* isClosed = nullptr, SkPathDirection* direction = nullptr) const;
|
/third_party/skia/src/gpu/v1/ |
H A D | SurfaceFillContext_v1.cpp | 129 if (!fOpsTask || fOpsTask->isClosed()) { in getOpsTask() 132 SkASSERT(!fOpsTask->isClosed()); in getOpsTask() 150 if (fOpsTask && !fOpsTask->isClosed()) { in onValidate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DbgEntityHistoryCalculator.cpp | 61 !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/skia/src/effects/ |
H A D | SkDiscretePathEffect.cpp | 107 if (meas.isClosed()) { 123 if (meas.isClosed()) {
|
/third_party/node/lib/internal/streams/ |
H A D | utils.js | 221 function isClosed(stream) { function 317 isClosed,
|
H A D | end-of-stream.js | 32 isClosed, 140 let closed = isClosed(stream);
|
/third_party/skia/src/gpu/ops/ |
H A D | AtlasRenderTask.cpp | 34 SkASSERT(!this->isClosed()); in addPath() 163 SkASSERT(!this->isClosed()); in addAtlasDrawOp()
|
H A D | AtlasRenderTask.h | 46 SkASSERT(this->isClosed()); in instantiate()
|
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/ |
H A D | ldso_dlopen_test.cpp | 254 bool isClosed = false; in HWTEST_F() local 255 fn(&isClosed); in HWTEST_F() 265 EXPECT_FALSE(isClosed); in HWTEST_F()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFUtils.cpp | 131 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()
|