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

1 2

  /external/skia/bench/
ScalarBench.cpp 59 init9(fArray);
64 always_do(fArray[6] != 0.0f || fArray[7] != 0.0f || fArray[8] != 1.0f);
65 always_do(fArray[2] != 0.0f || fArray[5] != 0.0f);
68 float fArray[9];
76 init9(fArray);
81 always_do(SkScalarAs2sCompliment(fArray[6]) |
82 SkScalarAs2sCompliment(fArray[7])
    [all...]
  /external/skia/gpu/include/
GrTDArray.h 33 GrTDArray() : fArray(NULL), fAllocated(0), fCount(0) {}
36 fArray = (T*)GrMalloc(fAllocated * sizeof(T));
37 memcpy(fArray, src.fArray, fCount * sizeof(T));
40 if (fArray) {
41 GrFree(fArray);
50 return fArray[index];
54 return fArray[index];
63 GrFree(fArray);
64 fArray = (T*)GrMalloc(fAllocated * sizeof(T))
    [all...]
  /external/skia/src/animator/
SkTypedArray.cpp 40 fArray = NULL;
49 fArray = NULL;
53 SkDS32Array tmp(src.fArray, src.fCount);
62 fArray = NULL;
68 fArray = (int32_t*)sk_malloc_throw(count * sizeof(int32_t));
70 fData = (int32_t (*)[kDebugArraySize]) fArray;
72 memcpy(fArray, src, sizeof(int32_t) * count);
83 SkDS32Array tmp(src.fArray, src.fCount);
88 memcpy(fArray, src.fArray, sizeof(int32_t) * src.fCount)
    [all...]
SkTDArray_Experimental.h 68 memmove(fArray + index, fArray + index + count, sizeof(int32_t) * (fCount - index));
73 if (fArray)
75 sk_free(fArray);
76 fArray = NULL;
102 int32_t* fArray;
108 #define SYNC() fTData = (T (*)[kDebugArraySize]) fArray
117 ~SkTDS32Array() { sk_free(fArray); }
118 T& operator[](int index) const { SYNC(); SkASSERT((unsigned)index < fCount); return ((T*) fArray)[index]; }
126 T* begin() const { SYNC(); return (T*) fArray; }
    [all...]
SkOperand2.h 18 SkOpArray* fArray;
39 SkOpArray* getArray() { SkASSERT(fType == SkOperand2::kArray); return fOperand.fArray; }
SkOperand.h 31 SkTypedArray* fArray;
44 SkTypedArray* getArray() { SkASSERT(fType == SkType_Array); return fOperand.fArray; }
SkMemberInfo.cpp 384 memcpy(&storage->fScalar, scriptValue.fOperand.fArray->begin(), scriptValue.fOperand.fArray->count() * sizeof(SkScalar));
396 displayable->executeFunction(displayable, this, scriptValue.fOperand.fArray, NULL);
398 int count = scriptValue.fOperand.fArray->count();
406 memcpy(&(*arrayStorage)[storageOffset], scriptValue.fOperand.fArray->begin(), count * sizeof(SkOperand));
420 type = scriptValue.fOperand.fArray->getType();
423 SkASSERT(type == scriptValue.fOperand.fArray->getType());
424 int count = scriptValue.fOperand.fArray->count();
427 memcpy(destArray->begin() + storageOffset, scriptValue.fOperand.fArray->begin(), sizeof(SkOperand) * count);
433 SkTypedArray* array = scriptValue.fOperand.fArray;
    [all...]
SkDrawMatrix.cpp 233 SkASSERT(scriptValue.fOperand.fArray->getType() == SkType_Float);
234 SkASSERT(scriptValue.fOperand.fArray->count() == 2);
236 fMatrix.setTranslateX((*scriptValue.fOperand.fArray)[0].fScalar);
237 fMatrix.setTranslateY((*scriptValue.fOperand.fArray)[1].fScalar);
SkScriptRuntime.cpp 64 operand[0].fArray = new SkOpArray(SkOperand2::kNoType /*fReturnType*/);
68 if (index >= operand[0].fArray->count()) {
72 operand[0] = operand[0].fArray->begin()[index];
75 *operand[0].fArray->append() = operand[1];
86 if (callBackFunction->invoke(ref, operand[0].fArray, /* params */
  /external/skia/include/core/
SkTDArray.h 26 fArray = NULL;
35 fArray = NULL;
40 fArray = (T*)sk_malloc_throw(count * sizeof(T));
42 fData = (ArrayT*)fArray;
44 memcpy(fArray, src, sizeof(T) * count);
50 fArray = NULL;
54 SkTDArray<T> tmp(src.fArray, src.fCount);
58 sk_free(fArray);
64 SkTDArray<T> tmp(src.fArray, src.fCount);
67 memcpy(fArray, src.fArray, sizeof(T) * src.fCount)
    [all...]
SkTemplates.h 81 SkAutoTDeleteArray(T array[]) : fArray(array) {}
82 ~SkAutoTDeleteArray() { delete[] fArray; }
84 T* get() const { return fArray; }
85 void free() { delete[] fArray; fArray = NULL; }
86 T* detach() { T* array = fArray; fArray = NULL; return array; }
89 T* fArray;
99 fArray = NULL;
101 fArray = new T[count]
    [all...]
SkTDict.h 30 fArray.reset();
34 int count() const { return fArray.count(); }
49 fArray[index].fValue = value;
54 Pair* pair = fArray.insert(~index);
86 *value = fArray[index].fValue;
94 Pair* end = fArray.end();
95 for (Pair* pair = fArray.begin(); pair < end; pair++) {
125 fIter = dict.fArray.begin();
126 fStop = dict.fArray.end();
146 SkTDArray<Pair> fArray;
    [all...]
  /external/skia/src/core/
SkTypefaceCache.cpp 24 if (fArray.count() >= TYPEFACE_CACHE_LIMIT) {
28 Rec* rec = fArray.append();
35 const Rec* curr = fArray.begin();
36 const Rec* stop = fArray.end();
47 const Rec* curr = fArray.begin();
48 const Rec* stop = fArray.end();
59 int count = fArray.count();
62 SkTypeface* face = fArray[i].fFace;
65 fArray.remove(i);
SkPictureFlat.h 67 buffer.setRefCntArray(fArray, fCount);
72 SkRefCnt** fArray;
78 buffer.setTypefaceArray((SkTypeface**)fArray, fCount);
85 fArray = SkNEW_ARRAY(SkFlattenable::Factory, count);
89 SkDELETE_ARRAY(fArray);
92 SkFlattenable::Factory* base() const { return fArray; }
95 buffer.setFactoryPlayback(fArray, fCount);
100 SkFlattenable::Factory* fArray;
SkTypefaceCache.h 79 SkTDArray<Rec> fArray;
SkPictureFlat.cpp 218 SkRefCntPlayback::SkRefCntPlayback() : fCount(0), fArray(NULL) {}
226 SkASSERT(fArray[i]);
227 fArray[i]->unref();
229 SkDELETE_ARRAY(fArray);
233 fArray = SkNEW_ARRAY(SkRefCnt*, fCount);
234 rec->copyToArray(fArray);
236 fArray[i]->ref();
240 fArray = NULL;
248 fArray = SkNEW_ARRAY(SkRefCnt*, count);
249 sk_bzero(fArray, count * sizeof(SkRefCnt*))
    [all...]
  /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/include/effects/
SkColorMatrixFilter.h 41 int32_t fArray[20];
  /external/skia/src/effects/
SkColorMatrixFilter.cpp 18 const int32_t* SK_RESTRICT array = state->fArray;
30 const int32_t* SK_RESTRICT array = state->fArray;
41 const int32_t* SK_RESTRICT array = state->fArray;
53 const int32_t* SK_RESTRICT array = state->fArray;
64 const int32_t* SK_RESTRICT array = state->fArray;
77 const int32_t* SK_RESTRICT array = state->fArray;
89 const int32_t* SK_RESTRICT array = state->fArray;
101 const int32_t* SK_RESTRICT array = state->fArray;
121 int32_t* SK_RESTRICT array = fState.fArray;
133 /* 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/i18n/
fmtable.cpp.noOrig 198 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count);
231 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray,
306 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) {
342 delete[] fValue.fArrayAndCount.fArray;
568 fValue.fArrayAndCount.fArray = createArrayCopy(array, count);
591 fValue.fArrayAndCount.fArray = array;
659 return fValue.fArrayAndCount.fArray;
fmtable.cpp 198 fValue.fArrayAndCount.fArray = createArrayCopy(arrayToCopy, count);
231 fValue.fArrayAndCount.fArray = createArrayCopy(source.fValue.fArrayAndCount.fArray,
306 if (fValue.fArrayAndCount.fArray[i] != that.fValue.fArrayAndCount.fArray[i]) {
342 delete[] fValue.fArrayAndCount.fArray;
568 fValue.fArrayAndCount.fArray = createArrayCopy(array, count);
591 fValue.fArrayAndCount.fArray = array;
659 return fValue.fArrayAndCount.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 182 jfloatArray fArray;
198 jintArray fArray;
214 jshortArray fArray;
230 jbyteArray fArray;

Completed in 1637 milliseconds

1 2