/external/chromium_org/chrome/test/chromedriver/ |
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/tools/flakiness/ |
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/browser/safe_browsing/ |
local_safebrowsing_test_server.h | 17 // Initialize a safebrowsing server using the given |data_file|. 18 explicit LocalSafeBrowsingTestServer(const base::FilePath& data_file);
|
local_safebrowsing_test_server.cc | 15 const base::FilePath& data_file) 19 data_file_(data_file) {
|
safe_browsing_testserver.py | 26 self.options.data_file, self.options.host, self.options.port, 35 self.option_parser.add_option('--data-file', dest='data_file',
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
history.cc | 34 const base::FilePath data_file = local 36 store_ = new HistoryDataStore(data_file);
|
history_data_store.cc | 115 HistoryDataStore::HistoryDataStore(const base::FilePath& data_file) 116 : data_file_(data_file) { 118 token.append(data_file.AsUTF8Unsafe()); 127 new base::ImportantFileWriter(data_file, file_task_runner_.get()));
|
history_data_store.h | 38 explicit HistoryDataStore(const base::FilePath& data_file);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
config.py | 38 self.data_file = ".coverage" 90 if cp.has_option('run', 'data_file'): 91 self.data_file = cp.get('run', 'data_file')
|
html.py | 22 data_file = open(data_filename(fname)) 24 return data_file.read() 26 data_file.close()
|
control.py | 33 def __init__(self, data_file=None, data_suffix=None, cover_pylib=None, 37 `data_file` is the base name of the data file to use, defaulting to 38 ".coverage". `data_suffix` is appended (with a dot) to `data_file` to 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, 465 All coverage data files whose name starts with `data_file` (from the
|
/external/chromium_org/chrome/test/functional/ |
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)
|
autofill.py | 64 data_file = os.path.join(self.DataDir(), 'autofill', 'functional', 66 test_data = simplejson.loads(open(data_file).read())
|
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 [all...] |
stress.py | 429 data_file = os.path.join(self.DataDir(), 'pyauto_private', 'stress', 431 url_data = self.EvalDataFrom(data_file)
|
/external/chromium_org/v8/tools/ |
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): 455 data_file: The counters file to monitor. 458 StatsViewer(data_file, name_filter).Run()
|
/external/v8/tools/ |
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): 455 data_file: The counters file to monitor. 458 StatsViewer(data_file, name_filter).Run()
|
/external/chromium_org/chrome/test/functional/perf/ |
endure_result_parser.py | 102 def WriteToDataFile(new_line, existing_lines, revision, data_file): 112 data_file: The string name of the perf data file to which to write. 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) [all...] |
/external/chromium_org/chrome/test/webdriver/test/ |
run_webdriver_tests.py | 167 data_file = os.path.join(filename) 168 contents = open(data_file).read() 172 print >>sys.stderr, '%s is an invalid data file.' % data_file
|
/external/chromium_org/chrome/browser/policy/test/ |
local_policy_test_server.cc | 138 base::FilePath data_file = server_data_dir_.path().AppendASCII( local 141 return file_util::WriteFile(data_file, data.c_str(), data.size()) ==
|
/external/chromium_org/content/renderer/media/ |
webrtc_audio_device_unittest.cc | 287 base::FilePath data_file; local 288 CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &data_file)); 289 data_file = 290 data_file.Append(FILE_PATH_LITERAL("media")) 294 DCHECK(base::PathExists(data_file)); 296 DCHECK(file_util::GetFileSize(data_file, &data_file_size64)); 297 EXPECT_EQ(length, file_util::ReadFile(data_file, data, length)); [all...] |
/external/chromium_org/chrome/browser/autofill/ |
autofill_browsertest.cc | 199 base::FilePath data_file = local 202 CHECK(file_util::ReadFileToString(data_file, &data));
|
/external/chromium_org/cloud_print/virtual_driver/win/install/ |
setup.cc | 267 base::FilePath data_file = install_path.Append(kDataFileName); local 284 driver_info.pDataFile = const_cast<LPWSTR>(data_file.value().c_str());
|
/external/chromium_org/chrome/test/pyautolib/ |
pyauto.py | 733 data_file = os.path.join(filename) 734 contents = open(data_file).read() 738 print >>sys.stderr, '%s is an invalid data file.' % data_file [all...] |