/external/stlport/test/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/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...] |
SkOperand2.h | 18 SkOpArray* fArray; 39 SkOpArray* getArray() { SkASSERT(fType == SkOperand2::kArray); return fOperand.fArray; }
|
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...] |
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 | 77 SkAutoTDeleteArray(T array[]) : fArray(array) {} 78 ~SkAutoTDeleteArray() { delete[] fArray; } 80 T* get() const { return fArray; } 81 void free() { delete[] fArray; fArray = NULL; } 82 T* detach() { T* array = fArray; fArray = NULL; return array; } 85 T* fArray; 95 fArray = NULL; 97 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/bluetooth/glib/glib/ |
garray.c | 126 g_array_append_vals (GArray *farray, 130 GRealArray *array = (GRealArray*) farray; 141 return farray; 145 g_array_prepend_vals (GArray *farray, 149 GRealArray *array = (GRealArray*) farray; 162 return farray; 166 g_array_insert_vals (GArray *farray, 171 GRealArray *array = (GRealArray*) farray; 185 return farray; 189 g_array_set_size (GArray *farray, [all...] |
/external/skia/src/core/ |
SkPictureFlat.h | 65 buffer.setRefCntArray(fArray, fCount); 70 SkRefCnt** fArray; 76 buffer.setTypefaceArray((SkTypeface**)fArray, fCount); 83 fArray = SkNEW_ARRAY(SkFlattenable::Factory, count); 87 SkDELETE_ARRAY(fArray); 90 SkFlattenable::Factory* base() const { return fArray; } 93 buffer.setFactoryPlayback(fArray, fCount); 98 SkFlattenable::Factory* 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->get(fArray); 236 fArray[i]->ref(); 240 fArray = NULL; 248 fArray = SkNEW_ARRAY(SkRefCnt*, count); 249 sk_bzero(fArray, count * sizeof(SkRefCnt*)) [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/image/ |
OrdinaryWritableRaster.java | 100 public void setPixel(int x, int y, float[] fArray) { 101 super.setPixel(x, y, fArray); 115 public void setPixels(int x, int y, int w, int h, float[] fArray) { 116 super.setPixels(x, y, w, h, fArray); 130 public void setSamples(int x, int y, int w, int h, int b, float[] fArray) { 131 super.setSamples(x, y, w, h, b, fArray);
|
/external/icu4c/tools/genrb/ |
reslist.c | 99 if (res->u.fArray.fCount > 0) { 100 resources = (uint32_t *) uprv_malloc(sizeof(uint32_t) * res->u.fArray.fCount); 107 current = res->u.fArray.fFirst; 131 udata_write32(mem, res->u.fArray.fCount); 132 udata_writeBlock(mem, resources, sizeof(uint32_t) * res->u.fArray.fCount); 147 udata_write32(mem, res->u.fIntVector.fArray[i]); 515 res->u.fArray.fCount = 0; 516 res->u.fArray.fChildrenSize = 0; 517 res->u.fArray.fFirst = NULL; 518 res->u.fArray.fLast = NULL [all...] |
reslist.h | 108 uint32_t *fArray; 139 struct SResArray fArray;
|
/frameworks/base/core/jni/ |
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/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/skia/include/effects/ |
SkColorMatrixFilter.h | 41 int32_t fArray[20];
|
/frameworks/base/core/jni/android/graphics/ |
GraphicsJNI.h | 99 jfloatArray fArray; 115 jintArray fArray; 131 jshortArray fArray; 147 jbyteArray fArray;
|
Graphics.cpp | 62 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { 76 fEnv->ReleaseFloatArrayElements(fArray, fPtr, fReleaseMode); 82 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { 95 fEnv->ReleaseIntArrayElements(fArray, fPtr, 0); 101 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { 115 fEnv->ReleaseShortArrayElements(fArray, fPtr, fReleaseMode); 121 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { 134 fEnv->ReleaseByteArrayElements(fArray, fPtr, 0);
|
/external/icu4c/common/ |
unistr.cpp | 121 { 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); 381 // have fArray point to the first UChar 382 fUnion.fFields.fArray = (UChar *)array; 387 fUnion.fFields.fArray = 0; 498 fUnion.fFields.fArray = src.fUnion.fFields.fArray; 506 fUnion.fFields.fArray = src.fUnion.fFields.fArray [all...] |
/frameworks/base/awt/java/awt/image/ |
SampleModel.java | 450 * @param fArray 456 public float[] getPixel(int x, int y, float fArray[], DataBuffer data) { 463 if (fArray == null) { 466 pixel = fArray; 483 * @param fArray 488 public void setPixel(int x, int y, float fArray[], DataBuffer data) { 494 setSample(x, y, i, fArray[i], data); 690 * @param fArray 697 public float[] getPixels(int x, int y, int w, int h, float fArray[], DataBuffer data) { 705 if (fArray == null) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ColorMatrixTest.java | 131 float[] fArray = new float[]{ 138 mColorMatrix.set(fArray); 164 float[] fArray = new float[]{ 171 mColorMatrix.set(new ColorMatrix(fArray));
|