HomeSort by relevance Sort by last modified time
    Searched full:array (Results 351 - 375 of 7457) sorted by null

<<11121314151617181920>>

  /dalvik/libcore/json/src/test/java/org/json/
SelfUseTest.java 77 private final JSONArray array = new JSONArray() { field in class:SelfUseTest
161 array.put("foo");
162 array.put("baz");
163 array.put("bar");
164 object.toJSONArray(array);
172 array.put(10, false);
177 array.isNull(5);
182 array.put(true);
183 array.getBoolean(0);
188 array.optBoolean(3)
    [all...]
  /dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/
WrappedDoubleBufferTest.java 49 double array[] = new double[20]; local
51 DoubleBuffer.wrap(array, -1, 0);
57 DoubleBuffer.wrap(array, 21, 0);
63 DoubleBuffer.wrap(array, 0, -1);
69 DoubleBuffer.wrap(array, 0, 21);
75 DoubleBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 DoubleBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 DoubleBuffer buf = DoubleBuffer.wrap(array, 2, 16);
WrappedFloatBufferTest.java 49 float array[] = new float[20]; local
51 FloatBuffer.wrap(array, -1, 0);
57 FloatBuffer.wrap(array, 21, 0);
63 FloatBuffer.wrap(array, 0, -1);
69 FloatBuffer.wrap(array, 0, 21);
75 FloatBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 FloatBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 FloatBuffer buf = FloatBuffer.wrap(array, 2, 16);
WrappedIntBufferTest.java 49 int array[] = new int[20]; local
51 IntBuffer.wrap(array, -1, 0);
57 IntBuffer.wrap(array, 21, 0);
63 IntBuffer.wrap(array, 0, -1);
69 IntBuffer.wrap(array, 0, 21);
75 IntBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 IntBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 IntBuffer buf = IntBuffer.wrap(array, 2, 16);
WrappedLongBufferTest.java 49 long array[] = new long[20]; local
51 LongBuffer.wrap(array, -1, 0);
57 LongBuffer.wrap(array, 21, 0);
63 LongBuffer.wrap(array, 0, -1);
69 LongBuffer.wrap(array, 0, 21);
75 LongBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 LongBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 LongBuffer buf = LongBuffer.wrap(array, 2, 16);
WrappedShortBufferTest.java 49 short array[] = new short[20]; local
51 ShortBuffer.wrap(array, -1, 0);
57 ShortBuffer.wrap(array, 21, 0);
63 ShortBuffer.wrap(array, 0, -1);
69 ShortBuffer.wrap(array, 0, 21);
75 ShortBuffer.wrap(array, Integer.MAX_VALUE, 1);
81 ShortBuffer.wrap(array, 1, Integer.MAX_VALUE);
92 ShortBuffer buf = ShortBuffer.wrap(array, 2, 16);
  /dalvik/libcore/security/src/main/java/org/bouncycastle/util/
BigIntegers.java 11 * Return the passed in value as an unsigned byte array.
14 * @return a byte array without a leading zero byte if present in the signed encoding.
  /dalvik/vm/mterp/armv5te/
OP_ARRAY_LENGTH.S 3 * Return the length of an array.
12 ldr r3, [r0, #offArrayObject_length] @ r3<- array length
OP_NEW_ARRAY.S 2 %verify "negative array length"
5 * Allocate an array of objects, specified with the array class
8 * The verifier guarantees that this is an array class, so we don't
11 /* new-array vA, vB, class@CCCC */
15 GET_VREG(r1, r0) @ r1<- vB (array length)
30 * r1 holds array length
49 * r1 holds array length
  /dalvik/vm/mterp/armv6t2/
OP_ARRAY_LENGTH.S 3 * Return the length of an array.
11 ldr r3, [r0, #offArrayObject_length] @ r3<- array length
  /dalvik/vm/mterp/c/
OP_FILL_ARRAY_DATA.c 10 ILOGV("|fill-array-data v%d +0x%04x", vsrc1, offset);
18 "bad fill array data");
  /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
  /development/ide/xcode/animatorTest/English.lproj/main.nib/
info.nib 17 <array>
20 </array>
  /external/guava/src/com/google/common/collect/
SingletonImmutableSet.java 73 @Override public <T> T[] toArray(T[] array) {
74 if (array.length == 0) {
75 array = ObjectArrays.newArray(array, 1);
76 } else if (array.length > 1) {
77 array[1] = null;
80 Object[] objectArray = array;
82 return array;
  /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/skia/src/animator/
SkScriptRuntime.h 29 void untrack(SkOpArray* array);
32 void track(SkOpArray* array);
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.2.2-6.js 45 // all tests must call a function that returns an array of TestCase objects.
49 var array = new Array();
53 array[item++] = new TestCase( SECTION, "Date(2031,11,31,23,59,59)", (new Date()).toString(), Date(2031,11,31,23,59,59));
54 array[item++] = new TestCase( SECTION, "Date(2032,0,1,0,0,0)", (new Date()).toString(), Date(2032,0,1,0,0,0) );
55 array[item++] = new TestCase( SECTION, "Date(2032,0,1,0,0,1)", (new Date()).toString(), Date(2032,0,1,0,0,1) );
56 array[item++] = new TestCase( SECTION, "Date(2031,11,31,16,0,0,0)", (new Date()).toString(), Date(2031,11,31,16,0,0,0));
58 return ( array );
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
15.5.3.js 48 // all tests must call a function that returns an array of TestCase objects.
52 var array = new Array();
55 array[item++] = new TestCase( SECTION, "String.prototype", Function.prototype, String.__proto__ );
56 array[item++] = new TestCase( SECTION, "String.length", 1, String.length );
57 return ( array );
59 function test( array ) {
71 // all tests must return an array of TestCase objects
15.5.4.5-4.js 40 // all tests must call a function that returns an array of TestCase objects.
44 var array = new Array();
49 array[item++] = new TestCase( SECTION,
55 array[item++] = new TestCase( SECTION,
61 array[item++] = new TestCase( SECTION, "(String.fromCharCode(65535)).charCodeAt(0)", 65535, (String.fromCharCode(65535)).charCodeAt(0) );
63 return ( array );
78 // all tests must return an array of TestCase objects
15.5.5.1.js 48 var array = new Array();
51 array[item++] = new TestCase( SECTION,
56 array[item++] = new TestCase( SECTION,
61 array[item++] = new TestCase( SECTION,
66 array[item++] = new TestCase( SECTION,
71 array[item++] = new TestCase( SECTION,
75 return array;
15.5.4.5-2.js 66 var array = new Array();
71 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(0)", 0x0074, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(0)") );
72 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(1)", 0x0072, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(1)") );
73 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(2)", 0x0075, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(2)") );
74 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(3)", 0x0065, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(3)") );
75 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)") );
76 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)") );
78 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(true)", 0x0072, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(true)") );
79 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCod (…)
    [all...]
  /frameworks/base/core/res/res/values/
