Searched defs:json (Results 251 - 275 of 467) sorted by relevance

<<111213141516171819

/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
H A DJsonWireAdapter.java17 package com.google.polo.wire.json;
20 import com.google.polo.json.JSONException;
21 import com.google.polo.json.JSONObject;
/external/llvm/utils/lit/lit/
H A Dmain.py78 import json namespace
110 json.dump(data, f, indent=2, sort_keys=True)
/external/skia/bench/
H A Dgen_bench_expectations.py10 import json namespace
109 'https://skia.googlesource.com/skia/+log/%s?format=json&n=%d' %
112 # so json can be read successfully
114 json_data = json.loads(trunc_list)
/external/skia/gm/rebaseline_server/
H A Dcompare_configs.py15 import json namespace
43 actuals_root: root directory containing all actual-results.json files
/external/robolectric/lib/main/
H A Djson-20080701.jar ... JSONArray rowToJSONArray (org.json.JSONTokener) throws org.json.JSONException char c String value org.json. ...
/external/chromium-trace/trace-viewer/
H A Drun_dev_server.py5 import json namespace
54 tests_as_json = json.dumps(test_filenames)
57 self.send_header('Content-Type', 'application/json')
69 files_as_json = json.dumps(data_files)
72 self.send_header('Content-Type', 'application/json')
84 msg = json.dumps({"details": traceback.format_exc(),
88 self.send_header('Content-Type', 'application/json')
113 if self.path == '/json/examples':
117 if self.path == '/json/tests':
/external/chromium-trace/
H A Dupdate.py3 import httplib, json, optparse, os, urllib, shutil, subprocess, sys namespace
61 ('output_format', 'json'),
78 result = json.loads(data)
/external/chromium_org/base/json/
H A Djson_reader_unittest.cc5 #include "base/json/json_reader.h"
546 path = path.AppendASCII("json");
551 path.Append(FILE_PATH_LITERAL("bom_feff.json")), &input));
649 const char json[] = { '"', 'n', 'u', 'l', 'l', '"', '\0' }; local
650 std::string json_string(json, sizeof(json));
/external/chromium_org/build/android/buildbot/
H A Dbb_device_status_check.py8 import json namespace
284 parser.add_option('--json-output',
372 f.write(json.dumps({
/external/chromium_org/build/android/pylib/
H A Dchrome_test_server_spawner.py13 import json namespace
166 logging.info('Got port json data: %s', port_json)
167 port_json = json.loads(port_json)
305 if content_type != 'application/json':
321 json.loads(test_server_argument_json),
328 self._SendResponse(200, 'OK', {}, json.dumps(
/external/chromium_org/build/android/pylib/perf/
H A Dtest_runner.py51 import json namespace
68 all_steps = json.load(i)
71 o.write(json.dumps(step_names))
/external/chromium_org/build/
H A Dget_syzygy_binaries.py11 import json namespace
76 return json.load(f)
89 f.write(json.dumps(state, sort_keys=True, indent=2))
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
H A Dwebrequest_action_unittest.cc8 #include "base/json/json_file_value_serializer.h"
44 scoped_ptr<WebRequestActionSet> CreateSetOfActions(const char* json) { argument
45 scoped_ptr<base::Value> parsed_value(base::test::ParseJson(json));
112 "web_request_com_host_permissions.json",
120 "web_request_all_host_permissions.json",
/external/chromium_org/chrome/browser/local_discovery/
H A Dprivetv3_session.cc7 #include "base/json/json_writer.h"
130 std::string json; local
132 &request->GetInput(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &json);
133 url_fetcher->SetUploadData(cloud_print::kContentTypeJSON, json);
/external/chromium_org/chrome/browser/profile_resetter/
H A Djtl_interpreter_unittest.cc48 std::string json; \
49 base::ReplaceChars(escaped_json, "'", "\"", &json); \
50 scoped_ptr<base::Value> json_value(ParseJson(json)); \
213 const char* json; member in struct:__anon4504::TestCase
232 cases[i].json);
246 const char* json; member in struct:__anon4504::TestCase
280 cases[i].json);
296 cases[i].json);
310 const char* json; member in struct:__anon4504::TestCase
328 cases[i].json);
345 const char* json; member in struct:__anon4504::TestCase
395 const char* json; member in struct:__anon4504::TestCase
430 const char* json; member in struct:__anon4504::TestCase
500 const char* json; member in struct:__anon4504::TestCase
543 const char* json; member in struct:__anon4504::TestCase
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/
H A Dchromevox_webstore_util.py12 import json namespace
72 return json.loads(content)
/external/chromium_org/chrome/browser/ui/app_list/search/people/
H A Dpeople_provider.cc151 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) ||
150 OnPeopleSearchFetched( scoped_ptr<base::DictionaryValue> json) argument
159 ProcessPeopleSearchResults( const base::DictionaryValue* json) argument
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/
H A Dwebstore_provider.cc109 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) ||
108 OnWebstoreSearchFetched( scoped_ptr<base::DictionaryValue> json) argument
117 ProcessWebstoreSearchResults( const base::DictionaryValue* json) argument
/external/chromium_org/chrome/browser/ui/webui/
H A Dpolicy_ui_browsertest.cc8 #include "base/json/json_reader.h"
146 std::string json; local
148 &json));
149 scoped_ptr<base::Value> value_ptr(base::JSONReader::Read(json));
/external/chromium_org/chrome/browser/web_resource/
H A Dpromo_resource_service_mobile_ntp_unittest.cc7 #include "base/json/json_reader.h"
43 void Init(const std::string& json, argument
49 base::Value* value(base::JSONReader::Read(json));
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dapi_schema_graph.py5 import json namespace
275 assert False, 'Problems with naming node: %s' % json.dumps(node, indent=3)
H A Dcontent_provider_test.py7 import json namespace
19 _REDIRECTS_JSON = json.dumps({
68 'redirects.json': _REDIRECTS_JSON,
124 unicode(_REDIRECTS_JSON, 'utf-8'), 'application/json',
125 self._content_provider.GetContentAndType('redirects.json').Get())
H A Dfake_fetchers.py10 import json namespace
43 return _ReadTestData('branch_utility', 'first.json')
48 return _ReadTestData('branch_utility', 'second.json')
98 return json.dumps({'commit': '1' * 40})
115 return json.dumps(jsn)
168 'rietveld_patcher', self._base_pattern.match(url).group(1), 'json')
H A Dgithub_file_system.py5 import json namespace
194 version = json.loads(result.content)['sha']
H A Dgitiles_file_system.py8 import json namespace
37 '''json.loads with fix-up for non-executable JSON. Use this to parse any JSON
40 return json.loads(json_data[json_data.find('{'):])
198 return content_future.Then(lambda json: _ParseGitilesJson(json)[key])

Completed in 465 milliseconds

<<111213141516171819