/external/chromium_org/tools/json_comment_eater/ |
json_comment_eater_test.py | 12 in |test_name|.json and |test_name|_expected.json, and returns the string 19 for pattern in ('%s.json', '%s_expected.json')] 22 json, expected_json = self._Load('everything') 23 self.assertEqual(expected_json, Nom(json))
|
/external/chromium_org/tools/telemetry/telemetry/timeline/ |
inspector_timeline_data.py | 5 import json namespace 18 json.dump(self._event_data, f, indent=4)
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/ |
install_host.sh | 30 cp $DIR/$HOST_NAME.json $TARGET_DIR 35 sed -i -e "s/HOST_PATH/$ESCAPED_HOST_PATH/" $TARGET_DIR/$HOST_NAME.json 38 chmod o+r $TARGET_DIR/$HOST_NAME.json
|
uninstall_host.sh | 24 rm $TARGET_DIR/com.google.chrome.example.echo.json
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
features_bundle_test.py | 6 import json namespace 16 '_api_features.json': json.dumps({ 143 '_manifest_features.json': json.dumps({ 182 '_permission_features.json': json.dumps({ 221 'json': { 222 'manifest.json': json.dumps( [all...] |
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/chrome/browser/resources/chromeos/chromevox/chromevox/background/mathmaps/ |
math_map.js | 7 * JSON files. The class (and entries) can then be used as via the 58 * Stringifies MathMap into JSON object. 62 return JSON.stringify(this); 67 * Path to dir containing ChromeVox JSON definitions for math speak. 76 * Subpath to dir containing ChromeVox JSON definitions for symbols. 85 * Subpath to dir containing ChromeVox JSON definitions for functions. 94 * Array of JSON filenames containing symbol definitions for math speak. 101 'greek-capital.json', 'greek-small.json', 'greek-scripts.json', [all...] |
/external/chromium_org/gpu/config/ |
gpu_control_list_entry_unittest.cc | 5 #include "base/json/json_reader.h" 32 const std::string& json, bool supports_feature_type_all) { 34 root.reset(base::JSONReader::Read(json)); 48 static ScopedEntry GetEntryFromString(const std::string& json) { 49 return GetEntryFromString(json, false); 72 const std::string json = LONG_STRING_CONST( local 97 ScopedEntry entry(GetEntryFromString(json)); 116 const std::string json = LONG_STRING_CONST( local 125 ScopedEntry entry(GetEntryFromString(json)); 141 const std::string json = LONG_STRING_CONST local 170 const std::string json = LONG_STRING_CONST( local 202 const std::string json = LONG_STRING_CONST( local 235 const std::string json = LONG_STRING_CONST( local 267 const std::string json = LONG_STRING_CONST( local 293 const std::string json = LONG_STRING_CONST( local 321 const std::string json = LONG_STRING_CONST( local 335 const std::string json = LONG_STRING_CONST( local 349 const std::string json = LONG_STRING_CONST( local 367 const std::string json = LONG_STRING_CONST( local 381 const std::string json = LONG_STRING_CONST( local 412 const std::string json = LONG_STRING_CONST( local 443 const std::string json = LONG_STRING_CONST( local 474 const std::string json = LONG_STRING_CONST( local 502 const std::string json = LONG_STRING_CONST( local 525 const std::string json = LONG_STRING_CONST( local 561 const std::string json = LONG_STRING_CONST( local 584 const std::string json = LONG_STRING_CONST( local 611 const std::string json = LONG_STRING_CONST( local 629 const std::string json = LONG_STRING_CONST( local 647 const std::string json = LONG_STRING_CONST( local 666 const std::string json = LONG_STRING_CONST( local 681 const std::string json = LONG_STRING_CONST( local 704 const std::string json = LONG_STRING_CONST( local 727 const std::string json = LONG_STRING_CONST( local 759 const std::string json = LONG_STRING_CONST( local 797 const std::string json = LONG_STRING_CONST( local 822 const std::string json = LONG_STRING_CONST( local 848 const std::string json = LONG_STRING_CONST( local 865 const std::string json = LONG_STRING_CONST( local 879 const std::string json = LONG_STRING_CONST( local 894 const std::string json = LONG_STRING_CONST( local 916 const std::string json = LONG_STRING_CONST( local 973 const std::string json = LONG_STRING_CONST( local 1014 const std::string json = LONG_STRING_CONST( local 1041 const std::string json = LONG_STRING_CONST( local 1205 const std::string json = LONG_STRING_CONST( local 1227 const std::string json = LONG_STRING_CONST( local 1248 const std::string json = LONG_STRING_CONST( local 1270 const std::string json = LONG_STRING_CONST( local [all...] |
/external/chromium_org/ui/base/webui/ |
jstemplate_builder.h | 10 // - given a json data object, run the jstemplate javascript which fills in 44 const base::DictionaryValue* json, 52 const base::DictionaryValue* json); 59 const base::DictionaryValue* json, 65 // Appends a script tag with a variable name |templateData| that has the JSON 67 UI_BASE_EXPORT void AppendJsonHtml(const base::DictionaryValue* json, 72 UI_BASE_EXPORT void AppendJsonJS(const base::DictionaryValue* json, 78 // Appends the code that processes the JsTemplate with the JSON. You should 87 // Appends the code that processes the i18n Template with the JSON. You
|
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) { 68 AppendJsonJS(json, &javascript_string) [all...] |
/external/chromium_org/tools/sheriffing/ |
buildinfo.js | 6 function BuildInfo(json) { 9 if (json.currentStep) { 10 statusText = 'running ' + json.currentStep.name; 12 statusText = json.text.join(' '); 33 var failures = (state == 'failed') ? this.parseFailures(json) : null; 35 this.number = json.number; 43 BuildInfo.prototype.parseFailures = function(json) { 44 var revisionRange = this.getRevisionRange(json); 48 var botName = json.builderName; 49 for (var i = 0; i < json.steps.length; ++i) [all...] |
/external/chromium_org/build/android/pylib/device/ |
device_blacklist.py | 5 import json namespace 13 'bad_devices.json') 30 return json.load(f) 41 json.dump(list(set(blacklist)), f)
|
/external/chromium_org/remoting/base/ |
vlog_net_log.cc | 7 #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/third_party/WebKit/Source/devtools/scripts/ |
generate_supported_css.py | 31 import simplejson as json namespace 33 import json namespace 55 f.write("WebInspector.CSSMetadata.initializeWithSupportedProperties(%s);" % json.dumps(properties))
|
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)
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
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);
|
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; [all...] |
/external/chromium_org/tools/deep_memory_profiler/visualizer/ |
services.py | 9 import json namespace 16 """Profiler entity to store json data. Use run_id as its key. 17 Json data will be stored at blobstore, but can be referred by BlobKey.""" 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/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
jsonchecker.py | 23 """Checks WebKit style for JSON files.""" 25 import json namespace 30 """Processes JSON lines for checking style.""" 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/tools/memory_inspector/memory_inspector/unittest/mock_adb/ |
adb | 15 import json namespace 22 # Load the dictionary of expected_cmd -> planned_response from the json file 25 responses = json.load(f)
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
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/chromium_org/tools/telemetry/telemetry/value/ |
histogram_util.py | 12 import json namespace 27 Both parameters and the returned result are json serializations. 29 start_histogram = json.loads(start_histogram_json) 35 histogram = json.loads(histogram_json) 60 return json.dumps(histogram) 66 The parameter is a list of json serializations and the returned result is a 67 json serialization too. 75 h = json.loads(histogram_json) 86 return json.dumps(result_histogram) 90 """Get a json serialization of a histogram."" [all...] |
/external/chromium_org/tools/telemetry/telemetry/web_components/ |
results_viewer.py | 5 import json namespace 20 json.dump(self.data_to_view, f)
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
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) { 173 if (json.GetStringValueForKey("id", &value)) { 177 if (json.GetStringValueForKey("fmt", &value)) { 181 if (json.GetStringValueForKey("lfmt", &value)) [all...] |
/external/chromium_org/build/ |
env_dump.py | 7 # it, or just simply dump the current environment as JSON into a file. 9 import json namespace 19 parser.add_option('-f', '--output-json', 20 help='File to dump the environment as JSON into.') 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)
|