Searched refs:mirror (Results 1 - 25 of 92) sorted by relevance

1234

/external/chromium_org/v8/test/mjsunit/
H A Dmirror-null.js29 // Test the mirror object for null
31 // Create mirror and JSON representation.
32 var mirror = debug.MakeMirror(null); variable
34 var json = JSON.stringify(serializer.serializeValue(mirror));
36 // Check the mirror hierachy.
37 assertTrue(mirror instanceof debug.Mirror);
38 assertTrue(mirror instanceof debug.NullMirror);
40 // Check the mirror properties.
41 assertTrue(mirror.isNull());
42 assertEquals('null', mirror
[all...]
H A Dmirror-undefined.js29 // Test the mirror object for undefined
31 // Create mirror and JSON representation.
32 var mirror = debug.MakeMirror(void 0); variable
34 var json = JSON.stringify(serializer.serializeValue(mirror));
36 // Check the mirror hierachy.
37 assertTrue(mirror instanceof debug.Mirror);
38 assertTrue(mirror instanceof debug.UndefinedMirror);
40 // Check the mirror properties.
41 assertTrue(mirror.isUndefined());
42 assertEquals('undefined', mirror
[all...]
H A Dmirror-boolean.js29 // Test the mirror object for boolean values
32 // Create mirror and JSON representation.
33 var mirror = debug.MakeMirror(b);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
37 // Check the mirror hierachy.
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.BooleanMirror);
42 // Check the mirror properties.
43 assertTrue(mirror
[all...]
H A Ddebug-referenced-by.js35 // Create mirror for the object.
36 var mirror = debug.MakeMirror(a); variable
39 assertEquals(1, mirror.referencedBy().length);
40 assertEquals(1, mirror.referencedBy(0).length);
41 assertEquals(1, mirror.referencedBy(1).length);
42 assertEquals(1, mirror.referencedBy(10).length);
47 assertEquals(2, mirror.referencedBy().length);
52 assertEquals(3, mirror.referencedBy().length);
55 assertEquals(4, mirror.referencedBy().length);
57 assertEquals(5, mirror
[all...]
H A Dmirror-script.js29 // Test the mirror object for scripts.
33 // Create mirror and JSON representation.
34 var mirror = debug.MakeMirror(f).script();
36 var json = JSON.stringify(serializer.serializeValue(mirror));
38 // Check the mirror hierachy.
39 assertTrue(mirror instanceof debug.Mirror);
40 assertFalse(mirror instanceof debug.ValueMirror);
41 assertTrue(mirror instanceof debug.ScriptMirror);
43 // Check the mirror properties.
44 assertTrue(mirror
92 var mirror = debug.MakeMirror(eval('(function(){\\n 1;\\n})')).script(); variable
[all...]
H A Dmirror-unresolved-function.js29 // Test the mirror object for unresolved functions.
43 var mirror = new debug.UnresolvedFunctionMirror("f");
45 var json = JSON.stringify(serializer.serializeValue(mirror));
49 // Check the mirror hierachy for unresolved functions.
50 assertTrue(mirror instanceof debug.Mirror);
51 assertTrue(mirror instanceof debug.ValueMirror);
52 assertTrue(mirror instanceof debug.ObjectMirror);
53 assertTrue(mirror instanceof debug.FunctionMirror);
55 // Check the mirror properties for unresolved functions.
56 assertTrue(mirror
[all...]
H A Dmirror-number.js29 // Test the mirror object for number values
32 // Create mirror and JSON representation.
33 var mirror = debug.MakeMirror(n);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
37 // Check the mirror hierachy.
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.NumberMirror);
42 // Check the mirror properties.
43 assertTrue(mirror
[all...]
H A Dmirror-function.js29 // Test the mirror object for functions.
44 // Create mirror and JSON representation.
45 var mirror = debug.MakeMirror(f);
47 var json = JSON.stringify(serializer.serializeValue(mirror));
51 // Check the mirror hierachy.
52 assertTrue(mirror instanceof debug.Mirror);
53 assertTrue(mirror instanceof debug.ValueMirror);
54 assertTrue(mirror instanceof debug.ObjectMirror);
55 assertTrue(mirror instanceof debug.FunctionMirror);
57 // Check the mirror propertie
[all...]
H A Ddebug-function-scopes.js45 // A copy of the scope types from mirror-debugger.js.
69 var mirror = Debug.MakeMirror(f1); variable
71 assertEquals(5, mirror.scopeCount());
73 CheckScope(mirror.scope(0), { a: 4, b: 5 }, ScopeType.Closure);
74 CheckScope(mirror.scope(1), { w: 5, v: "Capybara" }, ScopeType.With);
75 CheckScope(mirror.scope(2), { y: 17, z: 22 }, ScopeType.Closure);
76 CheckScope(mirror.scope(3), { x: 5 }, ScopeType.Closure);
77 CheckScope(mirror.scope(4), {}, ScopeType.Global);
81 var mirror = Debug.MakeMirror(f2); variable
83 assertEquals(1, mirror
100 var mirror = Debug.MakeMirror(f3); variable
123 var mirror = Debug.MakeMirror(f4); variable
142 var mirror = Debug.MakeMirror(f5); variable
[all...]
H A Dmirror-date.js29 // Test the mirror object for boolean values
32 // Create mirror and JSON representation.
33 var mirror = debug.MakeMirror(d);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
37 // Check the mirror hierachy.
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.ObjectMirror);
41 assertTrue(mirror instanceof debug.DateMirror);
43 // Check the mirror propertie
[all...]
H A Dmirror-string.js29 // Test the mirror object for string values
31 const kMaxProtocolStringLength = 80; // Constant from mirror-delay.js
34 // Create mirror and JSON representation.
35 var mirror = debug.MakeMirror(s);
37 var json = JSON.stringify(serializer.serializeValue(mirror));
39 // Check the mirror hierachy.
40 assertTrue(mirror instanceof debug.Mirror);
41 assertTrue(mirror instanceof debug.ValueMirror);
42 assertTrue(mirror instanceof debug.StringMirror);
44 // Check the mirror propertie
[all...]
/external/v8/test/mjsunit/
H A Dmirror-null.js29 // Test the mirror object for null
31 // Create mirror and JSON representation.
32 var mirror = debug.MakeMirror(null); variable
34 var json = JSON.stringify(serializer.serializeValue(mirror));
36 // Check the mirror hierachy.
37 assertTrue(mirror instanceof debug.Mirror);
38 assertTrue(mirror instanceof debug.NullMirror);
40 // Check the mirror properties.
41 assertTrue(mirror.isNull());
42 assertEquals('null', mirror
[all...]
H A Dmirror-undefined.js29 // Test the mirror object for undefined
31 // Create mirror and JSON representation.
32 var mirror = debug.MakeMirror(void 0); variable
34 var json = JSON.stringify(serializer.serializeValue(mirror));
36 // Check the mirror hierachy.
37 assertTrue(mirror instanceof debug.Mirror);
38 assertTrue(mirror instanceof debug.UndefinedMirror);
40 // Check the mirror properties.
41 assertTrue(mirror.isUndefined());
42 assertEquals('undefined', mirror
[all...]
H A Dmirror-boolean.js29 // Test the mirror object for boolean values
32 // Create mirror and JSON representation.
33 var mirror = debug.MakeMirror(b);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
37 // Check the mirror hierachy.
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.BooleanMirror);
42 // Check the mirror properties.
43 assertTrue(mirror
[all...]
H A Ddebug-referenced-by.js35 // Create mirror for the object.
36 var mirror = debug.MakeMirror(a); variable
39 assertEquals(1, mirror.referencedBy().length);
40 assertEquals(1, mirror.referencedBy(0).length);
41 assertEquals(1, mirror.referencedBy(1).length);
42 assertEquals(1, mirror.referencedBy(10).length);
47 assertEquals(2, mirror.referencedBy().length);
52 assertEquals(3, mirror.referencedBy().length);
55 assertEquals(4, mirror.referencedBy().length);
57 assertEquals(5, mirror
[all...]
H A Dmirror-script.js29 // Test the mirror object for scripts.
33 // Create mirror and JSON representation.
34 var mirror = debug.MakeMirror(f).script();
36 var json = JSON.stringify(serializer.serializeValue(mirror));
38 // Check the mirror hierachy.
39 assertTrue(mirror instanceof debug.Mirror);
40 assertFalse(mirror instanceof debug.ValueMirror);
41 assertTrue(mirror instanceof debug.ScriptMirror);
43 // Check the mirror properties.
44 assertTrue(mirror
92 var mirror = debug.MakeMirror(eval('(function(){\\n 1;\\n})')).script(); variable
[all...]
H A Dmirror-unresolved-function.js29 // Test the mirror object for unresolved functions.
43 var mirror = new debug.UnresolvedFunctionMirror("f");
45 var json = JSON.stringify(serializer.serializeValue(mirror));
49 // Check the mirror hierachy for unresolved functions.
50 assertTrue(mirror instanceof debug.Mirror);
51 assertTrue(mirror instanceof debug.ValueMirror);
52 assertTrue(mirror instanceof debug.ObjectMirror);
53 assertTrue(mirror instanceof debug.FunctionMirror);
55 // Check the mirror properties for unresolved functions.
56 assertTrue(mirror
[all...]
H A Dmirror-number.js29 // Test the mirror object for number values
32 // Create mirror and JSON representation.
33 var mirror = debug.MakeMirror(n);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
37 // Check the mirror hierachy.
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.NumberMirror);
42 // Check the mirror properties.
43 assertTrue(mirror
[all...]
H A Dmirror-function.js29 // Test the mirror object for functions.
44 // Create mirror and JSON representation.
45 var mirror = debug.MakeMirror(f);
47 var json = JSON.stringify(serializer.serializeValue(mirror));
51 // Check the mirror hierachy.
52 assertTrue(mirror instanceof debug.Mirror);
53 assertTrue(mirror instanceof debug.ValueMirror);
54 assertTrue(mirror instanceof debug.ObjectMirror);
55 assertTrue(mirror instanceof debug.FunctionMirror);
57 // Check the mirror propertie
[all...]
H A Dmirror-date.js29 // Test the mirror object for boolean values
32 // Create mirror and JSON representation.
33 var mirror = debug.MakeMirror(d);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
37 // Check the mirror hierachy.
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.ObjectMirror);
41 assertTrue(mirror instanceof debug.DateMirror);
43 // Check the mirror propertie
[all...]
H A Dmirror-string.js29 // Test the mirror object for string values
31 const kMaxProtocolStringLength = 80; // Constant from mirror-delay.js
34 // Create mirror and JSON representation.
35 var mirror = debug.MakeMirror(s);
37 var json = JSON.stringify(serializer.serializeValue(mirror));
39 // Check the mirror hierachy.
40 assertTrue(mirror instanceof debug.Mirror);
41 assertTrue(mirror instanceof debug.ValueMirror);
42 assertTrue(mirror instanceof debug.StringMirror);
44 // Check the mirror propertie
[all...]
H A Dmirror-object.js29 // Test the mirror object for objects
44 // Create mirror and JSON representation.
45 var mirror = debug.MakeMirror(obj);
47 var json = JSON.stringify(serializer.serializeValue(mirror));
51 // Check the mirror hierachy.
52 assertTrue(mirror instanceof debug.Mirror, 'Unexpected mirror hierachy');
53 assertTrue(mirror instanceof debug.ValueMirror, 'Unexpected mirror hierachy');
54 assertTrue(mirror instanceo
[all...]
/external/chromium_org/v8/test/mjsunit/harmony/
H A Ddebug-function-scopes.js47 // A copy of the scope types from mirror-debugger.js.
73 var mirror = Debug.MakeMirror(f1); variable
75 assertEquals(4, mirror.scopeCount());
77 CheckScope(mirror.scope(0), { a: 4, b: 5 }, ScopeType.Closure);
78 CheckScope(mirror.scope(1), { z: 22, w: 5, v: "Capybara" }, ScopeType.Closure);
79 CheckScope(mirror.scope(2), { x: 5 }, ScopeType.Closure);
80 CheckScope(mirror.scope(3), {}, ScopeType.Global);
105 var mirror = Debug.MakeMirror(f2); variable
107 assertEquals(5, mirror.scopeCount());
110 CheckScope(mirror
[all...]
/external/chromium_org/third_party/skia/src/animator/
H A DSkAnimateProperties.h15 SK_PROPERTY(mirror),
/external/skia/src/animator/
H A DSkAnimateProperties.h15 SK_PROPERTY(mirror),

Completed in 245 milliseconds

1234