Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/skia/src/base/
H A 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 …]
/aosp_15_r20/external/skia/include/private/base/
H A DSkTemplates.h183 fArray = nullptr; in AutoSTArray()
190 fArray = nullptr; in AutoSTArray()
201 T* start = fArray; in reset()
211 SkASSERT((T*) fStorage != fArray); in reset()
212 sk_free(fArray); in reset()
216 fArray = (T*) sk_malloc_throw(count, sizeof(T)); in reset()
218 fArray = (T*) fStorage; in reset()
220 fArray = nullptr; in reset()
226 iter = fArray; in reset()
227 T* stop = fArray + count; in reset()
[all …]
/aosp_15_r20/external/skia/src/core/
H A DSkPictureFlat.h193 SkTypefacePlayback() : fCount(0), fArray(nullptr) {} in SkTypefacePlayback()
202 return fArray[index];
206 buffer.setTypefaceArray(fArray.get(), fCount); in setupBuffer()
211 std::unique_ptr<sk_sp<SkTypeface>[]> fArray; variable
216 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; } in SkFactoryPlayback()
218 ~SkFactoryPlayback() { delete[] fArray; } in ~SkFactoryPlayback()
220 SkFlattenable::Factory* base() const { return fArray; } in base()
223 buffer.setFactoryPlayback(fArray, fCount); in setupBuffer()
228 SkFlattenable::Factory* fArray; variable
H A DSkRegion.cpp846 , fArray(array) in RgnOper()
855 int stop = operate_on_span(a_runs, b_runs, fArray, start, fMin, fMax); in addSpan()
858 SkASSERT(SkRegion_kRunTypeSentinel == (*fArray)[stop - 1]); in addSpan()
861 SkASSERT(fArray->count() >= SkToInt(start + len - 1)); in addSpan()
863 (1 == len || !memcmp(&(*fArray)[fPrevDst], in addSpan()
864 &(*fArray)[start], in addSpan()
867 (*fArray)[fPrevDst - 2] = (SkRegionPriv::RunType)bottom; in addSpan()
872 (*fArray)[start - 2] = (SkRegionPriv::RunType)bottom; in addSpan()
873 (*fArray)[start - 1] = SkToS32(len >> 1); in addSpan()
881 (*fArray)[fStartDst] = fTop; in flush()
[all …]
H A DSkRecorder.h62 int count() const { return fArray.size(); } in count()
63 SkDrawable* const* begin() const { return fArray.begin(); } in begin()
64 SkDrawable* const* end() const { return fArray.end(); } in end()
72 SkTDArray<SkDrawable*> fArray;
/aosp_15_r20/external/skia/tests/
H A DSerialProcsTest.cpp127 SkTDArray<SkPicture*> fArray; member
136 *c->fArray.append() = pic; in array_serial_proc()
147 auto found = std::find(c->fArray.begin(), c->fArray.end(), pic); in array_deserial_proc()
148 SkASSERT(found != c->fArray.end()); in array_deserial_proc()
149 if (found != c->fArray.end()) { in array_deserial_proc()
150 c->fArray.removeShuffle(std::distance(c->fArray.begin(), found)); in array_deserial_proc()
165 REPORTER_ASSERT(reporter, ctx.fArray.size() == count); in test_pictures()
168 REPORTER_ASSERT(reporter, ctx.fArray.size() == 0); in test_pictures()
/aosp_15_r20/frameworks/base/libs/hwui/jni/
H A Dandroid_nio_utils.cpp28 fArray = nullptr; in AutoBufferPointer()
34 fArray = jniGetNioBufferBaseArray(fEnv, nioBuffer); in AutoBufferPointer()
35 fElements = fEnv->GetPrimitiveArrayCritical(fArray, /* isCopy= */ nullptr); in AutoBufferPointer()
41 if (nullptr != fArray) { in ~AutoBufferPointer()
42 fEnv->ReleasePrimitiveArrayCritical(fArray, fElements, fCommit ? 0 : JNI_ABORT); in ~AutoBufferPointer()
H A DGraphicsJNI.h295 jfloatArray fArray; variable
311 jintArray fArray; variable
327 jshortArray fArray; variable
343 jbyteArray fArray; variable
H A DGraphics.cpp100 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaFloatArray()
114 fEnv->ReleaseFloatArrayElements(fArray, fPtr, fReleaseMode); in ~AutoJavaFloatArray()
120 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaIntArray()
133 fEnv->ReleaseIntArrayElements(fArray, fPtr, 0); in ~AutoJavaIntArray()
139 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaShortArray()
153 fEnv->ReleaseShortArrayElements(fArray, fPtr, fReleaseMode); in ~AutoJavaShortArray()
159 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { in AutoJavaByteArray()
172 fEnv->ReleaseByteArrayElements(fArray, fPtr, 0); in ~AutoJavaByteArray()
/aosp_15_r20/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
H A 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()
/aosp_15_r20/external/skia/src/ports/
H A DSkFontMgr_mac_ct.cpp262 : fArray(CTFontDescriptorCreateMatchingFontDescriptors(desc, name_required().get())) in SkFontStyleSet_Mac()
265 if (!fArray) { in SkFontStyleSet_Mac()
266 fArray.reset(CFArrayCreate(nullptr, nullptr, 0, nullptr)); in SkFontStyleSet_Mac()
268 fCount = SkToInt(CFArrayGetCount(fArray.get())); in SkFontStyleSet_Mac()
277 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), index); in getStyle()
289 SkASSERT((unsigned)index < (unsigned)CFArrayGetCount(fArray.get())); in createTypeface()
290 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), index); in createTypeface()
303 SkUniqueCFRef<CFArrayRef> fArray; member in __anonc2bc754e0211::SkFontStyleSet_Mac
311 CTFontDescriptorRef desc = (CTFontDescriptorRef)CFArrayGetValueAtIndex(fArray.get(), i); in findMatchingDesc()
/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/cts/
H A DColorMatrixTest.java87 float[] fArray = new float[] { in testSet1() local
94 mColorMatrix.set(fArray); in testSet1()
96 assertArrayEquals(fArray, ret, 0.0f); in testSet1()
104 float[] fArray = new float[] { in testSet2() local
111 mColorMatrix.set(new ColorMatrix(fArray)); in testSet2()
113 assertArrayEquals(fArray, ret, 0.0f); in testSet2()
/aosp_15_r20/external/cronet/third_party/icu/source/common/
H A 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 = (char16_t *)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 …]
/aosp_15_r20/external/icu/icu4c/source/common/
H A 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 = (char16_t *)array; in allocate()
396 fUnion.fFields.fArray = nullptr; 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 = nullptr; in copyFrom()
596 fUnion.fFields.fArray = src.fUnion.fFields.fArray; in copyFieldsFrom()
[all …]
/aosp_15_r20/external/angle/third_party/glslang/src/Test/
H A 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…
H A 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…
/aosp_15_r20/external/deqp-deps/glslang/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…
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A 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()
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A 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()
/aosp_15_r20/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
/aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/
H A 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
/aosp_15_r20/external/armnn/src/armnnUtils/test/
H A DQuantizeHelperTest.cpp29 std::vector<float> fArray; variable
30 CHECK(IsFloatIterFunc(fArray.begin()) == true);
31 CHECK(IsFloatIterFunc(fArray.cbegin()) == true);
/aosp_15_r20/external/icu/icu4c/source/tools/gennorm2/
H A 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()
/aosp_15_r20/external/cronet/third_party/icu/source/tools/gennorm2/
H A 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()

123