/external/chromium_org/build/android/buildbot/ |
env_to_json.py | 6 # 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/ |
canned_trunk_fs.py | 5 import json namespace 10 '_api_features.json': json.dumps({ 15 '_manifest_features.json': '{}', 16 '_permission_features.json': '{}', 17 'add_rules_tester.json': json.dumps([{ 40 'tester.json': json.dumps([{ 94 'ref_test.json': json.dumps([ [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
util.cc | 7 #include "base/json/json_writer.h" 11 std::string json; local 12 base::JSONWriter::Write(value, &json); 13 return json;
|
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/object_level_availability/ |
tabs.py | 5 import json namespace 15 'json': { 16 'api_availabilities.json': '{}' 21 '_api_features.json': '{}', 22 '_manifest_features.json': '{}', 23 '_permission_features.json': '{}', 24 'tabs.json': json.dumps([{ 119 '_api_features.json': "{}", 120 '_manifest_features.json': "{}" [all...] |
/external/chromium_org/components/cloud_devices/common/ |
cloud_device_description_consts.h | 8 // Constants for common parts of JSON representation of CDD/CJT. 12 namespace json { namespace in namespace:cloud_devices 21 } // namespace json
|
/external/chromium_org/third_party/libaddressinput/src/cpp/test/util/ |
json_test.cc | 15 #include "util/json.h" 24 using i18n::addressinput::Json; 28 Json json; local 29 EXPECT_FALSE(json.ParseObject(std::string())); 33 Json json; local 34 ASSERT_TRUE(json.ParseObject("{}")); 35 EXPECT_FALSE(json.HasStringValueForKey("key")); 36 EXPECT_FALSE(json.HasStringValueForKey(std::string())) 40 Json json; local 45 Json json; local 52 Json json; local 58 Json json; local 65 Json json; local 72 Json json; local 79 Json json; local 84 Json json; local 90 Json json; local 100 Json json; local 105 Json json; local 110 Json json; local 115 Json json; local 121 Json json; local 130 Json json; local [all...] |
/external/chromium_org/third_party/simplejson/ |
tool.py | 1 r"""Command-line tool to validate and pretty-print JSON 5 $ 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/ |
mirror-null.js | 31 // Create mirror and JSON representation. 34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable 48 // Parse JSON representation and check. 49 var fromJSON = eval('(' + json + ')');
|
mirror-undefined.js | 31 // Create mirror and JSON representation. 34 var json = JSON.stringify(serializer.serializeValue(mirror)); variable 48 // Parse JSON representation and check. 49 var fromJSON = eval('(' + json + ')');
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-369450.js | 10 var json = JSON.stringify(v); variable 11 assertEquals("[]", json);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/ |
scrape_gtest_log.py | 9 """Standalone script which parses a gtest log for json. 11 Json is returned returns as an array. This script is used by the libvpx 12 waterfall to gather json results mixed in with gtest logs. This is 16 import json namespace 25 print json.dumps(json.loads(json_string), indent=4, sort_keys=True)
|
/libcore/json/src/main/java/org/json/ |
JSONException.java | 17 package org.json; 19 // Note: this class was written without inspecting the non-free org.json sourcecode. 22 * Thrown to indicate a problem with the JSON API. Such problems include: 26 * <li>Use of numeric types not available to JSON, such as {@link
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
tool.py | 1 r"""Command-line tool to validate and pretty-print JSON 5 $ echo '{"json":"obj"}' | python -m json.tool 7 "json": "obj" 9 $ echo '{ 1.2:3.4}' | python -m json.tool 14 import json namespace 30 obj = json.load(infile) 34 json.dump(obj, outfile, sort_keys=True,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
tool.py | 1 r"""Command-line tool to validate and pretty-print JSON 5 $ echo '{"json":"obj"}' | python -m json.tool 7 "json": "obj" 9 $ echo '{ 1.2:3.4}' | python -m json.tool 14 import json namespace 30 obj = json.load(infile) 34 json.dump(obj, outfile, sort_keys=True,
|
/external/chromium_org/content/public/browser/ |
dom_operation_notification_details.h | 16 DomOperationNotificationDetails(const std::string& json, int automation_id) 17 : json(json), automation_id(automation_id) { } 19 std::string json; member in struct:content::DomOperationNotificationDetails
|
/external/chromium_org/extensions/browser/value_store/ |
value_store_change_unittest.cc | 5 #include "base/json/json_reader.h" 6 #include "base/json/json_writer.h" 76 std::string json = ValueStoreChange::ToJson(change_list); local 77 scoped_ptr<base::Value> from_json(base::JSONReader::Read(json));
|
/external/chromium_org/tools/deep_memory_profiler/ |
graph.py | 7 import json namespace 86 'ALL_DATA': json.dumps(all_data)}) 90 _GenerateGraph(json.load(file(argv[1], 'r')))
|
/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/ |
adb | 15 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/perf/metrics/ |
histogram_util_unittest.py | 5 import json namespace 21 new_histogram = json.loads(
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
monsoon_power_monitor_unittest.py | 5 import json namespace 18 json.dumps(data))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_json.py | 1 """Tests for json. 3 The tests for json are defined in the json.tests package; 8 import json.tests namespace 13 test.test_support.run_unittest(json.tests.test_suite())
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_json.py | 1 """Tests for json. 3 The tests for json are defined in the json.tests package; 8 import json.tests namespace 13 test.test_support.run_unittest(json.tests.test_suite())
|
/external/chromium_org/build/android/gyp/ |
create_native_libraries_header.py | 16 import json namespace 32 help='Path to json file containing list of ordered libraries') 42 libraries = json.load(libfile)
|
strip_library_for_device.py | 7 import json namespace 36 help='Path to json file containing list of libraries') 43 libraries = json.load(libfile)
|
/external/chromium_org/build/android/pylib/instrumentation/ |
json_perf_parser.py | 6 """A helper module for parsing JSON objects from perf tests results.""" 8 import json namespace 12 """Summarizes TraceEvent JSON data for performance metrics. 14 Example JSON Inputs (More tags can be added but these are required): 46 json_data: A list of dictonaries each representing a JSON object. 47 name: The 'name' tag to filter on in the JSON file. 135 """Returns the results from GetAverageRunInfo using a JSON string. 138 json_string: The string containing JSON. 139 name: The 'name' tag to filter on in the JSON file. 144 return GetAverageRunInfo(json.loads(json_string), name [all...] |