HomeSort by relevance Sort by last modified time
    Searched refs:json (Results 126 - 150 of 1096) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/chromium_org/extensions/common/api/sockets/
sockets_manifest_permission_unittest.cc 7 #include "base/json/json_reader.h"
41 static scoped_ptr<base::Value> ParsePermissionJSON(const std::string& json) {
42 scoped_ptr<base::Value> result(base::JSONReader::Read(json));
43 EXPECT_TRUE(result) << "Invalid JSON string: " << json;
57 const std::string& json) {
58 scoped_ptr<base::Value> value(ParsePermissionJSON(json));
87 const std::string& json) {
88 scoped_ptr<SocketsManifestPermission> permission(PermissionFromJSON(json));
90 return testing::AssertionFailure() << "Invalid permission " << json;
    [all...]
  /external/chromium_org/chrome/browser/ui/app_list/search/people/
people_provider.cc 151 scoped_ptr<base::DictionaryValue> json) {
152 ProcessPeopleSearchResults(json.get());
153 cache_->Put(WebserviceCache::PEOPLE, query_, json.Pass());
160 const base::DictionaryValue* json) {
162 if (!json ||
163 !json->GetList(kKeyItems, &item_list) ||
  /external/chromium_org/chrome/browser/ui/app_list/search/webstore/
webstore_provider.cc 109 scoped_ptr<base::DictionaryValue> json) {
110 ProcessWebstoreSearchResults(json.get());
111 cache_->Put(WebserviceCache::WEBSTORE, query_, json.Pass());
118 const base::DictionaryValue* json) {
120 if (!json ||
121 !json->GetList(kKeyResults, &result_list) ||
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/mappy/
popup.js 8 var url = 'https://maps.googleapis.com/maps/api/geocode/json?address=' +
18 var json = JSON.parse(request.responseText);
19 var latlng = json.results[0].geometry.location;
  /external/chromium_org/chrome/common/extensions/manifest_handlers/
settings_overrides_handler_unittest.cc 7 #include "base/json/json_string_value_serializer.h"
77 JSONStringValueSerializer json(&manifest);
79 scoped_ptr<base::Value> root(json.Deserialize(NULL, &error));
120 JSONStringValueSerializer json(&manifest);
122 scoped_ptr<base::Value> root(json.Deserialize(NULL, &error));
153 JSONStringValueSerializer json(&manifest);
155 scoped_ptr<base::Value> root(json.Deserialize(NULL, &error));
ui_overrides_handler_unittest.cc 8 #include "base/json/json_string_value_serializer.h"
54 JSONStringValueSerializer json(&manifest);
56 scoped_ptr<base::Value> root(json.Deserialize(NULL, &error));
83 JSONStringValueSerializer json(&manifest);
85 scoped_ptr<base::Value> root(json.Deserialize(NULL, &error));
  /external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
JsoMap.java 19 import org.json.JSONArray;
20 import org.json.JSONException;
21 import org.json.JSONObject;
22 import org.json.JSONTokener;
28 * Compatibility methods on top of the JSON data.
33 * Construct a JsoMap object given some json text. This method directly evaluates the String
37 * @param json JSON text describing an address format
38 * @return a JsoMap object made from the supplied JSON.
40 static JsoMap buildJsoMap(String json) throws JSONException
    [all...]
  /external/chromium_org/tools/memory_inspector/memory_inspector/data/
serialization.py 5 """This module handles the JSON de/serialization of the core classes.
15 import json namespace
25 class Encoder(json.JSONEncoder):
38 # it as a JSON dictionary would be redundant.
69 return json.JSONEncoder.default(self, obj)
72 class MmapDecoder(json.JSONDecoder):
82 class SymbolsDecoder(json.JSONDecoder):
94 class NativeHeapDecoder(json.JSONDecoder):
  /external/chromium_org/v8/tools/testrunner/server/
presence_handler.py 33 import ujson as json namespace
35 import json namespace
57 data = json.loads(self.request[0].strip())
67 response = json.dumps(response)
98 self.SendToAll(json.dumps([EXIT_REQUEST]))
119 request = json.dumps(request)
  /external/chromium_org/base/test/
values_test_util.cc 7 #include "base/json/json_reader.h"
65 scoped_ptr<Value> ParseJson(base::StringPiece json) {
68 json, base::JSON_ALLOW_TRAILING_COMMAS,
71 ADD_FAILURE() << "Failed to parse \"" << json << "\": " << error_msg;
  /external/chromium_org/build/android/pylib/perf/
setup.py 7 import json namespace
51 steps = json.load(f)
90 flaky_steps = json.load(f)
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/
upload_chromevox_to_webstore.py 19 import json namespace
30 'manifest_guest.json',
31 'manifest_next.json',
32 'manifest_next_guest.json'
47 old: A json file.
55 new_contents = json.loads(old_file.read())
57 new_file.file.write(json.dumps(new_contents))
106 if extension_file == 'manifest.json':
  /external/chromium_org/chrome/test/ispy/
ispy_api_unittest.py 7 import json namespace
27 'device', 'test', '1.1.1.1', 'versions.json',
29 self.ispy.UpdateExpectationVersion('1.1.1.1', 'versions.json')
31 'test1', 'device', 'test', '1.1.1.1', 'versions.json', self.white_img)
36 'test2', 'device', 'test', '1.1.1.1','versions.json', self.black_img)
40 self.ispy.UpdateExpectationVersion('1.0.0.0', 'versions.json')
41 self.ispy.UpdateExpectationVersion('1.0.4.0', 'versions.json')
42 self.ispy.UpdateExpectationVersion('2.1.5.0', 'versions.json')
43 self.ispy.UpdateExpectationVersion('1.1.5.0', 'versions.json')
44 self.ispy.UpdateExpectationVersion('0.0.0.0', 'versions.json')
    [all...]
  /external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/
config.py 5 import json namespace
39 self.update(json.loads(json_data))
41 raise Error('Error reading json config:\n%s' % str(e))
45 return json.dumps(self, sort_keys=False, indent=2)
47 raise Error('Json encoding error writing config:\n%s' % e)
  /external/chromium_org/net/cert/
ct_log_response_parser.cc 8 #include "base/json/json_reader.h"
9 #include "base/json/json_value_converter.h"
23 // Structure for making JSON decoding easier. The string fields
81 DVLOG(1) << "Tree size in Signed Tree Head JSON is negative: "
87 DVLOG(1) << "Timestamp in Signed Tree Head JSON is negative: "
93 DVLOG(1) << "Missing SHA256 root hash from Signed Tree Head JSON.";
98 DVLOG(1) << "Missing SHA256 root hash from Signed Tree Head JSON.";
110 scoped_ptr<base::Value> json(json_reader.Read(json_signed_tree_head));
111 if (json.get() == NULL) {
112 DVLOG(1) << "Empty Signed Tree Head JSON."
    [all...]
  /external/chromium_org/remoting/host/
pairing_registry_delegate_linux_unittest.cc 66 base::DictionaryValue* json; local
67 EXPECT_TRUE(pairings->GetDictionary(0, &json));
68 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2);
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/
concatenate_module_scripts.py 8 Concatenates module scripts based on the module.json descriptor.
19 import simplejson as json namespace
21 import json namespace
71 descriptor = json.loads(read_file(module_json_file_name))
73 print 'ERROR: Failed to load JSON from ' + module_json_file_name
  /external/chromium_org/third_party/skia/gm/
gm_json.py 6 """Schema of the JSON summary file written out by the GM tool.
16 import json namespace
22 # Key strings used in GM results JSON files (both expected-results.json and
23 # actual-results.json).
107 # Root directory where buildbots store skimage actual results json files.
171 """Loads the JSON summary written out by the GM tool.
175 # TODO(epoger): we should add a version number to the JSON file to ensure
180 json_dict = json.loads(file_contents)
185 """Loads the JSON summary written out by the GM tool
    [all...]
  /cts/apps/CameraITS/pymodules/its/
target.py 21 import json namespace
23 import json namespace
94 The value is persisted in a JSON file in the current directory (from which
102 f.write(json.dumps({"exposure":exposure}))
112 o = json.load(f)
  /external/chromium_org/build/android/buildbot/
bb_utils.py 5 import json namespace
76 setattr(parser.values, option.dest, json.loads(value))
80 help='build properties in JSON format')
83 help='factory properties in JSON format')
88 return ['--factory-properties=%s' % json.dumps(options.factory_properties),
89 '--build-properties=%s' % json.dumps(options.build_properties)]
  /external/chromium_org/chrome/test/ispy/server/
image_handler.py 7 import json namespace
rebaseline_handler.py 28 self.response.headers['Content-Type'] = 'json/application'
29 self.response.write(json.dumps(
  /external/chromium_org/content/renderer/
dom_automation_controller.h 100 // The value should be properly formed JSON.
101 bool SendJSON(const std::string& json);
  /external/chromium_org/native_client_sdk/src/tools/
fix_manifest.py 9 """Fix Chrome App manifest.json files for use with multi-platform zip files.
14 The manifest.json file needs to point to the correct platform-specific paths,
16 we can't have one manifest.json for all combinations.
18 Instead, we update the top-level manifest.json file during the build:
38 import json namespace
62 usage='Usage: %prog [options] manifest.json', description=__doc__)
84 data = json.load(f, object_pairs_hook=collections.OrderedDict)
86 data = json.load(f)
118 json.dump(data, f, indent=2)
  /external/chromium_org/third_party/libaddressinput/src/cpp/src/util/
json.cc 15 #include "json.h"
35 class Json::JsonImpl {
37 explicit JsonImpl(const std::string& json)
42 document_->Parse<kParseValidateEncodingFlag>(json.c_str());
47 for (std::vector<const Json*>::const_iterator it = dictionaries_.begin();
55 const std::vector<const Json*>& GetSubDictionaries() {
60 dictionaries_.push_back(new Json(new JsonImpl(&member->value)));
91 // An owned JSON document. Can be NULL if the JSON document is not owned.
94 // A JSON document that is not owned. Cannot be NULL. Can point to document_
    [all...]

Completed in 708 milliseconds

1 2 3 4 56 7 8 91011>>