Searched refs:array (Results 226 - 250 of 2019) sorted by relevance

1234567891011>>

/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Expressions/
H A D11.14-1.js66 var array = new Array();
69 array[item++] = new TestCase( SECTION, "true, false", false, eval("true, false") );
70 array[item++] = new TestCase( SECTION, "VAR1=true, VAR2=false", false, eval("VAR1=true, VAR2=false") );
71 array[item++] = new TestCase( SECTION, "VAR1=true, VAR2=false;VAR1", true, eval("VAR1=true, VAR2=false; VAR1") );
72 return ( array );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/FunctionObjects/
H A D15.3.3.1-3.js50 var array = new Array();
55 array[item++] = new TestCase( SECTION,
61 array[item++] = new TestCase( SECTION,
66 return ( array );
68 function test( array ) {
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/GlobalObject/
H A D15.1.1.2.js44 var array = new Array();
47 array[item++] = new TestCase( SECTION, "Infinity", Number.POSITIVE_INFINITY, Infinity );
48 array[item++] = new TestCase( SECTION, "this.Infinity", Number.POSITIVE_INFINITY, this.Infinity );
49 array[item++] = new TestCase( SECTION, "typeof Infinity", "number", typeof Infinity );
51 return ( array );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/LexicalConventions/
H A D7.3-1.js44 var array = new Array();
46 array[item] = new TestCase( SECTION,
51 // "\u000A" array[item].actual = "fail";
55 array[item] = new TestCase( SECTION,
56 "// test \\n array[item].actual = \"pass\"",
60 var x = "// test \n array[item].actual = 'pass'"
62 array[0].actual = eval(x);
64 return ( array );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Number/
H A D15.7.4-1.js42 var array = new Array();
45 array[item++] = new TestCase(SECTION, "Number.prototype.valueOf()", 0, Number.prototype.valueOf() );
46 array[item++] = new TestCase(SECTION, "typeof(Number.prototype)", "object", typeof(Number.prototype) );
47 array[item++] = new TestCase(SECTION, "Number.prototype.constructor == Number", true, Number.prototype.constructor == Number );
48 // array[item++] = new TestCase(SECTION, "Number.prototype == Number.__proto__", true, Number.prototype == Number.__proto__ );
49 return ( array );
H A D15.7.4.js56 var array = new Array();
58 array[item++] = new TestCase( SECTION,
62 array[item++] = new TestCase( SECTION, "typeof Number.prototype", "object", typeof Number.prototype );
63 array[item++] = new TestCase( SECTION, "Number.prototype.valueOf()", 0, Number.prototype.valueOf() );
67 // array[item++] = new TestCase( SECTION, "Number.prototype.__proto__", Object.prototype, Number.prototype.__proto__ );
68 // array[item++] = new TestCase( SECTION, "Number.prototype.__proto__ == Object.prototype", true, Number.prototype.__proto__ == Object.prototype );
71 return ( array );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/ObjectObjects/
H A D15.2.1.2.js60 var array = new Array();
65 array[item++] = new TestCase( SECTION, "var MYOB = Object(); MYOB.valueOf()", MYOB, MYOB.valueOf() );
66 array[item++] = new TestCase( SECTION, "typeof Object()", "object", typeof (Object(null)) );
67 array[item++] = new TestCase( SECTION, "var MYOB = Object(); MYOB.toString()", "[object Object]", eval("var MYOB = Object(); MYOB.toString()") );
69 return ( array );
H A D15.2.2.2.js55 var array = new Array();
58 array[item++] = new TestCase( SECTION, "typeof new Object()", "object", typeof new Object() );
59 array[item++] = new TestCase( SECTION, "Object.prototype.toString()", "[object Object]", Object.prototype.toString() );
60 array[item++] = new TestCase( SECTION, "(new Object()).toString()", "[object Object]", (new Object()).toString() );
62 return ( array );
H A D15.2.3-1.js46 var array = new Array();
49 array[item++] = new TestCase( SECTION, "Object.__proto__", Function.prototype, Object.__proto__ );
50 array[item++] = new TestCase( SECTION, "Object.length", 1, Object.length );
52 return ( array );
54 function test( array ) {
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/String/
H A D15.5.3.js48 // 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
H A D15.5.4.5-1.js65 var array = new Array();
68 array[j] = new TestCase( SECTION, "TEST_STRING.charCodeAt("+j+")", i, TEST_STRING.charCodeAt( j ) );
71 item = array.length;
73 array[item++] = new TestCase( SECTION, 'TEST_STRING.charCodeAt('+i+')', NaN, TEST_STRING.charCodeAt( i ) );
74 return array;
H A D15.5.4.5-4.js40 // 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
H A D15.5.4.5-6.js63 var array = new Array();
66 array[item++] = new TestCase( SECTION,
71 array[item++] = new TestCase( SECTION,
76 array[item++] = new TestCase( SECTION,
80 return (array );
H A D15.5.4.8-2.js30 occurrences are not part of any substring in the returned array, but serve
34 up into individual characters; the length of the result array equals the
37 If the separator is not supplied, then the result array contains just one
90 var array = new Array();
97 array[item++] = new TestCase( SECTION,
104 array[item++] = new TestCase( SECTION,
116 array[item++] = new TestCase( SECTION,
122 array[item++] = new TestCase( SECTION,
132 array[item++] = new TestCase( SECTION,
138 array[ite
[all...]
H A D15.5.4.7-2.js74 var array = new Array();
77 array[item++] = new TestCase( SECTION, "String.prototype.lastIndexOf.length", 1, String.prototype.lastIndexOf.length );
78 array[item++] = new TestCase( SECTION, "delete String.prototype.lastIndexOf.length", false, delete String.prototype.lastIndexOf.length );
79 array[item++] = new TestCase( SECTION, "delete String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.length", 1, eval("delete String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.length" ) );
81 array[item++] = new TestCase( SECTION, "var s = new String(''); s.lastIndexOf('', 0)", LastIndexOf("","",0), eval("var s = new String(''); s.lastIndexOf('', 0)") );
82 array[item++] = new TestCase( SECTION, "var s = new String(''); s.lastIndexOf('')", LastIndexOf("",""), eval("var s = new String(''); s.lastIndexOf('')") );
83 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('', 0)", LastIndexOf("hello","",0), eval("var s = new String('hello'); s.lastIndexOf('',0)") );
84 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('')", LastIndexOf("hello",""), eval("var s = new String('hello'); s.lastIndexOf('')") );
86 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('ll')", LastIndexOf("hello","ll"), eval("var s = new String('hello'); s.lastIndexOf('ll')") );
87 array[ite
[all...]
H A D15.5.3.2-3.js52 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.fromCharCode(65537)).charCodeAt(0) );
94 return array;
[all...]
/macosx-10.9.5/WebCore-7537.78.1/html/canvas/
H A DWebGLBuffer.cpp101 bool WebGLBuffer::associateBufferData(ArrayBuffer* array) argument
103 if (!array)
105 return associateBufferDataImpl(array ? array->data() : 0, array ? array->byteLength() : 0);
108 bool WebGLBuffer::associateBufferData(ArrayBufferView* array) argument
110 if (!array)
112 return associateBufferDataImpl(array ? array
144 associateBufferSubData(GC3Dintptr offset, ArrayBuffer* array) argument
151 associateBufferSubData(GC3Dintptr offset, ArrayBufferView* array) argument
[all...]
/macosx-10.9.5/swig-10/Lib/ocaml/
H A Dstd_vector.i64 T *array = new T[self->size() + 1];
66 array[i] = (*self)[i];
67 return array;
75 let array_to_vector v argcons array =
76 for i = 0 to (Array.length array) - 1 do
77 (invoke v) "set" (C_list [ C_int i ; (argcons array.(i)) ])
81 let vector_to_array v argcons array =
83 array.(i) <- argcons ((invoke v) "[]" (C_int i))
90 val array_to_vector : c_obj -> ('a -> c_obj) -> 'a array -> c_obj
91 val vector_to_array : c_obj -> (c_obj -> 'a) -> 'a array
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/perl/BerkeleyDB/t/
H A Dqueue.t101 # Check simple env works with a array.
130 my @array ;
198 my @array ;
201 ok $db = tie @array, 'BerkeleyDB::Queue', -Filename => $Dfile,
206 ok my $cursor = (tied @array)->db_cursor() ;
216 ok @array == 0 ;
220 $array[1] = "some value";
221 ok ((tied @array)->status() == 0) ;
222 ok $array[1] eq fillout("some value", $rec_len);
223 ok defined $array[
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/log/
H A Dlog_archive.c82 char **array, **arrayp, *name, *p, *pref; local
89 array = NULL;
185 sizeof(char *) * array_size, &array)) != 0)
187 array[0] = NULL;
189 /* Build an array of the file names. */
206 sizeof(char *) * array_size, &array)) != 0)
212 __absname(env, pref, name, &array[n])) != 0)
216 if ((ret = __os_strdup(env, p + 1, &array[n])) != 0)
220 array[n] = name;
223 array[
369 char **array, **arrayp, **list, **lp, *p, *real_name; local
578 char **array, **arrayp, **orig, *strp; local
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/qam/
H A Dqam_files.c43 MPFARRAY *array; local
84 array = &qp->array1;
85 if (array->n_extent == 0) {
87 array->n_extent = 4;
88 array->low_extent = extid;
95 if (extid < array->low_extent) {
97 offset = array->low_extent - extid;
100 offset = extid - array->low_extent;
106 array = &qp->array2;
107 if (extid < array
350 MPFARRAY *array; local
399 MPFARRAY *array; local
[all...]
/macosx-10.9.5/top-89.1.2/
H A Dgeneric.c66 int len = cells->array[i].length;
75 cells->array[i].string, len)) {
83 cells->array[i].string,
109 cells->array[i].string,
110 cells->array[i].length);
194 cells->array[i].string,
195 cells->array[i].length);
214 cells->array[i].string,
215 cells->array[i].length);
254 cells->array
[all...]
/macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/
H A DIODeviceMemory.cpp57 OSArray * array; local
61 array = OSArray::withCapacity( count );
62 if( 0 == array )
69 array->setObject( range);
72 array->release();
73 array = 0;
78 return( array );
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dunistr_props.cpp33 UChar *array = getArrayStart(); local
44 U16_PREV(array, 0, i, c);
61 U16_NEXT(array, i, length, c);
/macosx-10.9.5/ICU-511.35/icuSources/layout/
H A DOpenTypeUtilities.h25 static le_int32 search(le_uint16 value, const le_uint16 array[], le_int32 count);
26 static le_int32 search(le_uint32 value, const le_uint32 array[], le_int32 count);
27 static void sort(le_uint16 *array, le_int32 count);

Completed in 157 milliseconds

1234567891011>>