Searched defs:json (Results 101 - 125 of 467) sorted by relevance

1234567891011>>

/external/chromium_org/gpu/config/
H A Dgpu_driver_bug_list_unittest.cc53 std::string json; local
82 const std::string json = LONG_STRING_CONST( local
109 EXPECT_TRUE(driver_bug_list->LoadList(json, GpuControlList::kAllOs));
120 EXPECT_TRUE(driver_bug_list->LoadList(json, GpuControlList::kAllOs));
161 const std::string json = LONG_STRING_CONST( local
185 EXPECT_TRUE(list->LoadList(json, GpuControlList::kAllOs));
/external/chromium_org/mojo/tools/pylib/
H A Dmojo_python_tests_runner.py6 import json namespace
70 json.dump(full_results, fp, indent=2)
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dnacl-mono-buildbot.py7 import json namespace
16 SDK_MANIFEST = 'naclsdk_manifest2.json'
17 MONO_MANIFEST = 'naclmono_manifest.json'
49 sdk_manifest = json.loads(manifest_file.read())
74 mono_manifest = json.loads(manifest_file.read())
103 manifest_file.write(json.dumps(mono_manifest, sort_keys=False, indent=2))
116 mono_manifest = json.loads(manifest_file.read())
155 manifest_file.write(json.dumps(mono_manifest, sort_keys=False, indent=2))
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/
H A Dconfig.py5 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)
/external/chromium_org/native_client_sdk/src/tools/
H A Ddecode_dump.py11 import json namespace
38 self.nmf_data = json.load(open(nmf_filename))
132 core = json.loads(text)
139 """Given a core.json file, load and embellish with decoded addresses.
146 core = json.load(open(core_path))
152 """Convert a decoded core.json dump to a simple stack trace.
155 info: core.json info with decoded code addresses.
181 usage='USAGE: %prog [options] <core.json>')
/external/chromium_org/net/data/ssl/scripts/
H A Dcrlsetutil.py29 import json namespace
163 config = json.load(sys.stdin)
179 header = json.dumps(header_json)
/external/chromium_org/net/tools/quic/benchmark/
H A Drun_client.py9 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/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/remoting/android/java/src/org/chromium/chromoting/
H A DHostInfo.java7 import org.json.JSONArray;
8 import org.json.JSONException;
9 import org.json.JSONObject;
40 public static HostInfo create(JSONObject json) throws JSONException { argument
41 assert json != null;
44 JSONArray jsonPatterns = json.optJSONArray("tokenUrlPatterns");
55 json.getString("hostName"),
56 json.getString("hostId"),
57 json.optString("jabberId"),
58 json
[all...]
/external/chromium_org/remoting/base/
H A Dvlog_net_log.cc7 #include "base/json/json_writer.h"
37 std::string json; local
38 base::JSONWriter::Write(value.get(), &json);
39 VLOG(4) << json;
/external/chromium_org/remoting/host/
H A Dpairing_registry_delegate_win_unittest.cc80 base::DictionaryValue* json; local
81 EXPECT_TRUE(pairings->GetDictionary(0, &json));
82 EXPECT_EQ(PairingRegistry::Pairing::CreateFromValue(*json), pairing2);
/external/chromium_org/remoting/tools/
H A Dverify_resources.py13 This script also recognises localized strings in HTML and manifest.json files:
18 manifest.json: __MSG_PRODUCT_NAME__
27 import json namespace
81 elif file_type == 'json.jinja2':
102 if file_type == 'jinja2' and base_name.endswith('.json'):
103 file_type = 'json.jinja2'
104 if file_type not in ['js', 'cc', 'html', 'json.jinja2', 'jinja2', 'mm']:
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/
H A Dconcatenate_application_code.py8 Concatenates autostart modules, application modules' module.json descriptors,
21 import simplejson as json namespace
23 import json namespace
64 output.write('/* Application descriptor %s */\n' % (application_name + '.json'))
69 output.write(json.dumps(descriptors.modules.values()))
104 descriptors = loader.load_application(application_name + '.json')
H A Dconcatenate_module_scripts.py8 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))
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dprint-stale-test-expectations-entries34 import json namespace
54 parsed = json.loads(response.read())
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/
H A Dgenerate_results_dashboard.py29 import json namespace
122 current_failing_results_json_file = self._filesystem.join(results_directories[0], 'failing_results.json')
125 self._current_result_json_dict['tests'] = json.loads(input_json_string)['tests']
133 failing_json_file_path = self._filesystem.join(json_file, 'failing_results.json')
134 full_json_file_path = self._filesystem.join(json_file, 'full_results.json')
137 self._old_failing_results_list.append(json.loads(json_string))
139 self._old_full_results_list.append(json.loads(json_string_full_result))
149 final_json = json.dumps(self._final_result)
151 archived_results_file_path = self._filesystem.join(self._results_directory, 'archived_results.json')
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/
H A Djson_results_generator.py29 import json namespace
43 # FIXME: Kill this code once the server returns json instead of jsonp.
52 return json.loads(content)
57 json_string = json.dumps(json_object, separators=(',', ':'))
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/
H A Dlayouttestsserver.py31 import json namespace
52 json_data = json.loads(json_raw_data)
/external/chromium_org/third_party/libaddressinput/src/cpp/test/
H A Drule_test.cc32 #include "util/json.h"
224 Json json; local
225 ASSERT_TRUE(json.ParseObject("{\"zip\":\"\\\\d{3}\"}"));
227 rule.ParseJsonRule(json);
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
H A DAddressVerificationData.java48 String json = mPropertiesMap.get(key);
49 if (json != null && isValidKey(key)) {
50 return createNodeData(json);
80 AddressVerificationNodeData createNodeData(String json) { argument
82 json = json.substring(1, json.length() - 1);
90 Matcher sm = SEPARATOR_PATTERN.matcher(json);
92 while (pos < json.length()) {
95 pair = json
[all...]
/external/chromium_org/third_party/skia/tools/
H A Dbuildbot_globals.py8 Provides read access to buildbot's global_variables.json .
13 import json namespace
24 _GLOBAL_VARS_PATH = 'site_config/global_variables.json'
28 """Exception which is raised when the global_variables.json file cannot be
34 """Exception which is raised when the global_variables.json file cannot be
43 global_variables.json file."""
48 """Return the value associated with this name in global_variables.json.
66 _global_vars = json.loads(global_vars_text)
H A Djsondiff.py20 import json namespace
28 # that directory. That script allows us to parse the actual-results.json file
197 json.dump(diffs, sys.stdout, sort_keys=True, indent=2)
/external/chromium_org/tools/checklicenses/
H A Dchecklicenses.py9 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/tools/clang/scripts/
H A Dtest_tool.py10 import json namespace
22 return json.dumps([{'directory': '.',
45 'compile_commands.json')
/external/chromium_org/tools/deep_memory_profiler/visualizer/
H A Dapp_unittest.py9 import json namespace
46 self.correct_blob = ServicesTest.CreateBlob('testdata/sample.json')
47 self.error_blob = ServicesTest.CreateBlob('testdata/error_sample.json')
70 json_obj = json.loads(correct_blob['json_str'])
72 template_entity = ndb.Key('Template', json.dumps(content)).get()

Completed in 1420 milliseconds

1234567891011>>