/external/chromium_org/third_party/libaddressinput/src/cpp/src/util/ |
json.h | 27 // Parses a JSON dictionary of strings. Sample usage: 28 // Json json; 29 // if (json.ParseObject("{'key1':'value1', 'key2':'value2'}") && 30 // json.HasStringKey("key1")) { 31 // Process(json.GetStringValueForKey("key1")); 33 class Json { 35 Json(); 36 ~Json(); 38 // Parses the |json| string and returns true if |json| is valid and it is a [all...] |
/external/chromium_org/tools/checklicenses/ |
checklicenses.py | 9 import json namespace 490 if options.json: 491 with open(options.json, 'w') as f: 492 json.dump(errors, f) 540 option_parser.add_option('--json', help='Path to JSON output file')
|
/external/chromium_org/v8/tools/testrunner/server/ |
compression.py | 31 import ujson as json namespace 33 import json namespace 42 Sends a JSON encodable object over the specified socket (zlib-compressed). 44 obj = json.dumps(obj) 90 result = json.loads(result)
|
/external/clang/docs/analyzer/ |
Makefile | 17 .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 69 @echo "Build finished; now you can process the JSON files."
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/ |
WireFormat.java | 20 import com.google.polo.wire.json.JsonWireAdapter; 29 JSON, // JSON, implemented by JsonWireInterface 42 case JSON:
|
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/ |
AppRTCDemoActivity.java | 49 import org.json.JSONException; 50 import org.json.JSONObject; 398 // Send |json| to the underlying AppEngine Channel. 399 private void sendMessage(JSONObject json) { 400 appRtcClient.sendMessage(json.toString()); 403 // Put a |key|->|value| mapping in |json|. 404 private static void jsonPut(JSONObject json, String key, Object value) { 406 json.put(key, value); 466 JSONObject json = new JSONObject(); 467 jsonPut(json, "type", "candidate") 558 JSONObject json = new JSONObject(); local 629 JSONObject json = new JSONObject(data); local [all...] |
/external/chromium_org/build/ |
find_isolated_tests.py | 7 hashes, stores final list in JSON document and then removes *.isolated files 19 import json namespace 40 usage='%prog --build-dir <path> --output-json <path>', 46 '--output-json', 47 help='File to dump JSON results into.') 53 parser.error('--output-json option is required') 72 json.dump(result, f)
|
/external/chromium_org/chrome/browser/devtools/ |
devtools_protocol.h | 99 static Notification* ParseNotification(const std::string& json); 102 static Response* ParseResponse(const std::string& json);
|
/external/chromium_org/chrome/browser/resources/memory_internals/ |
memory_internals.css | 35 #json {
|
/external/chromium_org/chrome/browser/ui/app_list/search/people/ |
people_provider.h | 68 void OnPeopleSearchFetched(scoped_ptr<base::DictionaryValue> json); 69 void ProcessPeopleSearchResults(const base::DictionaryValue* json);
|
/external/chromium_org/chrome/browser/web_resource/ |
notification_promo_mobile_ntp.cc | 25 const base::DictionaryValue& json) { 27 json, NotificationPromo::MOBILE_NTP_SYNC_PROMO);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
github_file_system_test.py | 6 import json namespace 30 self.assertEqual(json.loads(self._ReadLocalFile('expected_list.json')),
|
platform_bundle_test.py | 6 import json namespace 19 'inspected_window.json': ReadFile( 20 CHROME_API, 'devtools', 'inspected_window.json'), 22 '_api_features.json': json.dumps({ 33 '_manifest_features.json': '{}', 34 '_permission_features.json': '{}', 36 'input_ime.json': ReadFile(CHROME_API, 'input_ime.json'), 37 'page_action.json': ReadFile(CHROME_API, 'page_action.json') [all...] |
template_data_source_test.py | 6 import json namespace 59 context = json.loads(_ReadFile('partials', 'input.json'))
|
/external/chromium_org/chrome/test/ispy/server/ |
update_mask_handler.py | 36 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/google_apis/drive/ |
gdata_wapi_requests.cc | 18 scoped_ptr<ResourceEntry> ParseResourceEntry(const std::string& json) { 19 scoped_ptr<base::Value> value = ParseJson(json);
|
/external/chromium_org/ppapi/tests/ |
create_nonsfi_test_nmf.py | 14 This script simply reformats the command line arguments into NMF JSON format. 19 import json namespace 47 """Build simple map representing nmf json.""" 74 """Writes the nmf to an output file at given path in JSON format.""" 76 json.dump(nmf_map, output, indent=2)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
display-profiler-output | 31 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["bytecodeIndex"].to_ [all...] |
print-test-ordering | 31 import json namespace 38 parser = optparse.OptionParser(usage='%prog [stats.json]') 39 parser.description = "Prints out lists of tests run on each worker as per the stats.json file." 46 stats_path = host.filesystem.join(host.port_factory.get().results_directory(), 'stats.json') 49 stats_trie = json.load(fp)
|
/external/chromium_org/third_party/polymer/ |
PRESUBMIT.py | 12 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.',
|
extract_inline_scripts.sh | 45 vulcanize -o "$html_without_js" --csp --config vulcanize_config.json \
|
/external/chromium_org/tools/json_schema_compiler/ |
json_parse.py | 5 import json namespace 22 # Successfully imported, so we're running Python >= 2.7, and json.loads 25 return json.loads(json_comment_eater.Nom(json_str), 29 # Failed to import, so we're running Python < 2.7, and json.loads doesn't 33 # let json-schema-compiler do its thing.
|
/external/chromium_org/tools/ |
omahaproxy.py | 12 import json namespace 19 URL = 'https://omahaproxy.appspot.com/json' 24 data = json.load(urllib.urlopen(URL))
|
/external/chromium_org/tools/perf/metrics/ |
v8_object_stats.py | 5 import json namespace 213 """ % json.dumps(counters))
|
/external/chromium_org/tools/telemetry/telemetry/results/ |
chart_json_output_formatter.py | 7 import json namespace 14 """Produces a dict for serialization to Chart JSON format from raw values. 16 Chart JSON is a transformation of the basic Telemetry JSON format that 20 object) and processes them into a dict which can be serialized using the json 31 A Chart JSON dict corresponding to the given data. 61 # TODO(eakuefner): Transition this to translate Telemetry JSON. 68 json.dump(_ResultsAsChartDict(
|