/external/v8/test/mjsunit/ |
instanceof.js | 28 assertTrue({} instanceof Object); 29 assertTrue([] instanceof Object); 31 assertFalse({} instanceof Array); 32 assertTrue([] instanceof Array); 43 assertTrue(C instanceof F); 44 assertTrue(B instanceof F); 45 assertFalse(A instanceof F); 48 assertTrue(C instanceof F); 49 assertFalse(B instanceof F); 50 assertFalse(A instanceof F) [all...] |
global-const-var-conflicts.js | 36 try { eval("var a"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 38 try { eval("var a = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 42 try { eval("var b"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 44 try { eval("var b = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 49 try { eval("const c"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 52 try { eval("const c = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 57 try { eval("const d"); } catch (e) { caught++; assertTrue(e instanceof TypeError); } 60 try { eval("const d = 1"); } catch (e) { caught++; assertTrue(e instanceof TypeError); }
|
mirror-function.js | 52 assertTrue(mirror instanceof debug.Mirror); 53 assertTrue(mirror instanceof debug.ValueMirror); 54 assertTrue(mirror instanceof debug.ObjectMirror); 55 assertTrue(mirror instanceof debug.FunctionMirror); 65 assertTrue(mirror.constructorFunction() instanceof debug.ObjectMirror); 66 assertTrue(mirror.protoObject() instanceof debug.Mirror); 67 assertTrue(mirror.prototypeObject() instanceof debug.Mirror);
|
/external/v8/test/mjsunit/regress/ |
polymorphic-accessor-test-context.js | 7 function t1() { return this instanceof t1; } 8 function t2() { return this instanceof t2; } 11 Object.defineProperty(o1, "t", {get:function() { return this instanceof o1.constructor; }}); 13 Object.defineProperty(o2, "t", {get:function() { return this instanceof o1.constructor; }});
|
regress-4376-1.js | 9 function foo(y) { return y instanceof Bar; }
|
regress-4376-2.js | 8 function foo() { return x instanceof Foo; }
|
regress-4376-3.js | 7 function foo() { return x instanceof Foo; }
|
regress-734862.js | 33 assertTrue(catcher(null, 'foo') instanceof TypeError); 34 assertTrue(catcher(void 0, 'foo') instanceof TypeError); 35 assertTrue(catcher(null, 123) instanceof TypeError); 36 assertTrue(catcher(void 0, 123) instanceof TypeError);
|
regress-crbug-516592.js | 17 assertTrue(e instanceof RangeError);
|
regress-ensure-initial-map.js | 10 return o instanceof x;
|
regress-inline-class-constructor.js | 13 null instanceof B;
|
/external/v8/test/webkit/ |
class-constructor-return.js | 50 shouldBeTrue('(new BaseNoReturn) instanceof BaseNoReturn'); 53 shouldBeTrue('(new BaseReturnImplicit) instanceof BaseReturnImplicit'); 55 shouldBeTrue('(new BaseReturnUndefined) instanceof BaseReturnUndefined'); 59 shouldBeTrue('(new BaseReturnThis) instanceof BaseReturnThis'); 62 shouldBeFalse('(new BaseReturnObject) instanceof BaseReturnObject'); 64 shouldBeFalse('(new BaseReturnObject2) instanceof BaseReturnObject'); 68 shouldBeTrue('(new BaseReturnString) instanceof BaseReturnString'); 70 shouldBeTrue('(new BaseReturnNumber) instanceof BaseReturnNumber'); 72 shouldBeTrue('(new BaseReturnNull) instanceof BaseReturnNull'); 74 shouldBeTrue('(new BaseReturnSymbol) instanceof BaseReturnSymbol') [all...] |
/external/v8/test/mjsunit/es6/ |
classes-subclass-builtins.js | 33 assertTrue(s instanceof Object); 34 assertTrue(s instanceof A); 46 assertTrue(n instanceof Object); 47 assertTrue(n instanceof A); 60 assertTrue(b instanceof Object); 61 assertTrue(b instanceof A); 100 assertTrue(func instanceof Object); 101 assertTrue(func instanceof Function); 102 assertTrue(func instanceof A); 111 assertTrue(obj instanceof Object) [all...] |
instanceof-proxies.js | 8 // Test instanceof with proxies. 12 return x instanceof Array; 38 x instanceof Array; 57 // instanceof will cause an inifinite prototype walk. 58 assertThrows(() => { proxy instanceof Object }, RangeError); 61 assertThrows(() => { proxy instanceof Object }, RangeError);
|
mirror-symbols.js | 15 assertTrue(mirror instanceof debug.Mirror); 16 assertTrue(mirror instanceof debug.ValueMirror); 17 assertTrue(mirror instanceof debug.SymbolMirror);
|
/external/proguard/examples/dictionaries/ |
keywords.txt | 57 instanceof
|
/external/v8/test/mjsunit/compiler/ |
regress-572409.js | 8 o instanceof RegExp;
|
/external/v8/test/mjsunit/harmony/ |
promise-species.js | 14 assertTrue(Promise.resolve(test) instanceof Promise); 15 assertFalse(Promise.resolve(test) instanceof bogusConstructor); 41 assertTrue(myPromise instanceof MyPromise); 42 assertTrue(myPromise instanceof Promise);
|
proxies-cross-realm-exception.js | 13 assertFalse(Realm.eval(realm, "3; Realm.global(0) instanceof Object")); 18 assertFalse(Realm.eval(realm, "1; Realm.global(0) instanceof Object")); 22 "()=>{1.1; return Realm.global(0) instanceof Object; }"); 33 assertFalse(Realm.eval(realm, "2; Realm.global(0) instanceof Object")); 42 assertFalse(Realm.eval(realm, "4; Realm.global(0) instanceof Object")); 53 assertFalse(Realm.eval(realm, "5; Realm.global(0) instanceof Object"));
|
proxies.js | 964 // Instanceof (instanceof) 982 assertTrue(o1 instanceof Object) 983 assertFalse(o1 instanceof f0) 984 assertFalse(o1 instanceof f1) 985 assertFalse(o1 instanceof f2) 986 assertFalse(o1 instanceof f3) 987 assertTrue(p1 instanceof Object) 988 assertFalse(p1 instanceof f0) 989 assertFalse(p1 instanceof f1 [all...] |
/prebuilts/tools/common/proguard/proguard4.7/examples/dictionaries/ |
keywords.txt | 57 instanceof
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
CommonErrorNode.js | 29 if ( this.start instanceof org.antlr.runtime.Token ) { 37 else if ( this.start instanceof org.antlr.runtime.tree.Tree ) { 49 if ( this.trappedException instanceof org.antlr.runtime.MissingTokenException ) { 54 else if ( this.trappedException instanceof org.antlr.runtime.UnwantedTokenException ) { 59 else if ( this.trappedException instanceof org.antlr.runtime.MismatchedTokenException ) { 62 else if ( this.trappedException instanceof org.antlr.runtime.NoViableAltException ) {
|
/dalvik/dx/tests/106-verify-object-ops/ |
run | 33 oneop instanceof
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/check_cast/d/ |
T_check_cast_2.d | 62 ; (SubClass instanceof SuperClass) 67 ; (SubClass[] instanceof SuperClass[]) 73 ; (SubClass[] instanceof Object) 77 ; (SubClass instanceof SuperInterface) 83 ; !(SuperClass instanceof SubClass) 95 ; !(SubClass instanceof SuperInterface2) 107 ; !(SubClass[] instanceof SuperInterface) 118 ; !(SubClass[] instanceof SubClass) 129 ; !(SuperClass[] instanceof SubClass[])
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/instance_of/d/ |
T_instance_of_2.d | 62 ; (SubClass instanceof SuperClass) 68 ; (SubClass[] instanceof SuperClass[]) 74 ; (SubClass[] instanceof Object) 79 ; (SubClass instanceof SuperInterface) 85 ; !(SuperClass instanceof SubClass) 91 ; !(SubClass instanceof SuperInterface2) 97 ; !(SubClass[] instanceof SuperInterface) 102 ; !(SubClass[] instanceof SubClass) 107 ; !(SuperClass[] instanceof SubClass[])
|