/external/skia/src/animator/ |
SkOperandIterpolator.cpp | 107 static SkOperand* iset(SkOperand array[3], int a, int b, int c) 109 array[0].fScalar = SkIntToScalar(a); 110 array[1].fScalar = SkIntToScalar(b); 111 array[2].fScalar = SkIntToScalar(c); 112 return array;
|
SkDisplayMath.cpp | 156 SkScriptValue* array = parameters.begin(); local 193 while (array < end) { 194 scalarResult = SkMaxScalar(scalarResult, array->fOperand.fScalar); 195 array++; 200 while (array < end) { 201 scalarResult = SkMinScalar(scalarResult, array->fOperand.fScalar); 202 array++;
|
SkDisplayable.cpp | 102 SkTDOperandArray* array = (SkTDOperandArray*) info->memberData(this); local 104 if (array == NULL || (arrayCount = array->count()) == 0) 116 memcpy(copyArray->begin(), array->begin(), byteSize); 194 SkTDOperandArray* array = (SkTDOperandArray*) info->memberData(this); local 196 if (array == NULL || (arrayCount = array->count()) == 0) 206 for (SkOperand* op = array->begin(); op < array->end(); op++) { 543 SkTDScalarArray* array = (SkTDScalarArray* ) info->memberData(this) local [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.5-3.js | 84 var array = new Array(); 90 array[item++] = new TestCase( SECTION, 102 array[item++] = new TestCase( SECTION, 115 array[item++] = new TestCase( SECTION, 128 return ( array ); 152 var hex = new Array();
|
/frameworks/base/core/jni/android/graphics/ |
Graphics.cpp | 60 AutoJavaFloatArray::AutoJavaFloatArray(JNIEnv* env, jfloatArray array, 62 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { 64 if (array) { 65 fLen = env->GetArrayLength(array); 69 fPtr = env->GetFloatArrayElements(array, NULL); 80 AutoJavaIntArray::AutoJavaIntArray(JNIEnv* env, jintArray array, 82 : fEnv(env), fArray(array), fPtr(NULL), fLen(0) { 84 if (array) { 85 fLen = env->GetArrayLength(array); 89 fPtr = env->GetIntArrayElements(array, NULL) [all...] |
MaskFilter.cpp | 78 #define REG(env, name, array) \ 79 result = android::AndroidRuntime::registerNativeMethods(env, name, array, SK_ARRAY_COUNT(array)); \
|
PathEffect.cpp | 93 #define REG(env, name, array) \ 94 result = android::AndroidRuntime::registerNativeMethods(env, name, array, \ 95 SK_ARRAY_COUNT(array)); \
|
Picture.cpp | 113 #define REG(env, name, array) \ 114 result = android::AndroidRuntime::registerNativeMethods(env, name, array, \ 115 SK_ARRAY_COUNT(array)); \
|
/frameworks/base/services/java/com/android/server/ |
IntentResolver.java | 350 ArrayList<F> array = mTypeToFilter.get(name); local 351 if (array == null) { 352 //Slog.v(TAG, "Creating new array for " + name); 353 array = new ArrayList<F>(); 354 mTypeToFilter.put(name, array); 356 array.add(filter); 359 array = mBaseTypeToFilter.get(baseName); 360 if (array == null) { 361 //Slog.v(TAG, "Creating new array for " + name); 362 array = new ArrayList<F>() 427 ArrayList<F> array = dest.get(name); local [all...] |
/dalvik/libcore/json/src/test/java/org/json/ |
JSONObjectTest.java | 37 // returns null rather than an empty array! 516 JSONArray array = object.toJSONArray(names); local 517 assertEquals(-0.0d, array.get(0)); 518 assertEquals(value, array.get(1)); 519 assertEquals(true, array.get(2)); 522 assertEquals(true, array.get(2)); 537 JSONArray array = object.toJSONArray(names); local 538 assertEquals(4, array.length()); 540 assertEquals(5.0d, array.get(0)); 541 assertEquals(true, array.get(1)) 563 JSONArray array = new JSONArray(); local 580 JSONArray array = object.toJSONArray(names); local 756 JSONArray array = object.getJSONArray("foo"); local 763 JSONArray array = new JSONArray(); local 859 JSONArray array = object.names(); local [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/ |
ByteBuffer.java | 27 * <li>{@link #allocate(int) Allocate} a new byte array and create a buffer 31 * <li>{@link #wrap(byte[]) Wrap} an existing byte array to create a new 40 * Creates a byte buffer based on a newly allocated byte array. 72 * Creates a new byte buffer by wrapping the given byte array. 75 * {@code wrap(array, 0, array.length)}. 77 * @param array 78 * the byte array which the new buffer will be based on 81 public static ByteBuffer wrap(byte[] array) { 82 return BufferFactory.newByteBuffer(array); 143 public final byte[] array() { method in class:ByteBuffer [all...] |
/external/icu4c/test/cintltst/ |
uenumtst.c | 42 char **array; member in struct:chArrayContext 73 cont->currChar = (cont->array)[cont->currIndex]; 86 cont->currChar = (cont->array)[cont->currIndex]; 147 UChar **array; member in struct:uchArrayContext 170 ucont->currUChar = (ucont->array)[ucont->currIndex]; 201 cont->array = (char **)source; 272 ucont->array = (UChar **)source;
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.12-3.js | 54 var array = new Array(); 62 array[item++] = new TestCase( SECTION, 67 array[item++] = new TestCase( SECTION, 77 array[item++] = new TestCase( SECTION, 82 array[item++] = new TestCase( SECTION, 92 array[item++] = new TestCase( SECTION, 97 array[item++] = new TestCase( SECTION, 119 return array; 146 u = new Array(); [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
AbstractCollection.java | 20 import java.lang.reflect.Array; 342 Object[] array = new Object[size]; local 344 array[index++] = it.next(); 346 return array; 354 contents = (T[]) Array.newInstance(ct, size);
|
/dalvik/libcore/security/src/main/java/java/security/cert/ |
X509CRL.java | 88 byte[] array = getEncoded(); 89 for (int i=0; i<array.length; i++) { 90 res += array[i] & 0xFF;
|
/dalvik/vm/mterp/armv5te/ |
OP_FILLED_NEW_ARRAY.S | 3 %verify "unimplemented array type" 5 * Create a new array with elements filled from registers. 7 * for: filled-new-array, filled-new-array/range 30 * r0 holds array class 42 cmp r3, #'I' @ array of ints? 43 cmpne r3, #'L' @ array of objects? 44 cmpne r3, #'[' @ array of arrays? 52 str r0, [rGLUE, #offGlue_retval] @ retval.l <- new array 58 @ copy values from registers into the array [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapMesh.java | 47 private static void setXY(float[] array, int index, float x, float y) { 48 array[index*2 + 0] = x; 49 array[index*2 + 1] = y;
|
Vertices.java | 50 private static void setXY(float[] array, int index, float x, float y) { 51 array[index*2 + 0] = x; 52 array[index*2 + 1] = y;
|
/external/icu4c/test/intltest/ |
currcoll.cpp | 33 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0])
|
/external/icu4c/tools/toolutil/ |
pkg_icu.cpp | 20 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
|
/external/webkit/WebKit/android/plugins/ |
PluginDebugAndroid.cpp | 31 #define ARRAY_COUNT(array) static_cast<int32_t>(sizeof(array) / sizeof(array[0]))
|
/external/webkit/WebKitTools/android/flex-2.5.4a/ |
flexdef.h | 304 /* Number that, if used to subscript an array, has a good chance of producing 369 * yytext_is_array - if true (i.e., %array directive), then declare 370 * yytext as a array instead of a character pointer. Nice and inefficient. 405 * skel - compiled-in skeleton array 406 * skel_ind - index into "skel" array, if skelfile is nil 416 * input_files - array holding names of input files 417 * num_input_files - size of input_files array 420 * action_array - array to hold the rule actions 523 * protsave contains the entire state array for protos 665 #define reallocate_integer_array(array,size) [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 70 * as a 1D array. The float at index i represents the grayscale 87 * as a 1D array. The float at index i represents the grayscale 353 float[][] array = new float[2][2]; local 354 array[0][0] = 0; 355 array[0][1] = 0; 356 array[1][0] = 0; 357 array[1][1] = 0; 363 array[0][0] += x * x; 364 array[0][1] += x * y; 365 array[1][0] = array[0][1] 502 float[][] array = computeCoVariance(points); local [all...] |
/bionic/libc/kernel/common/linux/ |
moduleparam.h | 95 #define module_param_array_named(name, array, type, nump, perm) static struct kparam_array __param_arr_##name = { ARRAY_SIZE(array), nump, param_set_##type, param_get_##type, sizeof(array[0]), array }; module_param_call(name, param_array_set, param_array_get, &__param_arr_##name, perm); __MODULE_PARM_TYPE(name, "array of " #type)
|
sem.h | 52 unsigned short __user *array; member in union:semun
|