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
254
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/external/chromium_org/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);
/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
...]
/external/proguard/examples/dictionaries/
keywords.txt
57
instanceof
/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
/external/chromium_org/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);
/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);
/external/chromium_org/v8/test/mjsunit/harmony/
collections.js
237
assertTrue(s
instanceof
Set);
238
assertTrue(Set.prototype.add
instanceof
Function)
239
assertTrue(Set.prototype.has
instanceof
Function)
240
assertTrue(Set.prototype.delete
instanceof
Function)
241
assertTrue(Set.prototype.clear
instanceof
Function)
246
assertTrue(m
instanceof
Map);
247
assertTrue(Map.prototype.set
instanceof
Function)
248
assertTrue(Map.prototype.get
instanceof
Function)
249
assertTrue(Map.prototype.has
instanceof
Function)
250
assertTrue(Map.prototype.delete
instanceof
Function
[
all
...]
generators-runtime.js
103
assertTrue(g
instanceof
GeneratorFunction);
106
assertTrue(g
instanceof
Function);
111
assertTrue(f
instanceof
Function); // Sanity check.
112
assertTrue(!(f
instanceof
GeneratorFunction));
114
assertTrue((new GeneratorFunction())
instanceof
GeneratorFunction);
115
assertTrue(GeneratorFunction()
instanceof
GeneratorFunction);
123
assertTrue(g.prototype
instanceof
GeneratorFunctionPrototype);
125
assertTrue(!(g.prototype
instanceof
Function));
proxies.js
[
all
...]
/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 1622 milliseconds
1
2
3
4
5
6
7
8
9
10
11