Home
last modified time | relevance | path

Searched refs:fromJSON (Results 1 – 25 of 26) sorted by relevance

12

/external/v8/test/mjsunit/
Dmirror-unresolved-function.js69 var fromJSON = eval('(' + json + ')'); variable
70 assertEquals('function', fromJSON.type, 'Unexpected mirror type in JSON');
71 assertEquals('Function', fromJSON.className, 'Unexpected mirror class name in JSON');
72 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected c…
73 assertEquals('undefined', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected construct…
74 assertEquals(mirror.protoObject().handle(), fromJSON.protoObject.ref, 'Unexpected proto object hand…
75 assertEquals('undefined', refs.lookup(fromJSON.protoObject.ref).type, 'Unexpected proto object type…
76 assertEquals(mirror.prototypeObject().handle(), fromJSON.prototypeObject.ref, 'Unexpected prototype…
77 assertEquals('undefined', refs.lookup(fromJSON.prototypeObject.ref).type, 'Unexpected prototype obj…
78 assertFalse(fromJSON.resolved);
[all …]
Dmirror-array.js76 var fromJSON = eval('(' + json + ')');
77 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON');
78 assertEquals('Array', fromJSON.className, 'Unexpected mirror class name in JSON');
79 …assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected …
80 …assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected construct…
81 …assertEquals('Array', refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructor …
82 assertEquals(void 0, fromJSON.namedInterceptor, 'No named interceptor expected in JSON');
83 assertEquals(void 0, fromJSON.indexedInterceptor, 'No indexed interceptor expected in JSON');
87 for (var i = 0; i < fromJSON.properties.length; i++) {
88 if (fromJSON.properties[i].name == 'length') {
[all …]
Dmirror-object.js99 var fromJSON = eval('(' + json + ')');
100 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON');
101 assertEquals(cls_name, fromJSON.className, 'Unexpected mirror class name in JSON');
102 …assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected …
103 …assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected construct…
104 …assertEquals(ctor_name, refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructo…
105 …assertEquals(mirror.protoObject().handle(), fromJSON.protoObject.ref, 'Unexpected proto object han…
106 …assertEquals(mirror.protoObject().type(), refs.lookup(fromJSON.protoObject.ref).type, 'Unexpected …
107 …assertEquals(mirror.prototypeObject().handle(), fromJSON.prototypeObject.ref, 'Unexpected prototyp…
108 …assertEquals(mirror.prototypeObject().type(), refs.lookup(fromJSON.prototypeObject.ref).type, 'Une…
[all …]
Dmirror-function.js73 var fromJSON = eval('(' + json + ')');
74 assertEquals('function', fromJSON.type);
75 assertEquals('Function', fromJSON.className);
76 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type);
77 assertEquals('Function', refs.lookup(fromJSON.constructorFunction.ref).name);
78 assertTrue(fromJSON.resolved);
79 assertEquals(f.name, fromJSON.name);
80 assertEquals(f.toString(), fromJSON.source);
83 assertEquals(f.toString(), fromJSON.text);
Dmirror-number.js51 var fromJSON = eval('(' + json + ')');
52 assertEquals('number', fromJSON.type);
54 assertEquals(n, fromJSON.value);
57 assertTrue(typeof fromJSON.value == 'string');
59 assertEquals('Infinity', fromJSON.value);
61 assertEquals('-Infinity', fromJSON.value);
63 assertEquals('NaN', fromJSON.value);
Dmirror-regexp.js82 var fromJSON = eval('(' + json + ')');
83 assertEquals('regexp', fromJSON.type);
84 assertEquals('RegExp', fromJSON.className);
86 for (var i = 0; i < fromJSON.properties.length; i++) {
87 if (fromJSON.properties[i].name == p) {
89 fromJSON.properties[i].attributes,
92 fromJSON.properties[i].propertyType,
95 fromJSON.properties[i].ref,
98 refs.lookup(fromJSON.properties[i].ref).value,
Dmirror-script.js67 var fromJSON = JSON.parse(json);
68 assertEquals('script', fromJSON.type);
69 name = fromJSON.name;
75 assertEquals(0, fromJSON.lineOffset);
76 assertEquals(0, fromJSON.columnOffset);
78 assertEquals(file_lines, fromJSON.lineCount);
80 assertEquals(type, fromJSON.scriptType);
81 assertEquals(compilation_type, fromJSON.compilationType);
Dmirror-string.js58 var fromJSON = eval('(' + json + ')');
59 assertEquals('string', fromJSON.type);
61 assertEquals(s, fromJSON.value);
64 fromJSON.value.substring(0, kMaxProtocolStringLength));
65 assertEquals(fromJSON.fromIndex, 0);
66 assertEquals(fromJSON.toIndex, kMaxProtocolStringLength);
Dmirror-error.js64 var fromJSON = eval('(' + json + ')');
65 assertEquals('error', fromJSON.type);
66 assertEquals('Error', fromJSON.className);
69 for (var i in fromJSON.properties) {
70 var p = fromJSON.properties[i];
81 assertEquals(fromJSON.text, e.toString(), 'toString');
Dmirror-date.js52 var fromJSON = eval('(' + json + ')');
53 assertEquals('object', fromJSON.type);
54 assertEquals('Date', fromJSON.className);
55 assertEquals(iso8601, fromJSON.value);
Dmirror-boolean.js51 var fromJSON = eval('(' + json + ')');
52 assertEquals('boolean', fromJSON.type, json);
53 assertEquals(b, fromJSON.value, json);
Dmirror-null.js49 var fromJSON = eval('(' + json + ')'); variable
50 assertEquals('null', fromJSON.type);
Dmirror-undefined.js49 var fromJSON = eval('(' + json + ')'); variable
50 assertEquals('undefined', fromJSON.type);
/external/jetty/src/java/org/eclipse/jetty/util/ajax/
DJSONDateConvertor.java53 public JSONDateConvertor(boolean fromJSON) in JSONDateConvertor() argument
55 this(DateCache.DEFAULT_FORMAT,TimeZone.getTimeZone("GMT"),fromJSON); in JSONDateConvertor()
58 public JSONDateConvertor(String format,TimeZone zone,boolean fromJSON) in JSONDateConvertor() argument
62 _fromJSON=fromJSON; in JSONDateConvertor()
67 public JSONDateConvertor(String format, TimeZone zone, boolean fromJSON, Locale locale) in JSONDateConvertor() argument
71 _fromJSON = fromJSON; in JSONDateConvertor()
76 public Object fromJSON(Map map) in fromJSON() method in JSONDateConvertor
DJSONObjectConvertor.java48 public JSONObjectConvertor(boolean fromJSON) in JSONObjectConvertor() argument
50 _fromJSON=fromJSON; in JSONObjectConvertor()
58 public JSONObjectConvertor(boolean fromJSON,String[] excluded) in JSONObjectConvertor() argument
60 _fromJSON=fromJSON; in JSONObjectConvertor()
65 public Object fromJSON(Map map) in fromJSON() method in JSONObjectConvertor
DJSONPojoConvertorFactory.java49 public JSONPojoConvertorFactory(JSON json,boolean fromJSON) in JSONPojoConvertorFactory() argument
56 _fromJson=fromJSON; in JSONPojoConvertorFactory()
83 public Object fromJSON(Map object) in fromJSON() method in JSONPojoConvertorFactory
105 return convertor.fromJSON(object); in fromJSON()
DJSONEnumConvertor.java60 public JSONEnumConvertor(boolean fromJSON) in JSONEnumConvertor() argument
62 _fromJSON=fromJSON; in JSONEnumConvertor()
65 public Object fromJSON(Map map) in fromJSON() method in JSONEnumConvertor
DJSONPojoConvertor.java92 public JSONPojoConvertor(Class<?> pojoClass, Set<String> excluded, boolean fromJSON) in JSONPojoConvertor() argument
96 _fromJSON = fromJSON; in JSONPojoConvertor()
104 public JSONPojoConvertor(Class<?> pojoClass, boolean fromJSON) in JSONPojoConvertor() argument
106 this(pojoClass, (Set<String>)null, fromJSON); in JSONPojoConvertor()
179 public Object fromJSON(Map object) in fromJSON() method in JSONPojoConvertor
DJSON.java256 public Object fromJSON(String json) in fromJSON() method in JSON
369 public void fromJSON(Map object) in appendJSON()
607 conv.fromJSON(map); in convertTo()
619 return convertor.fromJSON(map); in convertTo()
925 return c.fromJSON(map); in parseObject()
1568 public void fromJSON(Map object); in fromJSON() method
1586 public Object fromJSON(Map object); in fromJSON() method
DJSONCollectionConvertor.java35 public Object fromJSON(Map object) in fromJSON() method in JSONCollectionConvertor
/external/v8/test/mjsunit/es6/
Dmirror-promises.js46 var fromJSON = eval('(' + json + ')');
47 assertEquals('promise', fromJSON.type);
48 assertEquals('Object', fromJSON.className);
49 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type);
50 assertEquals('Promise', refs.lookup(fromJSON.constructorFunction.ref).name);
51 assertEquals(status, fromJSON.status);
52 assertEquals(value, refs.lookup(fromJSON.promiseValue.ref).value);
Dmirror-symbols.js29 var fromJSON = eval('(' + json + ')');
30 assertEquals('symbol', fromJSON.type);
31 assertEquals(description, fromJSON.description);
Dmirror-collections.js21 var fromJSON = eval('(' + json + ')');
22 assertEquals('map', fromJSON.type);
39 var fromJSON = eval('(' + json + ')');
40 assertEquals('set', fromJSON.type);
/external/jetty/lib/
Djetty-util-6.1.26.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.mortbay.jetty.util_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12