donottranslate-names.xml 6 <string-array name="common_nicknames"></string-array>
  /hardware/ti/omap3/libstagefrighthw/
TIOMXPlugin.cpp 118 OMX_U8 **array = new OMX_U8 *[numRoles]; local
120 array[i] = new OMX_U8[OMX_MAX_STRINGNAME_SIZE];
125 const_cast<OMX_STRING>(name), &numRoles2, array);
131 String8 s((const char *)array[i]);
134 delete[] array[i];
135 array[i] = NULL;
138 delete[] array;
139 array = NULL;
  /build/tools/apriori/
rangesort.c 8 range_t *array; member in struct:range_list_t
19 ranges->array = (range_t *)MALLOC(PARALLEL_ARRAY_SIZE*sizeof(range_t));
31 if (ranges->array[idx].user_dtor) {
32 ASSERT(ranges->array[idx].user);
33 ranges->array[idx].user_dtor(ranges->array[idx].user);
36 FREE(ranges->array);
111 ranges->array = REALLOC(ranges->array,
114 ranges->array[ranges->num_ranges].start = start
    [all...]
  /dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/
Util.java 43 * Check array bounds method for methods like doSomething(Object[], offset,
45 * index, NullPointerException for null array, IndexOutOfBoundsException for
46 * offset+length > array.length
48 public static void assertArrayIndex(Object[] array, int offset, int length) {
53 if ((long) offset + (long) length > array.length) {
59 public static void assertArrayIndex(boolean[] array, int offset, int length) {
64 if ((long) offset + (long) length > array.length) {
70 public static void assertArrayIndex(byte[] array, int offset, int length) {
75 if ((long) offset + (long) length > array.length) {
81 public static void assertArrayIndex(short[] array, int offset, int length)
    [all...]

Completed in 608 milliseconds

<<11121314151617181920>>