Searched refs:array (Results 101 - 125 of 2019) sorted by relevance

1234567891011>>

/macosx-10.9.5/xnu-2422.115.4/libkern/kxld/
H A Dkxld_array.c42 static kern_return_t array_init(KXLDArray *array, size_t itemsize, u_int nitems);
45 static u_int reinit_pools(KXLDArray *array, u_int nitems);
50 kxld_array_init(KXLDArray *array, size_t itemsize, u_int nitems) argument
58 check(array);
61 kxld_array_reset(array);
68 /* If the array has some pools, we need to see if there is enough space in
69 * those pools to accomodate the requested size array. If there isn't
71 * out the array structure. This will cause a new pool of sufficient size
75 if (array->npools) {
76 /* Update the array'
138 array_init(KXLDArray *array, size_t itemsize, u_int nitems) argument
252 kxld_array_reset(KXLDArray *array) argument
267 kxld_array_clear(KXLDArray *array) argument
282 kxld_array_deinit(KXLDArray *array) argument
298 kxld_array_get_item(const KXLDArray *array, u_int idx) argument
323 kxld_array_get_slot(const KXLDArray *array, u_int idx) argument
348 kxld_array_get_index(const KXLDArray *array, const void *item, u_int *_idx) argument
386 kxld_array_resize(KXLDArray *array, u_int nitems) argument
417 reinit_pools(KXLDArray *array, u_int nitems) argument
442 kxld_array_remove(KXLDArray *array, u_int idx) argument
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Array/
H A D15.4.2.2-1.js65 var array = new Array();
68 array[item++] = new TestCase( SECTION, "new Array(0)", "", (new Array(0)).toString() );
69 array[item++] = new TestCase( SECTION, "typeof new Array(0)", "object", (typeof new Array(0)) );
70 array[item++] = new TestCase( SECTION, "(new Array(0)).length", 0, (new Array(0)).length );
71 array[item++] = new TestCase( SECTION, "(new Array(0)).toString", Array.prototype.toString, (new Array(0)).toString );
73 array[item++] = new TestCase( SECTION, "new Array(1)", "", (new Array(1)).toString() );
74 array[item++] = new TestCase( SECTION, "new Array(1).length", 1, (new Array(1)).length );
75 array[item++] = new TestCase( SECTION, "(new Array(1)).toString", Array.prototype.toString, (new Array(1)).toString );
77 array[item++] = new TestCase( SECTION, "(new Array(-0)).length", 0, (new Array(-0)).length );
78 array[ite
[all...]
H A D15.4.2.1-1.js63 var array = new Array();
66 array[item++] = new TestCase( SECTION, "typeof new Array(1,2)", "object", typeof new Array(1,2) );
67 array[item++] = new TestCase( SECTION, "(new Array(1,2)).toString", Array.prototype.toString, (new Array(1,2)).toString );
68 array[item++] = new TestCase( SECTION,
73 array[item++] = new TestCase( SECTION, "(new Array(1,2)).length", 2, (new Array(1,2)).length );
74 array[item++] = new TestCase( SECTION, "var arr = (new Array(1,2)); arr[0]", 1, eval("var arr = (new Array(1,2)); arr[0]") );
75 array[item++] = new TestCase( SECTION, "var arr = (new Array(1,2)); arr[1]", 2, eval("var arr = (new Array(1,2)); arr[1]") );
76 array[item++] = new TestCase( SECTION, "var arr = (new Array(1,2)); String(arr)", "1,2", eval("var arr = (new Array(1,2)); String(arr)") );
78 return ( array );
H A D15.4-1.js45 var array = new Array();
48 array[item++] = new TestCase( SECTION,
53 array[item++] = new TestCase( SECTION,
58 array[item++] = new TestCase( SECTION,
63 array[item++] = new TestCase( SECTION,
69 array[item++] = new TestCase( SECTION,
74 array[item++] = new TestCase( SECTION,
80 array[item++] = new TestCase( SECTION,
85 array[item++] = new TestCase( SECTION,
92 array[ite
[all...]
H A D15.4.1.2.js27 constructor, it creates and initializes a new array
32 An array is created and returned as if by the
49 var array = new Array();
52 array[item++] = new TestCase( SECTION, "(Array()).length", 0, (Array()).length );
53 array[item++] = new TestCase( SECTION, "(Array(0)).length", 0, (Array(0)).length );
54 array[item++] = new TestCase( SECTION, "(Array(1)).length", 1, (Array(1)).length );
55 array[item++] = new TestCase( SECTION, "(Array(10)).length", 10, (Array(10)).length );
56 array[item++] = new TestCase( SECTION, "(Array('1')).length", 1, (Array('1')).length );
57 array[item++] = new TestCase( SECTION, "(Array(1000)).length", 1000, (Array(1000)).length );
58 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Expressions/
H A D11.6.1-1.js87 var array = new Array();
94 array[item++] = new TestCase( SECTION,
99 array[item++] = new TestCase( SECTION,
104 array[item++] = new TestCase( SECTION,
109 array[item++] = new TestCase( SECTION,
114 array[item++] = new TestCase( SECTION,
119 array[item++] = new TestCase( SECTION,
124 array[item++] = new TestCase( SECTION,
129 array[item++] = new TestCase( SECTION,
138 array[ite
[all...]
H A D11.6.1-2.js86 var array = new Array();
93 array[item++] = new TestCase( SECTION,
98 array[item++] = new TestCase( SECTION,
103 array[item++] = new TestCase( SECTION,
108 array[item++] = new TestCase( SECTION,
113 array[item++] = new TestCase( SECTION,
118 array[item++] = new TestCase( SECTION,
123 array[item++] = new TestCase( SECTION,
128 array[item++] = new TestCase( SECTION,
133 array[ite
[all...]
H A D11.13.js58 var array = new Array();
61 array[item++] = new TestCase( SECTION, "true ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED"));
62 array[item++] = new TestCase( SECTION, "false ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED"));
64 array[item++] = new TestCase( SECTION, "1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED"));
65 array[item++] = new TestCase( SECTION, "0 ? 'FAILED' : 'PASSED'", "PASSED", (false?"FAILED":"PASSED"));
66 array[item++] = new TestCase( SECTION, "-1 ? 'PASSED' : 'FAILED'", "PASSED", (true?"PASSED":"FAILED"));
68 array[item++] = new TestCase( SECTION, "NaN ? 'FAILED' : 'PASSED'", "PASSED", (Number.NaN?"FAILED":"PASSED"));
70 array[item++] = new TestCase( SECTION, "var VAR = true ? , : 'FAILED'", "PASSED", (VAR = true ? "PASSED" : "FAILED") );
72 return ( array );
H A D11.6.3.js79 var array = new Array();
82 array[item++] = new TestCase( SECTION, "Number.NaN + 1", Number.NaN, Number.NaN + 1 );
83 array[item++] = new TestCase( SECTION, "1 + Number.NaN", Number.NaN, 1 + Number.NaN );
85 array[item++] = new TestCase( SECTION, "Number.NaN - 1", Number.NaN, Number.NaN - 1 );
86 array[item++] = new TestCase( SECTION, "1 - Number.NaN", Number.NaN, 1 - Number.NaN );
88 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY + Number.POSITIVE_INFINITY", Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY + Number.POSITIVE_INFINITY);
89 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY + Number.NEGATIVE_INFINITY", Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY + Number.NEGATIVE_INFINITY);
91 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY + Number.NEGATIVE_INFINITY", Number.NaN, Number.POSITIVE_INFINITY + Number.NEGATIVE_INFINITY);
92 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY + Number.POSITIVE_INFINITY", Number.NaN, Number.NEGATIVE_INFINITY + Number.POSITIVE_INFINITY);
94 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Math/
H A D15.8.2.10.js49 var array = new Array();
52 array[item++] = new TestCase( SECTION, "Math.log.length", 1, Math.log.length );
54 array[item++] = new TestCase( SECTION, "Math.log()", Number.NaN, Math.log() );
55 array[item++] = new TestCase( SECTION, "Math.log(void 0)", Number.NaN, Math.log(void 0) );
56 array[item++] = new TestCase( SECTION, "Math.log(null)", Number.NEGATIVE_INFINITY, Math.log(null) );
57 array[item++] = new TestCase( SECTION, "Math.log(true)", 0, Math.log(true) );
58 array[item++] = new TestCase( SECTION, "Math.log(false)", -Infinity, Math.log(false) );
59 array[item++] = new TestCase( SECTION, "Math.log('0')", -Infinity, Math.log('0') );
60 array[item++] = new TestCase( SECTION, "Math.log('1')", 0, Math.log('1') );
61 array[ite
[all...]
H A D15.8.2.1.js46 var array = new Array();
49 array[item++] = new TestCase( SECTION, "Math.abs.length", 1, Math.abs.length );
51 array[item++] = new TestCase( SECTION, "Math.abs()", Number.NaN, Math.abs() );
52 array[item++] = new TestCase( SECTION, "Math.abs( void 0 )", Number.NaN, Math.abs(void 0) );
53 array[item++] = new TestCase( SECTION, "Math.abs( null )", 0, Math.abs(null) );
54 array[item++] = new TestCase( SECTION, "Math.abs( true )", 1, Math.abs(true) );
55 array[item++] = new TestCase( SECTION, "Math.abs( false )", 0, Math.abs(false) );
56 array[item++] = new TestCase( SECTION, "Math.abs( string primitive)", Number.NaN, Math.abs("a string primitive") );
57 array[item++] = new TestCase( SECTION, "Math.abs( string object )", Number.NaN, Math.abs(new String( 'a String object' )) );
58 array[ite
[all...]
H A D15.8.2.6.js51 var array = new Array();
54 array[item++] = new TestCase( SECTION, "Math.ceil.length", 1, Math.ceil.length );
56 array[item++] = new TestCase( SECTION, "Math.ceil(NaN)", Number.NaN, Math.ceil(Number.NaN) );
57 array[item++] = new TestCase( SECTION, "Math.ceil(null)", 0, Math.ceil(null) );
58 array[item++] = new TestCase( SECTION, "Math.ceil()", Number.NaN, Math.ceil() );
59 array[item++] = new TestCase( SECTION, "Math.ceil(void 0)", Number.NaN, Math.ceil(void 0) );
61 array[item++] = new TestCase( SECTION, "Math.ceil('0')", 0, Math.ceil('0') );
62 array[item++] = new TestCase( SECTION, "Math.ceil('-0')", -0, Math.ceil('-0') );
63 array[item++] = new TestCase( SECTION, "Infinity/Math.ceil('0')", Infinity, Infinity/Math.ceil('0'));
64 array[ite
[all...]
H A D15.8.2.12.js51 var array = new Array();
54 array[item++] = new TestCase( SECTION, "Math.min.length", 2, Math.min.length );
56 array[item++] = new TestCase( SECTION, "Math.min()", Infinity, Math.min() );
57 array[item++] = new TestCase( SECTION, "Math.min(void 0, 1)", Number.NaN, Math.min( void 0, 1 ) );
58 array[item++] = new TestCase( SECTION, "Math.min(void 0, void 0)", Number.NaN, Math.min( void 0, void 0 ) );
59 array[item++] = new TestCase( SECTION, "Math.min(null, 1)", 0, Math.min( null, 1 ) );
60 array[item++] = new TestCase( SECTION, "Math.min(-1, null)", -1, Math.min( -1, null ) );
61 array[item++] = new TestCase( SECTION, "Math.min(true, false)", 0, Math.min(true,false) );
63 array[item++] = new TestCase( SECTION, "Math.min('-99','99')", -99, Math.min( "-99","99") );
65 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/TypeConversion/
H A D9.5-2.js91 var array = new Array();
94 array[item++] = new TestCase( SECTION, "0 << 0", 0, 0 << 0 );
95 array[item++] = new TestCase( SECTION, "-0 << 0", 0, -0 << 0 );
96 array[item++] = new TestCase( SECTION, "Infinity << 0", 0, "Infinity" << 0 );
97 array[item++] = new TestCase( SECTION, "-Infinity << 0", 0, "-Infinity" << 0 );
98 array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY << 0", 0, Number.POSITIVE_INFINITY << 0 );
99 array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY << 0", 0, Number.NEGATIVE_INFINITY << 0 );
100 array[item++] = new TestCase( SECTION, "Number.NaN << 0", 0, Number.NaN << 0 );
102 array[item++] = new TestCase( SECTION, "Number.MIN_VALUE << 0", 0, Number.MIN_VALUE << 0 );
103 array[ite
[all...]
H A D9.3.1-2.js67 var array = new Array();
72 array[item++] = new TestCase( SECTION, "Number(00)", 0, Number("00"));
73 array[item++] = new TestCase( SECTION, "Number(01)", 1, Number("01"));
74 array[item++] = new TestCase( SECTION, "Number(02)", 2, Number("02"));
75 array[item++] = new TestCase( SECTION, "Number(03)", 3, Number("03"));
76 array[item++] = new TestCase( SECTION, "Number(04)", 4, Number("04"));
77 array[item++] = new TestCase( SECTION, "Number(05)", 5, Number("05"));
78 array[item++] = new TestCase( SECTION, "Number(06)", 6, Number("06"));
79 array[item++] = new TestCase( SECTION, "Number(07)", 7, Number("07"));
80 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/GlobalObject/
H A D15.1.2.7.js48 var array = new Array();
51 array[item++] = new TestCase( SECTION, "isFinite.length", 1, isFinite.length );
52 array[item++] = new TestCase( SECTION, "isFinite.length = null; isFinite.length", 1, eval("isFinite.length=null; isFinite.length") );
53 array[item++] = new TestCase( SECTION, "delete isFinite.length", false, delete isFinite.length );
54 array[item++] = new TestCase( SECTION, "delete isFinite.length; isFinite.length", 1, eval("delete isFinite.length; isFinite.length") );
55 array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( p in isFinite ) { MYPROPS+= p }; MYPROPS", "", eval("var MYPROPS=''; for ( p in isFinite ) { MYPROPS += p }; MYPROPS") );
57 array[item++] = new TestCase( SECTION, "isFinite()", false, isFinite() );
58 array[item++] = new TestCase( SECTION, "isFinite( null )", true, isFinite(null) );
59 array[item++] = new TestCase( SECTION, "isFinite( void 0 )", false, isFinite(void 0) );
60 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/LexicalConventions/
H A D7.1-3.js54 var array = new Array();
56 array[item++] = new TestCase( SECTION, "'var'+'\u000B'+'MYVAR1=10;MYVAR1'", 10, eval('var'+'\u000B'+'MYVAR1=10;MYVAR1') );
57 array[item++] = new TestCase( SECTION, "'var'+'\u0009'+'MYVAR2=10;MYVAR2'", 10, eval('var'+'\u0009'+'MYVAR2=10;MYVAR2') );
58 array[item++] = new TestCase( SECTION, "'var'+'\u000C'+'MYVAR3=10;MYVAR3'", 10, eval('var'+'\u000C'+'MYVAR3=10;MYVAR3') );
59 array[item++] = new TestCase( SECTION, "'var'+'\u0020'+'MYVAR4=10;MYVAR4'", 10, eval('var'+'\u0020'+'MYVAR4=10;MYVAR4') );
63 array[item++] = new TestCase( SECTION,
68 array[item++] = new TestCase( SECTION,
72 array[item++] = new TestCase( SECTION,
78 return ( array );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Number/
H A D15.7.4.3-1.js45 var array = new Array();
49 array[item++] = new TestCase("15.7.4.1", "Number.prototype.valueOf()", 0, "Number.prototype.valueOf()" );
51 array[item++] = new TestCase("15.7.4.1", "(new Number(1)).valueOf()", 1, "(new Number(1)).valueOf()" );
52 array[item++] = new TestCase("15.7.4.1", "(new Number(-1)).valueOf()", -1, "(new Number(-1)).valueOf()" );
53 array[item++] = new TestCase("15.7.4.1", "(new Number(0)).valueOf()", 0, "(new Number(0)).valueOf()" );
54 array[item++] = new TestCase("15.7.4.1", "(new Number(Number.POSITIVE_INFINITY)).valueOf()", Number.POSITIVE_INFINITY, "(new Number(Number.POSITIVE_INFINITY)).valueOf()" );
55 array[item++] = new TestCase("15.7.4.1", "(new Number(Number.NaN)).valueOf()", Number.NaN, "(new Number(Number.NaN)).valueOf()" );
56 array[item++] = new TestCase("15.7.4.1", "(new Number()).valueOf()", 0, "(new Number()).valueOf()" );
58 return ( array );
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/String/
H A D15.5.4.10-1.js73 var array = new Array();
76 array[item++] = new TestCase( SECTION, "String.prototype.substring.length", 2, String.prototype.substring.length );
77 array[item++] = new TestCase( SECTION, "delete String.prototype.substring.length", false, delete String.prototype.substring.length );
78 array[item++] = new TestCase( SECTION, "delete String.prototype.substring.length; String.prototype.substring.length", 2, eval("delete String.prototype.substring.length; String.prototype.substring.length") );
84 array[item++] = new TestCase( SECTION,
89 array[item++] = new TestCase( SECTION,
94 array[item++] = new TestCase( SECTION,
99 array[item++] = new TestCase( SECTION,
105 array[item++] = new TestCase( SECTION,
111 array[ite
[all...]
H A D15.5.4.2-1.js50 var array = new Array();
52 array[item++] = new TestCase( SECTION, "String.prototype.toString()", "", String.prototype.toString() );
53 array[item++] = new TestCase( SECTION, "(new String()).toString()", "", (new String()).toString() );
54 array[item++] = new TestCase( SECTION, "(new String(\"\")).toString()", "", (new String("")).toString() );
55 array[item++] = new TestCase( SECTION, "(new String( String() )).toString()","", (new String(String())).toString() );
56 array[item++] = new TestCase( SECTION, "(new String( \"h e l l o\" )).toString()", "h e l l o", (new String("h e l l o")).toString() );
57 array[item++] = new TestCase( SECTION, "(new String( 0 )).toString()", "0", (new String(0)).toString() );
58 return ( array );
60 function test( array ) {
H A D15.5.4.5-5.js71 var array = new Array();
73 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)") );
74 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)") );
75 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)") );
76 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)") );
77 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)") );
78 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)") );
80 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)") );
81 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(false)", 0x0074, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(false)") );
83 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Boolean/
H A D15.6.2.js51 var array = new Array();
54 array[item++] = new TestCase( SECTION, "typeof (new Boolean(1))", "object", typeof (new Boolean(1)) );
55 array[item++] = new TestCase( SECTION, "(new Boolean(1)).constructor", Boolean.prototype.constructor, (new Boolean(1)).constructor );
56 array[item++] = new TestCase( SECTION,
60 array[item++] = new TestCase( SECTION, "(new Boolean(1)).valueOf()", true, (new Boolean(1)).valueOf() );
61 array[item++] = new TestCase( SECTION, "typeof new Boolean(1)", "object", typeof new Boolean(1) );
62 array[item++] = new TestCase( SECTION, "(new Boolean(0)).constructor", Boolean.prototype.constructor, (new Boolean(0)).constructor );
63 array[item++] = new TestCase( SECTION,
67 array[item++] = new TestCase( SECTION, "(new Boolean(0)).valueOf()", false, (new Boolean(0)).valueOf() );
68 array[ite
[all...]
/macosx-10.9.5/WebCore-7537.78.1/Modules/webaudio/
H A DAnalyserNode.idl39 // Copies the current frequency data into the passed array.
40 // If the array has fewer elements than the frequencyBinCount, the excess elements will be dropped.
41 void getFloatFrequencyData(Float32Array array);
42 void getByteFrequencyData(Uint8Array array);
45 void getByteTimeDomainData(Uint8Array array);
/macosx-10.9.5/WebKit-7537.78.2/mac/Plugins/Hosted/
H A DWebKitPluginHostTypes.defs31 type plist_bytes_t = ^array [] of uint8_t;
32 type application_name_t = ^array [] of uint8_t;
33 type data_t = ^array [] of char;
/macosx-10.9.5/ICU-511.35/icuSources/layoutex/
H A DLXUtilities.cpp53 le_int32 LXUtilities::search(le_int32 value, const le_int32 array[], le_int32 count) argument
60 if (value >= array[extra]) {
67 if (value >= array[index + probe]) {
75 void LXUtilities::reverse(le_int32 array[], le_int32 length) argument
80 le_int32 swap = array[front];
82 array[front] = array[back];
83 array[back] = swap;
87 void LXUtilities::reverse(float array[], le_int32 length) argument
92 float swap = array[fron
[all...]

Completed in 123 milliseconds

1234567891011>>