/external/skqp/src/core/ |
D | SkTDPQueue.h | 33 SkTDPQueue(int reserve) { fArray.setReserve(reserve); } in SkTDPQueue() 42 int count() const { return fArray.count(); } in count() 45 const T& peek() const { return fArray[0]; } in peek() 46 T& peek() { return fArray[0]; } in peek() 51 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; }) in pop() 52 if (1 == fArray.count()) { in pop() 53 fArray.pop(); in pop() 57 fArray[0] = fArray[fArray.count() - 1]; in pop() 59 fArray.pop(); in pop() 68 int index = fArray.count(); in insert() [all …]
|
D | SkTDynamicHash.h | 25 SkTDynamicHash() : fCount(0), fDeleted(0), fCapacity(0), fArray(nullptr) { in SkTDynamicHash() 30 sk_free(fArray); in ~SkTDynamicHash() 54 T* current() const { return fHash->fArray[fCurrentIndex]; } in current() 81 const T* current() const { return fHash->fArray[fCurrentIndex]; } in current() 94 T* candidate = fArray[index]; in find() 123 if (fArray) { in rewind() 124 sk_bzero(fArray, sizeof(T*)* fCapacity); in rewind() 134 sk_free(fArray); in reset() 135 fArray = nullptr; in reset() 148 const T* candidate = fArray[index]; in countCollisions() [all …]
|
D | SkPictureFlat.h | 168 SkTypefacePlayback() : fCount(0), fArray(nullptr) {} in SkTypefacePlayback() 177 return fArray[index]; 181 buffer.setTypefaceArray(fArray.get(), fCount); in setupBuffer() 186 std::unique_ptr<sk_sp<SkTypeface>[]> fArray; variable 191 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } in SkFactoryPlayback() 193 ~SkFactoryPlayback() { delete[] fArray; } in ~SkFactoryPlayback() 195 SkFlattenable::Factory* base() const { return fArray; } in base() 198 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer() 203 SkFlattenable::Factory* fArray; variable
|
/external/skia/src/core/ |
D | SkTDPQueue.h | 33 SkTDPQueue(int reserve) { fArray.setReserve(reserve); } in SkTDPQueue() 42 int count() const { return fArray.count(); } in count() 45 const T& peek() const { return fArray[0]; } in peek() 46 T& peek() { return fArray[0]; } in peek() 51 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; }) in pop() 52 if (1 == fArray.count()) { in pop() 53 fArray.pop(); in pop() 57 fArray[0] = fArray[fArray.count() - 1]; in pop() 59 fArray.pop(); in pop() 68 int index = fArray.count(); in insert() [all …]
|
D | SkPictureFlat.h | 180 SkTypefacePlayback() : fCount(0), fArray(nullptr) {} in SkTypefacePlayback() 189 return fArray[index]; 193 buffer.setTypefaceArray(fArray.get(), fCount); in setupBuffer() 198 std::unique_ptr<sk_sp<SkTypeface>[]> fArray; variable 203 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } in SkFactoryPlayback() 205 ~SkFactoryPlayback() { delete[] fArray; } in ~SkFactoryPlayback() 207 SkFlattenable::Factory* base() const { return fArray; } in base() 210 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer() 215 SkFlattenable::Factory* fArray; variable
|
/external/skqp/include/private/ |
D | SkTDArray.h | 21 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} in SkTDArray() 26 fArray = nullptr; in SkTDArray() 28 fArray = (T*)sk_malloc_throw(count * sizeof(T)); in SkTDArray() 29 memcpy(fArray, src, sizeof(T) * count); in SkTDArray() 34 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 35 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray() 38 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 42 sk_free(fArray); in ~SkTDArray() 48 SkTDArray<T> tmp(src.fArray, src.fCount); 51 sk_careful_memcpy(fArray, src.fArray, sizeof(T) * src.fCount); [all …]
|
D | SkTemplates.h | 79 fArray.reset(new T[count]); in SkAutoTArray() 84 SkAutoTArray(SkAutoTArray&& other) : fArray(std::move(other.fArray)) { in SkAutoTArray() 89 fArray = std::move(other.fArray); 101 T* get() const { return fArray.get(); } in get() 107 return fArray[index]; 111 std::unique_ptr<T[]> fArray; 126 fArray = nullptr; in SkAutoSTArray() 133 fArray = nullptr; in SkAutoSTArray() 144 T* start = fArray; in reset() 154 SkASSERT((T*) fStorage != fArray); in reset() [all …]
|
/external/skia/include/private/ |
D | SkTDArray.h | 29 SkTDArray() : fArray(nullptr), fReserve(0), fCount(0) {} in SkTDArray() 34 fArray = nullptr; in SkTDArray() 36 fArray = (T*)sk_malloc_throw(SkToSizeT(count) * sizeof(T)); in SkTDArray() 37 memcpy(fArray, src, sizeof(T) * SkToSizeT(count)); in SkTDArray() 42 SkTDArray(const SkTDArray<T>& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 43 SkTDArray<T> tmp(src.fArray, src.fCount); in SkTDArray() 46 SkTDArray(SkTDArray<T>&& src) : fArray(nullptr), fReserve(0), fCount(0) { in SkTDArray() 50 sk_free(fArray); in ~SkTDArray() 56 SkTDArray<T> tmp(src.fArray, src.fCount); 59 sk_careful_memcpy(fArray, src.fArray, sizeof(T) * SkToSizeT(src.fCount)); [all …]
|
D | SkTemplates.h | 88 fArray.reset(new T[count]); in SkAutoTArray() 93 SkAutoTArray(SkAutoTArray&& other) : fArray(std::move(other.fArray)) { in SkAutoTArray() 98 fArray = std::move(other.fArray); 110 T* get() const { return fArray.get(); } in get() 116 return fArray[index]; 120 const T* data() const { return fArray.get(); } in data() 121 T* data() { return fArray.get(); } in data() 124 std::unique_ptr<T[]> fArray; 139 fArray = nullptr; in SkAutoSTArray() 146 fArray = nullptr; in SkAutoSTArray() [all …]
|
/external/skia/bench/ |
D | ScalarBench.cpp | 56 init9(fArray); in FloatComparisonBench() 63 junk ^= (fArray[6] != 0.0f || fArray[7] != 0.0f || fArray[8] != 1.0f); in performTest() 64 junk ^= (fArray[2] != 0.0f || fArray[5] != 0.0f); in performTest() 67 float fArray[9]; member in FloatComparisonBench 75 init9(fArray); in ForcedIntComparisonBench() 82 junk ^= (SkScalarAs2sCompliment(fArray[6]) | in performTest() 83 SkScalarAs2sCompliment(fArray[7]) | in performTest() 84 (SkScalarAs2sCompliment(fArray[8]) - kPersp1Int)); in performTest() 85 junk ^= (SkScalarAs2sCompliment(fArray[2]) | in performTest() 86 SkScalarAs2sCompliment(fArray[5])); in performTest() [all …]
|
D | MatrixBench.cpp | 100 fArray[0] = (float) fRnd.nextS(); in GetTypeMatrixBench() 101 fArray[1] = (float) fRnd.nextS(); in GetTypeMatrixBench() 102 fArray[2] = (float) fRnd.nextS(); in GetTypeMatrixBench() 103 fArray[3] = (float) fRnd.nextS(); in GetTypeMatrixBench() 104 fArray[4] = (float) fRnd.nextS(); in GetTypeMatrixBench() 105 fArray[5] = (float) fRnd.nextS(); in GetTypeMatrixBench() 106 fArray[6] = (float) fRnd.nextS(); in GetTypeMatrixBench() 107 fArray[7] = (float) fRnd.nextS(); in GetTypeMatrixBench() 108 fArray[8] = (float) fRnd.nextS(); in GetTypeMatrixBench() 115 fMatrix.setAll(fArray[0], fArray[1], fArray[2], in performTest() [all …]
|
/external/skqp/bench/ |
D | ScalarBench.cpp | 56 init9(fArray); in FloatComparisonBench() 63 junk ^= (fArray[6] != 0.0f || fArray[7] != 0.0f || fArray[8] != 1.0f); in performTest() 64 junk ^= (fArray[2] != 0.0f || fArray[5] != 0.0f); in performTest() 67 float fArray[9]; member in FloatComparisonBench 75 init9(fArray); in ForcedIntComparisonBench() 82 junk ^= (SkScalarAs2sCompliment(fArray[6]) | in performTest() 83 SkScalarAs2sCompliment(fArray[7]) | in performTest() 84 (SkScalarAs2sCompliment(fArray[8]) - kPersp1Int)); in performTest() 85 junk ^= (SkScalarAs2sCompliment(fArray[2]) | in performTest() 86 SkScalarAs2sCompliment(fArray[5])); in performTest() [all …]
|
D | MatrixBench.cpp | 100 fArray[0] = (float) fRnd.nextS(); in GetTypeMatrixBench() 101 fArray[1] = (float) fRnd.nextS(); in GetTypeMatrixBench() 102 fArray[2] = (float) fRnd.nextS(); in GetTypeMatrixBench() 103 fArray[3] = (float) fRnd.nextS(); in GetTypeMatrixBench() 104 fArray[4] = (float) fRnd.nextS(); in GetTypeMatrixBench() 105 fArray[5] = (float) fRnd.nextS(); in GetTypeMatrixBench() 106 fArray[6] = (float) fRnd.nextS(); in GetTypeMatrixBench() 107 fArray[7] = (float) fRnd.nextS(); in GetTypeMatrixBench() 108 fArray[8] = (float) fRnd.nextS(); in GetTypeMatrixBench() 115 fMatrix.setAll(fArray[0], fArray[1], fArray[2], in performTest() [all …]
|
/external/skia/experimental/xform/ |
D | SkShape.h | 65 SkTDArray<Shape*> fArray; variable 81 fArray.unrefAll(); in ~GroupShape() 84 int count() const { return fArray.count(); } in count() 85 Shape* get(int index) const { return fArray[index]; } in get() 87 fArray[index] = s.release(); in set() 91 *fArray.append() = s.release(); in append() 94 *fArray.insert(index) = s.release(); in insert() 97 SkSafeUnref(fArray[index]); in remove() 98 fArray.remove(index); in remove()
|
D | SkShape.cpp | 17 if (fArray.count() == 0) { in draw() 22 for (auto s : fArray) { in draw()
|
/external/skqp/samplecode/ |
D | SampleHT.cpp | 127 Rec fArray[N]; member in HTView 137 fArray[i].fDrawable = new HTDrawable(rand); in HTView() 138 canvas->drawDrawable(fArray[i].fDrawable); in HTView() 139 fArray[i].fDrawable->unref(); in HTView() 160 fArray[i].fDrawable->setTime(fTime); in onAnimate() 168 if (fArray[i].fDrawable->hitTest(x, y)) { in onFindClickHandler() 169 fArray[i].fDrawable->spawnAnimation(fTime); in onFindClickHandler()
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/ |
D | structDeref.frag | 47 float[6] fArray; 54 fArray = float[6]( 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); 61 fArray = float[6]( 0.0, 1.0, 2.0, 3.0, 4.0, 5.0); 70 …gl_FragColor = (float(locals0.i) + locals1Array[6].f + fArray[3] + locals2.s1_1.f) * texture2D(sam…
|
D | spv.structDeref.frag | 47 float[6] fArray; 54 fArray = float[6]( 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); 61 fArray = float[6]( 0.0, 1.0, 2.0, 3.0, 4.0, 5.0); 70 …gl_FragColor = (float(locals0.i) + locals1Array[6].f + fArray[3] + locals2.s1_1.f) * texture(samp2…
|
/external/deqp-deps/glslang/Test/ |
D | structDeref.frag | 47 float[6] fArray; 54 fArray = float[6]( 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); 61 fArray = float[6]( 0.0, 1.0, 2.0, 3.0, 4.0, 5.0); 70 …gl_FragColor = (float(locals0.i) + locals1Array[6].f + fArray[3] + locals2.s1_1.f) * texture2D(sam…
|
D | spv.structDeref.frag | 47 float[6] fArray; 54 fArray = float[6]( 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); 61 fArray = float[6]( 0.0, 1.0, 2.0, 3.0, 4.0, 5.0); 70 …gl_FragColor = (float(locals0.i) + locals1Array[6].f + fArray[3] + locals2.s1_1.f) * texture(samp2…
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | BindingsVersioningTest.java | 49 struct.fArray = new byte[] {10, 9, 8}; in newStruct() 108 v5.fArray = new byte[] {10, 9, 8}; in testOldToNew() 113 expected.fArray = new byte[] {10, 9, 8}; in testOldToNew() 127 v7.fArray = new byte[] {10, 9, 8}; in testOldToNew() 136 expected.fArray = new byte[] {10, 9, 8}; in testOldToNew() 193 expected.fArray = new byte[] {10, 9, 8}; in testNewToOld() 206 expected.fArray = new byte[] {10, 9, 8}; in testNewToOld()
|
/external/skia/src/gpu/effects/ |
D | GrMatrixConvolutionEffect.h | 72 new (&fArray) std::array<float, kMaxUniformSize>(that.fArray); in KernelWrapper() 81 return fArray; in array() 98 std::array<float, kMaxUniformSize> fArray; member
|
/external/skqp/tests/ |
D | SerialProcsTest.cpp | 108 SkTDArray<SkPicture*> fArray; member 117 *c->fArray.append() = pic; in array_serial_proc() 128 int index = c->fArray.find(pic); in array_deserial_proc() 130 c->fArray.removeShuffle(index); in array_deserial_proc() 144 REPORTER_ASSERT(reporter, ctx.fArray.count() == count); in test_pictures() 147 REPORTER_ASSERT(reporter, ctx.fArray.count() == 0); in test_pictures()
|
/external/skia/tests/ |
D | SerialProcsTest.cpp | 107 SkTDArray<SkPicture*> fArray; member 116 *c->fArray.append() = pic; in array_serial_proc() 127 int index = c->fArray.find(pic); in array_deserial_proc() 129 c->fArray.removeShuffle(index); in array_deserial_proc() 143 REPORTER_ASSERT(reporter, ctx.fArray.count() == count); in test_pictures() 146 REPORTER_ASSERT(reporter, ctx.fArray.count() == 0); in test_pictures()
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.structDeref.frag.out | 30 Name 40 "fArray" 117 40(fArray): 39(ptr) Variable Function 131 Store 40(fArray) 42 149 Store 40(fArray) 79 178 107: 30(ptr) AccessChain 40(fArray) 106
|