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

12

/external/skia/bench/
H A DScalarBench.cpp59 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]; member in class:FloatComparisonBench
76 init9(fArray);
81 always_do(SkScalarAs2sCompliment(fArray[6]) |
82 SkScalarAs2sCompliment(fArray[
89 SkScalar fArray[9]; member in class:ForcedIntComparisonBench
[all...]
/external/skia/src/animator/
H A DSkTypedArray.cpp40 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, sizeo
[all...]
H A DSkTDArray_Experimental.h68 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; member in class:SkDS32Array
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...]
H A DSkOperand.h31 SkTypedArray* fArray; member in union:SkOperand
44 SkTypedArray* getArray() { SkASSERT(fType == SkType_Array); return fOperand.fArray; }
H A DSkOperand2.h18 SkOpArray* fArray; member in union:SkOperand2
39 SkOpArray* getArray() { SkASSERT(fType == SkOperand2::kArray); return fOperand.fArray; }
H A DSkMemberInfo.cpp384 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...]
H A DSkDrawMatrix.cpp233 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);
H A DSkScriptRuntime.cpp64 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 */
H A DSkAnimatorScript2.cpp54 SkDisplayArray* boxedValue = new SkDisplayArray(*operand->fArray);
305 operand->fArray = new SkOpArray(SkAnimatorScript2::ToOpType(boxedValue->values.getType()));
307 operand->fArray->setCount(count);
308 memcpy(operand->fArray->begin(), boxedValue->values.begin(), count * sizeof(SkOperand2));
309 fEngine->track(operand->fArray);
427 SkOpArray* array = value->fArray = new SkOpArray(ToOpType(original));
/external/skia/include/core/
H A DSkTDArray.h26 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, sr
293 T* fArray; member in class:SkTDArray
[all...]
H A DSkTemplates.h81 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; member in class:SkAutoTDeleteArray
99 fArray = NULL;
101 fArray
122 T* fArray; member in class:SkAutoTArray
172 T* fArray; member in class:SkAutoSTArray
[all...]
H A DSkTDict.h30 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; member in class:SkTDict
[all...]
/external/skia/gpu/include/
H A DGrTDArray.h33 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
187 T* fArray; member in class:GrTDArray
[all...]
/external/skia/src/core/
H A DSkTypefaceCache.cpp24 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);
H A DSkPictureFlat.h67 buffer.setRefCntArray(fArray, fCount);
72 SkRefCnt** fArray; member in class:SkRefCntPlayback
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; member in class:SkFactoryPlayback
H A DSkTypefaceCache.h79 SkTDArray<Rec> fArray; member in class:SkTypefaceCache
H A DSkPictureFlat.cpp218 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, coun
[all...]
/external/skia/include/effects/
H A DSkColorMatrixFilter.h41 int32_t fArray[20]; member in struct:SkColorMatrixFilter::State
/external/skia/src/effects/
H A DSkColorMatrixFilter.cpp18 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[] value
[all...]
/external/icu4c/i18n/unicode/
H A Dfmtable.h432 { count=fValue.fArrayAndCount.fCount; return fValue.fArrayAndCount.fArray; }
453 Formattable& operator[](int32_t index) { return fValue.fArrayAndCount.fArray[index]; }
634 Formattable* fArray; member in struct:Formattable::__anon4826::__anon4827
/external/icu4c/i18n/
H A Dfmtable.cpp.noOrig198 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;
H A Dfmtable.cpp198 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/
H A Dreslist.c240 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
[all...]
H A Dwrtjava.c337 if (res->u.fArray.fCount > 0) {
339 current = res->u.fArray.fFirst;
349 current = res->u.fArray.fFirst;
405 len=itostr(buf,res->u.fIntVector.fArray[i],10,0);
417 len=itostr(buf,res->u.fIntVector.fArray[i],10,0);
/external/icu4c/common/
H A Dunistr.cpp121 { umtx_atomic_inc((int32_t *)fUnion.fFields.fArray - 1);}
125 { return umtx_atomic_dec((int32_t *)fUnion.fFields.fArray - 1);}
133 int32_t count = *((int32_t *)fUnion.fFields.fArray - 1);
141 uprv_free((int32_t *)fUnion.fFields.fArray - 1);
382 // have fArray point to the first UChar
383 fUnion.fFields.fArray = (UChar *)array;
388 fUnion.fFields.fArray = 0;
499 fUnion.fFields.fArray = src.fUnion.fFields.fArray;
507 fUnion.fFields.fArray
[all...]

Completed in 267 milliseconds

12