/ndk/tests/device/test-gnustl-full/unit/ |
valarray_test.cpp | 62 valarray<float> farray; local 64 tmp = abs(farray); 65 tmp = acos(farray); 66 tmp = asin(farray); 67 tmp = atan(farray); 68 tmp = atan2(farray, tmp); 69 tmp = atan2(1.0f, farray); 70 tmp = atan2(farray, 1.0f); 71 tmp = cos(farray); 72 tmp = cosh(farray); [all...] |
/ndk/tests/device/test-stlport/unit/ |
valarray_test.cpp | 62 valarray<float> farray; local 64 tmp = abs(farray); 65 tmp = acos(farray); 66 tmp = asin(farray); 67 tmp = atan(farray); 68 tmp = atan2(farray, tmp); 69 tmp = atan2(1.0f, farray); 70 tmp = atan2(farray, 1.0f); 71 tmp = cos(farray); 72 tmp = cosh(farray); [all...] |
/external/skia/include/core/ |
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 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 | 193 SkAutoTDeleteArray(T array[]) : fArray(array) {} 194 ~SkAutoTDeleteArray() { SkDELETE_ARRAY(fArray); } 196 T* get() const { return fArray; } 197 void free() { SkDELETE_ARRAY(fArray); fArray = NULL; } 198 T* detach() { T* array = fArray; fArray = NULL; return array; } 201 if (fArray != array) { 202 SkDELETE_ARRAY(fArray); 203 fArray = array [all...] |
/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(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, count * sizeof(SkRefCnt*)) [all...] |
SkTDynamicHash.h | 25 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[index] [all...] |
SkTypefaceCache.cpp | 19 const Rec* curr = fArray.begin(); 20 const Rec* stop = fArray.end(); 28 if (fArray.count() >= TYPEFACE_CACHE_LIMIT) { 32 Rec* rec = fArray.append(); 38 const Rec* curr = fArray.begin(); 39 const Rec* stop = fArray.end(); 51 int count = fArray.count(); 54 SkTypeface* face = fArray[i].fFace; 57 fArray.remove(i); 69 this->purge(fArray.count()) [all...] |
SkRecorder.h | 22 int count() const { return fArray.count(); } 23 SkDrawable* const* begin() const { return fArray.begin(); } 31 SkTDArray<SkDrawable*> fArray;
|
SkPictureFlat.h | 118 buffer.setTypefaceArray((SkTypeface**)fArray, fCount); 123 SkRefCnt** fArray; 129 fArray = SkNEW_ARRAY(SkFlattenable::Factory, count); 133 SkDELETE_ARRAY(fArray); 136 SkFlattenable::Factory* base() const { return fArray; } 139 buffer.setFactoryPlayback(fArray, fCount); 144 SkFlattenable::Factory* fArray;
|
/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...] |
SkOperand.h | 23 SkTypedArray* fArray; 36 SkTypedArray* getArray() { SkASSERT(fType == SkType_Array); return fOperand.fArray; }
|
SkOperand2.h | 25 SkOpArray* fArray; 46 SkOpArray* getArray() { SkASSERT(fType == SkOperand2::kArray); 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/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...] |
/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);
|
/frameworks/base/core/jni/ |
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/include/effects/ |
SkColorMatrixFilter.h | 33 int32_t fArray[20];
|
/frameworks/base/core/jni/android/graphics/ |
GraphicsJNI.h | 180 jfloatArray fArray; 196 jintArray fArray; 212 jshortArray fArray; 228 jbyteArray fArray;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ColorMatrixTest.java | 85 float[] fArray = new float[]{ 92 mColorMatrix.set(fArray); 106 float[] fArray = new float[]{ 113 mColorMatrix.set(new ColorMatrix(fArray));
|
/external/icu/icu4c/source/tools/genrb/ |
reslist.c | 196 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) { 339 if (res->u.fArray.fCount == 0 && gFormatVersion > 1) { 344 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) { 348 if (U_SUCCESS(*status) && res->u.fArray.fCount <= 0xffff && res16 >= 0 && gFormatVersion > 1) { 349 uint16_t *p16 = reserve16BitUnits(bundle, 1 + res->u.fArray.fCount, status); 352 *p16++ = (uint16_t)res->u.fArray.fCount; 353 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) { 356 bundle->f16BitUnitsLength += 1 + res->u.fArray.fCount; 505 for (current = res->u.fArray.fFirst; current != NULL; current = current->fNext) { 509 *byteOffset += (1 + res->u.fArray.fCount) * 4 [all...] |