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
52
) sorted by null
1
2
3
/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);
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);
221
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);
mirror-regexp.js
63
assertTrue(mirror
instanceof
debug.Mirror);
64
assertTrue(mirror
instanceof
debug.ValueMirror);
65
assertTrue(mirror
instanceof
debug.ObjectMirror);
66
assertTrue(mirror
instanceof
debug.RegExpMirror);
mirror-unresolved-function.js
50
assertTrue(mirror
instanceof
debug.Mirror);
51
assertTrue(mirror
instanceof
debug.ValueMirror);
52
assertTrue(mirror
instanceof
debug.ObjectMirror);
53
assertTrue(mirror
instanceof
debug.FunctionMirror);
call-non-function.js
42
assertTrue(caught[0]
instanceof
TypeError);
43
assertTrue(caught[1]
instanceof
TypeError);
mirror-null.js
37
assertTrue(mirror
instanceof
debug.Mirror);
38
assertTrue(mirror
instanceof
debug.NullMirror);
mirror-undefined.js
37
assertTrue(mirror
instanceof
debug.Mirror);
38
assertTrue(mirror
instanceof
debug.UndefinedMirror);
array-reduce.js
34
if (v
instanceof
Array) {
418
assertTrue(e
instanceof
TypeError,
428
assertTrue(e
instanceof
TypeError,
439
assertTrue(e
instanceof
TypeError,
449
assertTrue(e
instanceof
TypeError,
460
assertTrue(e
instanceof
TypeError,
470
assertTrue(e
instanceof
TypeError,
mirror-script.js
39
assertTrue(mirror
instanceof
debug.Mirror);
40
assertFalse(mirror
instanceof
debug.ValueMirror);
41
assertTrue(mirror
instanceof
debug.ScriptMirror);
/external/proguard/examples/dictionaries/
keywords.txt
57
instanceof
/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);
/cts/tools/vm-tests/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/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/benchmarks/
earley-boyer.js
575
(peephole (postfix "
instanceof
sc_Pair")))
578
return (p
instanceof
sc_Pair);
772
(rabbit
instanceof
sc_Pair && rabbit.cdr === null))
774
else if ((rabbit
instanceof
sc_Pair) &&
775
(rabbit.cdr
instanceof
sc_Pair)) {
1181
(peephole (postfix "
instanceof
sc_Char")))
1184
return (c
instanceof
sc_Char);
1361
(peephole (postfix "
instanceof
sc_Vector")))
1364
return (v
instanceof
sc_Vector);
[
all
...]
/external/webkit/SunSpider/tests/v8-v4/
v8-earley-boyer.js
569
(peephole (postfix "
instanceof
sc_Pair")))
572
return (p
instanceof
sc_Pair);
766
(rabbit
instanceof
sc_Pair && rabbit.cdr === null))
768
else if ((rabbit
instanceof
sc_Pair) &&
769
(rabbit.cdr
instanceof
sc_Pair)) {
1175
(peephole (postfix "
instanceof
sc_Char")))
1178
return (c
instanceof
sc_Char);
1355
(peephole (postfix "
instanceof
sc_Vector")))
1358
return (v
instanceof
sc_Vector);
[
all
...]
Completed in 850 milliseconds
1
2
3