/external/skia/src/core/ |
D | SkChunkAlloc.cpp | 20 struct SkChunkAlloc::Block { 58 SkChunkAlloc::SkChunkAlloc(size_t minSize) { in SkChunkAlloc() function in SkChunkAlloc 72 SkChunkAlloc::~SkChunkAlloc() { in ~SkChunkAlloc() 76 void SkChunkAlloc::reset() { in reset() 86 void SkChunkAlloc::rewind() { in rewind() 118 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) { in newBlock() 139 SkChunkAlloc::Block* SkChunkAlloc::addBlockIfNecessary(size_t bytes, AllocFailType ftype) { in addBlockIfNecessary() 160 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) { in alloc() 179 size_t SkChunkAlloc::unalloc(void* ptr) { in unalloc() 198 bool SkChunkAlloc::contains(const void* addr) const { in contains() [all …]
|
D | SkDataTable.cpp | 137 static void chunkalloc_freeproc(void* context) { delete (SkChunkAlloc*)context; } in chunkalloc_freeproc() 156 fHeap = new SkChunkAlloc(fMinChunkSize); in append() 159 void* dst = fHeap->alloc(size, SkChunkAlloc::kThrow_AllocFailType); in append() 175 SkChunkAlloc::kThrow_AllocFailType); in detachDataTable()
|
D | SkEdgeBuilder.h | 39 SkChunkAlloc fAlloc;
|
/external/skia/src/pathops/ |
D | SkOpEdgeBuilder.h | 15 SkOpEdgeBuilder(const SkPathWriter& path, SkOpContour* contours2, SkChunkAlloc* allocator, in SkOpEdgeBuilder() 25 SkOpEdgeBuilder(const SkPath& path, SkOpContour* contours2, SkChunkAlloc* allocator, in SkOpEdgeBuilder() 45 bool finish(SkChunkAlloc* ); 59 bool walk(SkChunkAlloc* ); 61 SkChunkAlloc* fAllocator;
|
D | SkOpCoincidence.h | 42 SkOpPtT* oppPtTEnd, SkChunkAlloc* allocator); 43 bool addExpanded(SkChunkAlloc* allocator PATH_OPS_DEBUG_VALIDATE_PARAMS(SkOpGlobalState* )); 44 bool addMissing(SkChunkAlloc* allocator); 87 void findOverlaps(SkOpCoincidence* , SkChunkAlloc* allocator) const; 99 SkChunkAlloc* ); 105 SkChunkAlloc* ); 107 SkOpPtT* overS, SkOpPtT* overE, SkChunkAlloc* );
|
D | SkOpContour.h | 14 class SkChunkAlloc; variable 37 void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersections() 45 void addConic(SkPoint pts[3], SkScalar weight, SkChunkAlloc* allocator) { in addConic() 49 void addCubic(SkPoint pts[4], SkChunkAlloc* allocator) { in addCubic() 53 SkOpSegment* addCurve(SkPath::Verb verb, const SkPoint pts[4], SkChunkAlloc* allocator); 55 void addLine(SkPoint pts[2], SkChunkAlloc* allocator) { in addLine() 59 void addQuad(SkPoint pts[3], SkChunkAlloc* allocator) { in addQuad() 71 SkOpSegment& appendSegment(SkChunkAlloc* allocator) { in appendSegment() 82 SkOpContour* appendContour(SkChunkAlloc* allocator) { in appendContour() 98 void calcAngles(SkChunkAlloc* allocator) { in calcAngles() [all …]
|
D | SkOpTAllocator.h | 16 static T* Allocate(SkChunkAlloc* allocator) { in Allocate() 22 static T* AllocateArray(SkChunkAlloc* allocator, int count) { in AllocateArray() 28 static T* New(SkChunkAlloc* allocator) { in New()
|
D | SkOpSegment.h | 49 SkOpContourHead* contourList, SkChunkAlloc* allocator); 51 void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersections() 74 SkOpAngle* addEndSpan(SkChunkAlloc* allocator) { in addEndSpan() 87 SkOpPtT* addMissing(double t, SkOpSegment* opp, SkChunkAlloc* ); 89 SkOpAngle* addStartSpan(SkChunkAlloc* allocator) { in addStartSpan() 104 SkOpPtT* addT(double t, AllowAlias , SkChunkAlloc* ); 116 void calcAngles(SkChunkAlloc*); 132 void debugAddAngle(double startT, double endT, SkChunkAlloc*); 223 SkOpSpan* insert(SkOpSpan* prev, SkChunkAlloc* allocator) { in insert() 273 bool missingCoincidence(SkOpCoincidence* coincidences, SkChunkAlloc* allocator); [all …]
|
D | SkOpBuilder.cpp | 15 SkChunkAlloc allocator(256); in one_contour() 18 SkChunkAlloc::kThrow_AllocFailType); in one_contour() 45 SkChunkAlloc allocator(4096); in FixWinding()
|
D | SkPathOpsSimplify.cpp | 14 SkChunkAlloc* allocator, bool* closable) { in bridgeWinding() 103 SkChunkAlloc* allocator, bool* closable) { in bridgeXor() 168 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune in Simplify()
|
D | SkPathOpsCommon.cpp | 199 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune in Assemble() 397 static void addAlignIntersections(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in addAlignIntersections() 404 static void calcAngles(SkOpContourHead* contourList, SkChunkAlloc* allocator) { in calcAngles() 419 SkOpCoincidence* coincidence, SkChunkAlloc* allocator) { in missingCoincidence() 453 SkChunkAlloc* allocator) { in HandleCoincidence()
|
D | SkAddIntersections.h | 16 SkChunkAlloc* allocator);
|
D | SkOpCoincidence.cpp | 44 SkOpPtT* oppPtTEnd, SkChunkAlloc* allocator) { in add() 70 bool SkOpCoincidence::addExpanded(SkChunkAlloc* allocator in addExpanded() 146 SkOpPtT* over1e, SkChunkAlloc* allocator) { in addIfMissing() 176 SkOpPtT* oppPtTStart, const SkOpPtT* oppPtTEnd, SkChunkAlloc* allocator) { in addIfMissing() 232 bool SkOpCoincidence::addMissing(SkChunkAlloc* allocator) { in addMissing() 324 SkOpSegment* seg2o, SkOpPtT* overS, SkOpPtT* overE, SkChunkAlloc* allocator) { in addOverlap() 537 void SkOpCoincidence::findOverlaps(SkOpCoincidence* overlaps, SkChunkAlloc* allocator) const { in findOverlaps()
|
D | SkPathOpsTightBounds.cpp | 11 SkChunkAlloc allocator(4096); // FIXME: constant-ize, tune in TightBounds()
|
D | SkPathOpsCommon.h | 27 bool HandleCoincidence(SkOpContourHead* , SkOpCoincidence* , SkChunkAlloc* );
|
D | SkOpEdgeBuilder.cpp | 39 bool SkOpEdgeBuilder::finish(SkChunkAlloc* allocator) { in finish() 165 bool SkOpEdgeBuilder::walk(SkChunkAlloc* allocator) { in walk()
|
D | SkPathOpsWinding.cpp | 104 SkChunkAlloc* allocator) { in rayCheck() 119 SkChunkAlloc* allocator) { in rayCheck() 236 SkChunkAlloc allocator(1024); in sortableTop()
|
/external/skia/include/core/ |
D | SkChunkAlloc.h | 15 class SkChunkAlloc : SkNoncopyable { 17 SkChunkAlloc(size_t minSize); 18 ~SkChunkAlloc();
|
/external/skia/src/gpu/ |
D | GrTessellator.cpp | 338 bool addVertex(Vertex* v, Side side, SkChunkAlloc& alloc) { in addVertex() 388 Poly* addVertex(Vertex* v, Side side, SkChunkAlloc& alloc) { in addVertex() 421 void end(Vertex* v, SkChunkAlloc& alloc) { in end() 456 Poly* new_poly(Poly** head, Vertex* v, int winding, SkChunkAlloc& alloc) { in new_poly() 465 SkChunkAlloc& alloc) { in append_point_to_contour() 487 SkChunkAlloc& alloc) { in generate_quadratic_points() 513 SkChunkAlloc& alloc) { in generate_cubic_points() 539 Vertex** contours, SkChunkAlloc& alloc, bool *isLinear) { in path_to_contours() 638 Edge* new_edge(Vertex* prev, Vertex* next, SkChunkAlloc& alloc, Comparator& c) { in new_edge() 848 void split_edge(Edge* edge, Vertex* v, EdgeList* activeEdges, Comparator& c, SkChunkAlloc& alloc); [all …]
|
/external/skia/tests/ |
D | MemsetTest.cpp | 12 static void check_alloc(skiatest::Reporter* reporter, const SkChunkAlloc& alloc, in check_alloc() 19 static void* simple_alloc(skiatest::Reporter* reporter, SkChunkAlloc* alloc, size_t size) { in simple_alloc() 28 SkChunkAlloc alloc(kMin); in test_chunkalloc()
|
D | PathOpsAngleTest.cpp | 236 SkChunkAlloc allocator(4096); in DEF_TEST() 428 SkChunkAlloc allocator(4096); in DEF_TEST() 475 void SkOpSegment::debugAddAngle(double startT, double endT, SkChunkAlloc* allocator) { in debugAddAngle()
|
/external/skia/src/xml/ |
D | SkDOM.cpp | 193 static char* dupstr(SkChunkAlloc* chunk, const char src[]) in dupstr() 197 char* dst = (char*)chunk->alloc(len + 1, SkChunkAlloc::kThrow_AllocFailType); in dupstr() 204 SkDOMParser(SkChunkAlloc* chunk) : SkXMLParser(&fParserError), fAlloc(chunk) in SkDOMParser() 222 SkChunkAlloc::kThrow_AllocFailType); in flushAttributes() 303 SkChunkAlloc* fAlloc;
|
/external/skia/include/private/ |
D | SkTDict.h | 40 char* copy = (char*)fStrings.alloc(len + 1, SkChunkAlloc::kThrow_AllocFailType); in set() 126 SkChunkAlloc fStrings;
|
/external/skia/bench/ |
D | MemoryBench.cpp | 38 SkChunkAlloc alloc(fMinSize); in onDraw()
|
/external/skia/include/views/ |
D | SkViewInflate.h | 64 SkChunkAlloc fStrings;
|