Home
last modified time | relevance | path

Searched refs:makeArrayDefault (Results 1 – 25 of 28) sorted by relevance

12

/external/skqp/tests/
DArenaAllocTest.cpp83 arena.makeArrayDefault<int>(10); in DEF_TEST()
88 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST()
109 arena.makeArrayDefault<int>(10); in DEF_TEST()
114 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST()
136 arena.makeArrayDefault<int>(10); in DEF_TEST()
141 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST()
153 arena.makeArrayDefault<char>(256); in DEF_TEST()
166 uint64_t* temp = arena.makeArrayDefault<uint64_t>(sizeof(Node) / sizeof(Node*)); in DEF_TEST()
/external/skia/tests/
DArenaAllocTest.cpp43 arena.makeArrayDefault<int>(10); in DEF_TEST()
48 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST()
68 arena.makeArrayDefault<int>(10); in DEF_TEST()
73 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST()
94 arena.makeArrayDefault<int>(10); in DEF_TEST()
99 Foo* fooArray = arena.makeArrayDefault<Foo>(10); in DEF_TEST()
111 arena.makeArrayDefault<char>(256); in DEF_TEST()
155 uint64_t* temp = arena.makeArrayDefault<uint64_t>(sizeof(Node) / sizeof(Node*)); in DEF_TEST()
/external/skqp/src/core/
DSkCoverageDelta.cpp22 fSorted = fAlloc->makeArrayDefault<bool>(bottom - top); in SkCoverageDeltaList()
23 fCounts = fAlloc->makeArrayDefault<int>((bottom - top) * 2); in SkCoverageDeltaList()
25 fRows = fAlloc->makeArrayDefault<SkCoverageDelta*>(bottom - top) - top; in SkCoverageDeltaList()
26 fRows[top] = fAlloc->makeArrayDefault<SkCoverageDelta>(INIT_ROW_SIZE * (bottom - top)); in SkCoverageDeltaList()
76 fMask = alloc->makeArrayDefault<SkAlpha>(size); in SkCoverageDeltaMask()
DSkRasterPipeline.cpp44 auto stages = fAlloc->makeArrayDefault<StageList>(src.fNumStages); in extend()
81 auto arg = alloc->makeArrayDefault<float>(3); in append_set_rgb()
135 float* trans = alloc->makeArrayDefault<float>(2); in append_matrix()
141 float* scaleTrans = alloc->makeArrayDefault<float>(4); in append_matrix()
148 float* storage = alloc->makeArrayDefault<float>(9); in append_matrix()
DSkEdgeBuilder.cpp244 return (char*)fAlloc.makeArrayDefault<SkEdge>(n); in allocEdges()
248 return (char*)fAlloc.makeArrayDefault<SkAnalyticEdge>(n); in allocEdges()
252 return (char*)fAlloc.makeArrayDefault<SkLine>(n); in allocEdges()
277 char** edgePtr = fAlloc.makeArrayDefault<char*>(maxEdgeCount); in buildPoly()
DSkRecord.h62 return (T*)fAlloc.makeArrayDefault<RawBytes>(count);
DSkCoverageDelta.h99 SkCoverageDelta* newRow = fAlloc->makeArrayDefault<SkCoverageDelta>(fMaxCounts[y]); in push_back()
DSkMaskBlurFilter.cpp986 auto buffer = alloc.makeArrayDefault<uint32_t>(bufferSize); in blur()
992 auto tmp = alloc.makeArrayDefault<uint8_t>(tmpW * tmpH); in blur()
/external/skia/src/pathops/
DSkOpContour.cpp62 SkPoint* ptStorage = allocator->makeArrayDefault<SkPoint>(3); in addCurve()
67 SkPoint* ptStorage = allocator->makeArrayDefault<SkPoint>(3); in addCurve()
72 SkPoint* ptStorage = allocator->makeArrayDefault<SkPoint>(4); in addCurve()
104 SkPoint* ptStorage = allocator->makeArrayDefault<SkPoint>(2); in flush()
DSkOpBuilder.cpp18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour()
/external/skqp/src/pathops/
DSkOpContour.cpp63 SkPoint* ptStorage = allocator->makeArrayDefault<SkPoint>(3); in addCurve()
68 SkPoint* ptStorage = allocator->makeArrayDefault<SkPoint>(3); in addCurve()
73 SkPoint* ptStorage = allocator->makeArrayDefault<SkPoint>(4); in addCurve()
105 SkPoint* ptStorage = allocator->makeArrayDefault<SkPoint>(2); in flush()
DSkOpBuilder.cpp18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour()
/external/skia/src/core/
DSkRasterPipeline.cpp53 auto stages = fAlloc->makeArrayDefault<StageList>(src.fNumStages); in extend()
90 auto arg = alloc->makeArrayDefault<float>(3); in append_set_rgb()
144 float* trans = alloc->makeArrayDefault<float>(2); in append_matrix()
150 float* scaleTrans = alloc->makeArrayDefault<float>(4); in append_matrix()
157 float* storage = alloc->makeArrayDefault<float>(9); in append_matrix()
DSkEdgeBuilder.cpp213 return (char*)fAlloc.makeArrayDefault<SkEdge>(n); in allocEdges()
217 return (char*)fAlloc.makeArrayDefault<SkAnalyticEdge>(n); in allocEdges()
238 char** edgePtr = fAlloc.makeArrayDefault<char*>(maxEdgeCount); in buildPoly()
DSkRecord.h62 return (T*)fAlloc.makeArrayDefault<RawBytes>(count);
DSkArenaAlloc.h157 T* makeArrayDefault(size_t count) { in makeArrayDefault() function
DSkMaskBlurFilter.cpp989 auto buffer = alloc.makeArrayDefault<uint32_t>(bufferSize); in blur()
999 auto tmp = alloc.makeArrayDefault<uint8_t>(tmpW * tmpH); in blur()
/external/skqp/src/atlastext/
DSkInternalAtlasTextContext.cpp76 auto vertexData = fArena.makeArrayDefault<char>(vertexDataSize); in recordDraw()
/external/skqp/src/gpu/ops/
DGrMeshDrawOp.h164 return this->pipelineArena()->makeArrayDefault<GrTextureProxy*>(n); in allocPrimitiveProcessorTextureArray()
/external/skia/src/xml/
DSkDOM.cpp184 char* dst = chunk->makeArrayDefault<char>(srcLen + 1); in dupstr()
207 SkDOMAttr* attrs = fAlloc->makeArrayDefault<SkDOMAttr>(attrCount); in flushAttributes()
/external/skqp/src/xml/
DSkDOM.cpp183 char* dst = chunk->makeArrayDefault<char>(len + 1); in dupstr()
205 SkDOMAttr* attrs = fAlloc->makeArrayDefault<SkDOMAttr>(attrCount); in flushAttributes()
/external/skqp/include/private/
DSkArenaAlloc.h102 T* makeArrayDefault(size_t count) { in makeArrayDefault() function
/external/skia/src/gpu/tessellate/
DGrStrokeIndirectTessellator.cpp454 fResolveLevels = alloc->makeArrayDefault<int8_t>(resolveLevelAllocCount); in GrStrokeIndirectTessellator()
459 fChopTs = alloc->makeArrayDefault<float>(chopTAllocCount); in GrStrokeIndirectTessellator()
/external/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp455 Sk4u* buffer = alloc.makeArrayDefault<Sk4u>(std::max(bufferSizeW, bufferSizeH)); in cpu_blur()
/external/skqp/src/effects/imagefilters/
DSkBlurImageFilter.cpp502 Sk4u* buffer = alloc.makeArrayDefault<Sk4u>(std::max(bufferSizeW, bufferSizeH)); in cpu_blur()

12