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

1 2

  /external/skia/bench/
ScalarBench.cpp 66 init9(fArray);
71 always_do(fArray[6] != 0.0f || fArray[7] != 0.0f || fArray[8] != 1.0f);
72 always_do(fArray[2] != 0.0f || fArray[5] != 0.0f);
75 float fArray[9];
83 init9(fArray);
88 always_do(SkScalarAs2sCompliment(fArray[6]) |
89 SkScalarAs2sCompliment(fArray[7])
    [all...]
MatrixBench.cpp 225 fArray[0] = (float) fRnd.nextS();
226 fArray[1] = (float) fRnd.nextS();
227 fArray[2] = (float) fRnd.nextS();
228 fArray[3] = (float) fRnd.nextS();
229 fArray[4] = (float) fRnd.nextS();
230 fArray[5] = (float) fRnd.nextS();
231 fArray[6] = (float) fRnd.nextS();
232 fArray[7] = (float) fRnd.nextS();
233 fArray[8] = (float) fRnd.nextS();
240 fMatrix.setAll(fArray[0], fArray[1], fArray[2]
    [all...]
  /external/skia/src/gpu/
GrTDArray.h 27 GrTDArray() : fArray(NULL), fAllocated(0), fCount(0) {}
30 fArray = (T*)GrMalloc(fAllocated * sizeof(T));
31 memcpy(fArray, src.fArray, fCount * sizeof(T));
34 if (fArray) {
35 GrFree(fArray);
44 return fArray[index];
48 return fArray[index];
57 GrFree(fArray);
58 fArray = (T*)GrMalloc(fAllocated * sizeof(T))
    [all...]
  /external/skia/src/animator/
SkTypedArray.cpp 32 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, 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 = NULL;
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, 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...]
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);
  /external/skia/include/core/
SkTDArray.h 19 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, src.fArray, sizeof(T) * src.fCount)
    [all...]
SkTDict.h 23 fArray.reset();
27 int count() const { return fArray.count(); }
42 fArray[index].fValue = value;
47 Pair* pair = fArray.insert(~index);
79 *value = fArray[index].fValue;
87 Pair* end = fArray.end();
88 for (Pair* pair = fArray.begin(); pair < end; pair++) {
118 fIter = dict.fArray.begin();
119 fStop = dict.fArray.end();
139 SkTDArray<Pair> fArray;
    [all...]
SkTemplates.h 74 SkAutoTDeleteArray(T array[]) : fArray(array) {}
75 ~SkAutoTDeleteArray() { delete[] fArray; }
77 T* get() const { return fArray; }
78 void free() { delete[] fArray; fArray = NULL; }
79 T* detach() { T* array = fArray; fArray = NULL; return array; }
82 T* fArray;
92 fArray = NULL;
94 fArray = new T[count]
    [all...]
  /external/skia/src/core/
SkTypefaceCache.cpp 17 if (fArray.count() >= TYPEFACE_CACHE_LIMIT) {
21 Rec* rec = fArray.append();
28 const Rec* curr = fArray.begin();
29 const Rec* stop = fArray.end();
40 const Rec* curr = fArray.begin();
41 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...]
SkPictureFlat.h 94 buffer.setRefCntArray(fArray, fCount);
99 SkRefCnt** fArray;
105 buffer.setTypefaceArray((SkTypeface**)fArray, fCount);
112 fArray = SkNEW_ARRAY(SkFlattenable::Factory, count);
116 SkDELETE_ARRAY(fArray);
119 SkFlattenable::Factory* base() const { return fArray; }
122 buffer.setFactoryPlayback(fArray, fCount);
127 SkFlattenable::Factory* fArray;
SkTypefaceCache.h 88 SkTDArray<Rec> fArray;
SkPictureFlat.cpp 225 SkRefCntPlayback::SkRefCntPlayback() : fCount(0), fArray(NULL) {}
233 SkASSERT(fArray[i]);
234 fArray[i]->unref();
236 SkDELETE_ARRAY(fArray);
240 fArray = SkNEW_ARRAY(SkRefCnt*, fCount);
241 rec->copyToArray(fArray);
243 fArray[i]->ref();
247 fArray = NULL;
255 fArray = SkNEW_ARRAY(SkRefCnt*, count);
256 sk_bzero(fArray, count * sizeof(SkRefCnt*))
    [all...]
  /external/skia/include/utils/
SkJSON.h 242 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;
  /frameworks/base/core/jni/
android_nio_utils.h 67 jarray fArray;
android_nio_utils.cpp 65 fPointer = android::nio_getPointer(env, nioBuffer, &fArray);
69 if (NULL != fArray) {
70 android::nio_releasePointer(fEnv, fArray, fPointer, fCommit);
  /external/skia/src/utils/
SkJSON.cpp 79 Array* fArray;
94 delete fValue.fArray;
137 return fSlot->fValue.fArray;
236 this->addSlot(new Slot(name, kArray))->fValue.fArray = value;
286 *value = slot->fValue.fArray;
396 if (slot->fValue.fArray) {
398 slot->fValue.fArray->dumpLevel(level + 1);
437 Object* obj = fArray.fObjects[i];
453 Array* array = fArray.fArrays[i];
468 const char* str = fArray.fStrings[i]
    [all...]
  /external/skia/include/effects/
SkColorMatrixFilter.h 35 int32_t fArray[20];
  /external/skia/src/effects/
SkColorMatrixFilter.cpp 25 const int32_t* SK_RESTRICT array = state->fArray;
37 const int32_t* SK_RESTRICT array = state->fArray;
48 const int32_t* SK_RESTRICT array = state->fArray;
60 const int32_t* SK_RESTRICT array = state->fArray;
71 const int32_t* SK_RESTRICT array = state->fArray;
84 const int32_t* SK_RESTRICT array = state->fArray;
96 const int32_t* SK_RESTRICT array = state->fArray;
108 const int32_t* SK_RESTRICT array = state->fArray;
130 int32_t* array = fState.fArray;
142 /* All of fArray[] values must fit in 23 bits, to safely allow me t
    [all...]
  /external/icu4c/i18n/unicode/
fmtable.h 432 { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; }
453 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; }
634 Formattable* fArray;
  /external/icu4c/tools/genrb/
reslist.c 240 if (res->u.fArray.fCount == 0 && gFormatVersion > 1) {
245 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) {
249 if (U_SUCCESS(*status) && res->u.fArray.fCount <= 0xffff && res16 >= 0 && gFormatVersion > 1) {
250 uint16_t *p16 = reserve16BitUnits(bundle, 1 + res->u.fArray.fCount, status);
253 *p16++ = (uint16_t)res->u.fArray.fCount;
254 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) {
257 bundle->f16BitUnitsLength += 1 + res->u.fArray.fCount;
406 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) {
410 *byteOffset += (1 + res->u.fArray.fCount) * 4;
521 for (i = 0, current = res->u.fArray.fFirst; current != NULL; ++i, current = current->fNext)
    [all...]
  /frameworks/base/core/jni/android/graphics/
GraphicsJNI.h 183 jfloatArray fArray;
199 jintArray fArray;
215 jshortArray fArray;
231 jbyteArray fArray;

Completed in 6629 milliseconds

1 2