HomeSort by relevance Sort by last modified time
    Searched refs:fArray (Results 1 - 25 of 48) sorted by null

1 2

  /external/skia/src/core/
SkTDPQueue.h 32 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.pop()
    [all...]
SkPictureFlat.cpp 21 SkTypefacePlayback::SkTypefacePlayback() : fCount(0), fArray(nullptr) {}
29 SkASSERT(fArray[i]);
30 fArray[i]->unref();
32 delete[] fArray;
36 fArray = new SkRefCnt* [fCount];
37 rec->copyToArray(fArray);
39 fArray[i]->ref();
43 fArray = nullptr;
51 fArray = new SkRefCnt* [count];
52 sk_bzero(fArray, count * sizeof(SkRefCnt*))
    [all...]
SkTDynamicHash.h 25 SkTDynamicHash() : fCount(0), fDeleted(0), fCapacity(0), fArray(nullptr) {
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 = nullptr;
148 const T* candidate = fArray[index]
    [all...]
SkTypefaceCache.cpp 20 const Rec* curr = fArray.begin();
21 const Rec* stop = fArray.end();
29 if (fArray.count() >= TYPEFACE_CACHE_LIMIT) {
33 Rec* rec = fArray.append();
39 const Rec* curr = fArray.begin();
40 const Rec* stop = fArray.end();
52 int count = fArray.count();
55 SkTypeface* face = fArray[i].fFace;
58 fArray.remove(i);
70 this->purge(fArray.count())
    [all...]
SkTypefaceCache.h 85 SkTDArray<Rec> fArray;
SkPictureFlat.h 138 buffer.setTypefaceArray((SkTypeface**)fArray, fCount);
143 SkRefCnt** fArray;
148 SkFactoryPlayback(int count) : fCount(count) { fArray = new SkFlattenable::Factory[count]; }
150 ~SkFactoryPlayback() { delete[] fArray; }
152 SkFlattenable::Factory* base() const { return fArray; }
155 buffer.setFactoryPlayback(fArray, fCount);
160 SkFlattenable::Factory* fArray;
  /external/skia/include/private/
SkTDArray.h 19 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 sk_careful_memcpy(fArray, src.fArray, sizeof(T) * src.fCount)
    [all...]
SkTDict.h 20 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;
    [all...]
SkTemplates.h 118 fArray = NULL;
125 fArray = NULL;
127 fArray = new T[count];
135 delete[] fArray;
137 fArray = NULL;
139 fArray = new T[count];
144 ~SkAutoTArray() { delete[] fArray; }
148 T* get() const { return fArray; }
154 return fArray[index];
158 SkTSwap(fArray, other.fArray)
    [all...]
  /external/skia/src/animator/
SkTypedArray.cpp 32 fArray = nullptr;
41 fArray = nullptr;
45 SkDS32Array tmp(src.fArray, src.fCount);
54 fArray = nullptr;
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, sizeof(int32_t) * src.fCount)
    [all...]
SkTDArray_Experimental.h 60 memmove(fArray + index, fArray + index + count, sizeof(int32_t) * (fCount - index));
65 if (fArray)
67 sk_free(fArray);
68 fArray = nullptr;
94 int32_t* fArray;
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...]
SkOperand2.h 25 SkOpArray* fArray;
46 SkOpArray* getArray() { SkASSERT(fType == SkOperand2::kArray); return fOperand.fArray; }
SkOperand.h 23 SkTypedArray* fArray;
36 SkTypedArray* getArray() { SkASSERT(fType == SkType_Array); return fOperand.fArray; }
SkMemberInfo.cpp 377 memcpy(&storage->fScalar, scriptValue.fOperand.fArray->begin(), scriptValue.fOperand.fArray->count() * sizeof(SkScalar));
389 displayable->executeFunction(displayable, this, scriptValue.fOperand.fArray, nullptr);
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...]
SkDrawMatrix.cpp 220 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);
SkScriptRuntime.cpp 72 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/
ScalarBench.cpp 57 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];
76 init9(fArray);
83 junk ^= (SkScalarAs2sCompliment(fArray[6]) |
84 SkScalarAs2sCompliment(fArray[7])
    [all...]
MatrixBench.cpp 101 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[0], fArray[1], fArray[2]
    [all...]
  /frameworks/base/core/jni/
android_nio_utils.h 67 jarray fArray;
android_nio_utils.cpp 67 fPointer = android::nio_getPointer(env, nioBuffer, &fArray);
71 if (NULL != fArray) {
72 android::nio_releasePointer(fEnv, fArray, fPointer, fCommit);
  /external/skia/src/effects/gradients/
SkLinearGradient.h 15 float fArray[4];
18 return Sk4f::Load(fArray);
22 src.store(fArray);
  /external/skia/samplecode/
SampleHT.cpp 129 Rec fArray[N];
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/i18n/unicode/
fmtable.h 446 { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; }
467 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; }
700 Formattable* fArray;
  /frameworks/base/core/jni/android/graphics/
GraphicsJNI.h 249 jfloatArray fArray;
265 jintArray fArray;
281 jshortArray fArray;
297 jbyteArray fArray;
  /external/icu/icu4c/source/i18n/
fmtable.cpp 199 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;

Completed in 492 milliseconds

1 2