Searched refs:fArray (Results 1 - 25 of 44) sorted by relevance

12

/external/skia/src/core/
H A DSkTDPQueue.h32 int count() const { return fArray.count(); }
35 const T& peek() const { return fArray[0]; }
36 T& peek() { return fArray[0]; }
41 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; })
42 if (1 == fArray.count()) {
43 fArray.pop();
47 fArray[0] = fArray[fArray.count() - 1];
49 fArray
[all...]
H A DSkPictureFlat.cpp21 SkTypefacePlayback::SkTypefacePlayback() : fCount(0), fArray(NULL) {}
29 SkASSERT(fArray[i]);
30 fArray[i]->unref();
32 SkDELETE_ARRAY(fArray);
36 fArray = SkNEW_ARRAY(SkRefCnt*, fCount);
37 rec->copyToArray(fArray);
39 fArray[i]->ref();
43 fArray = NULL;
51 fArray = SkNEW_ARRAY(SkRefCnt*, count);
52 sk_bzero(fArray, coun
[all...]
H A DSkTDynamicHash.h25 SkTDynamicHash() : fCount(0), fDeleted(0), fCapacity(0), fArray(NULL) {
30 sk_free(fArray);
54 T* current() const { return fHash->fArray[fCurrentIndex]; }
81 const T* current() const { return fHash->fArray[fCurrentIndex]; }
94 T* candidate = fArray[index];
123 if (fArray) {
124 sk_bzero(fArray, sizeof(T*)* fCapacity);
134 sk_free(fArray);
135 fArray = NULL;
148 const T* candidate = fArray[inde
286 T** fArray; member in class:SkTDynamicHash
[all...]
H A DSkTypefaceCache.cpp19 const Rec* curr = fArray.begin();
20 const Rec* stop = fArray.end();
28 if (fArray.count() >= TYPEFACE_CACHE_LIMIT) {
32 Rec* rec = fArray.append();
38 const Rec* curr = fArray.begin();
39 const Rec* stop = fArray.end();
51 int count = fArray.count();
54 SkTypeface* face = fArray[i].fFace;
57 fArray.remove(i);
69 this->purge(fArray
[all...]
H A DSkTypefaceCache.h85 SkTDArray<Rec> fArray; member in class:SkTypefaceCache
H A DSkRecorder.h22 int count() const { return fArray.count(); }
23 SkDrawable* const* begin() const { return fArray.begin(); }
31 SkTDArray<SkDrawable*> fArray; member in class:SkDrawableList
H A DSkPictureFlat.h118 buffer.setTypefaceArray((SkTypeface**)fArray, fCount);
123 SkRefCnt** fArray; member in class:SkTypefacePlayback
129 fArray = SkNEW_ARRAY(SkFlattenable::Factory, count);
133 SkDELETE_ARRAY(fArray);
136 SkFlattenable::Factory* base() const { return fArray; }
139 buffer.setFactoryPlayback(fArray, fCount);
144 SkFlattenable::Factory* fArray; member in class:SkFactoryPlayback
/external/skia/include/core/
H A DSkTDArray.h19 fArray = NULL;
25 fArray = NULL;
27 fArray = (T*)sk_malloc_throw(count * sizeof(T));
28 memcpy(fArray, src, sizeof(T) * count);
34 fArray = NULL;
35 SkTDArray<T> tmp(src.fArray, src.fCount);
39 sk_free(fArray);
45 SkTDArray<T> tmp(src.fArray, src.fCount);
48 memcpy(fArray, src.fArray, sizeo
336 T* fArray; member in class:SkTDArray
[all...]
H A DSkTemplates.h193 SkAutoTDeleteArray(T array[]) : fArray(array) {}
194 ~SkAutoTDeleteArray() { SkDELETE_ARRAY(fArray); }
196 T* get() const { return fArray; }
197 void free() { SkDELETE_ARRAY(fArray); fArray = NULL; }
198 T* detach() { T* array = fArray; fArray = NULL; return array; }
201 if (fArray != array) {
202 SkDELETE_ARRAY(fArray);
203 fArray
208 T* fArray; member in class:SkAutoTDeleteArray
263 T* fArray; member in class:SkAutoTArray
[all...]
H A DSkTDict.h20 fArray.reset();
24 int count() const { return fArray.count(); }
36 fArray[index].fValue = value;
39 Pair* pair = fArray.insert(~index);
66 *value = fArray[index].fValue;
74 const Pair* end = fArray.end();
75 for (const Pair* pair = fArray.begin(); pair < end; pair++) {
104 fIter = dict.fArray.begin();
105 fStop = dict.fArray.end();
125 SkTDArray<Pair> fArray; member in class:SkTDict
[all...]
H A DSkLazyPtr.h141 T* ptr = consume_load(&fArray[i]);
142 return ptr ? ptr : try_cas<T*, Destroy>(&fArray[i], Create(i));
146 T* fArray[N]; member in class:Private::SkStaticLazyPtrArray
/external/skia/src/animator/
H A DSkTypedArray.cpp32 fArray = NULL;
41 fArray = NULL;
45 SkDS32Array tmp(src.fArray, src.fCount);
54 fArray = NULL;
60 fArray = (int32_t*)sk_malloc_throw(count * sizeof(int32_t));
62 fData = (int32_t (*)[kDebugArraySize]) fArray;
64 memcpy(fArray, src, sizeof(int32_t) * count);
75 SkDS32Array tmp(src.fArray, src.fCount);
80 memcpy(fArray, src.fArray, sizeo
[all...]
H A DSkTDArray_Experimental.h60 memmove(fArray + index, fArray + index + count, sizeof(int32_t) * (fCount - index));
65 if (fArray)
67 sk_free(fArray);
68 fArray = NULL;
94 int32_t* fArray; member in class:SkDS32Array
100 #define SYNC() fTData = (T (*)[kDebugArraySize]) fArray
109 ~SkTDS32Array() { sk_free(fArray); }
110 T& operator[](int index) const { SYNC(); SkASSERT((unsigned)index < fCount); return ((T*) fArray)[index]; }
118 T* begin() const { SYNC(); return (T*) fArray; }
[all...]
H A DSkOperand.h23 SkTypedArray* fArray; member in union:SkOperand
36 SkTypedArray* getArray() { SkASSERT(fType == SkType_Array); return fOperand.fArray; }
H A DSkOperand2.h25 SkOpArray* fArray; member in union:SkOperand2
46 SkOpArray* getArray() { SkASSERT(fType == SkOperand2::kArray); return fOperand.fArray; }
H A DSkMemberInfo.cpp377 memcpy(&storage->fScalar, scriptValue.fOperand.fArray->begin(), scriptValue.fOperand.fArray->count() * sizeof(SkScalar));
389 displayable->executeFunction(displayable, this, scriptValue.fOperand.fArray, NULL);
391 int count = scriptValue.fOperand.fArray->count();
399 memcpy(&(*arrayStorage)[storageOffset], scriptValue.fOperand.fArray->begin(), count * sizeof(SkOperand));
413 type = scriptValue.fOperand.fArray->getType();
416 SkASSERT(type == scriptValue.fOperand.fArray->getType());
417 int count = scriptValue.fOperand.fArray->count();
420 memcpy(destArray->begin() + storageOffset, scriptValue.fOperand.fArray->begin(), sizeof(SkOperand) * count);
426 SkTypedArray* array = scriptValue.fOperand.fArray;
[all...]
H A DSkDrawMatrix.cpp220 SkASSERT(scriptValue.fOperand.fArray->getType() == SkType_Float);
221 SkASSERT(scriptValue.fOperand.fArray->count() == 2);
223 fMatrix.setTranslateX((*scriptValue.fOperand.fArray)[0].fScalar);
224 fMatrix.setTranslateY((*scriptValue.fOperand.fArray)[1].fScalar);
H A DSkScriptRuntime.cpp72 operand[0].fArray = new SkOpArray(SkOperand2::kNoType /*fReturnType*/);
76 if (index >= operand[0].fArray->count()) {
80 operand[0] = operand[0].fArray->begin()[index];
83 *operand[0].fArray->append() = operand[1];
94 if (callBackFunction->invoke(ref, operand[0].fArray, /* params */
/external/skia/bench/
H A DScalarBench.cpp57 init9(fArray);
64 junk ^= (fArray[6] != 0.0f || fArray[7] != 0.0f || fArray[8] != 1.0f);
65 junk ^= (fArray[2] != 0.0f || fArray[5] != 0.0f);
68 float fArray[9]; member in class:FloatComparisonBench
76 init9(fArray);
83 junk ^= (SkScalarAs2sCompliment(fArray[6]) |
84 SkScalarAs2sCompliment(fArray[
91 SkScalar fArray[9]; member in class:ForcedIntComparisonBench
121 SkScalar fArray[ARRAY_N]; member in class:IsFiniteScalarBench
[all...]
H A DMatrixBench.cpp101 fArray[0] = (float) fRnd.nextS();
102 fArray[1] = (float) fRnd.nextS();
103 fArray[2] = (float) fRnd.nextS();
104 fArray[3] = (float) fRnd.nextS();
105 fArray[4] = (float) fRnd.nextS();
106 fArray[5] = (float) fRnd.nextS();
107 fArray[6] = (float) fRnd.nextS();
108 fArray[7] = (float) fRnd.nextS();
109 fArray[8] = (float) fRnd.nextS();
116 fMatrix.setAll(fArray[
139 float fArray[9]; member in class:GetTypeMatrixBench
[all...]
/external/skia/samplecode/
H A DSampleHT.cpp129 Rec fArray[N]; member in class:HTView
139 fArray[i].fDrawable = new HTDrawable(rand);
140 canvas->drawDrawable(fArray[i].fDrawable);
141 fArray[i].fDrawable->unref();
162 fArray[i].fDrawable->setTime(fTime);
170 if (fArray[i].fDrawable->hitTest(x, y)) {
171 fArray[i].fDrawable->spawnAnimation(fTime);
/external/icu/icu4c/source/tools/genrb/
H A Dreslist.c196 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) {
339 if (res->u.fArray.fCount == 0 && gFormatVersion > 1) {
344 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) {
348 if (U_SUCCESS(*status) && res->u.fArray.fCount <= 0xffff && res16 >= 0 && gFormatVersion > 1) {
349 uint16_t *p16 = reserve16BitUnits(bundle, 1 + res->u.fArray.fCount, status);
352 *p16++ = (uint16_t)res->u.fArray.fCount;
353 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) {
356 bundle->f16BitUnitsLength += 1 + res->u.fArray.fCount;
505 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) {
509 *byteOffset += (1 + res->u.fArray
[all...]
/external/skia/include/effects/
H A DSkColorMatrixFilter.h33 int32_t fArray[20]; member in struct:SkColorMatrixFilter::State
/external/icu/icu4c/source/i18n/
H A Dfmtable.cpp199 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count);
232 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray,
307 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) {
343 delete[] fValue.fArrayAndCount.fArray;
589 fValue.fArrayAndCount.fArray = createArrayCopy(array, count);
612 fValue.fArrayAndCount.fArray = array;
680 return fValue.fArrayAndCount.fArray;
/external/skia/src/effects/
H A DSkColorMatrixFilter.cpp49 const int32_t* SK_RESTRICT array = state.fArray;
61 const int32_t* SK_RESTRICT array = state.fArray;
72 const int32_t* SK_RESTRICT array = state.fArray;
84 const int32_t* SK_RESTRICT array = state.fArray;
95 const int32_t* SK_RESTRICT array = state.fArray;
108 const int32_t* SK_RESTRICT array = state.fArray;
120 const int32_t* SK_RESTRICT array = state.fArray;
132 const int32_t* SK_RESTRICT array = state.fArray;
145 int32_t* array = fState.fArray;
154 /* All of fArray[] value
[all...]

Completed in 393 milliseconds

12