Searched defs:json (Results 1 - 25 of 467) sorted by relevance

1234567891011>>

/external/chromium_org/build/android/buildbot/
H A Denv_to_json.py6 # Encode current environment into json.
8 import json namespace
11 print json.dumps(dict(os.environ))
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/api_data_source/
H A Dcanned_master_fs.py5 import json namespace
10 '_api_features.json': json.dumps({
20 '_manifest_features.json': json.dumps({'tester': {}, 'ref_test': {}}),
21 '_permission_features.json': json.dumps({
26 'add_rules_tester.json': json.dumps([{
49 'events.json'
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-crbug-423687.js7 var json = '{"a":{"c":2.1,"d":0},"b":{"c":7,"1024":8}}'; variable
8 var data = JSON.parse(json);
H A Dregress-369450.js10 var json = JSON.stringify(v); variable
11 assertEquals("[]", json);
/external/chromium_org/chrome/test/chromedriver/chrome/
H A Dutil.cc7 #include "base/json/json_writer.h"
11 std::string json; local
12 base::JSONWriter::Write(value, &json);
13 return json;
/external/chromium_org/components/cloud_devices/common/
H A Dcloud_device_description_consts.h12 namespace json { namespace in namespace:cloud_devices
21 } // namespace json
H A Dcloud_device_description_consts.cc9 namespace json { namespace in namespace:cloud_devices
18 } // namespace json
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/
H A Dgenerate_supported_css.py31 import simplejson as json namespace
33 import json namespace
55 f.write("WebInspector.CSSMetadata.initializeWithSupportedProperties(%s);" % json.dumps(properties))
/external/chromium_org/third_party/WebKit/Source/platform/
H A DTracedValueTest.cpp22 String json = value->asTraceFormat(); local
23 EXPECT_EQ("{\"int\":2014,\"double\":0,\"bool\":true,\"string\":\"string\"}", json);
47 String json = value->asTraceFormat(); local
48 EXPECT_EQ("{\"i0\":2014,\"dict1\":{\"i1\":2014,\"dict2\":{\"b2\":false},\"s1\":\"foo\"},\"d0\":0,\"b0\":true,\"a1\":[1,true,{\"i2\":3}],\"s0\":\"foo\"}", json);
/external/chromium_org/third_party/simplejson/
H A Dtool.py5 $ echo '{"json":"obj"}' | python -m simplejson.tool
7 "json": "obj"
14 import simplejson as json namespace
29 obj = json.load(infile,
30 object_pairs_hook=json.OrderedDict,
34 json.dump(obj, outfile, sort_keys=True, indent=' ', use_decimal=True)
/external/chromium_org/v8/test/mjsunit/
H A Dmirror-null.js34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable
49 var fromJSON = eval('(' + json + ')');
H A Dmirror-undefined.js34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable
49 var fromJSON = eval('(' + json + ')');
/external/chromium_org/base/debug/
H A Dtrace_event_argument_unittest.cc17 std::string json; local
18 value->AppendAsTraceFormat(&json);
20 json);
43 std::string json; local
44 value->AppendAsTraceFormat(&json);
49 json);
/external/chromium_org/content/public/browser/
H A Ddom_operation_notification_details.h16 DomOperationNotificationDetails(const std::string& json, int automation_id) argument
17 : json(json), automation_id(automation_id) { }
19 std::string json; member in struct:content::DomOperationNotificationDetails
/external/chromium_org/extensions/browser/value_store/
H A Dvalue_store_change_unittest.cc5 #include "base/json/json_reader.h"
6 #include "base/json/json_writer.h"
74 std::string json = ValueStoreChange::ToJson(change_list); local
75 scoped_ptr<base::Value> from_json(base::JSONReader::Read(json));
/external/chromium_org/third_party/polymer/
H A DPRESUBMIT.py12 import json namespace
18 bower_json_path = os_path.join(cwd, 'bower.json')
28 set(json.load(open(bower_json_path))['dependencies'].keys())
41 'Found components that are not listed in bower.json.',
/external/chromium_org/tools/deep_memory_profiler/
H A Dgraph.py7 import json namespace
92 'ALL_DATA': json.dumps(all_data)})
96 _GenerateGraph(json.load(file(argv[1], 'r')))
/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/
H A Dadb15 import json namespace
22 # Load the dictionary of expected_cmd -> planned_response from the json file
25 responses = json.load(f)
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
H A Dmonsoon_power_monitor_unittest.py5 import json namespace
18 json.dumps(data))
/external/chromium_org/build/android/pylib/instrumentation/
H A Djson_perf_parser.py8 import json namespace
144 return GetAverageRunInfo(json.loads(json_string), name)
159 perf = json.loads(data)
/external/chromium_org/build/
H A Denv_dump.py9 import json namespace
19 parser.add_option('-f', '--output-json',
29 parser.error('Cannot specify args or --output-json with --dump-mode.')
30 json.dump(dict(os.environ), sys.stdout)
33 parser.error('Requires --output-json option.')
46 new_env = json.loads(output)
52 json.dump(env_diff, f)
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/object_level_availability/
H A Dtabs.py5 import json namespace
38 'json': {
39 'api_availabilities.json': '{}',
40 'intro_tables.json': '{}'
45 '_api_features.json': json.dumps({
50 '_manifest_features.json': '{}',
51 '_permission_features.json': '{}',
53 'tabs.json': json
[all...]
/external/chromium_org/chrome/installer/tools/
H A Dsetup_timer.py21 import json namespace
93 print json.dumps(timings, indent=2, sort_keys=True)
/external/chromium_org/components/domain_reliability/
H A Dbake_in_configs.py12 import json namespace
91 config = json.loads(json_text)
/external/chromium_org/components/omnibox/
H A Dsearch_suggestion_parser_unittest.cc7 #include "base/json/json_reader.h"
15 scoped_ptr<base::DictionaryValue> AsDictionary(const std::string& json) { argument
16 base::Value* value = base::JSONReader::Read(json);

Completed in 600 milliseconds

1234567891011>>