OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:instanceof
(Results
1 - 25
of
96
) sorted by null
1
2
3
4
/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
34
try { eval("var a"); } catch (e) { caught++; assertTrue(e
instanceof
TypeError); }
36
try { eval("var a = 1"); } catch (e) { caught++; assertTrue(e
instanceof
TypeError); }
40
try { eval("var b"); } catch (e) { caught++; assertTrue(e
instanceof
TypeError); }
42
try { eval("var b = 1"); } catch (e) { caught++; assertTrue(e
instanceof
TypeError); }
46
try { eval("const c"); } catch (e) { caught++; assertTrue(e
instanceof
TypeError); }
48
try { eval("const c = 1"); } catch (e) { caught++; assertTrue(e
instanceof
TypeError); }
52
try { eval("const d"); } catch (e) { caught++; assertTrue(e
instanceof
TypeError); }
54
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);
function-bind.js
215
// Test obj2 is
instanceof
both bar and f.
216
assertTrue(obj2
instanceof
bar);
217
assertTrue(obj2
instanceof
f);
219
// This-args are not relevant to
instanceof
.
224
assertTrue(obj3
instanceof
bar);
225
assertTrue(obj3
instanceof
f);
226
assertFalse(obj3
instanceof
foo);
227
assertFalse(obj3
instanceof
Function);
228
assertFalse(obj3
instanceof
String);
284
assertTrue(cdesc.get
instanceof
Function)
[
all
...]
mirror-boolean.js
38
assertTrue(mirror
instanceof
debug.Mirror);
39
assertTrue(mirror
instanceof
debug.ValueMirror);
40
assertTrue(mirror
instanceof
debug.BooleanMirror);
mirror-array.js
52
assertTrue(mirror
instanceof
debug.Mirror, 'Unexpected mirror hierachy');
53
assertTrue(mirror
instanceof
debug.ValueMirror, 'Unexpected mirror hierachy');
54
assertTrue(mirror
instanceof
debug.ObjectMirror, 'Unexpected mirror hierachy');
55
assertTrue(mirror
instanceof
debug.ArrayMirror, 'Unexpected mirror hierachy');
62
assertTrue(mirror.constructorFunction()
instanceof
debug.ObjectMirror, 'Unexpected mirror hierachy');
64
assertTrue(mirror.protoObject()
instanceof
debug.Mirror, 'Unexpected mirror hierachy');
65
assertTrue(mirror.prototypeObject()
instanceof
debug.Mirror, 'Unexpected mirror hierachy');
71
assertTrue(indexedProperties[i]
instanceof
debug.Mirror, 'Unexpected mirror hierachy');
72
assertTrue(indexedProperties[i]
instanceof
debug.PropertyMirror, 'Unexpected mirror hierachy');
mirror-date.js
38
assertTrue(mirror
instanceof
debug.Mirror);
39
assertTrue(mirror
instanceof
debug.ValueMirror);
40
assertTrue(mirror
instanceof
debug.ObjectMirror);
41
assertTrue(mirror
instanceof
debug.DateMirror);
mirror-error.js
52
assertTrue(mirror
instanceof
debug.Mirror);
53
assertTrue(mirror
instanceof
debug.ValueMirror);
54
assertTrue(mirror
instanceof
debug.ObjectMirror);
55
assertTrue(mirror
instanceof
debug.ErrorMirror);
mirror-object.js
52
assertTrue(mirror
instanceof
debug.Mirror, 'Unexpected mirror hierachy');
53
assertTrue(mirror
instanceof
debug.ValueMirror, 'Unexpected mirror hierachy');
54
assertTrue(mirror
instanceof
debug.ObjectMirror, 'Unexpected mirror hierachy');
61
assertTrue(mirror.constructorFunction()
instanceof
debug.ObjectMirror, 'Unexpected mirror hierachy');
63
assertTrue(mirror.protoObject()
instanceof
debug.Mirror, 'Unexpected mirror hierachy');
64
assertTrue(mirror.prototypeObject()
instanceof
debug.Mirror, 'Unexpected mirror hierachy');
72
assertTrue(properties[i]
instanceof
debug.Mirror, 'Unexpected mirror hierachy');
73
assertTrue(properties[i]
instanceof
debug.PropertyMirror, 'Unexpected mirror hierachy');
80
assertTrue(property_mirror
instanceof
debug.PropertyMirror);
226
assertTrue(mirror
instanceof
debug.ObjectMirror)
[
all
...]
mirror-number.js
38
assertTrue(mirror
instanceof
debug.Mirror);
39
assertTrue(mirror
instanceof
debug.ValueMirror);
40
assertTrue(mirror
instanceof
debug.NumberMirror);
mirror-string.js
40
assertTrue(mirror
instanceof
debug.Mirror);
41
assertTrue(mirror
instanceof
debug.ValueMirror);
42
assertTrue(mirror
instanceof
debug.StringMirror);
/external/proguard/examples/dictionaries/
keywords.txt
57
instanceof
/prebuilts/tools/common/proguard/proguard4.7/examples/dictionaries/
keywords.txt
57
instanceof
/external/webkit/LayoutTests/fast/js/resources/
js-constructors-use-correct-global.js
7
shouldBeTrue("new otherGlobal." + constructors[i] + "()
instanceof
otherGlobal." + constructors[i]);
10
shouldBeTrue("otherGlobal." + constructors[i] + "()
instanceof
otherGlobal." + constructors[i]);
/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
/external/v8/test/mjsunit/regress/
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-667061.js
33
assertTrue(o
instanceof
TypeError);
48
assertTrue(o
instanceof
TypeError);
68
assertTrue(o
instanceof
TypeError);
87
assertTrue(o
instanceof
TypeError);
regress-bind-receiver.js
39
assertEquals(true, lenient.bind(true)()
instanceof
Boolean);
40
assertEquals(true, lenient.bind(42)()
instanceof
Number);
41
assertEquals(true, lenient.bind("")()
instanceof
String);
regress-1207.js
28
// Test throwing an exception from
instanceof
.
32
var f0 = (object
instanceof
encodeURI)('#2: var x = 1; x <= 1 === true'), f1 = 1;
/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[])
/external/v8/test/mjsunit/harmony/
collections.js
205
assertTrue(Set()
instanceof
Set);
206
assertTrue(Map()
instanceof
Map);
207
assertTrue(WeakMap()
instanceof
WeakMap);
231
assertTrue(s
instanceof
Set);
232
assertTrue(Set.prototype.add
instanceof
Function)
233
assertTrue(Set.prototype.has
instanceof
Function)
234
assertTrue(Set.prototype.delete
instanceof
Function)
239
assertTrue(m
instanceof
Map);
240
assertTrue(Map.prototype.set
instanceof
Function)
241
assertTrue(Map.prototype.get
instanceof
Function
[
all
...]
proxies.js
[
all
...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
NoViableAltException.js
16
if ( this.input
instanceof
org.antlr.runtime.CharStream ) {
Completed in 569 milliseconds
1
2
3
4