/external/icu4c/test/cintltst/ |
sorttest.c | 24 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 36 /* sort small array (stable) */ 55 /* sort medium array (stable) */ 68 /* sort large array (not stable) */
|
/external/v8/test/cctest/ |
test-mark-compact.cc | 84 // Allocate a fixed array in the new space. 91 Handle<FixedArray> array(FixedArray::cast(obj)); 93 // Array should be in the new space. 94 CHECK(Heap::InSpace(*array, NEW_SPACE)); 96 // Call the m-c collector, so array becomes an old object. 99 // Array now sits in the old space 100 CHECK(Heap::InSpace(*array, OLD_POINTER_SPACE)); 116 // Allocate a big Fixed array in the new space. 121 Handle<FixedArray> array(FixedArray::cast(obj)); 123 // Array still stays in the new space 153 Object* array; local [all...] |
/external/v8/test/mjsunit/ |
extra-arguments.js | 34 var array = f.arguments; 35 for (var i = 0; i < array.length; i++) { 36 result += array[i]; 45 var array = new Array(i); 49 array[j] = j; 51 assertEquals(expected, f.apply(null, array), String(i));
|
/external/webkit/WebCore/bindings/js/ |
JSWebGLArrayBufferConstructor.h | 46 // 3) (in sequence<T>) - This ends up being a JS "array-like" object 62 JSC::JSObject* array = asObject(args.at(0)); local 63 int length = array->get(exec, JSC::Identifier(exec, "length")).toInt32(exec); 72 JSC::JSValue v = array->get(exec, i);
|
/dalvik/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
Chunk.java | 59 this.data = buf.array();
|
/dalvik/libcore/luni/src/main/java/java/util/ |
Collection.java | 281 * Returns a new array containing all elements contained in this {@code Collection}. 284 * array in the same order as an iterator would return them. 286 * The array returned does not reflect any changes of the {@code Collection}. A new 287 * array is created even if the underlying data structure is already an 288 * array. 290 * @return an array of the elements from this {@code Collection}. 295 * Returns an array containing all elements contained in this {@code Collection}. If 296 * the specified array is large enough to hold the elements, the specified 297 * array is used, otherwise an array of the same type is created. If th [all...] |
Set.java | 174 * Returns an array containing all elements contained in this set. 176 * @return an array of the elements from this set. 181 * Returns an array containing all elements contained in this set. If the 182 * specified array is large enough to hold the elements, the specified array 183 * is used, otherwise an array of the same type is created. If the specified 184 * array is used and is larger than this set, the array element following 187 * @param array 188 * the array [all...] |
/dalvik/vm/mterp/armv5te/ |
OP_AGET.S | 4 * Array get, 32 bits or less. vAA <- vBB[vCC]. 15 GET_VREG(r0, r2) @ r0<- vBB (array object) 17 cmp r0, #0 @ null array object?
|
OP_APUT.S | 4 * Array put, 32 bits or less. vBB[vCC] <- vAA. 15 GET_VREG(r0, r2) @ r0<- vBB (array object) 17 cmp r0, #0 @ null array object?
|
/dalvik/vm/mterp/x86-atom/ |
OP_AGET.S | 19 * Code: Generic 32-bit array "get" operation. Provides a "scale" variable 20 * to specify a scale value which depends on the width of the array 22 * mov performed also dependent on the type of the array element. 26 * Description: Perform an array get operation at the identified index 27 * of a given array; load the array value into the value 41 cmp $$0, %ecx # check for null array object 42 je common_errNullObject # handle null array object
|
/external/icu4c/common/ |
uarrsort.h | 26 * Function type for comparing two items as part of sorting an array or similar. 44 * Array sorting function. 45 * Uses a UComparator for comparing array items to each other, and simple 48 * @param array The array to be sorted. 49 * @param length The number of items in the array. 50 * @param itemSize The size in bytes of each array item. 59 uprv_sortArray(void *array, int32_t length, int32_t itemSize,
|
/external/webkit/WebCore/html/canvas/ |
WebGLArray.h | 68 void setImpl(WebGLArray* array, unsigned byteOffset, ExceptionCode& ec);
|
/external/wpa_supplicant/ |
eap_methods.c | 121 * eap_get_names_as_string_array - Get supported EAP methods as string array 122 * @num: Buffer for returning the number of items in array, not including %NULL 124 * Returns: A %NULL-terminated array of strings, or %NULL on error. 127 * array of strings. The caller must free the returned array items and the 128 * array. 134 char **array; local 140 array = os_zalloc(sizeof(char *) * (array_len + 1)); 141 if (array == NULL) 145 array[i++] = os_strdup(m->name) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_methods.c | 121 * eap_get_names_as_string_array - Get supported EAP methods as string array 122 * @num: Buffer for returning the number of items in array, not including %NULL 124 * Returns: A %NULL-terminated array of strings, or %NULL on error. 127 * array of strings. The caller must free the returned array items and the 128 * array. 134 char **array; local 140 array = os_zalloc(sizeof(char *) * (array_len + 1)); 141 if (array == NULL) 145 array[i++] = os_strdup(m->name) [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
VirtualFeed.java | 64 void onRangeUpdated(VirtualFeed<E> array);
|
/external/webkit/JavaScriptCore/API/ |
JSObjectRef.cpp | 444 Vector<JSRetainPtr<JSStringRef> > array; member in struct:OpaqueJSPropertyNameArray 456 PropertyNameArray array(globalData); 457 jsObject->getPropertyNames(exec, array); 459 size_t size = array.size(); 460 propertyNames->array.reserveInitialCapacity(size); 462 propertyNames->array.append(JSRetainPtr<JSStringRef>(Adopt, OpaqueJSString::create(array[i].ustring()).releaseRef())); 467 JSPropertyNameArrayRef JSPropertyNameArrayRetain(JSPropertyNameArrayRef array) 469 ++array->refCount; 470 return array; [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
LinkedListTest.java | 81 Object array; local 84 array = list.toArray(); 85 array = list.toArray(); 86 array = list.toArray(); 87 array = list.toArray(); 88 array = list.toArray(); 89 array = list.toArray(); 90 array = list.toArray(); 91 array = list.toArray(); 92 array = list.toArray() 150 Integer[] array; local [all...] |
/external/stlport/test/unit/ |
alg_test.cpp | 193 int array[] = {0, 0, 1, 0, 1, 1}; local 194 int* array_end = array + sizeof(array) / sizeof(*array); 195 CPPUNIT_ASSERT(search_n(array, array_end, 3, 1) == array_end); 200 int array[] = {0, 1, 2, 3, 4, 5}; local 201 int* array_end = array + sizeof(array) / sizeof(*array); 202 CPPUNIT_ASSERT( search_n(array, array_end, 1, 1, equal_to<int>() ) == &array[1] ) [all...] |
/frameworks/base/opengl/tools/glgen/stubs/jsr239/ |
GLCHeader.cpp | 138 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining) 154 *array = NULL; 158 *array = (jarray) _env->CallStaticObjectMethod(nioAccessClass, 160 if (*array == NULL) { 165 data = _env->GetPrimitiveArrayCritical(*array, (jboolean *) 0); 171 releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit) 173 _env->ReleasePrimitiveArrayCritical(array, data, 203 jarray array = 0; local 205 buf = getPointer(_env, buffer, &array, &remaining); 206 if (array) { [all...] |
/external/v8/src/ |
builtins.cc | 185 JSArray* array; local 187 array = JSArray::cast(*args.receiver()); 189 // Allocate the JS Array 194 array = JSArray::cast(obj); 197 // 'array' now contains the JSArray we should initialize. 208 array->SetContent(FixedArray::cast(obj)); 209 return array; 213 obj = array->Initialize(0); 215 return array->SetElementsLength(args[1]); 220 return array->Initialize(JSArray::kPreallocatedArrayElements) 246 JSArray* array = JSArray::cast(*args.receiver()); local 291 JSArray* array = JSArray::cast(*args.receiver()); local 333 JSArray* array = JSArray::cast(*args.receiver()); local 366 JSArray* array = JSArray::cast(*args.receiver()); local 455 JSArray* array = JSArray::cast(*args.receiver()); local 533 JSArray* array = JSArray::cast(*args.receiver()); local [all...] |
/external/webkit/WebCore/platform/graphics/mac/ |
GraphicsContext3DMac.cpp | 323 void GraphicsContext3D::bufferData(unsigned long target, WebGLArray* array, unsigned long usage) 325 if (!array || !array->length()) 329 ::glBufferData(target, array->byteLength(), array->baseAddress(), usage); 332 void GraphicsContext3D::bufferSubData(unsigned long target, long offset, WebGLArray* array) 334 if (!array || !array->length()) 338 ::glBufferSubData(target, offset, array->byteLength(), array->baseAddress()) [all...] |
/external/bluetooth/glib/glib/ |
gthread.c | 423 GArray *array; local 425 array = self->private_data; 426 if (!array) 431 else if (private_key->index <= array->len) 432 return g_array_index (array, GStaticPrivateNode, 444 GArray *array; local 448 array = self->private_data; 449 if (!array) 451 array = g_array_new (FALSE, TRUE, sizeof (GStaticPrivateNode)); 452 self->private_data = array; 513 GArray *array = thread->private_data; local 548 GArray* array = thread->private_data; local [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
DelayQueue.java | 371 * Returns an array containing all of the elements in this queue. 372 * The returned array elements are in no particular order. 374 * <p>The returned array will be "safe" in that no references to it are 376 * a new array). The caller is thus free to modify the returned array. 378 * <p>This method acts as bridge between array-based and collection-based 381 * @return an array containing all of the elements in this queue 394 * Returns an array containing all of the elements in this queue; the 395 * runtime type of the returned array is that of the specified array 473 final Object[] array; \/\/ Array of all elements field in class:DelayQueue.Itr [all...] |
PriorityBlockingQueue.java | 338 * Returns an array containing all of the elements in this queue. 339 * The returned array elements are in no particular order. 341 * <p>The returned array will be "safe" in that no references to it are 343 * a new array). The caller is thus free to modify the returned array. 345 * <p>This method acts as bridge between array-based and collection-based 348 * @return an array containing all of the elements in this queue 440 * Returns an array containing all of the elements in this queue; the 441 * runtime type of the returned array is that of the specified array 506 final Object[] array; \/\/ Array of all elements field in class:PriorityBlockingQueue.Itr [all...] |
/dalvik/libcore/luni-kernel/src/main/native/ |
java_lang_ProcessManager.cpp | 167 /** Closes all pipes in the given array. */ 253 // Execute process. By convention, the first argument in the arg array 303 char** array = NULL; local 305 array = (char**) malloc(sizeof(char*) * (length + 1)); 306 array[length] = 0; 312 array[index] = entry; 315 return array; 319 static void freeStrings(JNIEnv* env, jobjectArray javaArray, char** array) { 329 env->ReleaseStringUTFChars(javaEntry, array[index]); 332 free(array); [all...] |