Home
last modified time | relevance | path

Searched refs:SkTArray (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/external/skia/tests/
DTArrayTest.cpp17 SkTArray<int, MEM_MOVE> a; in TestTSet_basic()
64 SkTArray<T>* (&arrays)[4], in test_swap()
100 SkTArray<int> arr; in test_swap()
104 SkTArray<int>* arrays[] = { &arr, &arr5, &arr10, &arr20 }; in test_swap()
114 SkTArray<MoveOnlyInt> moi; in test_swap()
118 SkTArray<MoveOnlyInt>* arraysMoi[] = { &moi, &moi5, &moi10, &moi20 }; in test_swap()
122 template <typename T, bool MEM_MOVE> int SkTArray<T, MEM_MOVE>::allocCntForTest() const { in allocCntForTest()
128 SkTArray<int> a; in test_unnecessary_alloc()
136 SkTArray<int> a(1); in test_unnecessary_alloc()
140 SkTArray<int> a, b; in test_unnecessary_alloc()
[all …]
DSamplePatternDictionaryTest.cpp18 static SkTArray<SkPoint> make_sample_pattern(const std::vector<SkPoint>& sampleLocations) { in make_sample_pattern()
19 return SkTArray<SkPoint>(sampleLocations.data(), sampleLocations.size()); in make_sample_pattern()
22 static SkTArray<SkPoint> make_random_sample_pattern(SkRandom* rand) { in make_random_sample_pattern()
23 SkTArray<SkPoint> pattern; in make_random_sample_pattern()
34 SkTArray<SkTArray<SkPoint>> testPatterns; in DEF_TEST()
121 const SkTArray<SkPoint>& pattern = testPatterns[testPatterns.count() - j - 1]; in DEF_TEST()
127 const SkTArray<SkPoint>& pattern = testPatterns[testPatterns.count() - j - 1]; in DEF_TEST()
DTopoSortTest.cpp14 typedef void (*CreateGraphPF)(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph);
23 static void create_graph0(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph0()
41 static void create_graph1(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph1()
54 static void create_graph2(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph2()
73 static void create_graph3(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph3()
94 static void create_graph4(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph4()
123 SkTArray<sk_sp<sk_tool_utils::TopoTestNode>> graph; in DEF_TEST()
/external/skqp/tests/
DTArrayTest.cpp17 SkTArray<int, MEM_MOVE> a; in TestTSet_basic()
64 SkTArray<T>* (&arrays)[4], in test_swap()
100 SkTArray<int> arr; in test_swap()
104 SkTArray<int>* arrays[] = { &arr, &arr5, &arr10, &arr20 }; in test_swap()
114 SkTArray<MoveOnlyInt> moi; in test_swap()
118 SkTArray<MoveOnlyInt>* arraysMoi[] = { &moi, &moi5, &moi10, &moi20 }; in test_swap()
122 template <typename T, bool MEM_MOVE> int SkTArray<T, MEM_MOVE>::allocCntForTest() const { in allocCntForTest()
128 SkTArray<int> a; in test_unnecessary_alloc()
136 SkTArray<int> a(1); in test_unnecessary_alloc()
140 SkTArray<int> a, b; in test_unnecessary_alloc()
[all …]
DTopoSortTest.cpp14 typedef void (*CreateGraphPF)(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph);
23 static void create_graph0(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph0()
41 static void create_graph1(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph1()
54 static void create_graph2(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph2()
73 static void create_graph3(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph3()
94 static void create_graph4(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph4()
123 SkTArray<sk_sp<sk_tool_utils::TopoTestNode>> graph; in DEF_TEST()
/external/skia/include/private/
DSkTArray.h24 template <typename T, bool MEM_MOVE = false> class SkTArray {
29 SkTArray() { this->init(); } in SkTArray() function
35 explicit SkTArray(int reserveCount) { this->init(0, reserveCount); } in SkTArray() function
40 SkTArray(const SkTArray& that) { in SkTArray() function
45 SkTArray(SkTArray&& that) { in SkTArray() function
57 SkTArray(const T* array, int count) { in SkTArray() function
62 SkTArray& operator=(const SkTArray& that) {
75 SkTArray& operator=(SkTArray&& that) {
90 ~SkTArray() { in ~SkTArray()
301 void swap(SkTArray& that) { in swap()
[all …]
DGrAuditTrail.h115 SkTArray<Op> fOps;
118 void getBoundsByClientID(SkTArray<OpInfo>* outInfo, int clientID);
130 SkTArray<SkString> fStackTrace;
136 typedef SkTArray<std::unique_ptr<Op>, true> OpPool;
138 typedef SkTArray<Op*> Ops;
148 typedef SkTArray<std::unique_ptr<OpNode>, true> OpList;
159 SkTArray<SkString> fCurrentStackTrace;
/external/skqp/include/private/
DSkTArray.h24 template <typename T, bool MEM_MOVE = false> class SkTArray {
29 SkTArray() { this->init(); } in SkTArray() function
35 explicit SkTArray(int reserveCount) { this->init(0, reserveCount); } in SkTArray() function
40 SkTArray(const SkTArray& that) { in SkTArray() function
45 SkTArray(SkTArray&& that) { in SkTArray() function
57 SkTArray(const T* array, int count) { in SkTArray() function
62 SkTArray& operator=(const SkTArray& that) {
75 SkTArray& operator=(SkTArray&& that) {
90 ~SkTArray() { in ~SkTArray()
301 void swap(SkTArray& that) { in swap()
[all …]
DGrAuditTrail.h115 SkTArray<Op> fOps;
118 void getBoundsByClientID(SkTArray<OpInfo>* outInfo, int clientID);
130 SkTArray<SkString> fStackTrace;
136 typedef SkTArray<std::unique_ptr<Op>, true> OpPool;
138 typedef SkTArray<Op*> Ops;
148 typedef SkTArray<std::unique_ptr<OpNode>, true> OpList;
159 SkTArray<SkString> fCurrentStackTrace;
/external/skia/src/gpu/
DGrSamplePatternDictionary.h24 int findOrAssignSamplePatternKey(const SkTArray<SkPoint>& sampleLocations);
26 const SkTArray<SkPoint>& retrieveSampleLocations(int samplePatternKey) const { in retrieveSampleLocations()
32 bool operator()(const SkTArray<SkPoint>&, const SkTArray<SkPoint>&) const;
35 std::map<SkTArray<SkPoint>, int, LessThan> fSamplePatternKeyMap;
36 SkTArray<const SkTArray<SkPoint>*> fSampleLocationsArray;
DGrProcessor.cpp39 SkTArray<GrFragmentProcessorTestFactory*, true>* GrFragmentProcessorTestFactory::GetFactories() { in GetFactories()
40 static SkTArray<GrFragmentProcessorTestFactory*, true> gFactories; in GetFactories()
45 SkTArray<GrGeometryProcessorTestFactory*, true>* GrGeometryProcessorTestFactory::GetFactories() { in GetFactories()
46 static SkTArray<GrGeometryProcessorTestFactory*, true> gFactories; in GetFactories()
50 SkTArray<GrXPFactoryTestFactory*, true>* GrXPFactoryTestFactory::GetFactories() { in GetFactories()
51 static SkTArray<GrXPFactoryTestFactory*, true> gFactories; in GetFactories()
/external/skqp/src/gpu/vk/
DGrVkDescriptorSetManager.h34 const SkTArray<uint32_t>& visibilities);
49 const SkTArray<uint32_t>& visibilities) const;
54 const SkTArray<uint32_t>& visibilities,
55 const SkTArray<const GrVkSampler*>& immutableSamplers);
87 const SkTArray<uint32_t>& visibilities,
88 const SkTArray<const GrVkSampler*>& immutableSamplers);
92 SkTArray<const GrVkDescriptorSet*, true> fFreeSets;
/external/skia/src/gpu/vk/
DGrVkDescriptorSetManager.h34 const SkTArray<uint32_t>& visibilities);
49 const SkTArray<uint32_t>& visibilities) const;
54 const SkTArray<uint32_t>& visibilities,
55 const SkTArray<const GrVkSampler*>& immutableSamplers);
87 const SkTArray<uint32_t>& visibilities,
88 const SkTArray<const GrVkSampler*>& immutableSamplers);
92 SkTArray<const GrVkDescriptorSet*, true> fFreeSets;
/external/skia/src/core/
DSkLatticeIter.h64 SkTArray<int> fSrcX;
65 SkTArray<int> fSrcY;
66 SkTArray<SkScalar> fDstX;
67 SkTArray<SkScalar> fDstY;
68 SkTArray<SkCanvas::Lattice::RectType> fRectTypes;
69 SkTArray<SkColor> fColors;
DSkPictureData.h72 T* read_index_base_1_or_null(SkReadBuffer* reader, const SkTArray<sk_sp<T>>& array) { in read_index_base_1_or_null()
145 SkTArray<SkPaint> fPaints;
146 SkTArray<SkPath> fPaths;
153 SkTArray<sk_sp<const SkPicture>> fPictures;
154 SkTArray<sk_sp<SkDrawable>> fDrawables;
155 SkTArray<sk_sp<const SkTextBlob>> fTextBlobs;
156 SkTArray<sk_sp<const SkVertices>> fVertices;
157 SkTArray<sk_sp<const SkImage>> fImages;
DSkPictureRecord.h36 const SkTArray<sk_sp<const SkPicture>>& getPictures() const { in getPictures()
40 const SkTArray<sk_sp<SkDrawable>>& getDrawables() const { in getDrawables()
44 const SkTArray<sk_sp<const SkTextBlob>>& getTextBlobs() const { in getTextBlobs()
48 const SkTArray<sk_sp<const SkVertices>>& getVertices() const { in getVertices()
52 const SkTArray<sk_sp<const SkImage>>& getImages() const { in getImages()
243 SkTArray<SkPaint> fPaints;
252 SkTArray<sk_sp<const SkImage>> fImages;
253 SkTArray<sk_sp<const SkPicture>> fPictures;
254 SkTArray<sk_sp<SkDrawable>> fDrawables;
255 SkTArray<sk_sp<const SkTextBlob>> fTextBlobs;
[all …]
/external/skqp/src/core/
DSkLatticeIter.h64 SkTArray<int> fSrcX;
65 SkTArray<int> fSrcY;
66 SkTArray<SkScalar> fDstX;
67 SkTArray<SkScalar> fDstY;
68 SkTArray<SkCanvas::Lattice::RectType> fRectTypes;
69 SkTArray<SkColor> fColors;
DSkPictureData.h72 T* read_index_base_1_or_null(SkReadBuffer* reader, const SkTArray<sk_sp<T>>& array) { in read_index_base_1_or_null()
145 SkTArray<SkPaint> fPaints;
146 SkTArray<SkPath> fPaths;
153 SkTArray<sk_sp<const SkPicture>> fPictures;
154 SkTArray<sk_sp<SkDrawable>> fDrawables;
155 SkTArray<sk_sp<const SkTextBlob>> fTextBlobs;
156 SkTArray<sk_sp<const SkVertices>> fVertices;
157 SkTArray<sk_sp<const SkImage>> fImages;
DSkPictureRecord.h36 const SkTArray<sk_sp<const SkPicture>>& getPictures() const { in getPictures()
40 const SkTArray<sk_sp<SkDrawable>>& getDrawables() const { in getDrawables()
44 const SkTArray<sk_sp<const SkTextBlob>>& getTextBlobs() const { in getTextBlobs()
48 const SkTArray<sk_sp<const SkVertices>>& getVertices() const { in getVertices()
52 const SkTArray<sk_sp<const SkImage>>& getImages() const { in getImages()
242 SkTArray<SkPaint> fPaints;
251 SkTArray<sk_sp<const SkImage>> fImages;
252 SkTArray<sk_sp<const SkPicture>> fPictures;
253 SkTArray<sk_sp<SkDrawable>> fDrawables;
254 SkTArray<sk_sp<const SkTextBlob>> fTextBlobs;
[all …]
DSkTTopoSort.h16 void SkTTopoSort_CheckAllUnmarked(const SkTArray<sk_sp<T>>& graph) { in SkTTopoSort_CheckAllUnmarked()
24 void SkTTopoSort_CleanExit(const SkTArray<sk_sp<T>>& graph) { in SkTTopoSort_CleanExit()
35 bool SkTTopoSort_Visit(T* node, SkTArray<sk_sp<T>>* result) { in SkTTopoSort_Visit()
82 bool SkTTopoSort(SkTArray<sk_sp<T>>* graph) { in SkTTopoSort()
83 SkTArray<sk_sp<T>> result; in SkTTopoSort()
/external/skqp/src/gpu/
DGrProcessor.cpp39 SkTArray<GrFragmentProcessorTestFactory*, true>* GrFragmentProcessorTestFactory::GetFactories() { in GetFactories()
40 static SkTArray<GrFragmentProcessorTestFactory*, true> gFactories; in GetFactories()
45 SkTArray<GrGeometryProcessorTestFactory*, true>* GrGeometryProcessorTestFactory::GetFactories() { in GetFactories()
46 static SkTArray<GrGeometryProcessorTestFactory*, true> gFactories; in GetFactories()
50 SkTArray<GrXPFactoryTestFactory*, true>* GrXPFactoryTestFactory::GetFactories() { in GetFactories()
51 static SkTArray<GrXPFactoryTestFactory*, true> gFactories; in GetFactories()
/external/skia/tools/viewer/
DBisectSlide.h49 SkTArray<FoundPath> fFoundPaths;
50 SkTArray<FoundPath> fTossedPaths;
51 SkTArray<char> fTrail;
52 std::stack<std::pair<SkTArray<FoundPath>, SkTArray<FoundPath>>> fPathHistory;
/external/skqp/tools/viewer/
DBisectSlide.h49 SkTArray<FoundPath> fFoundPaths;
50 SkTArray<FoundPath> fTossedPaths;
51 SkTArray<char> fTrail;
52 std::stack<std::pair<SkTArray<FoundPath>, SkTArray<FoundPath>>> fPathHistory;
/external/skia/tools/flags/
DSkCommonFlagsConfig.h28 const SkTArray<SkString>& viaParts);
34 const SkTArray<SkString>& getViaParts() const { return fViaParts; } in getViaParts()
38 SkTArray<SkString> fViaParts;
56 SkCommandLineConfigGpu(const SkString& tag, const SkTArray<SkString>& viaParts,
97 SkCommandLineConfigSvg(const SkString& tag, const SkTArray<SkString>& viaParts, int pageIndex);
106 typedef SkTArray<std::unique_ptr<SkCommandLineConfig>, true> SkCommandLineConfigArray;
/external/skqp/tools/flags/
DSkCommonFlagsConfig.h28 const SkTArray<SkString>& viaParts);
34 const SkTArray<SkString>& getViaParts() const { return fViaParts; } in getViaParts()
38 SkTArray<SkString> fViaParts;
56 SkCommandLineConfigGpu(const SkString& tag, const SkTArray<SkString>& viaParts,
97 SkCommandLineConfigSvg(const SkString& tag, const SkTArray<SkString>& viaParts, int pageIndex);
106 typedef SkTArray<std::unique_ptr<SkCommandLineConfig>, true> SkCommandLineConfigArray;

12345678910>>...20