/external/chromium_org/v8/test/mjsunit/ |
H A D | mirror-null.js | 29 // 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 D | mirror-undefined.js | 29 // 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 D | mirror-boolean.js | 29 // 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 D | debug-referenced-by.js | 35 // 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 D | mirror-script.js | 29 // 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 D | mirror-unresolved-function.js | 29 // 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 D | mirror-number.js | 29 // 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 D | mirror-function.js | 29 // 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 D | debug-function-scopes.js | 45 // 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 D | mirror-date.js | 29 // 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 D | mirror-string.js | 29 // 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 D | mirror-null.js | 29 // 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 D | mirror-undefined.js | 29 // 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 D | mirror-boolean.js | 29 // 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 D | debug-referenced-by.js | 35 // 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 D | mirror-script.js | 29 // 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 D | mirror-unresolved-function.js | 29 // 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 D | mirror-number.js | 29 // 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 D | mirror-function.js | 29 // 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 D | mirror-date.js | 29 // 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 D | mirror-string.js | 29 // 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 D | mirror-object.js | 29 // 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 D | debug-function-scopes.js | 47 // 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 D | SkAnimateProperties.h | 15 SK_PROPERTY(mirror),
|
/external/skia/src/animator/ |
H A D | SkAnimateProperties.h | 15 SK_PROPERTY(mirror),
|