/external/v8/test/mjsunit/ |
D | mirror-unresolved-function.js | 69 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 …]
|
D | mirror-array.js | 76 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 …]
|
D | mirror-function.js | 73 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);
|
D | mirror-number.js | 51 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);
|
D | mirror-script.js | 67 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);
|
D | mirror-object.js | 99 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 …]
|
D | mirror-regexp.js | 84 var fromJSON = eval('(' + json + ')'); 85 assertEquals('regexp', fromJSON.type); 86 assertEquals('RegExp', fromJSON.className); 87 assertEquals('lastIndex', fromJSON.properties[0].name); 88 assertEquals(dont_enum | dont_delete, fromJSON.properties[0].attributes); 90 fromJSON.properties[0].propertyType); 92 refs.lookup(fromJSON.properties[0].ref).value);
|
D | mirror-string.js | 58 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);
|
D | mirror-error.js | 64 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');
|
D | mirror-date.js | 52 var fromJSON = eval('(' + json + ')'); 53 assertEquals('object', fromJSON.type); 54 assertEquals('Date', fromJSON.className); 55 assertEquals(iso8601, fromJSON.value);
|
D | mirror-boolean.js | 51 var fromJSON = eval('(' + json + ')'); 52 assertEquals('boolean', fromJSON.type, json); 53 assertEquals(b, fromJSON.value, json);
|
D | mirror-null.js | 49 var fromJSON = eval('(' + json + ')'); variable 50 assertEquals('null', fromJSON.type);
|
D | mirror-undefined.js | 49 var fromJSON = eval('(' + json + ')'); variable 50 assertEquals('undefined', fromJSON.type);
|
/external/v8/test/mjsunit/harmony/ |
D | mirror-async-function.js | 52 var fromJSON = eval('(' + json + ')'); 53 assertEquals('function', fromJSON.type); 54 assertEquals('Function', fromJSON.className); 55 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type); 57 refs.lookup(fromJSON.constructorFunction.ref).name); 58 assertTrue(fromJSON.resolved); 59 assertEquals(f.name, fromJSON.name); 60 assertEquals(f.toString(), fromJSON.source); 63 assertEquals(f.toString(), fromJSON.text);
|
D | mirror-async-function-promise.js | 48 var fromJSON = eval('(' + json + ')'); 49 assertEquals('promise', fromJSON.type); 50 assertEquals('Object', fromJSON.className); 51 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type); 52 assertEquals('Promise', refs.lookup(fromJSON.constructorFunction.ref).name); 53 assertEquals(status, fromJSON.status); 54 assertEquals(value, refs.lookup(fromJSON.promiseValue.ref).value);
|
/external/jetty/src/java/org/eclipse/jetty/util/ajax/ |
D | JSONDateConvertor.java | 53 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
|
D | JSONObjectConvertor.java | 48 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
|
D | JSONPojoConvertorFactory.java | 49 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()
|
D | JSONEnumConvertor.java | 60 public JSONEnumConvertor(boolean fromJSON) in JSONEnumConvertor() argument 62 _fromJSON=fromJSON; in JSONEnumConvertor() 65 public Object fromJSON(Map map) in fromJSON() method in JSONEnumConvertor
|
D | JSONPojoConvertor.java | 92 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
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.h | 111 static SkDrawCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 128 static SkRestoreCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 139 static SkClearCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 153 static SkClipPathCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 168 static SkClipRegionCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 182 static SkClipRectCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 202 static SkClipRRectCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 221 static SkConcatCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 236 static SkDrawBitmapCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 255 static SkDrawBitmapNineCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); [all …]
|
D | SkDrawCommand.cpp | 262 (FROM_JSON) Sk ## name ## Command::fromJSON) 263 SkDrawCommand* SkDrawCommand::fromJSON(Json::Value& command, UrlDataManager& urlDataManager) { in fromJSON() function in SkDrawCommand 1562 SkClearCommand* SkClearCommand::fromJSON(Json::Value& command, UrlDataManager& urlDataManager) { in fromJSON() function in SkClearCommand 1595 SkClipPathCommand* SkClipPathCommand::fromJSON(Json::Value& command, in fromJSON() function in SkClipPathCommand 1623 SkClipRegionCommand* SkClipRegionCommand::fromJSON(Json::Value& command, in fromJSON() function in SkClipRegionCommand 1652 SkClipRectCommand* SkClipRectCommand::fromJSON(Json::Value& command, in fromJSON() function in SkClipRectCommand 1688 SkClipRRectCommand* SkClipRRectCommand::fromJSON(Json::Value& command, in fromJSON() function in SkClipRRectCommand 1714 SkConcatCommand* SkConcatCommand::fromJSON(Json::Value& command, UrlDataManager& urlDataManager) { in fromJSON() function in SkConcatCommand 1764 SkDrawBitmapCommand* SkDrawBitmapCommand::fromJSON(Json::Value& command, in fromJSON() function in SkDrawBitmapCommand 1831 SkDrawBitmapNineCommand* SkDrawBitmapNineCommand::fromJSON(Json::Value& command, in fromJSON() function in SkDrawBitmapNineCommand [all …]
|
/external/v8/test/mjsunit/es6/ |
D | mirror-promises.js | 46 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);
|
D | mirror-symbols.js | 29 var fromJSON = eval('(' + json + ')'); 30 assertEquals('symbol', fromJSON.type); 31 assertEquals(description, fromJSON.description);
|
D | mirror-collections.js | 21 var fromJSON = eval('(' + json + ')'); 22 assertEquals('map', fromJSON.type); 39 var fromJSON = eval('(' + json + ')'); 40 assertEquals('set', fromJSON.type);
|