Searched refs:json (Results 76 - 100 of 995) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/test/chromedriver/chrome/
H A Ddom_tracker.cc9 #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 Dlog.cc7 #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 Dservices.py9 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 Dgenerate_test_messages.py7 '''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 Duninstall_host.sh24 rm $TARGET_DIR/com.google.chrome.example.echo.json
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/
H A Dbuild_applications.py17 import simplejson as json namespace
19 import json namespace
H A Dconcatenate_module_descriptors.py7 """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 Ddevtools_file_hashes.py34 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 Djsonchecker.py25 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 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)
/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/
H A Dadb15 import json namespace
22 # Load the dictionary of expected_cmd -> planned_response from the json file
25 responses = json.load(f)
H A Dmock_adb.py5 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 Dservice_worker.py19 json = tab.EvaluateJavaScript('window.results')
20 for key, value in json.iteritems():
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dinspector_memory.py4 import json namespace
46 json.dumps(res, indent=2))
H A Dtracing_backend_unittest.py6 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 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)
/external/chromium_org/ui/base/webui/
H A Djstemplate_builder.cc10 #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 Drule.cc30 #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 Denv_dump.py9 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 Dpermissions_data_source_test.py6 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 DMakefile15 .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 Drun_server.sh18 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 DHTTPTokener.java1 package com.google.polo.json;
H A DJSONException.java1 package com.google.polo.json;
/external/mesa3d/src/gallium/docs/
H A DMakefile15 .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

Completed in 1321 milliseconds

1234567891011>>