/external/chromium_org/tools/flakiness/ |
D | find_flakiness.py | 41 data_file = open(data_path, 'r') 42 num_runs = int(data_file.readline().split(' ')[0]) 43 num_passes = int(data_file.readline().split(' ')[0]) 44 for line in data_file: 48 data_file.close() 80 data_file = open(data_path, 'w') 82 data_file.write('%i runs\n' % num_runs) 84 data_file.write('%i passes\n' % num_passes) 87 data_file.write('%s -> %i\n' % (test, count)) 88 data_file.close() [all …]
|
/external/chromium_org/chrome/test/chromedriver/ |
D | embed_user_data_dir_in_cpp.py | 23 for data_file in args: 24 title = os.path.basename(os.path.splitext(data_file)[0]).title() 26 with open(data_file, 'r') as f:
|
/external/chromium_org/chrome/browser/ui/app_list/search/common/ |
D | dictionary_data_store.cc | 21 DictionaryDataStore::DictionaryDataStore(const base::FilePath& data_file) in DictionaryDataStore() argument 22 : data_file_(data_file) { in DictionaryDataStore() 24 token.append(data_file.AsUTF8Unsafe()); in DictionaryDataStore() 33 new base::ImportantFileWriter(data_file, file_task_runner_.get())); in DictionaryDataStore()
|
D | webservice_cache.cc | 33 const base::FilePath data_file = in WebserviceCache() local 35 data_store_ = new DictionaryDataStore(data_file); in WebserviceCache()
|
D | dictionary_data_store.h | 34 explicit DictionaryDataStore(const base::FilePath& data_file);
|
/external/chromium_org/chrome/test/functional/perf/ |
D | endure_result_parser.py | 102 def WriteToDataFile(new_line, existing_lines, revision, data_file): argument 126 with open(data_file, 'w') as f: 128 os.chmod(data_file, 0755) 178 data_file = os.path.join(dest_dir, data_file_name) 179 if os.path.exists(data_file): 180 with open(data_file, 'r') as f: 201 WriteToDataFile(new_line, existing_lines, revision, data_file) 215 data_file = os.path.join(dest_dir, data_file_name) 216 if os.path.exists(data_file): 217 with open(data_file, 'r') as f: [all …]
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | local_safebrowsing_test_server.cc | 15 const base::FilePath& data_file) in LocalSafeBrowsingTestServer() argument 19 data_file_(data_file) { in LocalSafeBrowsingTestServer()
|
D | local_safebrowsing_test_server.h | 18 explicit LocalSafeBrowsingTestServer(const base::FilePath& data_file);
|
D | safe_browsing_testserver.py | 26 self.options.data_file, self.options.host, self.options.port,
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/ |
D | template.py | 54 with open(argv[1]) as data_file: 55 data = data_file.read()
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
D | history.cc | 34 const base::FilePath data_file = in History() local 36 store_ = new HistoryDataStore(data_file); in History()
|
D | history_data_store.cc | 114 HistoryDataStore::HistoryDataStore(const base::FilePath& data_file) in HistoryDataStore() argument 115 : data_store_(new DictionaryDataStore(data_file)) { in HistoryDataStore()
|
D | history_data_store.h | 37 explicit HistoryDataStore(const base::FilePath& data_file);
|
/external/v8/tools/ |
D | stats-viewer.py | 117 data_file = open(self.data_name, "r") 118 size = os.fstat(data_file.fileno()).st_size 119 fileno = data_file.fileno() 451 def Main(data_file, name_filter): argument 458 StatsViewer(data_file, name_filter).Run()
|
/external/chromium_org/v8/tools/ |
D | stats-viewer.py | 117 data_file = open(self.data_name, "r") 118 size = os.fstat(data_file.fileno()).st_size 119 fileno = data_file.fileno() 451 def Main(data_file, name_filter): argument 458 StatsViewer(data_file, name_filter).Run()
|
/external/chromium_org/chrome/test/functional/ |
D | test_utils.py | 42 data_file = os.path.join(test.DataDir(), file_path) 44 shutil.copy(data_file, download_dir) 54 data_file = os.path.join(test.ContentDataDir(), file_path) 56 shutil.copy(data_file, download_dir)
|
D | autofill.py | 64 data_file = os.path.join(self.DataDir(), 'autofill', 'functional', 66 test_data = simplejson.loads(open(data_file).read())
|
D | perf.py | 350 data_file = os.path.join(self._local_perf_dir, graph_name + '-summary.dat') 351 if os.path.exists(data_file): 352 with open(data_file) as f: 395 with open(data_file, 'w') as f: 397 os.chmod(data_file, 0755) 516 data_file = os.path.join(self._local_perf_dir, '_EVENT_-summary.dat') 517 if os.path.exists(data_file): 518 with open(data_file) as f: 549 with open(data_file, 'w') as f: 551 os.chmod(data_file, 0755)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
D | config.py | 38 self.data_file = ".coverage" 91 self.data_file = cp.get('run', 'data_file')
|
D | control.py | 33 def __init__(self, data_file=None, data_suffix=None, cover_pylib=None, argument 96 self.config.data_file = env_data_file 104 data_file=data_file, cover_pylib=cover_pylib, timid=timid, 153 basename=self.config.data_file,
|
D | html.py | 22 data_file = open(data_filename(fname)) 24 return data_file.read() 26 data_file.close()
|
/external/chromium_org/content/renderer/media/ |
D | webrtc_audio_device_unittest.cc | 290 base::FilePath data_file; in ReadDataFromSpeechFile() local 291 CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &data_file)); in ReadDataFromSpeechFile() 292 data_file = in ReadDataFromSpeechFile() 293 data_file.Append(FILE_PATH_LITERAL("media")) in ReadDataFromSpeechFile() 297 DCHECK(base::PathExists(data_file)); in ReadDataFromSpeechFile() 299 DCHECK(base::GetFileSize(data_file, &data_file_size64)); in ReadDataFromSpeechFile() 300 EXPECT_EQ(length, base::ReadFile(data_file, data, length)); in ReadDataFromSpeechFile()
|
/external/chromium_org/chrome/browser/policy/test/ |
D | local_policy_test_server.cc | 141 base::FilePath data_file = server_data_dir_.path().AppendASCII( in UpdatePolicyData() local 144 return file_util::WriteFile(data_file, data.c_str(), data.size()) == in UpdatePolicyData()
|
/external/chromium_org/cloud_print/virtual_driver/win/install/ |
D | setup.cc | 268 base::FilePath data_file = install_path.Append(kDataFileName); in InstallDriver() local 285 driver_info.pDataFile = const_cast<LPWSTR>(data_file.value().c_str()); in InstallDriver()
|
/external/chromium_org/chrome/browser/autofill/ |
D | autofill_browsertest.cc | 200 base::FilePath data_file = in AggregateProfilesIntoAutofillPrefs() local 203 CHECK(base::ReadFileToString(data_file, &data)); in AggregateProfilesIntoAutofillPrefs()
|