/external/chromium_org/webkit/browser/quota/ |
D | quota_database_unittest.cc | 484 base::ScopedTempDir data_dir; in TEST_F() local 485 ASSERT_TRUE(data_dir.CreateUniqueTempDir()); in TEST_F() 486 const base::FilePath kDbFile = data_dir.path().AppendASCII("quota_manager.db"); in TEST_F() 492 base::ScopedTempDir data_dir; in TEST_F() local 493 ASSERT_TRUE(data_dir.CreateUniqueTempDir()); in TEST_F() 494 const base::FilePath kDbFile = data_dir.path().AppendASCII("quota_manager.db"); in TEST_F() 499 base::ScopedTempDir data_dir; in TEST_F() local 500 ASSERT_TRUE(data_dir.CreateUniqueTempDir()); in TEST_F() 501 const base::FilePath kDbFile = data_dir.path().AppendASCII("quota_manager.db"); in TEST_F() 507 base::ScopedTempDir data_dir; in TEST_F() local [all …]
|
/external/chromium_org/build/android/ |
D | update_verification.py | 18 def _SaveAppData(adb, package_name, from_apk=None, data_dir=None): argument 19 def _BackupAppData(data_dir=None): argument 23 if data_dir: 24 if not os.path.isdir(data_dir): 25 os.makedirs(data_dir) 26 shutil.move(backup_file, data_dir) 27 backup_file = os.path.join(data_dir, 'backup.ab') 38 _BackupAppData(data_dir) 123 data_dir=options.app_data)
|
/external/chromium_org/media/filters/ |
D | file_data_source_unittest.cc | 38 base::FilePath data_dir; in TestFileURL() local 39 EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir)); in TestFileURL() 40 data_dir = data_dir.Append(FILE_PATH_LITERAL("media")) in TestFileURL() 44 return data_dir; in TestFileURL()
|
/external/chromium_org/chrome/installer/util/ |
D | helper.cc | 53 base::FilePath data_dir(GetChromeInstallBasePath(false, dist, in GetChromeUserDataPaths() local 55 if (data_dir.empty()) { in GetChromeUserDataPaths() 59 (*paths)[0] = data_dir; in GetChromeUserDataPaths() 61 (*paths)[1] = data_dir.DirName().Append( in GetChromeUserDataPaths()
|
/external/chromium_org/base/ |
D | file_util_unittest.cc | 1425 FilePath data_dir; in TEST_F() local 1426 ASSERT_TRUE(PathService::Get(DIR_TEST_DATA, &data_dir)); in TEST_F() 1427 data_dir = data_dir.AppendASCII("file_util"); in TEST_F() 1428 ASSERT_TRUE(PathExists(data_dir)); in TEST_F() 1431 data_dir.Append(FILE_PATH_LITERAL("original.txt")); in TEST_F() 1433 data_dir.Append(FILE_PATH_LITERAL("same.txt")); in TEST_F() 1435 data_dir.Append(FILE_PATH_LITERAL("same_length.txt")); in TEST_F() 1437 data_dir.Append(FILE_PATH_LITERAL("different.txt")); in TEST_F() 1439 data_dir.Append(FILE_PATH_LITERAL("different_first.txt")); in TEST_F() 1441 data_dir.Append(FILE_PATH_LITERAL("different_last.txt")); in TEST_F() [all …]
|
/external/chromium_org/chromeos/ |
D | chromeos_test_utils.cc | 16 base::FilePath* data_dir) { in GetTestDataPath() argument 25 DCHECK(data_dir); in GetTestDataPath() 27 *data_dir = path.Append(filename); in GetTestDataPath()
|
D | chromeos_test_utils.h | 20 base::FilePath* data_dir);
|
/external/chromium/base/ |
D | file_util_unittest.cc | 1245 FilePath data_dir; in TEST_F() local 1246 ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir)); in TEST_F() 1247 data_dir = data_dir.Append(FILE_PATH_LITERAL("base")) in TEST_F() 1250 ASSERT_TRUE(file_util::PathExists(data_dir)); in TEST_F() 1253 data_dir.Append(FILE_PATH_LITERAL("original.txt")); in TEST_F() 1255 data_dir.Append(FILE_PATH_LITERAL("same.txt")); in TEST_F() 1257 data_dir.Append(FILE_PATH_LITERAL("same_length.txt")); in TEST_F() 1259 data_dir.Append(FILE_PATH_LITERAL("different.txt")); in TEST_F() 1261 data_dir.Append(FILE_PATH_LITERAL("different_first.txt")); in TEST_F() 1263 data_dir.Append(FILE_PATH_LITERAL("different_last.txt")); in TEST_F() [all …]
|
/external/chromium/chrome/browser/safe_browsing/ |
D | filter_false_positive_perftest.cc | 214 const FilePath& data_dir, in CalculateBloomFilterFalsePositives() argument 221 FilePath url_file = data_dir.Append(FILE_PATH_LITERAL("urls")); in CalculateBloomFilterFalsePositives() 294 FilePath data_dir = GetFullDataPath(); in TEST() local 295 ASSERT_TRUE(ReadDatabase(data_dir, &prefix_list)); in TEST() 314 CalculateBloomFilterFalsePositives(multiplier, data_dir, prefix_list); in TEST() 322 FilePath data_dir = GetFullDataPath(); in TEST() local 323 ASSERT_TRUE(ReadDatabase(data_dir, &prefix_list)); in TEST()
|
/external/chromium_org/net/base/ |
D | test_data_directory.cc | 32 base::FilePath data_dir(FILE_PATH_LITERAL("net/data/websocket")); in GetWebSocketTestDataDirectory() local 33 return data_dir; in GetWebSocketTestDataDirectory()
|
/external/chromium_org/v8/tools/ |
D | test-server.py | 67 data_dir = os.path.join(ROOT, "data") 68 if not os.path.exists(data_dir): 69 os.makedirs(data_dir) 108 datafile = os.path.join(data_dir, "mypubkey")
|
/external/chromium_org/chrome/test/perf/ |
D | startup_test.cc | 99 base::FilePath data_dir; in SetUpWithExtensionsProfile() local 100 PathService::Get(chrome::DIR_TEST_DATA, &data_dir); in SetUpWithExtensionsProfile() 101 data_dir = data_dir.AppendASCII("extensions").AppendASCII("profiles"). in SetUpWithExtensionsProfile() 103 set_template_user_data(data_dir); in SetUpWithExtensionsProfile()
|
/external/chromium_org/chrome/browser/policy/test/ |
D | policy_testserver.py | 678 def __init__(self, server_address, data_dir, policy_path, client_state_file, argument 690 self.data_dir = data_dir 848 return os.path.join(self.data_dir or '', 926 data_dir = self.options.data_dir or '' 928 os.path.join(data_dir, 'device_management')) 930 data_dir, config_file,
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
D | data.py | 184 data_dir, local = os.path.split(self.filename) 186 for f in os.listdir(data_dir or '.'): 188 full_path = os.path.join(data_dir, f)
|
/external/chromium_org/build/android/pylib/ |
D | chrome_test_server_spawner.py | 190 data_dir = self.arguments['data-dir'] or 'chrome/test/data' 191 if not os.path.isabs(data_dir): 192 data_dir = os.path.join(constants.DIR_SOURCE_ROOT, data_dir) 193 self.command_line.append('--data-dir=%s' % data_dir)
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
D | wallpaper_private_api.cc | 66 base::FilePath data_dir; in SaveData() local 67 CHECK(PathService::Get(key, &data_dir)); in SaveData() 68 if (!base::DirectoryExists(data_dir) && in SaveData() 69 !base::CreateDirectory(data_dir)) { in SaveData() 72 base::FilePath file_path = data_dir.Append(file_name); in SaveData() 84 base::FilePath data_dir = path.DirName(); in GetData() local 85 if (!base::DirectoryExists(data_dir) && in GetData() 86 !base::CreateDirectory(data_dir)) in GetData()
|
/external/chromium_org/content/test/ |
D | image_decoder_test.cc | 107 base::FilePath data_dir; in SetUp() local 108 ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_dir)); in SetUp() 109 data_dir_ = data_dir.AppendASCII("webkit"). in SetUp()
|
/external/chromium/chrome/browser/diagnostics/ |
D | recon_diagnostics.cc | 292 FilePath data_dir; in ExecuteImpl() local 293 if (!PathService::Get(chrome::DIR_USER_DATA, &data_dir)) in ExecuteImpl() 295 int64 disk_space = base::SysInfo::AmountOfFreeDiskSpace(data_dir); in ExecuteImpl()
|
/external/chromium_org/chrome/browser/diagnostics/ |
D | recon_diagnostics.cc | 110 base::FilePath data_dir; in ExecuteImpl() local 111 if (!PathService::Get(chrome::DIR_USER_DATA, &data_dir)) in ExecuteImpl() 113 int64 disk_space = base::SysInfo::AmountOfFreeDiskSpace(data_dir); in ExecuteImpl()
|
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/test/ |
D | coverage.rake | 110 data_dir = base_path.join('covershot/data').to_s 113 unless system covershot, data_dir, '-f', format
|
/external/chromium/chrome/browser/ |
D | shell_integration_linux.cc | 312 FilePath data_dir(tokenizer.token()); in GetDesktopShortcutTemplate() local 313 search_paths.push_back(data_dir); in GetDesktopShortcutTemplate() 314 search_paths.push_back(data_dir.Append("applications")); in GetDesktopShortcutTemplate()
|
/external/chromium/net/tools/testserver/ |
D | testserver.py | 764 file_path = os.path.join(self.server.data_dir, *entries) 906 gif_path = os.path.join(self.server.data_dir, *test_image_path) 1216 policy_path = os.path.join(self.server.data_dir, 'device_management') 1287 if options.data_dir: 1288 if not os.path.isdir(options.data_dir): 1289 print 'specified data dir not found: ' + options.data_dir + ' exiting...' 1291 my_data_dir = options.data_dir 1354 server.data_dir = MakeDataDir()
|
/external/chromium_org/build/android/buildbot/ |
D | bb_device_steps.py | 455 data_dir = os.path.join(DIR_BUILD_ROOT, 'content_gpu_data', 'telemetry') 458 '--generated-dir=%s' % os.path.join(data_dir, 'generated'), 459 '--reference-dir=%s' % os.path.join(data_dir, 'reference'),
|
/external/chromium_org/net/tools/testserver/ |
D | testserver.py | 69 def __init__(self, host, port, data_dir): argument 73 self.websock_handlers = data_dir 820 file_path = os.path.join(self.server.data_dir, *entries) 904 file_path = os.path.join(self.server.data_dir, *entries) 1133 gif_path = os.path.join(self.server.data_dir, *test_image_path) 1886 if self.options.data_dir: 1887 if not os.path.isdir(self.options.data_dir): 1889 self.options.data_dir + ' exiting...') 1890 my_data_dir = self.options.data_dir 1971 server.data_dir = self.__make_data_dir()
|
/external/qemu/ |
D | vl-android.c | 253 static const char *data_dir; variable 2230 qemu_find_file_with_subdir(const char* data_dir, const char* subdir, const char* name) in qemu_find_file_with_subdir() argument 2232 int len = strlen(data_dir) + strlen(name) + strlen(subdir) + 2; in qemu_find_file_with_subdir() 2235 snprintf(buf, len, "%s/%s%s", data_dir, subdir, name); in qemu_find_file_with_subdir() 2264 buf = qemu_find_file_with_subdir(data_dir, subdir, name); in qemu_find_file() 2270 buf = qemu_find_file_with_subdir(data_dir, "lib/pc-bios/", name); in qemu_find_file() 2273 buf = qemu_find_file_with_subdir(data_dir, "../usr/share/pc-bios/", name); in qemu_find_file() 2276 … buf = qemu_find_file_with_subdir(data_dir, "../../../prebuilts/qemu-kernel/x86/pc-bios/", name); in qemu_find_file() 2951 data_dir = optarg; in main() 3514 if (!data_dir) { in main() [all …]
|