/external/webkit/WebCore/bindings/js/ |
JSInspectorFrontendHostCustom.cpp | 59 JSArray* array = asArray(args.at(1)); local 62 for (size_t i = 0; i < array->length(); ++i) { 63 JSObject* item = asObject(array->getIndex(i));
|
JSWebGLArrayHelper.h | 44 // void set(in sequence<long> array, [Optional] in unsigned long offset); 45 JSC::JSObject* array = JSC::asObject(args.at(0)); local 49 int length = array->get(exec, JSC::Identifier(exec, "length")).toInt32(exec); 54 JSC::JSValue v = array->get(exec, i);
|
JSWebGLByteArrayCustom.cpp | 63 WebGLByteArray* array = toWebGLByteArray(args.at(0)); local 64 if (array) { 65 // void set(in WebGLByteArray array, [Optional] in unsigned long offset); 70 impl()->set(array, offset, ec);
|
JSWebGLFloatArrayCustom.cpp | 61 WebGLFloatArray* array = toWebGLFloatArray(args.at(0)); local 62 if (array) { 63 // void set(in WebGLFloatArray array, [Optional] in unsigned long offset); 68 impl()->set(array, offset, ec);
|
JSWebGLIntArrayCustom.cpp | 61 WebGLIntArray* array = toWebGLIntArray(args.at(0)); local 62 if (array) { 63 // void set(in WebGLIntArray array, [Optional] in unsigned long offset); 68 impl()->set(array, offset, ec);
|
JSWebGLUnsignedByteArrayCustom.cpp | 61 WebGLUnsignedByteArray* array = toWebGLUnsignedByteArray(args.at(0)); local 62 if (array) { 63 // void set(in WebGLUnsignedByteArray array, [Optional] in unsigned long offset); 68 impl()->set(array, offset, ec);
|
JSWebGLUnsignedIntArrayCustom.cpp | 61 WebGLUnsignedIntArray* array = toWebGLUnsignedIntArray(args.at(0)); local 62 if (array) { 63 // void set(in WebGLUnsignedIntArray array, [Optional] in unsigned long offset); 68 impl()->set(array, offset, ec);
|
JSWebGLUnsignedShortArrayCustom.cpp | 61 WebGLUnsignedShortArray* array = toWebGLUnsignedShortArray(args.at(0)); local 62 if (array) { 63 // void set(in WebGLUnsignedShortArray array, [Optional] in unsigned long offset); 68 impl()->set(array, offset, ec);
|
/external/webkit/WebKit/mac/DOM/ |
WebDOMOperations.mm | 73 NSMutableArray *array = [NSMutableArray arrayWithCapacity:urls.size()]; 76 [array addObject:(NSURL *)*it]; 78 return array; 125 NSMutableArray *array = [NSMutableArray arrayWithCapacity:nodes.size()]; 127 [array addObject:kit(nodes[i].get())]; 128 return array;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
AppWidgetShared.java | 89 int[] array = new int[size]; local 92 array[i] = iterator.next(); 95 return array;
|
/build/tools/dexpreopt/ |
dexpreopt.py | 26 import array namespace 190 An unsigned byte array.array of the data that was read. 192 buf = array.array('B') 237 The input data matching the expression as an unsigned char array, 251 buf = array.array('B') # unsigned char array 489 HEADER = array.array('B', 'AFAR\n\000\000\000\001' [all...] |
/external/icu4c/common/ |
uset.cpp | 16 * There are functions to efficiently serialize a USet into an array of uint16_t 322 * Important: the code points in the array are in ascending order, 330 * and add the bmpLength between it and the array. 374 fillSet->array=src; 385 fillSet->array=fillSet->staticArray; 414 const uint16_t* array; local 420 array=set->array; 425 if (c < array[0]) { 427 } else if (c < array[hi]) 482 const uint16_t* array; local [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewGroup_LayoutParamsTest.java | 83 TypedArray array = mContext.getTheme().obtainStyledAttributes(R.style.Whatever, attrs); local 84 mockLayoutParams.setBaseAttributes(array, R.styleable.style1_type6, 87 assertEquals(array.getDimensionPixelSize(R.styleable.style1_type6, defValue), 89 assertEquals(array.getDimensionPixelSize(R.styleable.style1_type7, defValue), 91 array.recycle();
|
/external/icu4c/i18n/ |
inputext.cpp | 23 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 26 #define DELETE_ARRAY(array) uprv_free((void *) (array))
|
ucsdet.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 22 #define DELETE_ARRAY(array) uprv_free((void *) (array))
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.5-2.js | 82 var array = new Array(); 88 array[item++] = new TestCase( SECTION, 97 array[item++] = new TestCase( SECTION, 107 array[item++] = new TestCase 116 return ( array ); 129 var hex = new Array();
|
/external/webkit/LayoutTests/fast/js/resources/ |
JSON-stringify.js | 6 var complexObject = {a:"1", b:"2", c:"3", d:undefined, e:null, "":12, get f(){ return simpleArray; }, array: complexArray}; 144 var array = []; 145 return jsonObject.stringify({a:"1", b:"2", c:"3", 5:4, 4:5, 2:6, 1:7}, array); 149 var array = ["a"]; 150 return jsonObject.stringify({get a(){return 1;array[1]="b";array[2]="c"}, b:"2", c:"3"}, array); 154 var array = [{toString:function(){array[0]='a'; array[1]='c'; array[2]='b'; return 'a'}}] [all...] |
/external/webkit/WebCore/bindings/v8/custom/ |
V8WebGLRenderingContextCustom.cpp | 69 // Returns NULL if array failed to convert for any reason. 70 static float* jsArrayToFloatArray(v8::Handle<v8::Array> array, uint32_t len) 77 v8::Local<v8::Value> val = array->Get(v8::Integer::New(i)); 88 // Returns NULL if array failed to convert for any reason. 89 static int* jsArrayToIntArray(v8::Handle<v8::Array> array, uint32_t len) 96 v8::Local<v8::Value> val = array->Get(v8::Integer::New(i)); 139 WebGLArray* array = V8WebGLArray::toNative(args[1]->ToObject()); local 141 context->bufferData(target, array, usage, exceptionCode) 176 WebGLArray* array = V8WebGLArray::toNative(args[2]->ToObject()); local 564 WebGLArray* array = V8WebGLArray::toNative(arg->ToObject()); local 706 WebGLArray* array = V8WebGLArray::toNative(arg->ToObject()); local 794 WebGLFloatArray* array = V8WebGLFloatArray::toNative(args[1]->ToObject()); local 813 v8::Handle<v8::Array> array = local 870 WebGLIntArray* array = V8WebGLIntArray::toNative(args[1]->ToObject()); local 885 v8::Handle<v8::Array> array = local 988 WebGLFloatArray* array = V8WebGLFloatArray::toNative(args[2]->ToObject()); local 1002 v8::Handle<v8::Array> array = local [all...] |
/frameworks/base/core/jni/ |
android_ddm_DdmHandleNativeHeap.cpp | 54 * and return the array. 100 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize); local 101 if (array == NULL) { 105 bytes = env->GetByteArrayElements(array, NULL); 120 env->ReleaseByteArrayElements(array, bytes, 0); 129 return array;
|
android_message_digest_sha1.cpp | 83 LOGE("Unable to get byte array elements"); 85 "Invalid data array when calling MessageDigest.update()"); 100 jbyteArray array; local 106 array = env->NewByteArray(SHA_DIGEST_LENGTH); 107 LOG_ASSERT(array, "Native could not create new byte[]"); 109 env->SetByteArrayRegion(array, 0, SHA_DIGEST_LENGTH, md); 113 return array;
|
android_security_Md5MessageDigest.cpp | 62 LOGE("Unable to get byte array elements"); 64 "Invalid data array when calling MessageDigest.update()"); 76 jbyteArray array; local 82 array = env->NewByteArray(MD5_DIGEST_LENGTH); 83 LOG_ASSERT(array, "Native could not create new byte[]"); 85 env->SetByteArrayRegion(array, 0, MD5_DIGEST_LENGTH, md); 89 return array;
|
/dalvik/tests/057-iteration-performance/src/ |
Main.java | 25 * <li>B: array element access and update</li> 31 * <li>H: copy 8k of bytes from one array to another</li> 37 * <li>2: for() loop forward to array length</li> 38 * <li>3: for(:) loop over array</li> 497 int[] array = INNER_ARRAY; local 500 for (int i = 0; i < array.length; i++) { 507 int[] array = INNER_ARRAY; local 510 for (int i : array) { 569 int[] array = INNER_ARRAY; local 572 for (int i = 0; i < array.length; i++) 580 int[] array = INNER_ARRAY; local 621 int[] array = INNER_ARRAY; local 631 int[] array = INNER_ARRAY; local 642 int[] array = INNER_ARRAY; local 652 int[] array = INNER_ARRAY; local 663 int[] array = INNER_ARRAY; local 673 int[] array = INNER_ARRAY; local 684 int[] array = INNER_ARRAY; local 717 int[] array = INNER_ARRAY; local 728 int[] array = INNER_ARRAY; local 795 int[] array = INNER_ARRAY; local 808 int[] array = INNER_ARRAY; local 887 int[] array = INNER_ARRAY; local 902 int[] array = INNER_ARRAY; local 977 int[] array = INNER_ARRAY; local 987 int[] array = INNER_ARRAY; local 1052 int[] array = INNER_ARRAY; local 1064 int[] array = INNER_ARRAY; local [all...] |
/external/guava/src/com/google/common/collect/ |
RegularImmutableSortedSet.java | 150 Object[] array = new Object[size()]; local 151 Platform.unsafeArrayCopy(elements, fromIndex, array, 0, size()); 152 return array; 156 @Override public <T> T[] toArray(T[] array) { 158 if (array.length < size) { 159 array = ObjectArrays.newArray(array, size); 160 } else if (array.length > size) { 161 array[size] = null; 163 Platform.unsafeArrayCopy(elements, fromIndex, array, 0, size) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.7-1.js | 71 var array = new Array(); 75 array[j] = new TestCase( SECTION, 82 array[j] = new TestCase( SECTION, 89 array[j] = new TestCase( SECTION, 96 array[j] = new TestCase( SECTION, 110 array[j] = new TestCase( SECTION, 121 array[j] = new TestCase( SECTION, 132 array[j] = new TestCase( SECTION, 145 array[j++] = new TestCase( SECTION, "String.lastIndexOf(" +TEST_STRING + ", 0 )", 0, TEST_STRING.lastIn (…) [all...] |
/external/bluetooth/glib/tests/ |
list-test.c | 16 static guint32 array[SIZE]; variable 42 list = g_list_append (list, GINT_TO_POINTER (array[i])); 68 list = g_list_append (list, GINT_TO_POINTER (array[i])); 94 list = g_list_insert_sorted (list, GINT_TO_POINTER (array[i]), sort); 120 GINT_TO_POINTER (array[i]), 193 /* Create an array of random numbers. */ 195 array[i] = g_random_int_range (NUMBER_MIN, NUMBER_MAX); 196 DEBUG_MSG (("number #%3.3d ---> %d", i, array[i]));
|