/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
3d-cube.js | 5 var Q = new Array(); 6 var MTrans = new Array(); // transformation matrix 7 var MQube = new Array(); // position information of qube 8 var I = new Array(); // entity matrix 9 var Origin = new Object(); 10 var Testing = new Object(); 13 var DisplArea = new Object(); 71 var Cross = new Array(); 79 var A = new Array(); var B = new Array(); [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
3d-cube.js | 5 var Q = new Array(); 6 var MTrans = new Array(); // transformation matrix 7 var MQube = new Array(); // position information of qube 8 var I = new Array(); // entity matrix 9 var Origin = new Object(); 10 var Testing = new Object(); 13 var DisplArea = new Object(); 71 var Cross = new Array(); 79 var A = new Array(); var B = new Array(); [all...] |
/external/v8/test/mjsunit/ |
external-array.js | 36 var a = new Int32Array(2); 48 return new ArrayBuffer(); 53 var ab = new ArrayBuffer(12); 54 var derived_uint8 = new Uint8Array(ab); 56 var derived_uint32 = new Uint32Array(ab); 58 var derived_uint32_2 = new Uint32Array(ab,4); 60 var derived_uint32_3 = new Uint32Array(ab,4,1); 66 new Uint32Array(ab,4,3); 70 new Uint32Array(ab,16); 77 new Uint32Array(ab,5) [all...] |
mirror-error.js | 48 var refs = new MirrorRefCache( 86 testErrorMirror(new Error()); 87 testErrorMirror(new Error('This does not work')); 88 testErrorMirror(new Error(123+456)); 89 testErrorMirror(new EvalError('EvalError')); 90 testErrorMirror(new RangeError('RangeError')); 91 testErrorMirror(new ReferenceError('ReferenceError')); 92 testErrorMirror(new SyntaxError('SyntaxError')); 93 testErrorMirror(new TypeError('TypeError')); 94 testErrorMirror(new URIError('URIError')) [all...] |
prototype.js | 34 B.prototype = new A(); 35 C.prototype = new B(); 36 var result = new C(); 66 var p = new Object(); 68 new D(); 71 assertEquals(1, (new D).y); 83 assertEquals(2, (new X).length); 84 assertEquals(3, (new Y).length); 88 var test = new Object; 89 test.__proto__ = (new Array()).__proto__ [all...] |
strict-equals.js | 47 assertFalse('foo' === new String('foo')); 48 assertFalse(new String('foo') === new String('foo')); 49 var s = new String('foo'); 72 assertFalse(true === new Boolean(true)); 73 assertFalse(true === new Boolean(false)); 74 assertFalse(false === new Boolean(true)); 75 assertFalse(false === new Boolean(false)); 83 assertFalse(0 === new Number(0)); 84 assertFalse(1 === new Number(1)) [all...] |
string-add.js | 108 assertEquals("142", "1" + new Number(42), "sN"); 109 assertEquals("421", new Number(42) + "1", "Ns"); 110 assertEquals(84, new Number(42) + new Number(42), "NN"); 112 assertEquals("142", "1" + new String("42"), "sS"); 113 assertEquals("421", new String("42") + "1", "Ss"); 114 assertEquals("142", "1" + new String("42"), "sS"); 115 assertEquals("4242", new String("42") + new String("42"), "SS"); 121 assertEquals("1true", "1" + new Boolean(true), "sB") [all...] |
regexp-multiline.js | 83 var a = new RegExp("^" + lc + "$"); 85 a = new RegExp("^" + lc + "$", "i"); 88 var A = new RegExp("^" + uc + "$"); 90 A = new RegExp("^" + uc + "$", "i"); 93 a = new RegExp("^[" + lc + "]$"); 95 a = new RegExp("^[" + lc + "]$", "i"); 98 A = new RegExp("^[" + uc + "]$"); 100 A = new RegExp("^[" + uc + "]$", "i"); 112 assertThrows("a = new RegExp('[z-a]');");
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
BaseTreeAdaptor.as | 35 var t:CommonErrorNode = new CommonErrorNode(input, start, stop, e); 57 // ensure new subtree root has parent/child index set 58 setChildIndex(newTree, getChildIndex(t)); // same index in new tree 85 * old=^(nil a b c), new=r yields ^(r a b c) 86 * old=^(a b c), new=r yields ^(r ^(a b c)) 89 * child as the new root node. 91 * old=^(nil a b c), new=^(nil r) yields ^(r a b c) 92 * old=^(a b c), new=^(nil r) yields ^(r ^(a b c)) 96 * old=null, new=r yields r 97 * old=null, new=^(nil r) yields ^(nil r [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/ |
mock.py | 211 def __init__(self, target, attribute, new, spec, create): 214 self.new = new 230 if patching.new is DEFAULT: 264 new, spec, = self.new, self.spec 266 if new is DEFAULT: 274 new = Mock(spec=spec) 276 new.return_value = Mock(spec=spec) 278 setattr(self.target, self.attribute, new) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/delegation/ |
import.rb | 39 lexer = DIDRMaster::Lexer.new( 'b' ) 40 tokens = ANTLR3::CommonTokenStream.new( lexer ) 41 parser = DIDRMaster::Parser.new( tokens ) 70 lexer = Master2::Lexer.new( 'b' ) 71 tokens = ANTLR3::CommonTokenStream.new( lexer ) 72 parser = Master2::Parser.new( tokens ) 106 parser = Master3::Parser.new( Master3::Lexer.new( 'b' ) ) 149 parser = Master4::Parser.new( Master4::Lexer.new( 'b' ) [all...] |
/external/chromium_org/tools/perf/metrics/ |
smoothness.js | 20 return function() { return new Date().getTime(); }; 53 throw new Error('Start not called.'); 56 throw new Error('Stop was not called.'); 63 throw new Error('Start not called.'); 66 throw new Error('Stop was not called.'); 73 throw new Error('Start not called.'); 76 throw new Error('Stop was not called.'); 105 throw new Error('Already started.'); 164 return new GpuBenchmarkingRenderingStats(); 166 return new RafRenderingStats() [all...] |
/external/chromium_org/v8/test/mjsunit/compiler/ |
load-elimination-global.js | 44 var a = new B(1, 2); 51 var a = new B(1, 2); 58 var a = new B(1, 2); 65 var a = new B(1, 2); 73 var a = new B(2, 3), b = new B(3, 4); 93 var a = new B(2, 3); 105 var a = new B(2, 3); 138 var a = new B(1, 2); 160 var a = new B(6, 7) [all...] |
load-elimination-params.js | 46 assertEquals(14, test_params1(new B(3, 4), new B(4, 5))); 47 assertEquals(110, test_params1(new B(11, 7), new B(44, 8))); 51 assertEquals(6, test_params1(new B(1, 7), new B(2, 8))); 54 var o = new B(a + 1, b);
|
/external/chromium_org/v8/test/mjsunit/ |
mirror-error.js | 48 var refs = new MirrorRefCache( 86 testErrorMirror(new Error()); 87 testErrorMirror(new Error('This does not work')); 88 testErrorMirror(new Error(123+456)); 89 testErrorMirror(new EvalError('EvalError')); 90 testErrorMirror(new RangeError('RangeError')); 91 testErrorMirror(new ReferenceError('ReferenceError')); 92 testErrorMirror(new SyntaxError('SyntaxError')); 93 testErrorMirror(new TypeError('TypeError')); 94 testErrorMirror(new URIError('URIError')) [all...] |
prototype.js | 34 B.prototype = new A(); 35 C.prototype = new B(); 36 var result = new C(); 66 var p = new Object(); 68 new D(); 71 assertEquals(1, (new D).y); 83 assertEquals(2, (new X).length); 84 assertEquals(3, (new Y).length); 88 var test = new Object; 89 test.__proto__ = (new Array()).__proto__ [all...] |
strict-equals.js | 47 assertFalse('foo' === new String('foo')); 48 assertFalse(new String('foo') === new String('foo')); 49 var s = new String('foo'); 72 assertFalse(true === new Boolean(true)); 73 assertFalse(true === new Boolean(false)); 74 assertFalse(false === new Boolean(true)); 75 assertFalse(false === new Boolean(false)); 83 assertFalse(0 === new Number(0)); 84 assertFalse(1 === new Number(1)) [all...] |
new-string-add.js | 28 // Flags: --new-string-add 110 assertEquals("142", "1" + new Number(42), "sN"); 111 assertEquals("421", new Number(42) + "1", "Ns"); 112 assertEquals(84, new Number(42) + new Number(42), "NN"); 114 assertEquals("142", "1" + new String("42"), "sS"); 115 assertEquals("421", new String("42") + "1", "Ss"); 116 assertEquals("142", "1" + new String("42"), "sS"); 117 assertEquals("4242", new String("42") + new String("42"), "SS") [all...] |
stack-traces.js | 31 (new Foo).bar(); 54 return 1 + (new Nirk); 83 new Plonk(); 90 (new Wookie).d(); 107 throw new CustomError("hep-hey", undefined); 111 throw new CustomError("hep-hey", CustomError); 119 return new MyObj(); 123 (new MyObjCreator).Create(); 154 assertEquals(-1, e.stack.indexOf('at new ReferenceError'), 155 "CallerCensorship contained new ReferenceError") [all...] |
string-add.js | 108 assertEquals("142", "1" + new Number(42), "sN"); 109 assertEquals("421", new Number(42) + "1", "Ns"); 110 assertEquals(84, new Number(42) + new Number(42), "NN"); 112 assertEquals("142", "1" + new String("42"), "sS"); 113 assertEquals("421", new String("42") + "1", "Ss"); 114 assertEquals("142", "1" + new String("42"), "sS"); 115 assertEquals("4242", new String("42") + new String("42"), "SS"); 121 assertEquals("1true", "1" + new Boolean(true), "sB") [all...] |
regexp-multiline.js | 83 var a = new RegExp("^" + lc + "$"); 85 a = new RegExp("^" + lc + "$", "i"); 88 var A = new RegExp("^" + uc + "$"); 90 A = new RegExp("^" + uc + "$", "i"); 93 a = new RegExp("^[" + lc + "]$"); 95 a = new RegExp("^[" + lc + "]$", "i"); 98 A = new RegExp("^[" + uc + "]$"); 100 A = new RegExp("^[" + uc + "]$", "i"); 112 assertThrows("a = new RegExp('[z-a]');");
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
scene.js | 13 var mouse = new THREE.Vector2(); 14 var offset = new THREE.Vector3(); 40 shapes[shape.name] = new THREE.CubeGeometry(shape['wx'], shape['wy'], shape['wz']); 47 vertices.push(new THREE.Vector3(shape['points'][i][0], shape['points'][i][1], shape['points'][i][2])); 49 shapes[shape.name] = new THREE.ConvexGeometry(vertices); 54 shapes[shape.name] = new THREE.CylinderGeometry(shape['radius'], shape['radius'], shape['height']) 59 shapes[shape.name] = new THREE.SphereGeometry(shape['radius']); 72 var object = new THREE.Mesh( shape, new THREE.MeshLambertMaterial( { color: Math.random() * 0xffffff } ) ); 154 camera = new THREE.PerspectiveCamera [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
collate6.test | 47 # Test that the default collation sequence applies to new.* references 52 WHEN new.a = 'a' BEGIN 53 INSERT INTO collate6log VALUES(new.a, new.b); 76 # Test that the default collation sequence applies to new.* references 81 INSERT INTO collate6log VALUES(new.a='a', new.b='b'); 111 # one attached to a 'new' reference. 118 INSERT INTO def SELECT * FROM abc WHERE a < new.a COLLATE nocase; 133 INSERT INTO def SELECT * FROM abc WHERE a < new.a COLLATE nocase [all...] |
/external/elfutils/tests/ |
run-get-lines.sh | 34 804842c: /home/drepper/gnu/new-bu/build/ttt/m.c:5:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 35 8048432: /home/drepper/gnu/new-bu/build/ttt/m.c:6:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 36 804844d: /home/drepper/gnu/new-bu/build/ttt/m.c:7:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 37 8048458: /home/drepper/gnu/new-bu/build/ttt/m.c:8:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 38 804845a: /home/drepper/gnu/new-bu/build/ttt/m.c:8:0: is_stmt:yes, end_seq:yes, bb:no, prologue:no, epilogue:no 41 804845c: /home/drepper/gnu/new-bu/build/ttt/b.c:4:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 42 804845f: /home/drepper/gnu/new-bu/build/ttt/b.c:5:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 43 8048464: /home/drepper/gnu/new-bu/build/ttt/b.c:6:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:no 44 8048466: /home/drepper/gnu/new-bu/build/ttt/b.c:6:0: is_stmt:yes, end_seq:yes, bb:no, prologue:no, epilogue:no 47 8048468: /home/drepper/gnu/new-bu/build/ttt/f.c:3:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, epilogue:n [all...] |
/dalvik/dx/ |
Android.mk | 5 # We use copy-file-to-new-target so that the installed 6 # script files' timestamps are at least as new as the 25 $(copy-file-to-new-target) 45 $(copy-file-to-new-target) 63 $(copy-file-to-new-target)
|