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

1234

/external/chromium_org/third_party/skia/include/core/
H A DSkTDArray.h19 fArray = NULL;
28 fArray = NULL;
33 fArray = (T*)sk_malloc_throw(count * sizeof(T));
35 fData = (ArrayT*)fArray;
37 memcpy(fArray, src, sizeof(T) * count);
43 fArray = NULL;
47 SkTDArray<T> tmp(src.fArray, src.fCount);
51 sk_free(fArray);
57 SkTDArray<T> tmp(src.fArray, src.fCount);
60 memcpy(fArray, sr
358 T* fArray; member in class:SkTDArray
[all...]
H A DSkTemplates.h188 SkAutoTDeleteArray(T array[]) : fArray(array) {}
189 ~SkAutoTDeleteArray() { SkDELETE_ARRAY(fArray); }
191 T* get() const { return fArray; }
192 void free() { SkDELETE_ARRAY(fArray); fArray = NULL; }
193 T* detach() { T* array = fArray; fArray = NULL; return array; }
196 if (fArray != array) {
197 SkDELETE_ARRAY(fArray);
198 fArray
203 T* fArray; member in class:SkAutoTDeleteArray
253 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...]
/external/skia/include/core/
H A DSkTDArray.h19 fArray = NULL;
28 fArray = NULL;
33 fArray = (T*)sk_malloc_throw(count * sizeof(T));
35 fData = (ArrayT*)fArray;
37 memcpy(fArray, src, sizeof(T) * count);
43 fArray = NULL;
47 SkTDArray<T> tmp(src.fArray, src.fCount);
51 sk_free(fArray);
57 SkTDArray<T> tmp(src.fArray, src.fCount);
60 memcpy(fArray, sr
358 T* fArray; member in class:SkTDArray
[all...]
H A DSkTemplates.h175 SkAutoTDeleteArray(T array[]) : fArray(array) {}
176 ~SkAutoTDeleteArray() { SkDELETE_ARRAY(fArray); }
178 T* get() const { return fArray; }
179 void free() { SkDELETE_ARRAY(fArray); fArray = NULL; }
180 T* detach() { T* array = fArray; fArray = NULL; return array; }
183 if (fArray != array) {
184 SkDELETE_ARRAY(fArray);
185 fArray
190 T* fArray; member in class:SkAutoTDeleteArray
240 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...]
/external/chromium_org/third_party/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...]
/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...]
/external/chromium_org/third_party/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.cpp220 fArray[0] = (float) fRnd.nextS();
221 fArray[1] = (float) fRnd.nextS();
222 fArray[2] = (float) fRnd.nextS();
223 fArray[3] = (float) fRnd.nextS();
224 fArray[4] = (float) fRnd.nextS();
225 fArray[5] = (float) fRnd.nextS();
226 fArray[6] = (float) fRnd.nextS();
227 fArray[7] = (float) fRnd.nextS();
228 fArray[8] = (float) fRnd.nextS();
235 fMatrix.setAll(fArray[
258 float fArray[9]; member in class:GetTypeMatrixBench
[all...]
/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.cpp220 fArray[0] = (float) fRnd.nextS();
221 fArray[1] = (float) fRnd.nextS();
222 fArray[2] = (float) fRnd.nextS();
223 fArray[3] = (float) fRnd.nextS();
224 fArray[4] = (float) fRnd.nextS();
225 fArray[5] = (float) fRnd.nextS();
226 fArray[6] = (float) fRnd.nextS();
227 fArray[7] = (float) fRnd.nextS();
228 fArray[8] = (float) fRnd.nextS();
235 fMatrix.setAll(fArray[
258 float fArray[9]; member in class:GetTypeMatrixBench
[all...]
/external/chromium_org/third_party/skia/src/core/
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();
34 if (fArray.count() >= TYPEFACE_CACHE_LIMIT) {
38 Rec* rec = fArray.append();
50 const Rec* curr = fArray.begin();
51 const Rec* stop = fArray.end();
62 const Rec* curr = fArray.begin();
63 const Rec* stop = fArray.end();
73 //remove currFace from fArray?
82 int count = fArray
[all...]
H A DSkLazyPtr.h139 T* ptr = (T*)sk_consume_load(&fArray[i]);
140 return ptr ? ptr : try_cas<T*, Destroy>(&fArray[i], Create(i));
146 Destroy((T*)fArray[i]);
147 fArray[i] = NULL;
153 void* fArray[N]; member in class:Private::SkLazyPtrArray
/external/skia/src/core/
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]; }
66 T* candidate = fArray[index];
103 const T* candidate = fArray[index];
131 if (Deleted() == fArray[i]) {
133 } else if (Empty() != fArray[i]) {
135 SKTDYNAMICHASH_CHECK(NULL != this->find(GetKey(*fArray[i])));
146 if (Empty() == fArray[i] || Deleted() == fArray[
239 T** fArray; member in class:SkTDynamicHash
[all...]
H A DSkTypefaceCache.cpp19 const Rec* curr = fArray.begin();
20 const Rec* stop = fArray.end();
34 if (fArray.count() >= TYPEFACE_CACHE_LIMIT) {
38 Rec* rec = fArray.append();
50 const Rec* curr = fArray.begin();
51 const Rec* stop = fArray.end();
62 const Rec* curr = fArray.begin();
63 const Rec* stop = fArray.end();
73 //remove currFace from fArray?
82 int count = fArray
[all...]
H A DSkLazyPtr.h127 T* ptr = (T*)sk_acquire_load(&fArray[i]);
128 return ptr ? ptr : try_cas<T*, Destroy>(&fArray[i], Create(i));
134 Destroy((T*)fArray[i]);
135 fArray[i] = NULL;
141 void* fArray[N]; member in class:Private::SkLazyPtrArray
/external/chromium_org/third_party/skia/include/utils/
H A DSkPictureUtils.h51 PixelRefAndRect *dst = fArray.append();
58 for (int i = 0; i < fArray.count(); ++i) {
59 if (SkRect::Intersects(fArray[i].fRect, queryRect)) {
60 *result->append() = fArray[i].fPixelRef;
71 SkTDArray<PixelRefAndRect> fArray; member in class:SkPictureUtils::SkPixelRefsAndRectsList
/external/skia/include/utils/
H A DSkPictureUtils.h51 PixelRefAndRect *dst = fArray.append();
58 for (int i = 0; i < fArray.count(); ++i) {
59 if (SkRect::Intersects(fArray[i].fRect, queryRect)) {
60 *result->append() = fArray[i].fPixelRef;
71 SkTDArray<PixelRefAndRect> fArray; member in class:SkPictureUtils::SkPixelRefsAndRectsList
H A DSkJSON.h242 return fArray.fObjects;
246 return fArray.fArrays;
250 return fArray.fStrings;
254 return fArray.fInts;
258 return fArray.fFloats;
262 return fArray.fBools;
276 } fArray; member in class:SkJSON::Array

Completed in 392 milliseconds

1234