/external/chromium_org/third_party/skia/bench/ |
check_bench_regressions.py | 10 import json namespace
|
/external/chromium_org/tools/ |
bisect-builds.py | 58 'https://chromium.googlesource.com/chromium/src/+/%s?format=json') 61 'https://chromium.googlesource.com/chromium/blink/+/%s?format=json') 68 # Search pattern to be matched in the JSON output from 75 # Search pattern to be matched in the json output from 91 import json namespace 332 data = json.loads(response.read()[4:]) 334 print 'ValueError for JSON URL: %s' % json_url [all...] |
/external/chromium_org/tools/profile_chrome/ |
main.py | 143 output_options.add_option('--json', help='Save trace as raw JSON instead of ' 254 write_json=options.json)
|
/external/chromium_org/v8/test/mjsunit/ |
mirror-array.js | 44 // Create mirror and JSON representation. 47 var json = JSON.stringify(serializer.serializeValue(mirror)); 49 JSON.stringify(serializer.serializeReferencedObjects())); 75 // Parse JSON representation and check. 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 constructor function handle in JSON'); 80 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON'); [all...] |
json.js | 46 assertTrue(Object.prototype === JSON.__proto__); 47 assertEquals("[object JSON]", Object.prototype.toString.call(JSON)); 88 assertFalse(p == "JSON"); 92 assertEquals({}, JSON.parse("{}")); 93 assertEquals({42:37}, JSON.parse('{"42":37}')); 94 assertEquals(null, JSON.parse("null")); 95 assertEquals(true, JSON.parse("true")); 96 assertEquals(false, JSON.parse("false")); 97 assertEquals("foo", JSON.parse('"foo"')) 483 var json = '{"stuff before slash\\\\\\\\stuff after slash":"whatever"}'; variable [all...] |
mirror-object.js | 44 // Create mirror and JSON representation. 47 var json = JSON.stringify(serializer.serializeValue(mirror)); 49 JSON.stringify(serializer.serializeReferencedObjects())); 98 // Parse JSON representation and check. 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 constructor function handle in JSON'); 103 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON'); [all...] |
/external/chromium_org/v8/tools/push-to-trunk/ |
common_includes.py | 34 import json namespace 236 return json.loads(data) 290 state_file = "%s-state.json" % self._config["PERSISTFILE_BASENAME"] 292 self._state.update(json.loads(FileToText(state_file))) 299 TextToFile(json.dumps(self._state), state_file) 692 state_file = "%s-state.json" % self._config["PERSISTFILE_BASENAME"]
|
/external/skia/bench/ |
check_bench_regressions.py | 10 import json namespace
|
/external/skia/gm/rebaseline_server/ |
compare_configs.py | 15 import json namespace 43 actuals_root: root directory containing all actual-results.json files 73 logging.info('Reading actual-results JSON files from %s...' % 179 help='Directory containing all actual-result JSON files; defaults to ' 186 help='File to write result summary into, in JSON format.')
|
/libcore/ |
JavaLibrary.mk | 53 common_core_src_files := $(call all-main-java-files-under,dalvik dex dom json luni xml) 56 test_src_files := $(call all-test-java-files-under,dalvik dom harmony-tests json luni xml)
|
/libcore/json/src/main/java/org/json/ |
JSONStringer.java | 17 package org.json; 23 // Note: this class was written without inspecting the non-free org.json sourcecode. 30 * String json = object.toString();</pre> 32 * <p>Stringers only encode well-formed JSON strings. In particular: 43 * Calls that would result in a malformed JSON string will fail with a 105 * JSONObject.quote() only. Not used for JSON encoding. 420 * Returns the encoded JSON string.
|
/libcore/json/src/test/java/org/json/ |
SelfUseTest.java | 17 package org.json; 26 * <p>This black box test was written without inspecting the non-free org.json
|
/external/chromium_org/tools/telemetry/telemetry/timeline/ |
trace_event_importer_unittest.py | 5 import json namespace 656 json.dumps(events)) 669 json.dumps(events) + '\n') 681 tmp = json.dumps(events) 714 tmp = json.dumps(events) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
regrtest.py | 157 import json namespace 352 args, kwargs = json.loads(a) 358 print json.dumps(result) 511 popen = Popen(base_cmd + ['--slaveargs', json.dumps(args_tuple)], 523 result = json.loads(result) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
regrtest.py | 157 import json namespace 352 args, kwargs = json.loads(a) 358 print json.dumps(result) 511 popen = Popen(base_cmd + ['--slaveargs', json.dumps(args_tuple)], 523 result = json.loads(result) [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
braille_util.js | 91 * Creates a value span from a json serializable object. 92 * @param {!Object} obj The json serializable object to convert. 101 * Converts this object to a json serializable object. 102 * @return {!Object} The JSON representation.
|
/external/chromium_org/build/android/buildbot/ |
bb_device_steps.py | 9 import json namespace 112 args.append('--generate-json-file') 337 'full_results.json') 339 full_results = json.load(open(full_results_path)) 381 # Cloned from third_party/WebKit/Tools/Scripts/print-json-test-results 407 # Cloned from third_party/WebKit/Tools/Scripts/print-json-test-results
|
/external/chromium_org/chrome/browser/geolocation/ |
geolocation_browsertest.cc | 117 javascript_response_ = dom_op_details->json; 190 javascript_response_ = dom_op_details->json;
|
/external/chromium_org/chrome/browser/prefs/ |
pref_model_associator.cc | 8 #include "base/json/json_reader.h" 9 #include "base/json/json_string_value_serializer.h" 347 JSONStringValueSerializer json(&serialized); 348 if (!json.Serialize(value)) {
|
/external/chromium_org/chrome/browser/ui/webui/local_discovery/ |
local_discovery_ui_handler.cc | 355 const base::DictionaryValue* json) { 359 json->GetString(kPrivetKeyError, &error)) {
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
jsc_view.py | 64 '''Uses a Model from the JSON Schema Compiler and generates a dict that 81 posixpath.join(JSON_TEMPLATES, 'api_availabilities.json')) 83 posixpath.join(JSON_TEMPLATES, 'intro_tables.json')) 96 is a Namespace object from JSON Schema Compiler. 178 '''Returns a dictionary representation of a type from JSON Schema Compiler. 201 JSON Schema Compiler. 247 JSON Schema Compiler. Note that although events are modeled as functions 248 in JSON Schema Compiler, we model them differently for the templates. 274 json={}, 308 JSON Schema Compiler [all...] |
/external/chromium_org/chromeos/network/onc/ |
onc_utils.cc | 8 #include "base/json/json_reader.h" 44 const std::string& json) { 47 json, base::JSON_ALLOW_TRAILING_COMMAS, NULL, &error); 51 ONC_LOG_ERROR("Invalid JSON Dictionary: " + error); 367 << " is not a valid JSON dictionary.";
|
/external/chromium_org/components/cloud_devices/common/ |
printer_description_unittest.cc | 7 #include "base/json/json_reader.h" 8 #include "base/json/json_writer.h" 17 // Replaces ' with " to allow readable json constants in tests. 18 // Makes sure that same json value represented by same strings to simplify 20 std::string NormalizeJson(const std::string& json) { 21 std::string result = json;
|
/external/chromium_org/components/test/data/web_database/ |
version_52.sql | 14 INSERT INTO "keywords" VALUES(5,'AOL','aol.com','http://search.aol.com/favicon.ico','http://search.aol.com/aol/search?query={searchTerms}',1,'',0,0,'UTF-8',1,'http://autocomplete.search.aol.com/autocomplete/get?output=json&it=&q={searchTerms}',35,0,'',0,'680838DC-A89F-7598-901A-C6B849F94F67','[]','','','','','','');
|
/external/chromium_org/native_client_sdk/src/tools/ |
create_nmf.py | 13 import json namespace 356 """Create a JSON formatted dict containing the files 404 """Returns a JSON-formatted dict containing the NaCl dependencies""" 413 """Returns the Manifest as a JSON-formatted string""" 414 pretty_string = json.dumps(self.GetManifest(), indent=2) 415 # json.dumps sometimes returns trailing whitespace and does not put
|