Home
last modified time | relevance | path

Searched refs:mirror (Results 1 – 25 of 142) sorted by relevance

123456

/external/v8/test/mjsunit/
Ddebug-function-scopes.js70 var mirror = Debug.MakeMirror(f1); variable
72 assertEquals(6, mirror.scopeCount());
74 CheckScope(mirror.scope(0), { a: 4, b: 5 }, ScopeType.Closure);
75 CheckScope(mirror.scope(1), { w: 5, v: "Capybara" }, ScopeType.With);
76 CheckScope(mirror.scope(2), { y: 17, z: 22 }, ScopeType.Closure);
77 CheckScope(mirror.scope(3), { x: 5 }, ScopeType.Closure);
78 CheckScope(mirror.scope(4), {}, ScopeType.Script);
79 CheckScope(mirror.scope(5), {}, ScopeType.Global);
83 var mirror = Debug.MakeMirror(f2);
85 assertEquals(2, mirror.scopeCount());
[all …]
Dmirror-object.js45 var mirror = debug.MakeMirror(obj);
47 var json = JSON.stringify(serializer.serializeValue(mirror));
52 assertTrue(mirror instanceof debug.Mirror, 'Unexpected mirror hierarchy');
53 assertTrue(mirror instanceof debug.ValueMirror, 'Unexpected mirror hierarchy');
54 assertTrue(mirror instanceof debug.ObjectMirror, 'Unexpected mirror hierarchy');
57 assertTrue(mirror.isObject(), 'Unexpected mirror');
58 assertEquals('object', mirror.type(), 'Unexpected mirror type');
59 assertFalse(mirror.isPrimitive(), 'Unexpected primitive mirror');
60 assertEquals(cls_name, mirror.className(), 'Unexpected mirror class name');
61 …assertTrue(mirror.constructorFunction() instanceof debug.ObjectMirror, 'Unexpected mirror hierarch…
[all …]
Dmirror-script.js34 var mirror = debug.MakeMirror(f).script();
36 var json = JSON.stringify(serializer.serializeValue(mirror));
39 assertTrue(mirror instanceof debug.Mirror);
40 assertFalse(mirror instanceof debug.ValueMirror);
41 assertTrue(mirror instanceof debug.ScriptMirror);
44 assertTrue(mirror.isScript());
45 assertEquals('script', mirror.type());
46 var name = mirror.name();
52 assertEquals(0, mirror.lineOffset());
53 assertEquals(0, mirror.columnOffset());
[all …]
Ddebug-referenced-by.js36 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.referencedBy().length);
67 assertEquals(6, mirror.referencedBy().length);
[all …]
Dmirror-unresolved-function.js43 var mirror = new debug.UnresolvedFunctionMirror("f"); variable
45 var json = JSON.stringify(serializer.serializeValue(mirror));
50 assertTrue(mirror instanceof debug.Mirror);
51 assertTrue(mirror instanceof debug.ValueMirror);
52 assertTrue(mirror instanceof debug.ObjectMirror);
53 assertTrue(mirror instanceof debug.FunctionMirror);
56 assertTrue(mirror.isUnresolvedFunction());
57 assertEquals('function', mirror.type());
58 assertFalse(mirror.isPrimitive());
59 assertEquals("Function", mirror.className());
[all …]
Dmirror-function.js45 var mirror = debug.MakeMirror(f);
47 var json = JSON.stringify(serializer.serializeValue(mirror));
52 assertTrue(mirror instanceof debug.Mirror);
53 assertTrue(mirror instanceof debug.ValueMirror);
54 assertTrue(mirror instanceof debug.ObjectMirror);
55 assertTrue(mirror instanceof debug.FunctionMirror);
58 assertTrue(mirror.isFunction());
59 assertEquals('function', mirror.type());
60 assertFalse(mirror.isPrimitive());
61 assertEquals("Function", mirror.className());
[all …]
Dmirror-regexp.js55 var mirror = debug.MakeMirror(r);
57 var json = JSON.stringify(serializer.serializeValue(mirror));
62 assertTrue(mirror instanceof debug.Mirror);
63 assertTrue(mirror instanceof debug.ValueMirror);
64 assertTrue(mirror instanceof debug.ObjectMirror);
65 assertTrue(mirror instanceof debug.RegExpMirror);
68 assertTrue(mirror.isRegExp());
69 assertEquals('regexp', mirror.type());
70 assertFalse(mirror.isPrimitive());
72 mirror.property('lastIndex').attributes());
[all …]
Dmirror-array.js45 var mirror = debug.MakeMirror(a);
47 var json = JSON.stringify(serializer.serializeValue(mirror));
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');
58 assertTrue(mirror.isArray(), 'Unexpected mirror');
59 assertEquals('object', mirror.type(), 'Unexpected mirror type');
60 assertFalse(mirror.isPrimitive(), 'Unexpected primitive mirror');
61 assertEquals('Array', mirror.className(), 'Unexpected mirror class name');
[all …]
Dmirror-date.js33 var mirror = debug.MakeMirror(d);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.ObjectMirror);
41 assertTrue(mirror instanceof debug.DateMirror);
44 assertTrue(mirror.isDate());
45 assertEquals('object', mirror.type());
46 assertFalse(mirror.isPrimitive());
49 assertEquals(iso8601, mirror.toText());
Dmirror-boolean.js33 var mirror = debug.MakeMirror(b);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.BooleanMirror);
43 assertTrue(mirror.isBoolean());
44 assertEquals('boolean', mirror.type());
45 assertTrue(mirror.isPrimitive());
48 assertEquals(b ? 'true' : 'false', mirror.toText());
Dmirror-number.js33 var mirror = debug.MakeMirror(n);
35 var json = JSON.stringify(serializer.serializeValue(mirror));
38 assertTrue(mirror instanceof debug.Mirror);
39 assertTrue(mirror instanceof debug.ValueMirror);
40 assertTrue(mirror instanceof debug.NumberMirror);
43 assertTrue(mirror.isNumber());
44 assertEquals('number', mirror.type());
45 assertTrue(mirror.isPrimitive());
48 assertEquals(String(n), mirror.toText());
Dmirror-undefined.js32 var mirror = debug.MakeMirror(void 0); variable
34 var json = JSON.stringify(serializer.serializeValue(mirror));
37 assertTrue(mirror instanceof debug.Mirror);
38 assertTrue(mirror instanceof debug.UndefinedMirror);
41 assertTrue(mirror.isUndefined());
42 assertEquals('undefined', mirror.type());
43 assertTrue(mirror.isPrimitive());
46 assertEquals('undefined', mirror.toText());
Dmirror-null.js32 var mirror = debug.MakeMirror(null); variable
34 var json = JSON.stringify(serializer.serializeValue(mirror));
37 assertTrue(mirror instanceof debug.Mirror);
38 assertTrue(mirror instanceof debug.NullMirror);
41 assertTrue(mirror.isNull());
42 assertEquals('null', mirror.type());
43 assertTrue(mirror.isPrimitive());
46 assertEquals('null', mirror.toText());
Dmirror-string.js35 var mirror = debug.MakeMirror(s);
37 var json = JSON.stringify(serializer.serializeValue(mirror));
40 assertTrue(mirror instanceof debug.Mirror);
41 assertTrue(mirror instanceof debug.ValueMirror);
42 assertTrue(mirror instanceof debug.StringMirror);
45 assertTrue(mirror.isString());
46 assertEquals('string', mirror.type());
47 assertTrue(mirror.isPrimitive());
51 assertEquals(s, mirror.toText());
54 mirror.toText().substring(0, kMaxProtocolStringLength));
Dmirror-error.js45 var mirror = debug.MakeMirror(e);
47 var json = JSON.stringify(serializer.serializeValue(mirror));
52 assertTrue(mirror instanceof debug.Mirror);
53 assertTrue(mirror instanceof debug.ValueMirror);
54 assertTrue(mirror instanceof debug.ObjectMirror);
55 assertTrue(mirror instanceof debug.ErrorMirror);
58 assertTrue(mirror.isError());
59 assertEquals('error', mirror.type());
60 assertFalse(mirror.isPrimitive());
61 assertEquals(mirror.message(), e.message, 'source');
Ddebug-setbreakpoint.js80 var mirror;
93 mirror = debug.MakeMirror(o);
94 testArguments(dcp, '{"type":"handle","target":' + mirror.handle() + '}', false);
115 mirror = debug.MakeMirror(f);
116 testArguments(dcp, '{"type":"handle","target":' + mirror.handle() + '}', true, false);
117 mirror = debug.MakeMirror(o.a);
118 testArguments(dcp, '{"type":"handle","target":' + mirror.handle() + '}', true, false);
/external/v8/test/mjsunit/es6/
Dgenerators-mirror.js29 var mirror = debug.MakeMirror(g);
31 var json = JSON.stringify(serializer.serializeValue(mirror));
36 assertTrue(mirror instanceof debug.Mirror);
37 assertTrue(mirror instanceof debug.ValueMirror);
38 assertTrue(mirror instanceof debug.ObjectMirror);
39 assertTrue(mirror instanceof debug.GeneratorMirror);
42 assertTrue(mirror.isGenerator());
43 assertEquals('generator', mirror.type());
44 assertFalse(mirror.isPrimitive());
45 assertEquals('Generator', mirror.className());
[all …]
Ddebug-function-scopes.js75 var mirror = Debug.MakeMirror(f1); variable
77 assertEquals(5, mirror.scopeCount());
79 CheckScope(mirror.scope(0), { a: 4, b: 5 }, ScopeType.Closure);
80 CheckScope(mirror.scope(1), { z: 22, w: 5, v: "Capybara" }, ScopeType.Closure);
81 CheckScope(mirror.scope(2), { x: 5 }, ScopeType.Closure);
82 CheckScope(mirror.scope(3), { top_level_let: 255 }, ScopeType.Script);
83 CheckScope(mirror.scope(4), {}, ScopeType.Global);
108 var mirror = Debug.MakeMirror(f2);
110 assertEquals(5, mirror.scopeCount());
112 CheckScope(mirror.scope(0), { l3: 9 }, ScopeType.Block);
[all …]
Dmirror-symbols.js10 var mirror = debug.MakeMirror(symbol);
12 var json = JSON.stringify(serializer.serializeValue(mirror));
15 assertTrue(mirror instanceof debug.Mirror);
16 assertTrue(mirror instanceof debug.ValueMirror);
17 assertTrue(mirror instanceof debug.SymbolMirror);
20 assertTrue(mirror.isSymbol());
21 assertEquals(description, mirror.description());
22 assertEquals('symbol', mirror.type());
23 assertTrue(mirror.isPrimitive());
25 assertEquals('Symbol(' + description_text + ')', mirror.toText());
[all …]
Dmirror-promises.js22 var mirror = debug.MakeMirror(promise);
24 var json = JSON.stringify(serializer.serializeValue(mirror));
29 assertTrue(mirror instanceof debug.Mirror);
30 assertTrue(mirror instanceof debug.ValueMirror);
31 assertTrue(mirror instanceof debug.ObjectMirror);
32 assertTrue(mirror instanceof debug.PromiseMirror);
35 assertEquals(status, mirror.status());
36 assertTrue(mirror.isPromise());
37 assertEquals('promise', mirror.type());
38 assertFalse(mirror.isPrimitive());
[all …]
Dmirror-collections.js7 function testMapMirror(mirror) { argument
10 var json = JSON.stringify(serializer.serializeValue(mirror));
13 assertTrue(mirror instanceof debug.Mirror);
14 assertTrue(mirror instanceof debug.ValueMirror);
15 assertTrue(mirror instanceof debug.ObjectMirror);
16 assertTrue(mirror instanceof debug.MapMirror);
18 assertTrue(mirror.isMap());
25 function testSetMirror(mirror) { argument
28 var json = JSON.stringify(serializer.serializeValue(mirror));
31 assertTrue(mirror instanceof debug.Mirror);
[all …]
/external/v8/src/debug/
Dmirrors.js131 var mirror;
136 mirror = mirror_cache_[id];
137 if (mirror.value() === value) {
138 return mirror;
141 if (mirror.isNumber() && IsNaN(mirror.value()) &&
143 return mirror;
149 mirror = new UndefinedMirror();
151 mirror = new NullMirror();
153 mirror = new BooleanMirror(value);
155 mirror = new NumberMirror(value);
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jar ... com/sun/mirror/ com/sun/mirror/apt/ com/sun/mirror/apt
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DVideoRendererGui.java114 private boolean mirror; field in VideoRendererGui.YuvImageRenderer
160 RendererCommon.ScalingType scalingType, boolean mirror, RendererCommon.GlDrawer drawer) { in YuvImageRenderer() argument
165 this.mirror = mirror; in YuvImageRenderer()
213 + " x " + videoHeight + ". Rotation: " + rotationDegree + ". Mirror: " + mirror); in updateLayoutMatrix()
225 mirror, videoAspectRatio, (float) displayLayout.width() / displayLayout.height()); in updateLayoutMatrix()
327 RendererCommon.ScalingType scalingType, boolean mirror) { in setPosition() argument
332 && mirror == this.mirror) { in setPosition()
337 ". Mirror: " + mirror); in setPosition()
340 this.mirror = mirror; in setPosition()
450 RendererCommon.ScalingType scalingType, boolean mirror) throws Exception { in createGui() argument
[all …]
/external/llvm/test/Analysis/ScalarEvolution/
Dscev-expander-incorrect-nowrap.ll12 ; The only use for idx.mirror is to induce an nuw for %idx. It does
14 %idx.mirror = phi i8 [ -6, %entry ], [ %idx.mirror.inc, %loop ]
20 %idx.mirror.inc = add nuw i8 %idx.mirror, 1
21 call void @use.i8(i8 %idx.mirror.inc)

123456