/external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
D | 7.7.3.js | 49 var item = 0; 51 array[item++] = new TestCase( SECTION, "0", 0, 0 ); 52 array[item++] = new TestCase( SECTION, "1", 1, 1 ); 53 array[item++] = new TestCase( SECTION, "2", 2, 2 ); 54 array[item++] = new TestCase( SECTION, "3", 3, 3 ); 55 array[item++] = new TestCase( SECTION, "4", 4, 4 ); 56 array[item++] = new TestCase( SECTION, "5", 5, 5 ); 57 array[item++] = new TestCase( SECTION, "6", 6, 6 ); 58 array[item++] = new TestCase( SECTION, "7", 7, 7 ); 59 array[item++] = new TestCase( SECTION, "8", 8, 8 ); [all …]
|
D | 7.7.4.js | 47 var item = 0; 51 array[item++] = new TestCase( SECTION, "\"\"", "", "" ); 52 array[item++] = new TestCase( SECTION, "\'\'", "", '' ); 55 array[item++] = new TestCase( SECTION, "\\\"", String.fromCharCode(0x0022), "\"" ); 56 array[item++] = new TestCase( SECTION, "\\\'", String.fromCharCode(0x0027), "\'" ); 57 array[item++] = new TestCase( SECTION, "\\", String.fromCharCode(0x005C), "\\" ); 58 array[item++] = new TestCase( SECTION, "\\b", String.fromCharCode(0x0008), "\b" ); 59 array[item++] = new TestCase( SECTION, "\\f", String.fromCharCode(0x000C), "\f" ); 60 array[item++] = new TestCase( SECTION, "\\n", String.fromCharCode(0x000A), "\n" ); 61 array[item++] = new TestCase( SECTION, "\\r", String.fromCharCode(0x000D), "\r" ); [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
D | 15.1.2.3-1.js | 76 var item = 0; 78 …array[item++] = new TestCase( SECTION, "parseFloat.length", 1, parseFloat.length … 80 …array[item++] = new TestCase( SECTION, "parseFloat.length = null; parseFloat.length", 1, ev… 81 …array[item++] = new TestCase( SECTION, "delete parseFloat.length", false, de… 82 …array[item++] = new TestCase( SECTION, "delete parseFloat.length; parseFloat.length", 1, ev… 83 …array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in parseFloat ) { MYPROPS += p… 85 array[item++] = new TestCase( SECTION, "parseFloat()", Number.NaN, parseFloat() ); 86 … array[item++] = new TestCase( SECTION, "parseFloat('')", Number.NaN, parseFloat('') ); 88 … array[item++] = new TestCase( SECTION, "parseFloat(' ')", Number.NaN, parseFloat(' ') ); 89 …array[item++] = new TestCase( SECTION, "parseFloat(true)", Number.NaN, parseFloat(true) ); [all …]
|
D | 15.1.2.3-2.js | 73 var item = 0; 75 …array[item++] = new TestCase( SECTION, "parseFloat(true)", Number.NaN, parseFloat(true) ); 76 …array[item++] = new TestCase( SECTION, "parseFloat(false)", Number.NaN, parseFloat(false) … 77 …array[item++] = new TestCase( SECTION, "parseFloat('string')", Number.NaN, parseFloat("string… 79 …array[item++] = new TestCase( SECTION, "parseFloat(' Infinity')", Number.POSITIVE_INFINIT… 82 …array[item++] = new TestCase( SECTION, "parseFloat(' 0')", 0, parseFlo… 83 …array[item++] = new TestCase( SECTION, "parseFloat(' -0')", -0, parseFlo… 84 …array[item++] = new TestCase( SECTION, "parseFloat(' +0')", 0, parseFlo… 86 …array[item++] = new TestCase( SECTION, "parseFloat(' 1')", 1, parseFlo… 87 …array[item++] = new TestCase( SECTION, "parseFloat(' -1')", -1, parseFlo… [all …]
|
D | 15.1.2.7.js | 49 var item = 0; 51 …array[item++] = new TestCase( SECTION, "isFinite.length", 1, isFinite.length… 52 …array[item++] = new TestCase( SECTION, "isFinite.length = null; isFinite.length", 1, eval("… 53 …array[item++] = new TestCase( SECTION, "delete isFinite.length", false, delete… 54 …array[item++] = new TestCase( SECTION, "delete isFinite.length; isFinite.length", 1, eval("… 55 …array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( p in isFinite ) { MYPROPS+= p }; MYP… 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[item++] = new TestCase( SECTION, "isFinite( false )", true, isFinite(false)… [all …]
|
D | 15.1.2.6.js | 49 var item = 0; 51 array[item++] = new TestCase( SECTION, "isNaN.length", 1, isNaN.length ); 52 …array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in isNaN ) { MYPROPS+= p }; MY… 53 …array[item++] = new TestCase( SECTION, "isNaN.length = null; isNaN.length", 1, eval("isNaN.le… 54 …array[item++] = new TestCase( SECTION, "delete isNaN.length", false, delete isNaN.l… 55 …array[item++] = new TestCase( SECTION, "delete isNaN.length; isNaN.length", 1, eval("delete i… 59 array[item++] = new TestCase( SECTION, "isNaN()", true, isNaN() ); 60 array[item++] = new TestCase( SECTION, "isNaN( null )", false, isNaN(null) ); 61 array[item++] = new TestCase( SECTION, "isNaN( void 0 )", true, isNaN(void 0) ); 62 array[item++] = new TestCase( SECTION, "isNaN( true )", false, isNaN(true) ); [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
D | 9.3.1-1.js | 68 var item = 0; 79 array[item++] = new TestCase( SECTION, "Number('')", 0, Number("") ); 80 array[item++] = new TestCase( SECTION, "Number(' ')", 0, Number(" ") ); 81 array[item++] = new TestCase( SECTION, "Number(\\t)", 0, Number("\t") ); 82 array[item++] = new TestCase( SECTION, "Number(\\n)", 0, Number("\n") ); 83 array[item++] = new TestCase( SECTION, "Number(\\r)", 0, Number("\r") ); 84 array[item++] = new TestCase( SECTION, "Number(\\f)", 0, Number("\f") ); 86 …array[item++] = new TestCase( SECTION, "Number(String.fromCharCode(0x0009)", 0, Number(String.… 87 …array[item++] = new TestCase( SECTION, "Number(String.fromCharCode(0x0020)", 0, Number(String.… 88 …array[item++] = new TestCase( SECTION, "Number(String.fromCharCode(0x000C)", 0, Number(String.… [all …]
|
D | 9.5-2.js | 92 var item = 0; 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, "Infinit… 97 …array[item++] = new TestCase( SECTION, "-Infinity << 0", 0, "-Infini… 98 …array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY << 0", 0, Number.P… 99 …array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY << 0", 0, Number.N… 100 …array[item++] = new TestCase( SECTION, "Number.NaN << 0", 0, Number.N… 102 …array[item++] = new TestCase( SECTION, "Number.MIN_VALUE << 0", 0, Number.M… 103 …array[item++] = new TestCase( SECTION, "-Number.MIN_VALUE << 0", 0, -Number.… [all …]
|
D | 9.9-1.js | 53 var item = 0; 55 …array[item++] = new TestCase( SECTION, "Object(true).valueOf()", true, (Objec… 56 …array[item++] = new TestCase( SECTION, "typeof Object(true)", "object", typeof… 57 …array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Objec… 59 …array[item++] = new TestCase( SECTION, "Object(false).valueOf()", false, (Obje… 60 …array[item++] = new TestCase( SECTION, "typeof Object(false)", "object", typeof… 61 …array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Objec… 63 …array[item++] = new TestCase( SECTION, "Object(0).valueOf()", 0, (Objec… 64 …array[item++] = new TestCase( SECTION, "typeof Object(0)", "object", typeof… 65 …array[item++] = new TestCase( SECTION, "(Object(0)).__proto__", Number.prototype, (Object… [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
D | 11.4.6.js | 54 var item = 0; 55 array[item++] = new TestCase( SECTION, "+('')", 0, +("") ); 56 array[item++] = new TestCase( SECTION, "+(' ')", 0, +(" ") ); 57 array[item++] = new TestCase( SECTION, "+(\\t)", 0, +("\t") ); 58 array[item++] = new TestCase( SECTION, "+(\\n)", 0, +("\n") ); 59 array[item++] = new TestCase( SECTION, "+(\\r)", 0, +("\r") ); 60 array[item++] = new TestCase( SECTION, "+(\\f)", 0, +("\f") ); 62 …array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x0009)", 0, +(String.fromCharCo… 63 …array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x0020)", 0, +(String.fromCharCo… 64 …array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x000C)", 0, +(String.fromCharCo… [all …]
|
D | 11.9.1.js | 65 var item = 0; 69 array[item++] = new TestCase( SECTION, "void 0 = void 0", true, void 0 == void 0 ); 70 array[item++] = new TestCase( SECTION, "null == null", true, null == null ); 74 …array[item++] = new TestCase( SECTION, "NaN == NaN", false, Number.NaN == Number.N… 75 array[item++] = new TestCase( SECTION, "NaN == 0", false, Number.NaN == 0 ); 76 array[item++] = new TestCase( SECTION, "0 == NaN", false, 0 == Number.NaN ); 77 …array[item++] = new TestCase( SECTION, "NaN == Infinity", false, Number.NaN == Number.P… 78 …array[item++] = new TestCase( SECTION, "Infinity == NaN", false, Number.POSITIVE_INFINI… 82 …array[item++] = new TestCase( SECTION, "Number.MAX_VALUE == Number.MAX_VALUE", true, Number… 83 …array[item++] = new TestCase( SECTION, "Number.MIN_VALUE == Number.MIN_VALUE", true, Number… [all …]
|
D | 11.9.2.js | 64 var item = 0; 68 … array[item++] = new TestCase( SECTION, "void 0 == void 0", false, void 0 != void 0 ); 69 array[item++] = new TestCase( SECTION, "null == null", false, null != null ); 73 …array[item++] = new TestCase( SECTION, "NaN != NaN", true, Number.NaN != Number.Na… 74 array[item++] = new TestCase( SECTION, "NaN != 0", true, Number.NaN != 0 ); 75 array[item++] = new TestCase( SECTION, "0 != NaN", true, 0 != Number.NaN ); 76 …array[item++] = new TestCase( SECTION, "NaN != Infinity", true, Number.NaN != Number.PO… 77 …array[item++] = new TestCase( SECTION, "Infinity != NaN", true, Number.POSITIVE_INFINIT… 81 …array[item++] = new TestCase( SECTION, "Number.MAX_VALUE != Number.MAX_VALUE", false, Numbe… 82 …array[item++] = new TestCase( SECTION, "Number.MIN_VALUE != Number.MIN_VALUE", false, Numbe… [all …]
|
D | 11.9.3.js | 64 var item = 0; 68 array[item++] = new TestCase( SECTION, "void 0 = void 0", true, void 0 == void 0 ); 69 array[item++] = new TestCase( SECTION, "null == null", true, null == null ); 73 …array[item++] = new TestCase( SECTION, "NaN == NaN", false, Number.NaN == Number.N… 74 array[item++] = new TestCase( SECTION, "NaN == 0", false, Number.NaN == 0 ); 75 array[item++] = new TestCase( SECTION, "0 == NaN", false, 0 == Number.NaN ); 76 …array[item++] = new TestCase( SECTION, "NaN == Infinity", false, Number.NaN == Number.P… 77 …array[item++] = new TestCase( SECTION, "Infinity == NaN", false, Number.POSITIVE_INFINI… 81 …array[item++] = new TestCase( SECTION, "Number.MAX_VALUE == Number.MAX_VALUE", true, Number… 82 …array[item++] = new TestCase( SECTION, "Number.MIN_VALUE == Number.MIN_VALUE", true, Number… [all …]
|
D | 11.4.5.js | 62 var item = 0; 65 …array[item++] = new TestCase( SECTION, "var MYVAR; --MYVAR", NaN, … 66 …array[item++] = new TestCase( SECTION, "var MYVAR= void 0; --MYVAR", NaN, … 67 …array[item++] = new TestCase( SECTION, "var MYVAR=null; --MYVAR", -1, … 68 …array[item++] = new TestCase( SECTION, "var MYVAR=true; --MYVAR", 0, … 69 …array[item++] = new TestCase( SECTION, "var MYVAR=false; --MYVAR", -1, … 74 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;--MYVAR", Number.POS… 75 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.NEGATIVE_INFINITY;--MYVAR", Number.NEG… 76 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.NaN;--MYVAR", Number.NaN… 80 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;--MYVAR;MYVAR", Numb… [all …]
|
D | 11.4.4.js | 63 var item = 0; 67 …array[item++] = new TestCase( SECTION, "var MYVAR; ++MYVAR", NaN, … 68 …array[item++] = new TestCase( SECTION, "var MYVAR= void 0; ++MYVAR", NaN, … 69 …array[item++] = new TestCase( SECTION, "var MYVAR=null; ++MYVAR", 1, … 70 …array[item++] = new TestCase( SECTION, "var MYVAR=true; ++MYVAR", 2, … 71 …array[item++] = new TestCase( SECTION, "var MYVAR=false; ++MYVAR", 1, … 76 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;++MYVAR", Number.POS… 77 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.NEGATIVE_INFINITY;++MYVAR", Number.NEG… 78 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.NaN;++MYVAR", Number.NaN… 82 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;++MYVAR;MYVAR", Numb… [all …]
|
D | 11.3.2.js | 64 var item = 0; 67 …array[item++] = new TestCase( SECTION, "var MYVAR; MYVAR--", NaN, … 68 …array[item++] = new TestCase( SECTION, "var MYVAR= void 0; MYVAR--", NaN, … 69 …array[item++] = new TestCase( SECTION, "var MYVAR=null; MYVAR--", 0, … 70 …array[item++] = new TestCase( SECTION, "var MYVAR=true; MYVAR--", 1, … 71 …array[item++] = new TestCase( SECTION, "var MYVAR=false; MYVAR--", 0, … 75 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;MYVAR--", Number.POS… 76 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.NEGATIVE_INFINITY;MYVAR--", Number.NEG… 77 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.NaN;MYVAR--", Number.NaN… 81 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;MYVAR--;MYVAR", Numb… [all …]
|
D | 11.3.1.js | 64 var item = 0; 67 …array[item++] = new TestCase( SECTION, "var MYVAR; MYVAR++", NaN, … 68 …array[item++] = new TestCase( SECTION, "var MYVAR= void 0; MYVAR++", NaN, … 69 …array[item++] = new TestCase( SECTION, "var MYVAR=null; MYVAR++", 0, … 70 …array[item++] = new TestCase( SECTION, "var MYVAR=true; MYVAR++", 1, … 71 …array[item++] = new TestCase( SECTION, "var MYVAR=false; MYVAR++", 0, … 75 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;MYVAR++", Number.POS… 76 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.NEGATIVE_INFINITY;MYVAR++", Number.NEG… 77 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.NaN;MYVAR++", Number.NaN… 81 …array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;MYVAR++;MYVAR", Numb… [all …]
|
D | 11.5.3.js | 80 var item = 0; 84 …array[item++] = new TestCase( SECTION, "Number.NaN % Number.NaN", Number.NaN, Number.NaN… 85 …array[item++] = new TestCase( SECTION, "Number.NaN % 1", Number.NaN, Number.NaN… 86 …array[item++] = new TestCase( SECTION, "1 % Number.NaN", Number.NaN, 1 % Number… 88 …array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY % Number.NaN", Number.NaN, … 89 …array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY % Number.NaN", Number.NaN, … 94 …array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY % Number.NEGATIVE_INFINITY", … 95 …array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY % Number.NEGATIVE_INFINITY", … 96 …array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY % Number.POSITIVE_INFINITY", … 97 …array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY % Number.POSITIVE_INFINITY", … [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/ |
D | 15.5.3.2-1.js | 53 var item = 0; 55 …array[item++] = new TestCase( SECTION, "typeof String.fromCharCode", "function", typeof Str… 56 …array[item++] = new TestCase( SECTION, "typeof String.prototype.fromCharCode", "undefined… 57 …array[item++] = new TestCase( SECTION, "var x = new String(); typeof x.fromCharCode", "undefined… 58 …array[item++] = new TestCase( SECTION, "String.fromCharCode.length", 1, String.fromCha… 60 …array[item++] = new TestCase( SECTION, "String.fromCharCode()", "", String.fromCha… 61 …array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0020)", " ", String.fromChar… 62 …array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0021)", "!", String.fromChar… 63 …array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0022)", "\"", String.fromCha… 64 …array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0023)", "#", String.fromChar… [all …]
|
D | 15.5.4.4-4.js | 62 var item = 0; 74 …array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;… 75 …array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;… 76 …array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;… 77 …array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;… 78 …array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;… 80 …array[item++] = new TestCase( SECTION, "x = true; x.__proto.charAt = String.prototype.charAt; … 81 …array[item++] = new TestCase( SECTION, "x = true; x.__proto.charAt = String.prototype.charAt; … 82 …array[item++] = new TestCase( SECTION, "x = true; x.__proto.charAt = String.prototype.charAt; … 83 …array[item++] = new TestCase( SECTION, "x = true; x.__proto.charAt = String.prototype.charAt; … [all …]
|
D | 15.5.1.js | 51 var item = 0; 53 …array[item++] = new TestCase( SECTION, "String('string primitive')", "string primitive", String('s… 54 array[item++] = new TestCase( SECTION, "String(void 0)", "undefined", String( void 0) ); 55 array[item++] = new TestCase( SECTION, "String(null)", "null", String( null ) ); 56 array[item++] = new TestCase( SECTION, "String(true)", "true", String( true) ); 57 array[item++] = new TestCase( SECTION, "String(false)", "false", String( false ) ); 58 … array[item++] = new TestCase( SECTION, "String(Boolean(true))", "true", String(Boolean(true)) ); 59 …array[item++] = new TestCase( SECTION, "String(Boolean(false))", "false", String(Boolean(false)) … 60 … array[item++] = new TestCase( SECTION, "String(Boolean())", "false", String(Boolean(false)) ); 61 … array[item++] = new TestCase( SECTION, "String(new Array())", "", String( new Array()) ); [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
D | 15.8.2.13.js | 44 var item = 0; 46 …array[item++] = new TestCase( SECTION, "Math.pow.length", 2, … 48 …array[item++] = new TestCase( SECTION, "Math.pow()", Number.NaN, … 49 …array[item++] = new TestCase( SECTION, "Math.pow(null, null)", 1, … 50 …array[item++] = new TestCase( SECTION, "Math.pow(void 0, void 0)", Number.NaN, … 51 …array[item++] = new TestCase( SECTION, "Math.pow(true, false)", 1, … 52 …array[item++] = new TestCase( SECTION, "Math.pow(false,true)", 0, … 53 …array[item++] = new TestCase( SECTION, "Math.pow('2','32')", 4294967296, … 55 …array[item++] = new TestCase( SECTION, "Math.pow(1,NaN)", Number.NaN, … 56 …array[item++] = new TestCase( SECTION, "Math.pow(0,NaN)", Number.NaN, … [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
D | 15.6.2.js | 52 var item = 0; 54 …array[item++] = new TestCase( SECTION, "typeof (new Boolean(1))", "object", t… 55 …array[item++] = new TestCase( SECTION, "(new Boolean(1)).constructor", Boolean.prototype.cons… 56 array[item++] = new TestCase( SECTION, 60 …array[item++] = new TestCase( SECTION, "(new Boolean(1)).valueOf()", true, (new Boolean(… 61 …array[item++] = new TestCase( SECTION, "typeof new Boolean(1)", "object", typeof new B… 62 …array[item++] = new TestCase( SECTION, "(new Boolean(0)).constructor", Boolean.prototype.cons… 63 array[item++] = new TestCase( SECTION, 67 …array[item++] = new TestCase( SECTION, "(new Boolean(0)).valueOf()", false, (new Boolean… 68 …array[item++] = new TestCase( SECTION, "typeof new Boolean(0)", "object", typeof new B… [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
D | 15.2.1.1.js | 61 var item = 0; 65 …array[item++] = new TestCase( SECTION, "Object(null).valueOf()", NULL_OBJECT, (NULL_O… 66 …array[item++] = new TestCase( SECTION, "typeof Object(null)", "object", typeof… 67 …array[item++] = new TestCase( SECTION, "Object(null).__proto__", Object.prototype, (Objec… 71 …array[item++] = new TestCase( SECTION, "Object(void 0).valueOf()", UNDEFINED_OBJECT, … 72 …array[item++] = new TestCase( SECTION, "typeof Object(void 0)", "object", type… 73 …array[item++] = new TestCase( SECTION, "Object(void 0).__proto__", Object.prototype, (Obj… 75 …array[item++] = new TestCase( SECTION, "Object(true).valueOf()", true, (Objec… 76 …array[item++] = new TestCase( SECTION, "typeof Object(true)", "object", typeof… 77 …array[item++] = new TestCase( SECTION, "var MYOB = Object(true); MYOB.toString = Object.prototype.… [all …]
|
/external/openssl/crypto/pqueue/ |
D | pqueue.c | 73 pitem *item = (pitem *) OPENSSL_malloc(sizeof(pitem)); in pitem_new() local 74 if (item == NULL) return NULL; in pitem_new() 76 memcpy(item->priority,prio64be,sizeof(item->priority)); in pitem_new() 78 item->data = data; in pitem_new() 79 item->next = NULL; in pitem_new() 81 return item; in pitem_new() 85 pitem_free(pitem *item) in pitem_free() argument 87 if (item == NULL) return; in pitem_free() 89 OPENSSL_free(item); in pitem_free() 111 pqueue_insert(pqueue_s *pq, pitem *item) in pqueue_insert() argument [all …]
|