/external/chromium_org/chrome/test/chromedriver/chrome/ |
H A D | dom_tracker.cc | 9 #include "base/json/json_writer.h" 45 std::string json; local 46 base::JSONWriter::Write(nodes, &json); 48 "DOM.setChildNodes has invalid 'nodes': " + json); 56 std::string json; local 57 base::JSONWriter::Write(node, &json); 59 "DOM.childNodeInserted has invalid 'node': " + json);
|
H A D | log.cc | 7 #include "base/json/json_reader.h" 8 #include "base/json/json_writer.h" 86 std::string json; local 88 &value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json); 90 base::RemoveChars(json, "\r", &json); 93 if (json.length()) 94 json.resize(json.length() - 1); 95 return json; 103 FormatJsonForDisplay(const std::string& json) argument [all...] |
/external/chromium_org/tools/deep_memory_profiler/visualizer/ |
H A D | services.py | 9 import json namespace 16 """Profiler entity to store json data. Use run_id as its key. 30 json_obj = json.loads(json_str) 54 json_obj = json.loads(json_str) 65 content_str = json.dumps(content) 79 content_str = json.dumps(content) 93 return json.dumps(template.content)
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/ |
H A D | generate_test_messages.py | 7 '''Generates test_messages.js from an extension message json file.''' 23 cvox.TestMessages = %(json)s; 39 json = in_file.read().strip() 41 out_file.write(_JS_TEMPLATE % {'in_file': in_file_name, 'json': json})
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/ |
H A D | uninstall_host.sh | 24 rm $TARGET_DIR/com.google.chrome.example.echo.json
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
H A D | build_applications.py | 17 import simplejson as json namespace 19 import json namespace
|
H A D | concatenate_module_descriptors.py | 7 """Inlines all module.json files into "var allDescriptors" in Runtime.js.""" 16 import simplejson as json namespace 18 import json namespace 34 module_json = json.loads(read_file(json_filename)) 42 return json.dumps(result)
|
H A D | devtools_file_hashes.py | 34 import json namespace 36 import simplejson as json namespace 42 json.dump(hashes, hashes_file, indent=4, separators=(",", ": ")) 51 hashes = json.load(hashes_file)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
H A D | jsonchecker.py | 25 import json namespace 32 categories = set(('json/syntax',)) 40 json.loads('\n'.join(lines) + '\n') 42 self._handle_style_error(self.line_number_from_json_exception(e), 'json/syntax', 5, str(e))
|
/external/chromium_org/third_party/skia/tools/ |
H A D | buildbot_globals.py | 8 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)
|
/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/ |
H A D | adb | 15 import json namespace 22 # Load the dictionary of expected_cmd -> planned_response from the json file 25 responses = json.load(f)
|
H A D | mock_adb.py | 5 import json namespace 16 commands. The dictionary is stored into a json file and read by the mock 'adb' 17 script. The path of the json dict is held in the MOCK_ADB_CFG env var. 27 json.dump(self._responses, f)
|
/external/chromium_org/tools/perf/benchmarks/ |
H A D | service_worker.py | 19 json = tab.EvaluateJavaScript('window.results') 20 for key, value in json.iteritems():
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
H A D | inspector_memory.py | 4 import json namespace 46 json.dumps(res, indent=2))
|
H A D | tracing_backend_unittest.py | 6 import json namespace 50 ri = tracing_timeline_data.TracingTimelineData(map(json.loads, [])) 55 j = json.loads(v) 60 ri = tracing_timeline_data.TracingTimelineData(map(json.loads, [ 67 j = json.loads(v) 72 ri = tracing_timeline_data.TracingTimelineData(map(json.loads, [ 80 j = json.loads(v) 86 ri = tracing_timeline_data.TracingTimelineData(map(json.loads, [
|
/external/skia/tools/ |
H A D | buildbot_globals.py | 8 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)
|
/external/chromium_org/ui/base/webui/ |
H A D | jstemplate_builder.cc | 10 #include "base/json/json_file_value_serializer.h" 11 #include "base/json/json_string_value_serializer.h" 36 const base::DictionaryValue* json, 39 AppendJsonHtml(json, &output); 46 const base::DictionaryValue* json) { 48 AppendJsonHtml(json, &output); 55 const base::DictionaryValue* json, 60 AppendJsonHtml(json, &output); 66 void AppendJsonHtml(const base::DictionaryValue* json, std::string* output) { argument 68 AppendJsonJS(json, 35 GetTemplateHtml(const base::StringPiece& html_template, const base::DictionaryValue* json, const base::StringPiece& template_id) argument 45 GetI18nTemplateHtml(const base::StringPiece& html_template, const base::DictionaryValue* json) argument 54 GetTemplatesHtml(const base::StringPiece& html_template, const base::DictionaryValue* json, const base::StringPiece& template_id) argument 79 AppendJsonJS(const base::DictionaryValue* json, std::string* output) argument [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
H A D | rule.cc | 30 #include "util/json.h" 163 Json json; local 164 if (!json.ParseObject(serialized_rule)) { 167 ParseJsonRule(json); 171 void Rule::ParseJsonRule(const Json& json) { argument 173 if (json.GetStringValueForKey("id", &value)) { 177 if (json.GetStringValueForKey("fmt", &value)) { 181 if (json.GetStringValueForKey("lfmt", &value)) { 185 if (json.GetStringValueForKey("require", &value)) { 189 if (json [all...] |
/external/chromium_org/build/ |
H A D | env_dump.py | 9 import json namespace 19 parser.add_option('-f', '--output-json', 29 parser.error('Cannot specify args or --output-json with --dump-mode.') 30 json.dump(dict(os.environ), sys.stdout) 33 parser.error('Requires --output-json option.') 46 new_env = json.loads(output) 52 json.dump(env_diff, f)
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | permissions_data_source_test.py | 6 import json namespace 19 # permissions.json file. 24 # since the entry appears in _api_features.json. 28 # This won't appear for anything since there's no entry in permissions.json 134 '_api_features.json': json.dumps(_API_FEATURES), 135 '_manifest_features.json': '{}', 136 '_permission_features.json': json.dumps(_PERMISSION_FEATURES), 140 'json' [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/docs/ |
H A D | Makefile | 15 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest 22 @echo " json to make JSON files" 48 json: 49 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
/external/chromium_org/third_party/skia/tools/bug_chomper/ |
H A D | run_server.sh | 18 if [[ ! -f oauth_client_secret.json ]]; then 19 gsutil cp gs://chromium-skia-gm/bugchomper/oauth_client_secret.json .
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
H A D | HTTPTokener.java | 1 package com.google.polo.json;
|
H A D | JSONException.java | 1 package com.google.polo.json;
|
/external/mesa3d/src/gallium/docs/ |
H A D | Makefile | 15 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest 22 @echo " json to make JSON files" 48 json: 49 $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|