Home
last modified time | relevance | path

Searched refs:data_file (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/tools/flakiness/
Dfind_flakiness.py41 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/
Dembed_user_data_dir_in_cpp.py23 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/
Ddictionary_data_store.cc21 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()
Dwebservice_cache.cc33 const base::FilePath data_file = in WebserviceCache() local
35 data_store_ = new DictionaryDataStore(data_file); in WebserviceCache()
Ddictionary_data_store.h34 explicit DictionaryDataStore(const base::FilePath& data_file);
/external/chromium_org/chrome/test/functional/perf/
Dendure_result_parser.py102 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/
Dlocal_safebrowsing_test_server.cc15 const base::FilePath& data_file) in LocalSafeBrowsingTestServer() argument
19 data_file_(data_file) { in LocalSafeBrowsingTestServer()
Dlocal_safebrowsing_test_server.h18 explicit LocalSafeBrowsingTestServer(const base::FilePath& data_file);
Dsafe_browsing_testserver.py26 self.options.data_file, self.options.host, self.options.port,
/external/chromium_org/tools/deep_memory_profiler/visualizer/
Dtemplate.py54 with open(argv[1]) as data_file:
55 data = data_file.read()
/external/chromium_org/chrome/browser/ui/app_list/search/
Dhistory.cc34 const base::FilePath data_file = in History() local
36 store_ = new HistoryDataStore(data_file); in History()
Dhistory_data_store.cc114 HistoryDataStore::HistoryDataStore(const base::FilePath& data_file) in HistoryDataStore() argument
115 : data_store_(new DictionaryDataStore(data_file)) { in HistoryDataStore()
Dhistory_data_store.h37 explicit HistoryDataStore(const base::FilePath& data_file);
/external/v8/tools/
Dstats-viewer.py117 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/
Dstats-viewer.py117 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/
Dtest_utils.py42 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)
Dautofill.py64 data_file = os.path.join(self.DataDir(), 'autofill', 'functional',
66 test_data = simplejson.loads(open(data_file).read())
Dperf.py350 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/
Dconfig.py38 self.data_file = ".coverage"
91 self.data_file = cp.get('run', 'data_file')
Dcontrol.py33 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,
Dhtml.py22 data_file = open(data_filename(fname))
24 return data_file.read()
26 data_file.close()
/external/chromium_org/content/renderer/media/
Dwebrtc_audio_device_unittest.cc290 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/
Dlocal_policy_test_server.cc141 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/
Dsetup.cc268 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/
Dautofill_browsertest.cc200 base::FilePath data_file = in AggregateProfilesIntoAutofillPrefs() local
203 CHECK(base::ReadFileToString(data_file, &data)); in AggregateProfilesIntoAutofillPrefs()

12