Searched refs:array (Results 76 - 100 of 2019) sorted by relevance

1234567891011>>

/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Math/
H A D15.8.2.8.js49 var array = new Array();
52 array[item++] = new TestCase( SECTION, "Math.exp.length", 1, Math.exp.length );
54 array[item++] = new TestCase( SECTION, "Math.exp()", Number.NaN, Math.exp() );
55 array[item++] = new TestCase( SECTION, "Math.exp(null)", 1, Math.exp(null) );
56 array[item++] = new TestCase( SECTION, "Math.exp(void 0)", Number.NaN, Math.exp(void 0) );
57 array[item++] = new TestCase( SECTION, "Math.exp(1)", Math.E, Math.exp(1) );
58 array[item++] = new TestCase( SECTION, "Math.exp(true)", Math.E, Math.exp(true) );
59 array[item++] = new TestCase( SECTION, "Math.exp(false)", 1, Math.exp(false) );
61 array[item++] = new TestCase( SECTION, "Math.exp('1')", Math.E, Math.exp('1') );
62 array[ite
[all...]
H A D15.8.2.18.js48 var array = new Array();
51 array[item++] = new TestCase( SECTION, "Math.tan.length", 1, Math.tan.length );
53 array[item++] = new TestCase( SECTION, "Math.tan()", Number.NaN, Math.tan() );
54 array[item++] = new TestCase( SECTION, "Math.tan(void 0)", Number.NaN, Math.tan(void 0));
55 array[item++] = new TestCase( SECTION, "Math.tan(null)", 0, Math.tan(null) );
56 array[item++] = new TestCase( SECTION, "Math.tan(false)", 0, Math.tan(false) );
58 array[item++] = new TestCase( SECTION, "Math.tan(NaN)", Number.NaN, Math.tan(Number.NaN) );
59 array[item++] = new TestCase( SECTION, "Math.tan(0)", 0, Math.tan(0));
60 array[item++] = new TestCase( SECTION, "Math.tan(-0)", -0, Math.tan(-0));
61 array[ite
[all...]
H A D15.8.2.2.js46 var array = new Array();
49 array[item++] = new TestCase( SECTION, "Math.acos.length", 1, Math.acos.length );
51 array[item++] = new TestCase( SECTION, "Math.acos(void 0)", Number.NaN, Math.acos(void 0) );
52 array[item++] = new TestCase( SECTION, "Math.acos()", Number.NaN, Math.acos() );
53 array[item++] = new TestCase( SECTION, "Math.acos(null)", Math.PI/2, Math.acos(null) );
54 array[item++] = new TestCase( SECTION, "Math.acos(NaN)", Number.NaN, Math.acos(Number.NaN) );
56 array[item++] = new TestCase( SECTION, "Math.acos(a string)", Number.NaN, Math.acos("a string") );
57 array[item++] = new TestCase( SECTION, "Math.acos('0')", Math.PI/2, Math.acos('0') );
58 array[item++] = new TestCase( SECTION, "Math.acos('1')", 0, Math.acos('1') );
59 array[ite
[all...]
H A D15.8.2.4.js50 var array = new Array();
53 array[item++] = new TestCase( SECTION, "Math.atan.length", 1, Math.atan.length );
55 array[item++] = new TestCase( SECTION, "Math.atan()", Number.NaN, Math.atan() );
56 array[item++] = new TestCase( SECTION, "Math.atan(void 0)", Number.NaN, Math.atan(void 0) );
57 array[item++] = new TestCase( SECTION, "Math.atan(null)", 0, Math.atan(null) );
58 array[item++] = new TestCase( SECTION, "Math.atan(NaN)", Number.NaN, Math.atan(Number.NaN) );
60 array[item++] = new TestCase( SECTION, "Math.atan('a string')", Number.NaN, Math.atan("a string") );
61 array[item++] = new TestCase( SECTION, "Math.atan('0')", 0, Math.atan('0') );
62 array[item++] = new TestCase( SECTION, "Math.atan('1')", Math.PI/4, Math.atan('1') );
63 array[ite
[all...]
H A D15.8.2.5.js43 var array = new Array();
46 array[item++] = new TestCase( SECTION, "Math.atan2.length", 2, Math.atan2.length );
48 array[item++] = new TestCase( SECTION, "Math.atan2(NaN, 0)", Number.NaN, Math.atan2(Number.NaN,0) );
49 array[item++] = new TestCase( SECTION, "Math.atan2(null, null)", 0, Math.atan2(null, null) );
50 array[item++] = new TestCase( SECTION, "Math.atan2(void 0, void 0)", Number.NaN, Math.atan2(void 0, void 0) );
51 array[item++] = new TestCase( SECTION, "Math.atan2()", Number.NaN, Math.atan2() );
53 array[item++] = new TestCase( SECTION, "Math.atan2(0, NaN)", Number.NaN, Math.atan2(0,Number.NaN) );
54 array[item++] = new TestCase( SECTION, "Math.atan2(1, 0)", Math.PI/2, Math.atan2(1,0) );
55 array[item++] = new TestCase( SECTION, "Math.atan2(1,-0)", Math.PI/2, Math.atan2(1,-0) );
56 array[ite
[all...]
H A D15.8.2.9.js52 var array = new Array();
55 array[item++] = new TestCase( SECTION, "Math.floor.length", 1, Math.floor.length );
57 array[item++] = new TestCase( SECTION, "Math.floor()", Number.NaN, Math.floor() );
58 array[item++] = new TestCase( SECTION, "Math.floor(void 0)", Number.NaN, Math.floor(void 0) );
59 array[item++] = new TestCase( SECTION, "Math.floor(null)", 0, Math.floor(null) );
60 array[item++] = new TestCase( SECTION, "Math.floor(true)", 1, Math.floor(true) );
61 array[item++] = new TestCase( SECTION, "Math.floor(false)", 0, Math.floor(false) );
63 array[item++] = new TestCase( SECTION, "Math.floor('1.1')", 1, Math.floor("1.1") );
64 array[item++] = new TestCase( SECTION, "Math.floor('-1.1')", -2, Math.floor("-1.1") );
65 array[ite
[all...]
H A D15.8.2.15.js66 var array = new Array();
69 array[item++] = new TestCase( SECTION, "Math.round.length", 1, Math.round.length );
71 array[item++] = new TestCase( SECTION, "Math.round()", Number.NaN, Math.round() );
72 array[item++] = new TestCase( SECTION, "Math.round(null)", 0, Math.round(0) );
73 array[item++] = new TestCase( SECTION, "Math.round(void 0)", Number.NaN, Math.round(void 0) );
74 array[item++] = new TestCase( SECTION, "Math.round(true)", 1, Math.round(true) );
75 array[item++] = new TestCase( SECTION, "Math.round(false)", 0, Math.round(false) );
76 array[item++] = new TestCase( SECTION, "Math.round('.99999')", 1, Math.round('.99999') );
77 array[item++] = new TestCase( SECTION, "Math.round('12345e-2')", 123, Math.round('12345e-2') );
79 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Number/
H A D15.7.1.js53 var array = new Array();
56 array[item++] = new TestCase(SECTION, "Number()", 0, Number() );
57 array[item++] = new TestCase(SECTION, "Number(void 0)", Number.NaN, Number(void 0) );
58 array[item++] = new TestCase(SECTION, "Number(null)", 0, Number(null) );
59 array[item++] = new TestCase(SECTION, "Number()", 0, Number() );
60 array[item++] = new TestCase(SECTION, "Number(new Number())", 0, Number( new Number() ) );
61 array[item++] = new TestCase(SECTION, "Number(0)", 0, Number(0) );
62 array[item++] = new TestCase(SECTION, "Number(1)", 1, Number(1) );
63 array[item++] = new TestCase(SECTION, "Number(-1)", -1, Number(-1) );
64 array[ite
[all...]
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-core/Modules/objc/
H A Dvarlist.h9 PyObject* PyObjC_VarList_New(const char* tp, void* array);
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/Modules/objc/
H A Dvarlist.h9 PyObject* PyObjC_VarList_New(const char* tp, void* array);
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Expressions/
H A D11.13.2-4.js55 var array = new Array();
60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 += VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 += VAR2") );
61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 += VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 += VAR2; VAR1") );
62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 += VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 += VAR2") );
63 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 += VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 += VAR2; VAR1") );
64 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 += VAR2", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 += VAR2") );
65 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 += VAR2; VAR1", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 += VAR2; VAR1") );
70 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= Infinity; VAR1 += VAR2; VAR1", Number.POSITIVE_INFINITY, eval("VAR1 = Number.POSITIVE_INFINITY; VAR2 = Number.POSITIVE_INFINITY; VAR1 += VAR2; VAR1") );
71 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= -Infinity; VAR1 += VAR2; VAR1", Number.NaN, eval("VAR1 = Number.POSITIVE_INFINITY; VAR2 = Number.NEGATIVE_INFINITY; VAR1 += VAR2; VAR1") );
72 array[ite
[all...]
H A D11.13.2-5.js55 var array = new Array();
60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 -= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 -= VAR2") );
61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 -= VAR2; VAR1") );
62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 -= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 -= VAR2") );
63 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=0; VAR1 -= VAR2; VAR1") );
64 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 -= VAR2", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 -= VAR2") );
65 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=NaN; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = 0; VAR2=Number.NaN; VAR1 -= VAR2; VAR1") );
70 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= Infinity; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.POSITIVE_INFINITY; VAR2 = Number.POSITIVE_INFINITY; VAR1 -= VAR2; VAR1") );
71 array[item++] = new TestCase( SECTION, "VAR1 = Infinity; VAR2= -Infinity; VAR1 -= VAR2; VAR1", Number.POSITIVE_INFINITY, eval("VAR1 = Number.POSITIVE_INFINITY; VAR2 = Number.NEGATIVE_INFINITY; VAR1 -= VAR2; VAR1") );
72 array[ite
[all...]
H A D11.12-1.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 array[item++] = new TestCase( SECTION, "item = " + item +"; VAR = (item < -2147483648) ? 'FAILED' : 'PASSED'", "PASSED", (VAR = (item < -2147483648) ? "FAILED" : "PASSED") );
74 return ( array );
[all...]
H A D11.6.2-1.js65 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 array[item++] = new TestCase( SECTION,
102 array[item++] = new TestCase( SECTION,
107 array[item++] = new TestCase( SECTION,
112 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/String/
H A D15.5.4.3-1.js48 var array = new Array();
51 array[item++] = new TestCase( SECTION, "String.prototype.valueOf.length", 0, String.prototype.valueOf.length );
53 array[item++] = new TestCase( SECTION, "String.prototype.valueOf()", "", String.prototype.valueOf() );
54 array[item++] = new TestCase( SECTION, "(new String()).valueOf()", "", (new String()).valueOf() );
55 array[item++] = new TestCase( SECTION, "(new String(\"\")).valueOf()", "", (new String("")).valueOf() );
56 array[item++] = new TestCase( SECTION, "(new String( String() )).valueOf()","", (new String(String())).valueOf() );
57 array[item++] = new TestCase( SECTION, "(new String( \"h e l l o\" )).valueOf()", "h e l l o", (new String("h e l l o")).valueOf() );
58 array[item++] = new TestCase( SECTION, "(new String( 0 )).valueOf()", "0", (new String(0)).valueOf() );
59 return ( array );
61 function test( array ) {
[all...]
H A D15.5.4.4-4.js61 var array = new Array();
64 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "n", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") );
65 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "u", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(1)") );
66 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(2)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(2)") );
67 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(3)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(3)") );
69 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "u", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") );
70 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "n", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(1)") );
71 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(2)", "d", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(2)") );
72 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(3)", "e", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(3)") );
74 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/TypeConversion/
H A D9.7.js79 var array = new Array();
82 array[item++] = new TestCase( "9.7", "String.fromCharCode(0).charCodeAt(0)", 0, String.fromCharCode(0).charCodeAt(0) );
83 array[item++] = new TestCase( "9.7", "String.fromCharCode(-0).charCodeAt(0)", 0, String.fromCharCode(-0).charCodeAt(0) );
84 array[item++] = new TestCase( "9.7", "String.fromCharCode(1).charCodeAt(0)", 1, String.fromCharCode(1).charCodeAt(0) );
85 array[item++] = new TestCase( "9.7", "String.fromCharCode(64).charCodeAt(0)", 64, String.fromCharCode(64).charCodeAt(0) );
86 array[item++] = new TestCase( "9.7", "String.fromCharCode(126).charCodeAt(0)", 126, String.fromCharCode(126).charCodeAt(0) );
87 array[item++] = new TestCase( "9.7", "String.fromCharCode(127).charCodeAt(0)", 127, String.fromCharCode(127).charCodeAt(0) );
88 array[item++] = new TestCase( "9.7", "String.fromCharCode(128).charCodeAt(0)", 128, String.fromCharCode(128).charCodeAt(0) );
89 array[item++] = new TestCase( "9.7", "String.fromCharCode(130).charCodeAt(0)", 130, String.fromCharCode(130).charCodeAt(0) );
90 array[ite
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/os/
H A Dos_stack.c28 void *array[200]; local
37 size = backtrace(array, sizeof(array) / sizeof(array[0]));
38 strings = backtrace_symbols(array, size);
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/tests/
H A Dlassign.test38 lassign "a b {c d} e" array(alpha) array(beta) array(gamma) array(delta) array(epsilon)
39 list $array(alpha) $array(beta) $array(gamma) $array(delta) $array(epsilo
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Array/
H A D15.4.4.5-3.js64 var array = new Array();
66 array[array.length] = new Date( TIME_2000 * Math.PI );
67 array[array.length] = new Date( TIME_2000 * 10 );
68 array[array.length] = new Date( TIME_1900 + TIME_1900 );
69 array[array.length] = new Date(0);
70 array[arra
[all...]
/macosx-10.9.5/cups-372.4/cups/cups/
H A Dtestarray.c30 #include "array-private.h"
39 static int load_words(const char *filename, cups_array_t *array);
51 cups_array_t *array, /* Test array */ local
52 *dup_array; /* Duplicate array */
54 char *text; /* Text from array */
77 array = cupsArrayNew((cups_array_func_t)strcmp, data);
79 if (array)
92 if (cupsArrayUserData(array) == data)
96 printf("FAIL (returned %p instead of %p!)\n", cupsArrayUserData(array),
535 load_words(const char *filename, cups_array_t *array) argument
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Boolean/
H A D15.6.4.2-1.js48 var array = new Array();
51 array[item++] = new TestCase( SECTION, "new Boolean(1)", "true", (new Boolean(1)).toString() );
52 array[item++] = new TestCase( SECTION, "new Boolean(0)", "false", (new Boolean(0)).toString() );
53 array[item++] = new TestCase( SECTION, "new Boolean(-1)", "true", (new Boolean(-1)).toString() );
54 array[item++] = new TestCase( SECTION, "new Boolean('1')", "true", (new Boolean("1")).toString() );
55 array[item++] = new TestCase( SECTION, "new Boolean('0')", "true", (new Boolean("0")).toString() );
56 array[item++] = new TestCase( SECTION, "new Boolean(true)", "true", (new Boolean(true)).toString() );
57 array[item++] = new TestCase( SECTION, "new Boolean(false)", "false", (new Boolean(false)).toString() );
58 array[item++] = new TestCase( SECTION, "new Boolean('true')", "true", (new Boolean('true')).toString() );
59 array[ite
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/FunctionObjects/
H A D15.3.1.1-2.js51 var array = new Array();
62 array[item++] = new TestCase( SECTION, "myfunc1 = Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
66 array[item++] = new TestCase( SECTION, "myfunc1.length", 3, myfunc1.length );
67 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() );
69 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor );
70 array[item++] = new TestCase( SECTION, "myfunc1.arguments", null, myfunc1.arguments );
71 array[item++] = new TestCase( SECTION, "myfunc1(1,2,3)", 6, myfunc1(1,2,3) );
72 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS",
76 array[item++] = new TestCase( SECTION, "myfunc2 = Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
79 array[ite
[all...]
H A D15.3.2.1-2.js44 var array = new Array();
55 array[item++] = new TestCase( SECTION, "myfunc1 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
59 array[item++] = new TestCase( SECTION, "myfunc1.length", 3, myfunc1.length );
60 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() );
62 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor );
63 array[item++] = new TestCase( SECTION, "myfunc1.arguments", null, myfunc1.arguments );
64 array[item++] = new TestCase( SECTION, "myfunc1(1,2,3)", 6, myfunc1(1,2,3) );
65 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS",
69 array[item++] = new TestCase( SECTION, "myfunc2 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
72 array[ite
[all...]
/macosx-10.9.5/bless-98/libbless/HFS/
H A DBLSetOFLabelForDevice.c100 BLUpdateBooterFileSpec array[2]; local
102 bzero(array, sizeof(array));
104 array[0].version = 0;
105 array[0].reqType = kBL_OSTYPE_PPC_TYPE_OFLABEL;
106 array[0].reqCreator = kBL_OSTYPE_PPC_CREATOR_CHRP;
107 array[0].reqFilename = NULL;
108 array[0].payloadData = label;
109 array[0].postType = 0; // no type
110 array[
[all...]

Completed in 146 milliseconds

1234567891011>>