Home
last modified time | relevance | path

Searched refs:fArray (Results 1 – 25 of 47) sorted by relevance

12

/external/skia/src/core/
DSkTDPQueue.h33 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 …]
DSkTDynamicHash.h25 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 …]
DSkPictureFlat.h170 SkTypefacePlayback() : fCount(0), fArray(nullptr) {} in SkTypefacePlayback()
179 return fArray[index];
183 buffer.setTypefaceArray(fArray.get(), fCount); in setupBuffer()
188 std::unique_ptr<sk_sp<SkTypeface>[]> fArray; variable
193 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } in SkFactoryPlayback()
195 ~SkFactoryPlayback() { delete[] fArray; } in ~SkFactoryPlayback()
197 SkFlattenable::Factory* base() const { return fArray; } in base()
200 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer()
205 SkFlattenable::Factory* fArray; variable
/external/skqp/src/core/
DSkTDPQueue.h33 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 …]
DSkTDynamicHash.h25 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 …]
DSkPictureFlat.h168 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/skqp/include/private/
DSkTDArray.h21 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 …]
DSkTemplates.h79 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/
DSkTDArray.h21 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 …]
DSkTemplates.h79 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/skqp/bench/
DScalarBench.cpp56 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 …]
DMatrixBench.cpp100 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/bench/
DScalarBench.cpp56 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 …]
DMatrixBench.cpp100 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/samplecode/
DSampleHT.cpp127 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/skia/samplecode/
DSampleHT.cpp127 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/deqp-deps/glslang/Test/
DstructDeref.frag47 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…
Dspv.structDeref.frag47 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/
DBindingsVersioningTest.java49 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/skqp/tests/
DSerialProcsTest.cpp108 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/
DSerialProcsTest.cpp108 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/deqp-deps/glslang/Test/baseResults/
Dspv.structDeref.frag.out30 Name 40 "fArray"
116 40(fArray): 39(ptr) Variable Function
130 Store 40(fArray) 42
148 Store 40(fArray) 79
177 107: 30(ptr) AccessChain 40(fArray) 106
/external/skia/tools/bookmaker/
DparserCommon.h260 const skjson::ArrayValue* fArray; member
274 fArrayIter = fArray ? fArray->begin() : nullptr; in reset()
279 if (fArray) { in atEnd()
280 return fArrayIter == fArray->end(); in atEnd()
/external/icu/icu4c/source/common/
Dunistr.cpp123 umtx_atomic_inc((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in addRef()
128 return umtx_atomic_dec((u_atomic_int32_t *)fUnion.fFields.fArray - 1); in removeRef()
133 return umtx_loadAcquire(*((u_atomic_int32_t *)fUnion.fFields.fArray - 1)); in refCount()
139 uprv_free((int32_t *)fUnion.fFields.fArray - 1); in releaseArray()
389 fUnion.fFields.fArray = (UChar *)array; in allocate()
396 fUnion.fFields.fArray = 0; in allocate()
532 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFrom()
542 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFrom()
567 fUnion.fFields.fArray = 0; in copyFrom()
596 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFieldsFrom()
[all …]
/external/icu/icu4c/source/i18n/
Dfmtable.cpp203 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count); in Formattable()
236 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray, in operator =()
311 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) { in operator ==()
347 delete[] fValue.fArrayAndCount.fArray; in dispose()
591 fValue.fArrayAndCount.fArray = createArrayCopy(array, count); in setArray()
614 fValue.fArrayAndCount.fArray = array; in adoptArray()
682 return fValue.fArrayAndCount.fArray; in getArray()

12