Searched refs:json (Results 151 - 175 of 730) sorted by relevance

1234567891011>>

/external/chromium_org/build/android/buildbot/
H A Dbb_utils.py5 import json namespace
76 setattr(parser.values, option.dest, json.loads(value))
88 return ['--factory-properties=%s' % json.dumps(options.factory_properties),
89 '--build-properties=%s' % json.dumps(options.build_properties)]
/external/chromium_org/chrome/common/extensions/manifest_handlers/
H A Dui_overrides_handler_unittest.cc8 #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/chrome/test/ispy/server/
H A Dimage_handler.py7 import json namespace
H A Dupdate_mask_handler.py36 self.response.headers['Content-Type'] = 'json/application'
37 self.response.write(json.dumps(
46 self.response.headers['Content-Type'] = 'json/application'
47 self.response.write(json.dumps(
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/
H A Dtreestatus_unittests.js47 equal(treestatus.urlByName('blink'), 'http://blink-status.appspot.com/current?format=json');
48 equal(treestatus.urlByName('chromium'), 'http://chromium-status.appspot.com/current?format=json');
55 simulator.json = function(url)
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/util/
H A Djson.h26 // scoped_ptr<Json> json(Json::Build());
28 // if (json->ParseObject("{'key1':'value1', 'key2':'value2'}") &&
29 // json->GetStringValueForKey("key1", &value)) {
39 // Parses the |json| string and returns true if |json| is valid and it is an
41 virtual bool ParseObject(const std::string& json) = 0;
/external/chromium_org/tools/checklicenses/
H A Dchecklicenses.py9 import json namespace
453 if options.json:
454 with open(options.json, 'w') as f:
455 json.dump(errors, f)
503 option_parser.add_option('--json', help='Path to JSON output file')
/external/chromium_org/tools/grit/grit/format/
H A Dchrome_messages_json.py6 """Formats as a .json file that can be used to localize Google Chrome
9 from json import JSONEncoder
/external/clang/docs/analyzer/
H A DMakefile17 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
27 @echo " json to make JSON files"
66 json:
67 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/
H A DWireFormat.java20 import com.google.polo.wire.json.JsonWireAdapter;
/external/chromium_org/tools/memory_inspector/memory_inspector/data/
H A Dfile_storage.py17 import json namespace
28 _SETTINGS_FILE = 'settings-%s.json'
37 """Loads a key-value dict from the /settings-name.json file.
44 return json.load(f)
47 """Stores a key-value dict into /settings-name.json file."""
55 return json.dump(settings, f)
81 _MMAP_EXT = '-mmap.json'
82 _NHEAP_EXT = '-nheap.json'
84 _SYM_FILE = 'syms.json'
98 json
[all...]
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
H A DAppRTCDemoActivity.java49 import org.json.JSONException;
50 import org.json.JSONObject;
373 // Send |json| to the underlying AppEngine Channel.
374 private void sendMessage(JSONObject json) { argument
375 appRtcClient.sendMessage(json.toString());
378 // Put a |key|->|value| mapping in |json|.
379 private static void jsonPut(JSONObject json, String key, Object value) { argument
381 json.put(key, value);
441 JSONObject json = new JSONObject();
442 jsonPut(json, "typ
[all...]
/external/chromium_org/build/android/gyp/
H A Dstrip_library_for_device.py7 import json namespace
36 help='Path to json file containing list of libraries')
43 libraries = json.load(libfile)
/external/chromium_org/build/
H A Dfind_isolated_tests.py19 import json namespace
40 usage='%prog --build-dir <path> --output-json <path>',
46 '--output-json',
53 parser.error('--output-json option is required')
72 json.dump(result, f)
/external/chromium_org/chrome/browser/local_discovery/storage/
H A Dprivet_filesystem_attribute_cache_unittest.cc6 #include "base/json/json_reader.h"
33 scoped_ptr<base::Value> json(base::JSONReader::Read(kPrivetStorageJSON));
35 json->GetAsDictionary(&dictionary_json);
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/
H A Dgenerate_manifest.py7 import json namespace
34 json.loads(rendered_without_comments)
/external/chromium_org/chrome/browser/resources/memory_internals/
H A Dmemory_internals.css35 #json {
/external/chromium_org/chrome/browser/ui/app_list/search/people/
H A Dpeople_provider.h68 void OnPeopleSearchFetched(scoped_ptr<base::DictionaryValue> json);
69 void ProcessPeopleSearchResults(const base::DictionaryValue* json);
/external/chromium_org/chrome/browser/web_resource/
H A Dnotification_promo_mobile_ntp.cc25 const base::DictionaryValue& json) {
27 json, NotificationPromo::MOBILE_NTP_SYNC_PROMO);
24 InitFromJson( const base::DictionaryValue& json) argument
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dgithub_file_system_test.py6 import json namespace
30 self.assertEqual(json.loads(self._ReadLocalFile('expected_list.json')),
H A Dmanifest_data_source_test.py7 import json namespace
170 'json_example': ['with', 'more', 'json']
189 'example': json.dumps(['with', 'more', 'json']),
H A Dtemplate_data_source_test.py6 import json namespace
59 context = json.loads(_ReadFile('partials', 'input.json'))
/external/chromium_org/components/domain_reliability/
H A Dbake_in_configs.py12 import json namespace
84 config = json.loads(json_text)
/external/chromium_org/ppapi/tests/
H A Dcreate_nonsfi_test_nmf.py19 import json namespace
47 """Build simple map representing nmf json."""
76 json.dump(nmf_map, output, indent=2)
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Ddisplay-profiler-output31 require 'json'
38 $stderr.puts "sudo gem install json"
138 def initialize(json)
139 @codeHash = json["hash"].to_s
140 @inferredName = json["inferredName"].to_s
141 @source = json["sourceCode"].to_s
142 @instructionCount = json["instructionCount"].to_i
144 json["bytecode"].each {
258 def initialize(json)
259 @bytecodeIndex = json["bytecodeInde
[all...]

Completed in 692 milliseconds

1234567891011>>