Home
last modified time | relevance | path

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

12

/external/skia/src/base/
DSkTDPQueue.h36 SkTDPQueue(int reserve) { fArray.reserve(reserve); } in SkTDPQueue()
45 int count() const { return fArray.size(); } in count()
48 const T& peek() const { return fArray[0]; } in peek()
49 T& peek() { return fArray[0]; } in peek()
54 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; }) in pop()
55 if (1 == fArray.size()) { in pop()
56 fArray.pop_back(); in pop()
60 fArray[0] = fArray[fArray.size() - 1]; in pop()
62 fArray.pop_back(); in pop()
71 int index = fArray.size(); in insert()
[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/skia/include/private/base/
DSkTemplates.h106 fArray.reset(new T[count]); in AutoTArray()
111 AutoTArray(AutoTArray&& other) : fArray(std::move(other.fArray)) { in AutoTArray()
116 fArray = std::move(other.fArray);
128 T* get() const { return fArray.get(); } in get()
134 return fArray[index];
138 const T* data() const { return fArray.get(); } in data()
139 T* data() { return fArray.get(); } in data()
142 std::unique_ptr<T[]> fArray;
157 fArray = nullptr; in AutoSTArray()
164 fArray = nullptr; in AutoSTArray()
[all …]
/external/skia/src/core/
DSkPictureFlat.h185 SkTypefacePlayback() : fCount(0), fArray(nullptr) {} in SkTypefacePlayback()
194 return fArray[index];
198 buffer.setTypefaceArray(fArray.get(), fCount); in setupBuffer()
203 std::unique_ptr<sk_sp<SkTypeface>[]> fArray; variable
208 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } in SkFactoryPlayback()
210 ~SkFactoryPlayback() { delete[] fArray; } in ~SkFactoryPlayback()
212 SkFlattenable::Factory* base() const { return fArray; } in base()
215 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer()
220 SkFlattenable::Factory* fArray; variable
DSkRecorder.h61 int count() const { return fArray.size(); } in count()
62 SkDrawable* const* begin() const { return fArray.begin(); } in begin()
63 SkDrawable* const* end() const { return fArray.end(); } in end()
71 SkTDArray<SkDrawable*> fArray;
DSkRegion.cpp839 , fArray(array) in RgnOper()
848 int stop = operate_on_span(a_runs, b_runs, fArray, start, fMin, fMax); in addSpan()
851 SkASSERT(SkRegion_kRunTypeSentinel == (*fArray)[stop - 1]); in addSpan()
854 SkASSERT(fArray->count() >= SkToInt(start + len - 1)); in addSpan()
856 (1 == len || !memcmp(&(*fArray)[fPrevDst], in addSpan()
857 &(*fArray)[start], in addSpan()
860 (*fArray)[fPrevDst - 2] = (SkRegionPriv::RunType)bottom; in addSpan()
865 (*fArray)[start - 2] = (SkRegionPriv::RunType)bottom; in addSpan()
866 (*fArray)[start - 1] = SkToS32(len >> 1); in addSpan()
874 (*fArray)[fStartDst] = fTop; in flush()
[all …]
/external/skia/tests/
DSerialProcsTest.cpp124 SkTDArray<SkPicture*> fArray; member
133 *c->fArray.append() = pic; in array_serial_proc()
144 auto found = std::find(c->fArray.begin(), c->fArray.end(), pic); in array_deserial_proc()
145 SkASSERT(found != c->fArray.end()); in array_deserial_proc()
146 if (found != c->fArray.end()) { in array_deserial_proc()
147 c->fArray.removeShuffle(std::distance(c->fArray.begin(), found)); in array_deserial_proc()
162 REPORTER_ASSERT(reporter, ctx.fArray.size() == count); in test_pictures()
165 REPORTER_ASSERT(reporter, ctx.fArray.size() == 0); in test_pictures()
/external/angle/third_party/vulkan-deps/glslang/src/Test/
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…
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…
/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/armnn/src/armnnUtils/test/
DQuantizeHelperTest.cpp29 std::vector<float> fArray; variable
30 CHECK(IsFloatIterFunc(fArray.begin()) == true);
31 CHECK(IsFloatIterFunc(fArray.cbegin()) == true);
/external/skia/src/gpu/ganesh/effects/
DGrMatrixConvolutionEffect.h68 new (&fArray) std::array<float, kMaxUniformSize>(that.fArray); in KernelWrapper()
77 return fArray; in array()
94 std::array<float, kMaxUniformSize> fArray; member
/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/skia/src/ports/
DSkFontMgr_mac_ct.cpp255 : fArray(CTFontDescriptorCreateMatchingFontDescriptors(desc, nullptr)) in SkFontStyleSet_Mac()
258 if (!fArray) { in SkFontStyleSet_Mac()
259 fArray.reset(CFArrayCreate(nullptr, nullptr, 0, nullptr)); in SkFontStyleSet_Mac()
261 fCount = SkToInt(CFArrayGetCount(fArray.get())); in SkFontStyleSet_Mac()
270 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), index); in getStyle()
282 SkASSERT((unsigned)index < (unsigned)CFArrayGetCount(fArray.get())); in createTypeface()
283 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), index); in createTypeface()
296 SkUniqueCFRef<CFArrayRef> fArray; member in __anon2daad71d0211::SkFontStyleSet_Mac
304 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), i); in findMatchingDesc()
/external/deqp-deps/glslang/Test/baseResults/
Dspv.structDeref.frag.out30 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
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.structDeref.frag.out30 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
/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/cronet/third_party/icu/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/cronet/third_party/icu/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()
/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()
/external/cronet/third_party/icu/source/tools/gennorm2/
Dnorms.h39 UChar32 charAt(int32_t i) const { return fArray[i]>>8; } in charAt()
40 uint8_t ccAt(int32_t i) const { return (uint8_t)fArray[i]; } in ccAt()
47 int32_t fArray[Normalizer2Impl::MAPPING_LENGTH_MASK];
/external/icu/icu4c/source/tools/gennorm2/
Dnorms.h39 UChar32 charAt(int32_t i) const { return fArray[i]>>8; } in charAt()
40 uint8_t ccAt(int32_t i) const { return (uint8_t)fArray[i]; } in ccAt()
47 int32_t fArray[Normalizer2Impl::MAPPING_LENGTH_MASK];
Dnorms.cpp30 fArray[fLength++]=(c<<8)|cc; in append()
41 fArray[j]=fArray[j-1]; in append()
43 fArray[i]=(c<<8)|cc; in append()

12