HomeSort by relevance Sort by last modified time
    Searched refs:array (Results 601 - 625 of 3188) sorted by null

<<21222324252627282930>>

  /external/webkit/Source/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/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.4.1.js 45 var array = new Array();
48 // array[item++] = new TestCase( SECTION, "x=[9,8,7];delete(x[2]);x.length", 2, eval("x=[9,8,7];delete(x[2]);x.length") );
49 // array[item++] = new TestCase( SECTION, "x=[9,8,7];delete(x[2]);x.toString()", "9,8", eval("x=[9,8,7];delete(x[2]);x.toString()") );
50 array[item++] = new TestCase( SECTION, "x=new Date();delete x;typeof(x)", "undefined", eval("x=new Date();delete x;typeof(x)") );
52 // array[item++] = new TestCase( SECTION, "delete(x=new Date())", true, delete(x=new Date()) );
53 // array[item++] = new TestCase( SECTION, "delete('string primitive')", true, delete("string primitive") );
54 // array[item++] = new TestCase( SECTION, "delete(new String( 'string object' ) )", true, delete(new String("string object")) );
55 // array[item++] = new TestCase( SECTION, "delete(new Number(12345) )", true, delete(new Number(12345)) );
56 array[item++] = new TestCase( SECTION, "delete(Math.PI)", false, delete(Math.PI) )
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.4-1.js 56 var array = new Array();
58 array[item++] = new TestCase( SECTION,
64 // array[item++] = new TestCase( SECTION, "Function.prototype.__proto__", Object.prototype, Function.prototype.__proto__ );
65 array[item++] = new TestCase( SECTION, "Function.prototype.valueOf", Object.prototype.valueOf, Function.prototype.valueOf );
66 array[item++] = new TestCase( SECTION, "Function.prototype()", (void 0), Function.prototype() );
67 array[item++] = new TestCase( SECTION, "Function.prototype(1,true,false,'string', new Date(),null)", (void 0), Function.prototype(1,true,false,'string', new Date(),null) );
68 return ( array );
15.3.4.js 55 var array = new Array();
57 array[item++] = new TestCase( SECTION,
63 // array[item++] = new TestCase( SECTION, "Function.prototype.__proto__", Object.prototype, Function.prototype.__proto__ );
64 array[item++] = new TestCase( SECTION, "Function.prototype.valueOf", Object.prototype.valueOf, Function.prototype.valueOf );
65 array[item++] = new TestCase( SECTION, "Function.prototype()", (void 0), Function.prototype() );
66 array[item++] = new TestCase( SECTION, "Function.prototype(1,true,false,'string', new Date(),null)", (void 0), Function.prototype(1,true,false,'string', new Date(),null) );
67 return ( array );
15.3.5-2.js 68 var array = new Array();
73 array[item++] = new TestCase( SECTION, "MyObject.length", 3, MyObject.length );
74 array[item++] = new TestCase( SECTION, "typeof MyObject.prototype", "object", typeof MyObject.prototype );
75 array[item++] = new TestCase( SECTION, "typeof MyObject.prototype.constructor", "function", typeof MyObject.prototype.constructor );
76 array[item++] = new TestCase( SECTION, "MyObject.arguments", null, MyObject.arguments );
78 return ( array );
  /external/webkit/Source/WebCore/webaudio/
RealtimeAnalyserNode.h 63 void getFloatFrequencyData(Float32Array* array) { m_analyser.getFloatFrequencyData(array); }
64 void getByteFrequencyData(Uint8Array* array) { m_analyser.getByteFrequencyData(array); }
65 void getByteTimeDomainData(Uint8Array* array) { m_analyser.getByteTimeDomainData(array); }
  /external/v8/test/mjsunit/
array-functions-prototype.js 28 // This file contains a number of tests of array functions and their
39 // Set elements on the array prototype.
40 Array.prototype[0] = 'zero';
41 Array.prototype[1] = 'one';
42 Array.prototype[2] = 'two';
60 var array = ['zero', , 'two'];
62 assertEquals('zero', array.shift());
63 assertEquals('zero', Array.prototype.shift.call(nonArray));
66 assertEquals(2, array.length);
68 assertHasOwnProperties(array, 2)
    [all...]
array-literal-transitions.js 44 // IC and Crankshaft support for smi-only elements in dynamic array literals.
136 return new Array();
144 var array = deopt_array(false);
148 array = deopt_array(false);
160 array = deopt_array_literal_all_smis(4);
161 assertEquals(0, array[0]);
162 assertEquals(1, array[1]);
163 assertEquals(4, array[2]);
165 array = deopt_array_literal_all_smis(5);
166 array = deopt_array_literal_all_smis(6)
    [all...]
  /external/skia/include/core/
SkTArray.h 20 inline void copy(SkTArray<T, true>* self, const T* array) {
21 memcpy(self->fMemArray, array, self->fCount * sizeof(T));
29 inline void copy(SkTArray<T, false>* self, const T* array) {
31 new (self->fItemArray + i) T(array[i]);
52 * Creates an empty array with no initial storage
63 * Creates an empty array that will preallocate space for reserveCount
71 * Copies one array to another. The new array will be heap allocated.
73 explicit SkTArray(const SkTArray& array) {
74 this->init(array.fItemArray, array.fCount, NULL, 0)
    [all...]
SkEndian.h 41 low two bytes of each value in the array.
43 static inline void SkEndianSwap16s(uint16_t array[], int count) {
44 SkASSERT(count == 0 || array != NULL);
47 *array = SkEndianSwap16(*array);
48 array += 1;
69 bytes of each value in the array.
71 static inline void SkEndianSwap32s(uint32_t array[], int count) {
72 SkASSERT(count == 0 || array != NULL);
75 *array = SkEndianSwap32(*array)
    [all...]
  /external/skia/legacy/include/core/
SkTArray.h 20 inline void copy(SkTArray<T, true>* self, const T* array) {
21 memcpy(self->fMemArray, array, self->fCount * sizeof(T));
29 inline void copy(SkTArray<T, false>* self, const T* array) {
31 new (self->fItemArray + i) T(array[i]);
52 * Creates an empty array with no initial storage
63 * Creates an empty array that will preallocate space for reserveCount
71 * Copies one array to another. The new array will be heap allocated.
73 explicit SkTArray(const SkTArray& array) {
74 this->init(array.fItemArray, array.fCount, NULL, 0)
    [all...]
SkEndian.h 41 low two bytes of each value in the array.
43 static inline void SkEndianSwap16s(uint16_t array[], int count) {
44 SkASSERT(count == 0 || array != NULL);
47 *array = SkEndianSwap16(*array);
48 array += 1;
69 bytes of each value in the array.
71 static inline void SkEndianSwap32s(uint32_t array[], int count) {
72 SkASSERT(count == 0 || array != NULL);
75 *array = SkEndianSwap32(*array)
    [all...]
  /external/eigen/test/
array_for_matrix.cpp 34 VERIFY_IS_APPROX(m1.array() + s1, s1 + m1.array());
35 VERIFY_IS_APPROX((m1.array() + s1).matrix(), MatrixType::Constant(rows,cols,s1) + m1);
36 VERIFY_IS_APPROX(((m1*Scalar(2)).array() - s2).matrix(), (m1+m1) - MatrixType::Constant(rows,cols,s2) );
38 m3.array() += s2;
39 VERIFY_IS_APPROX(m3, (m1.array() + s2).matrix());
41 m3.array() -= s1;
42 VERIFY_IS_APPROX(m3, (m1.array() - s1).matrix());
66 const Scalar& ref_m1 = m.matrix().array().coeffRef(0);
67 const Scalar& ref_m2 = m.matrix().array().coeffRef(0,0)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/
15.5.3.2-3.js 52 var array = new Array();
56 array[item++] = new TestCase( SECTION,
63 array[item++] = new TestCase( SECTION,
70 array[item++] = new TestCase( SECTION,
77 array[item++] = new TestCase( SECTION,
84 array[item++] = new TestCase( SECTION,
90 array[item++] = new TestCase( SECTION, "(String.fromCharCode(65535)).charCodeAt(0)", 65535, (String.fromCharCode(65535)).charCodeAt(0) );
91 array[item++] = new TestCase( SECTION, "(String.fromCharCode(65536)).charCodeAt(0)", 0, (String.fromCharCode(65536)).charCodeAt(0) );
92 array[item++] = new TestCase( SECTION, "(String.fromCharCode(65537)).charCodeAt(0)", 1, (String. (…)
    [all...]
15.5.4.7-3.js 69 var array = new Array();
72 array[item++] = new TestCase( SECTION,
77 array[item++] = new TestCase( SECTION,
82 array[item++] = new TestCase( SECTION,
87 array[item++] = new TestCase( SECTION,
92 array[item++] = new TestCase( SECTION,
97 return array;
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
ResourceUtilsTests.java 33 final String[] array = { local
40 assertEquals(ResourceUtils.findDefaultConstant(array), "defaultValue1");
60 final String[] array = { local
70 assertEquals(ResourceUtils.findConstantForKeyValuePairs(keyValues, array), "0.3");
72 assertEquals(ResourceUtils.findConstantForKeyValuePairs(keyValues, array), "0.4");
74 assertEquals(ResourceUtils.findConstantForKeyValuePairs(keyValues, array), "0.2");
79 final String constant = ResourceUtils.findConstantForKeyValuePairs(keyValues, array);
86 assertNull(ResourceUtils.findConstantForKeyValuePairs(keyValues, array));
88 assertNull(ResourceUtils.findConstantForKeyValuePairs(keyValues, array));
92 emptyKeyValue, array);
103 final String[] array = { local
145 final String[] array = { local
    [all...]
  /libcore/luni/src/main/java/java/util/
ArrayList.java 25 import java.lang.reflect.Array;
29 * ArrayList is an implementation of {@link List}, backed by an array.
62 transient Object[] array; field in class:ArrayList
75 array = (capacity == 0 ? EmptyArray.OBJECT : new Object[capacity]);
82 array = EmptyArray.OBJECT;
103 array = a;
115 Object[] a = array;
122 array = a = newArray;
144 Object[] a = array;
157 array = a = newArray
    [all...]
  /external/webkit/Source/WebCore/bindings/js/
JSArrayBufferViewHelper.h 48 T* array = (*conversionFunc)(exec->argument(0));
49 if (array) {
50 // void set(in WebGL<T>Array array, [Optional] in unsigned long offset);
55 impl->set(array, offset, ec);
61 // void set(in sequence<long> array, [Optional] in unsigned long offset);
62 JSC::JSObject* array = JSC::asObject(exec->argument(0)); local
66 uint32_t length = array->get(exec, JSC::Identifier(exec, "length")).toInt32(exec);
73 JSC::JSValue v = array->get(exec, i);
101 RefPtr<C> array = C::create(buffer, offset, length) local
138 RefPtr<C> array = C::create(length); local
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
IvfWriter.java 145 * Lays least significant 16 bits of an int into 2 items of a byte array.
149 * @param array the array to be modified
150 * @param index index of the array to start laying down
153 private static void lay16Bits(byte[] array, int index, int value){
154 array[index] = (byte) (value);
155 array[index + 1] = (byte) (value >> 8);
159 * Lays an int into 4 items of a byte array.
163 * @param array the array to be modifie
    [all...]
  /external/clang/test/SemaCXX/
c99-variable-length-array.cpp 19 NonPOD array3[N]; // expected-error{{variable length array of non-POD element type 'NonPOD'}}
20 NonPOD2 array4[N][3]; // expected-error{{variable length array of non-POD element type 'NonPOD2'}}
50 int array[N]; // expected-warning{{variable length arrays are a C99 feature}} local
51 X0<__typeof__(array)> x0a; // expected-error{{variably modified type 'typeof (array)' (aka 'int [N]') cannot be used as a template argument}}
56 template<int (&Array)[T::value]> // expected-error{{non-type template parameter of variably modified type 'int (&)[HasNonConstantValue::value]'}} \
69 void accept_array(T (&array)[N]); // expected-note{{candidate template ignored: could not match 'T [N]' against 'int [N]'}}
72 int array[N]; // expected-warning{{variable length arrays are a C99 feature}} local
73 accept_array(array); // expected-error{{no matching function for call to 'accept_array'}}
80 int array[N]; // expected-error{{fields must have a constant size: 'variable length array in structure' exte (…) member in struct:X
100 int array[value * i]; \/\/ expected-warning 2{{variable length arrays are a C99 feature}} local
    [all...]
  /external/skia/src/core/
SkTRefArray.h 16 * Wrapper to manage thread-safe sharing of an array of T objects. The array
37 * Return a new array with 'count' elements, initialized to their default
39 * writableAt(), but do that before this array is given to another thread.
43 T* array = const_cast<T*>(obj->begin()); local
45 SkNEW_PLACEMENT(&array[i], T);
51 * Return a new array with 'count' elements, initialized from the provided
52 * src array. To change them to some other value, use writableBegin/End or
53 * writableAt(), but do that before this array is given to another thread.
57 T* array = const_cast<T*>(obj->begin()) local
90 T* array = const_cast<T*>(this->begin()); variable
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/
FilenameUtils.java 273 char[] array = new char[size + 2]; // +1 for possible extra slash, +2 for arraycopy local
274 filename.getChars(0, filename.length(), array, 0);
277 for (int i = 0; i < array.length; i++) {
278 if (array[i] == OTHER_SEPARATOR) {
279 array[i] = SYSTEM_SEPARATOR;
285 if (array[size - 1] != SYSTEM_SEPARATOR) {
286 array[size++] = SYSTEM_SEPARATOR;
292 if (array[i] == SYSTEM_SEPARATOR && array[i - 1] == SYSTEM_SEPARATOR) {
293 System.arraycopy(array, i, array, i - 1, size - i);
1160 int[] array = backtrack.pop(); local
1234 char[] array = text.toCharArray(); local
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicReferenceArray.java 10 import java.lang.reflect.Array;
14 * An array of object references in which elements may be updated
20 * @param <E> The base class of elements held in this array
29 private final Object[] array; // must have exact type Object[] field in class:AtomicReferenceArray
36 (AtomicReferenceArray.class.getDeclaredField("array"));
48 if (i < 0 || i >= array.length)
62 * @param length the length of the array
65 array = new Object[length];
70 * all elements copied from, the given array.
72 * @param array the array to copy elements fro
    [all...]
  /external/linux-tools-perf/util/
evsel.c 303 const u64 *array = event->sample.array; local
305 array += ((event->header.size -
309 u32 *p = (u32 *)array;
311 array--;
315 sample->stream_id = *array;
316 array--;
320 sample->id = *array;
321 array--;
325 sample->time = *array;
353 const u64 *array; local
    [all...]
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p14.cpp 43 CopyCtorDefault array[3]; member in struct:ExpectedArrayLayout
47 CopyCtorDefault array[3]; local
49 capture(array[0]);
81 int array[3]; local
85 result += array[i];

Completed in 2070 milliseconds

<<21222324252627282930>>