/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)
|
H A D | jsondiff.py | 20 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/base/json/ |
H A D | json_writer.cc | 5 #include "base/json/json_writer.h" 9 #include "base/json/string_escape.h" 24 bool JSONWriter::Write(const Value* const node, std::string* json) { argument 25 return WriteWithOptions(node, 0, json); 30 std::string* json) { 31 json->clear(); 33 json->reserve(1024); 35 JSONWriter writer(options, json); 39 json->append(kPrettyPrintLineEnding); 44 JSONWriter::JSONWriter(int options, std::string* json) argument 29 WriteWithOptions(const Value* const node, int options, std::string* json) argument [all...] |
/external/chromium_org/build/ |
H A D | vs_toolchain.py | 5 import json namespace 18 json_data_file = os.path.join(script_dir, 'win_toolchain.json') 36 toolchain_data = json.load(tempf) 142 this revision. The update outputs a .json of the various configuration 150 json_data_file = os.path.join(script_dir, 'win_toolchain.json') 156 '--output-json', json_data_file,
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | manifest_data_source_test.py | 7 import json namespace 170 'json_example': ['with', 'more', 'json'] 189 'example': json.dumps(['with', 'more', 'json']),
|
H A D | redirector_test.py | 6 import json namespace 18 'redirects.json': json.dumps({ 25 'redirects.json': json.dumps({ 32 'redirects.json': json.dumps({ 46 'redirects.json': json.dumps({ 52 'redirects.json' [all...] |
H A D | samples_model.py | 5 import json namespace 79 manifest = self._text_cache.GetFromFile(path + '/manifest.json').Get() 81 manifest_json = json.loads(json_comment_eater.Nom(manifest)) 83 logging.error('Error parsing manifest.json for %s: %s' % (path, e)) 98 return (path, json.loads(self._text_cache.GetFromFile(path).Get())) 101 locales_json = [load_locale_json(locales_path + f + 'messages.json') 113 if filename.rsplit('/')[-1] != 'manifest.json':
|
H A D | sidenav_data_source_test.py | 6 import json namespace 65 'chrome_sidenav.json': json.dumps([ 101 'chrome_sidenav.json': json.dumps([{ 144 'chrome_sidenav.json': '[{ "title": "H1" }]' 152 # If Refresh fails, chrome_sidenav.json will not be cached, and the 156 '%schrome_sidenav.json' % JSON_TEMPLATES).Get().cache_data
|
/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);
|
/external/chromium_org/chrome/test/ispy/ |
H A D | ispy_api.py | 5 import json namespace 37 file contains a json list of ordered Chrome versions for which 58 version_file, json.dumps(expectation_versions), 59 'application/json') 83 file contains a json list of ordered Chrome versions for which 90 return json.loads(self._cloud_bucket.DownloadFile(version_file)) 180 rebaseline_attrib = json.loads( 198 json.dumps({ 201 'application/json')
|
/external/chromium_org/chrome/test/ispy/server/ |
H A D | main_view_handler.py | 8 import json namespace 108 res['info'] = json.loads(ispy.cloud_bucket.DownloadFile(
|
/external/chromium_org/components/autofill/content/browser/wallet/ |
H A D | full_wallet_unittest.cc | 5 #include "base/json/json_reader.h" 375 void SetUpDictionary(const std::string& json) { argument 376 scoped_ptr<base::Value> value(base::JSONReader::Read(json));
|
/external/chromium_org/components/cloud_devices/common/ |
H A D | cloud_device_description.cc | 7 #include "base/json/json_reader.h" 8 #include "base/json/json_writer.h" 24 root_->SetString(json::kVersion, json::kVersion10); 34 root_->GetString(json::kVersion, &version); 35 return version == json::kVersion10; 38 bool CloudDeviceDescription::InitFromString(const std::string& json) { argument 39 scoped_ptr<base::Value> parsed(base::JSONReader::Read(json)); 48 std::string json; local 50 root_.get(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &json); [all...] |
/external/chromium_org/gpu/config/ |
H A D | gpu_blacklist_unittest.cc | 28 const std::string json = local 50 EXPECT_TRUE(blacklist->LoadList(json, GpuBlacklist::kAllOs));
|
/external/chromium_org/remoting/tools/ |
H A D | native_messaging_host_test.py | 8 import json namespace 134 message = json.dumps(message_dict)
|
H A D | 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/ |
H A D | modular_build.py | 15 import simplejson as json namespace 17 import json namespace 130 application_descriptor = {desc['name']: desc for desc in json.loads(application_descriptor_json)} 136 module_json_filename = path.join(self.application_dir, module_name, 'module.json') 147 json_filename = path.join(self.application_dir, module_name, 'module.json') 150 module_json = json.loads(read_file(json_filename))
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/ |
H A D | alerts.py | 7 import json namespace 17 class DateTimeEncoder(json.JSONEncoder): 22 return json.JSONEncoder.default(self, obj) 32 self.response.headers['Content-Type'] = 'application/json' 41 return json.dumps(alerts, cls=DateTimeEncoder, indent=1) 58 alerts = json.loads(self.request.get('content'))
|
/external/chromium_org/third_party/closure_compiler/ |
H A D | compile_modules.py | 12 import json namespace 14 import simplejson as json namespace 54 data = json.load(file) 58 pretty_json = json.dumps(data, indent=2, separators=(',', ': ')).strip()
|
/external/chromium_org/third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js/ |
H A D | dom_distiller_json_converter.h | 15 namespace json { namespace in namespace:dom_distiller::proto 18 static bool ReadFromValue(const base::Value* json, dom_distiller::proto::DistilledContent* message) { argument 20 if (!json->GetAsDictionary(&dict)) goto error; 45 static bool ReadFromValue(const base::Value* json, dom_distiller::proto::PaginationInfo* message) { argument 47 if (!json->GetAsDictionary(&dict)) goto error; 92 static bool ReadFromValue(const base::Value* json, dom_distiller::proto::MarkupArticle* message) { argument 94 if (!json->GetAsDictionary(&dict)) goto error; 167 static bool ReadFromValue(const base::Value* json, dom_distiller::proto::MarkupImage* message) { argument 169 if (!json->GetAsDictionary(&dict)) goto error; 244 static bool ReadFromValue(const base::Value* json, dom_distille argument 367 ReadFromValue(const base::Value* json, dom_distiller::proto::TimingInfo* message) argument 434 ReadFromValue(const base::Value* json, dom_distiller::proto::DebugInfo* message) argument 461 ReadFromValue(const base::Value* json, dom_distiller::proto::StatisticsInfo* message) argument 488 ReadFromValue(const base::Value* json, dom_distiller::proto::DomDistillerResult* message) argument 617 ReadFromValue(const base::Value* json, dom_distiller::proto::DomDistillerOptions* message) argument [all...] |
/external/chromium_org/tools/crx_id/ |
H A D | crx_id.py | 19 import json namespace 21 import simplejson as json namespace 98 manifest = json.load(f) 108 with open(os.path.join(filename, 'manifest.json'), 'rb') as f: 109 manifest = json.load(f) 121 f = open(os.path.join(filename, 'manifest.json'), 'rb')
|
/external/chromium_org/tools/deep_memory_profiler/ |
H A D | accumulate.py | 9 # ./accumulate.py -f <format> -t <template-name> < input.json > output 11 # <format> is one of "csv", "json", and "tree". If "csv" or "json" is given, 12 # accumulate.py dumps a similar file to "dmprof csv|json". If "tree" is given, 15 # <template-name> is a label in templates.json. 18 import json namespace 192 json.dump(json_root, output, indent=2, sort_keys=True) 204 if output_format not in ['csv', 'json', 'tree']: 212 data = json.loads(cat_input.read(), object_pairs_hook=OrderedDict) 242 elif output_format == 'json' [all...] |
/external/chromium_org/tools/deep_memory_profiler/subcommands/ |
H A D | cat.py | 5 import json namespace 79 json.dump(json_root, sys.stdout, indent=2) 81 json.dump(json_root, sys.stdout)
|
H A D | policies.py | 6 import json namespace 325 super(JSONCommand, self).__init__('json') 358 json.dump(json_base, out, indent=2, sort_keys=True)
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/ |
H A D | app.py | 10 import json namespace 45 template_values['json'] = services.GetProfiler(run_id) 54 that user can upload large json file.""" 82 content = json.loads(self.request.POST['content'])
|