Home
last modified time | relevance | path

Searched refs:data_dir (Results 1 – 13 of 13) sorted by relevance

/external/chromium/base/
Dfile_util_unittest.cc1245 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/webkit/Tools/CodeCoverage/
Dcov.py33 def analyze_coverage(possible_gcov_files, source_files, runid, data_dir, base): argument
35 if not os.path.exists(data_dir):
36 os.makedirs(data_dir)
38 output = open(os.path.join(data_dir, runid + ".csv"), "w")
44 annotated_dir = os.path.join(data_dir, runid + ".annotated")
Dregenerate-coverage-display228 def write_file_site(dest_dir, file_name, last_time, data_dir, last_id, file_series): argument
234 path = "%s/%s.annotated%s" % (data_dir,last_id,file_name)
/external/chromium/chrome/browser/safe_browsing/
Dfilter_false_positive_perftest.cc214 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/chrome/browser/diagnostics/
Drecon_diagnostics.cc292 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/bluetooth/glib/glib/
Dgutils.c2066 gchar *data_dir; in g_get_user_data_dir() local
2073 data_dir = get_special_folder (CSIDL_PERSONAL); in g_get_user_data_dir()
2075 data_dir = (gchar *) g_getenv ("XDG_DATA_HOME"); in g_get_user_data_dir()
2077 if (data_dir && data_dir[0]) in g_get_user_data_dir()
2078 data_dir = g_strdup (data_dir); in g_get_user_data_dir()
2080 if (!data_dir || !data_dir[0]) in g_get_user_data_dir()
2085 data_dir = g_build_filename (g_home_dir, ".local", in g_get_user_data_dir()
2088 data_dir = g_build_filename (g_tmp_dir, g_user_name, ".local", in g_get_user_data_dir()
2092 g_user_data_dir = data_dir; in g_get_user_data_dir()
2095 data_dir = g_user_data_dir; in g_get_user_data_dir()
[all …]
Dgkeyfile.c301 const gchar **data_dirs, *data_dir; in find_file_in_data_dirs() local
313 while (data_dirs && (data_dir = *data_dirs) && fd < 0) in find_file_in_data_dirs()
323 path = g_build_filename (data_dir, sub_dir, in find_file_in_data_dirs()
/external/chromium/chrome/browser/
Dshell_integration_linux.cc312 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/
Dtestserver.py764 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/qemu/
Dvl-android.c253 static const char *data_dir; variable
2228 qemu_find_file_with_subdir(const char* data_dir, const char* subdir, const char* name) in qemu_find_file_with_subdir() argument
2230 int len = strlen(data_dir) + strlen(name) + strlen(subdir) + 2; in qemu_find_file_with_subdir()
2233 snprintf(buf, len, "%s/%s%s", data_dir, subdir, name); in qemu_find_file_with_subdir()
2262 buf = qemu_find_file_with_subdir(data_dir, subdir, name); in qemu_find_file()
2268 buf = qemu_find_file_with_subdir(data_dir, "lib/pc-bios/", name); in qemu_find_file()
2271 buf = qemu_find_file_with_subdir(data_dir, "../usr/share/pc-bios/", name); in qemu_find_file()
2274 buf = qemu_find_file_with_subdir(data_dir, "../../../prebuilt/common/pc-bios/", name); in qemu_find_file()
2949 data_dir = optarg; in main()
3512 if (!data_dir) { in main()
[all …]
Dvl.c187 static const char *data_dir; variable
2050 len = strlen(data_dir) + strlen(name) + strlen(subdir) + 2; in qemu_find_file()
2052 snprintf(buf, len, "%s/%s%s", data_dir, subdir, name); in qemu_find_file()
2456 data_dir = optarg; in main()
2769 if (!data_dir) { in main()
2770 data_dir = find_datadir(argv[0]); in main()
2773 if (!data_dir) { in main()
2774 data_dir = CONFIG_QEMU_SHAREDIR; in main()
/external/chromium/chrome/browser/web_applications/
Dweb_app.cc479 const FilePath& data_dir, in CreateShortcut() argument
483 new CreateShortcutTask(data_dir, shortcut_info, callback)); in CreateShortcut()
/external/dbus/dbus/
Ddbus-sysdeps-win.c2795 const char *data_dir = _dbus_getenv ("DBUS_DATADIR"); in _dbus_get_standard_session_servicedirs() local
2797 if (data_dir != NULL) in _dbus_get_standard_session_servicedirs()
2799 if (!_dbus_string_append (&servicedir_path, data_dir)) in _dbus_get_standard_session_servicedirs()