/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
webstore_provider.h | 46 void OnWebstoreSearchFetched(scoped_ptr<base::DictionaryValue> json); 47 void ProcessWebstoreSearchResults(const base::DictionaryValue* json);
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
concatenate_module_descriptors.py | 7 """Inlines all module.json files into modules.js.""" 26 json = read_file(json_filename).replace('{', '{"name":"%s",' % module_name, 1) 27 result.append(json)
|
generate_supported_css.py | 31 import simplejson as json namespace 33 import json namespace 84 f.write("WebInspector.CSSMetadata.initializeWithSupportedProperties(%s);" % json.dumps(reformat))
|
/external/chromium_org/third_party/skia/tools/ |
buildbot_globals.py | 8 Provides read access to buildbot's global_variables.json . 13 import json namespace 24 _GLOBAL_VARS_PATH = 'site_config/global_variables.json' 28 """Exception which is raised when the global_variables.json file cannot be 34 """Exception which is raised when the global_variables.json file cannot be 35 interpreted as JSON. This may be due to the file itself being incorrectly 43 global_variables.json file.""" 48 """Return the value associated with this name in global_variables.json. 66 _global_vars = json.loads(global_vars_text)
|
/external/chromium_org/tools/android/adb_profile_chrome/ |
chrome_controller_unittest.py | 6 import json namespace 44 json.loads(f.read())
|
/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/ |
mock_adb.py | 5 import json namespace 16 commands. The dictionary is stored into a json file and read by the mock 'adb' 17 script. The path of the json dict is held in the MOCK_ADB_CFG env var. 27 json.dump(self._responses, 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/backends/chrome/ |
inspector_memory.py | 4 import json namespace 45 json.dumps(res, indent=2))
|
/external/skia/tools/ |
buildbot_globals.py | 8 Provides read access to buildbot's global_variables.json . 13 import json namespace 24 _GLOBAL_VARS_PATH = 'site_config/global_variables.json' 28 """Exception which is raised when the global_variables.json file cannot be 34 """Exception which is raised when the global_variables.json file cannot be 35 interpreted as JSON. This may be due to the file itself being incorrectly 43 global_variables.json file.""" 48 """Return the value associated with this name in global_variables.json. 66 _global_vars = json.loads(global_vars_text)
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-java/ |
HelloLicenseServlet.java | 23 import com.google.appengine.repackaged.org.json.JSONObject; 92 // Parse the string as JSON and display the license state. 93 JSONObject json = new JSONObject(file); local 96 "YES".equals(json.get("result")) ? 97 "FULL".equals(json.get("accessLevel")) ? "full" : "free trial" :
|
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/ |
HttpUrlRequestFactoryConfig.java | 7 import org.json.JSONException; 8 import org.json.JSONObject; 26 * Create config from json serialized using @toString. 28 public HttpUrlRequestFactoryConfig(String json) throws JSONException { 29 mConfig = new JSONObject(json); 89 * Get JSON string representation of the config.
|
/external/chromium_org/components/policy/core/common/cloud/ |
policy_header_service.cc | 8 #include "base/json/json_writer.h" 76 std::string json; local 77 base::JSONWriter::Write(&value, &json); 78 DCHECK(!json.empty()); 82 base::Base64Encode(json, &encoded);
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/util/ |
json.h | 25 // Parses a JSON dictionary of strings. Sample usage: 26 // scoped_ptr<Json> json(Json::Build()); 28 // if (json->ParseObject("{'key1':'value1', 'key2':'value2'}") && 29 // json->GetStringValueForKey("key1", &value)) { 32 class Json { 34 virtual ~Json(); 36 // Returns a new instance of |Json| object. 37 static scoped_ptr<Json> Build() [all...] |
/external/jsoncpp/include/json/ |
assertions.h | 12 # include <json/config.h>
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_pass1.py | 1 from json.tests import PyTest, CTest 4 # from http://json.org/JSON_checker/test/pass1.json 5 JSON = r''' 7 "JSON Test Pattern pass1", 40 "url": "http://www.JSON.org/", 69 res = self.loads(JSON)
|
test_pass2.py | 1 from json.tests import PyTest, CTest 4 # from http://json.org/JSON_checker/test/pass2.json 5 JSON = r''' 12 res = self.loads(JSON)
|
test_pass3.py | 1 from json.tests import PyTest, CTest 4 # from http://json.org/JSON_checker/test/pass3.json 5 JSON = r''' 7 "JSON Test Pattern pass3": { 18 res = self.loads(JSON)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_pass1.py | 1 from json.tests import PyTest, CTest 4 # from http://json.org/JSON_checker/test/pass1.json 5 JSON = r''' 7 "JSON Test Pattern pass1", 40 "url": "http://www.JSON.org/", 69 res = self.loads(JSON)
|
test_pass2.py | 1 from json.tests import PyTest, CTest 4 # from http://json.org/JSON_checker/test/pass2.json 5 JSON = r''' 12 res = self.loads(JSON)
|
test_pass3.py | 1 from json.tests import PyTest, CTest 4 # from http://json.org/JSON_checker/test/pass3.json 5 JSON = r''' 7 "JSON Test Pattern pass3": { 18 res = self.loads(JSON)
|
/external/chromium_org/chrome/browser/chromeos/system_logs/ |
touch_log_source.cc | 10 #include "base/json/json_string_value_serializer.h" 26 JSONStringValueSerializer json(&touch_log); 27 json.set_pretty_print(true); 28 if (json.Serialize(*dictionary) && !touch_log.empty())
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
frame_tracker.cc | 9 #include "base/json/json_writer.h" 54 std::string json; local 55 base::JSONWriter::Write(context, &json); 58 "Runtime.executionContextCreated has invalid 'context': " + json);
|
/external/chromium_org/extensions/browser/value_store/ |
value_store_change.cc | 7 #include "base/json/json_writer.h" 25 std::string json; local 26 base::JSONWriter::Write(&changes_value, &json); 27 return json;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
json_results_generator_unittest.py | 30 import json namespace 61 json = "['contents']" 62 self.assertEqual(json_results_generator.strip_json_wrapper(json_results_generator._JSON_PREFIX + json + json_results_generator._JSON_SUFFIX), json) 63 self.assertEqual(json_results_generator.strip_json_wrapper(json), json) 97 None, # don't fetch past json results archive 102 # Test incremental json results 122 json, num_runs): 126 self.assertIn(JRG.VERSION_KEY, json) [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/ |
countryinfo_example_addresses_test.cc | 34 #include "util/json.h" 84 void TestCountryType(const scoped_ptr<Json>& json, 87 scoped_ptr<Json> default_json; 91 ASSERT_TRUE(json->GetJsonValueForKey(default_key, &default_json)); 93 scoped_ptr<Json> fields_json; 143 scoped_ptr<Json> json(Json::Build()); 144 scoped_ptr<Json> json_country [all...] |