/external/chromium_org/chrome/common/extensions/docs/server2/ |
content_provider_test.py | 7 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())
|
github_file_system.py | 5 import json namespace 192 # Parse response JSON - but sometimes github gives us invalid JSON. 194 version = json.loads(result.content)['sha'] 199 ('%s: got invalid or unexpected JSON from github. Response status ' +
|
/external/chromium_org/chrome/utility/extensions/ |
extensions_handler.cc | 192 void ExtensionsHandler::OnParseJSON(const std::string& json) { 196 json, base::JSON_PARSE_RFC, &error_code, &error);
|
/external/chromium_org/components/autofill/content/browser/wallet/ |
full_wallet_unittest.cc | 5 #include "base/json/json_reader.h" 375 void SetUpDictionary(const std::string& json) { 376 scoped_ptr<base::Value> value(base::JSONReader::Read(json));
|
wallet_items_unittest.cc | 5 #include "base/json/json_reader.h" 391 void SetUpDictionary(const std::string& json) { 392 scoped_ptr<base::Value> value(base::JSONReader::Read(json));
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/ |
JellyBeanAccessibilityInjector.java | 14 import org.json.JSONException; 15 import org.json.JSONObject; 107 * Packs an accessibility action into a JSON object and sends it to AndroidVox.
|
/external/chromium_org/content/renderer/manifest/ |
manifest_parser.cc | 7 #include "base/json/json_reader.h" 280 Manifest ManifestParser::Parse(const base::StringPiece& json, 283 scoped_ptr<base::Value> value(base::JSONReader::Read(json)); 285 // TODO(mlamouri): get the JSON parsing error and report it to the developer
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
build_app.py | 6 import json namespace 34 # Remove unwanted files from the package. Also remove manifest.json files 36 # examples, though, which CWS complains about. The master manifest.json 40 f == 'manifest.json' or 142 pretty_permissions = json.dumps(all_permissions, sort_keys=True, indent=4) 156 # Add manifest.json after RemoveBuildCruft... that function removes the 157 # manifest.json files for the individual examples. 171 os.path.join(sdk_resources_dir, 'manifest.json.template'), 172 os.path.join(app_examples_dir, 'manifest.json'),
|
/external/chromium_org/native_client_sdk/src/doc/reference/ |
nacl-manifest-format.rst | 13 Every Native Client application has a `JSON-formatted <http://www.json.org/>`_ 216 * The schema must be valid JSON.
|
/external/chromium_org/net/tools/quic/benchmark/ |
run_client.py | 9 import json namespace 20 --address=127.0.0.1 --port=5000 --infile=test_urls.json \ 22 fetches pages listed in test_urls.json from a quic server running at 70 data = json.load(f) 123 infile: Input json file describing the page list. 177 parser.add_option('--infile', dest='infile', default='test_urls.json')
|
/external/chromium_org/net/tools/testserver/ |
testserver_base.py | 7 import json namespace 244 server_data_json = json.dumps(server_data)
|
/external/chromium_org/remoting/tools/ |
zip2msi.py | 12 +- parameters.json 18 'parameters.json' specifies the parameters to be passed to candle/light and 49 import json namespace 211 # Read parameters from 'parameters.json'. 212 f = open(os.path.join(source_dir, 'parameters.json')) 213 parameters = Merge(json.load(f), parameters)
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
generate_protocol_externs.py | 61 def generate_enum(name, json): 63 for member in json["enum"]:
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
bot_test_expectations.py | 32 import json namespace 46 # results.json v4 format: 75 # results.json was originally designed to support 76 # multiple builders in one json file, so the builder_name 77 # is needed to figure out which builder this json file 102 # Knowing how to parse the run-length-encoded values in results.json 109 RESULTS_URL_PREFIX = 'http://test-results.appspot.com/testfile?master=ChromiumWebkit&testtype=layout-tests&name=results-small.json&builder=' 125 return ResultsJSON(builder, json.load(urllib2.urlopen(results_url))) 148 # FIXME: Get this from the json instead of hard-coding it.
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/ |
rebaselineserver_unittest.py | 29 import json namespace 209 results_json = json.loads(strip_json_wrapper(example_json))
|
/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/ |
JsoMapTest.java | 21 import org.json.JSONArray; 22 import org.json.JSONException;
|
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/ |
APPRTCConnectionManager.m | 300 NSDictionary* json = @{ 308 [NSJSONSerialization dataWithJSONObject:json options:0 error:&error]; 313 @"Unable to serialize JSON object with error: %@", 358 NSDictionary* json = @{@"type" : sdp.type, @"sdp" : sdp.description}; 360 NSData* data = [NSJSONSerialization dataWithJSONObject:json
|
/external/chromium_org/third_party/skia/bench/ |
gen_bench_expectations.py | 10 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/chromium_org/tools/deep_memory_profiler/visualizer/static/ |
profiler_unittest.js | 38 $.getJSON('../data/sample.json', function(data) {
|
/external/chromium_org/tools/find_runtime_symbols/ |
find_runtime_symbols.py | 11 import json namespace 40 _FILES_FILENAME = 'files.json' 88 files = json.load(f)
|
/external/chromium_org/tools/ |
isolate_driver.py | 23 import json namespace 117 '.a', '.cc', '.css', '.def', '.frag', '.h', '.html', '.js', '.json', 263 Dumps it as JSON to |output| file. 266 json.dump({ 295 # isolated.py invocation later, store it in *.isolated.gen.json file. 297 prepare_isolate_call(args[1:], args[isolated] + '.gen.json')
|
/external/chromium_org/tools/profile_chrome/third_party/ |
perf_to_tracing.py | 1 # Script for converting perf script events into tracing JSON. 6 import json namespace 248 json.dump(trace_dict, sys.stdout, indent=1)
|
/external/chromium_org/tools/sheriffing/ |
statuspageinfo.js | 9 this.jsonUrl = statusPageUrl + 'current?format=json'; 16 /** Send and parse an asynchronous request to get a repo status JSON. */ 31 var statusPageJson = JSON.parse(request.responseText);
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
strace_profiler.py | 5 import json namespace 47 """Returns chrometrace json format for |infile| strace output.""" 208 self._output_file = output_path + '.json' 249 f.write(json.dumps(out_json, separators=(',', ':')))
|
/external/chromium_org/tools/traceline/traceline/scripts/ |
crit_sec.js | 5 // You should run this with v8, like v8_shell alloc.js datafile.json
|