Searched refs:data_path (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/base/i18n/
H A Dicu_util.cc91 FilePath data_path; local
92 PathService::Get(base::DIR_MODULE, &data_path);
93 data_path = data_path.AppendASCII(ICU_UTIL_DATA_SHARED_MODULE_NAME);
95 HMODULE module = LoadLibrary(data_path.value().c_str());
125 FilePath data_path;
128 bool path_ok = PathService::Get(base::DIR_MODULE, &data_path);
130 bool path_ok = PathService::Get(base::DIR_ANDROID_APP_DATA, &data_path);
135 bool path_ok = PathService::Get(base::DIR_EXE, &data_path);
138 data_path
[all...]
/external/chromium_org/chrome/browser/history/android/
H A Dandroid_urls_database_unittest.cc28 base::FilePath data_path; local
29 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &data_path));
30 data_path = data_path.AppendASCII("History");
35 ExecuteSQLScript(data_path.AppendASCII("history.21.sql"),
/external/chromium_org/base/android/
H A Dpath_utils.cc21 FilePath data_path(ConvertJavaStringToUTF8(path));
22 *result = data_path;
30 FilePath data_path(ConvertJavaStringToUTF8(path));
31 *result = data_path;
/external/chromium_org/ui/base/resource/
H A Ddata_pack_unittest.cc31 base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); local
34 ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, kSamplePakSize),
39 ASSERT_TRUE(pack.LoadFromPath(data_path));
63 base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); local
66 ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents, kSamplePakSize),
69 base::File file(data_path, base::File::FLAG_OPEN | base::File::FLAG_READ);
98 base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); local
104 base::WriteFile(data_path, kPadding, sizeof(kPadding)));
106 base::AppendToFile(data_path, kSamplePakContents, kSamplePakSize));
108 base::File file(data_path, bas
143 base::FilePath data_path; local
192 base::FilePath data_path = dir.path().Append(FILE_PATH_LITERAL("sample.pak")); local
[all...]
H A Dresource_bundle_unittest.cc419 base::FilePath data_path = dir_path().Append(FILE_PATH_LITERAL("sample.pak")); local
422 ASSERT_EQ(base::WriteFile(data_path, kEmptyPakContents,
427 resource_bundle->AddDataPackFromPath(data_path, SCALE_FACTOR_100P);
442 base::FilePath data_path = dir_path().Append(FILE_PATH_LITERAL("sample.pak")); local
447 ASSERT_EQ(base::WriteFile(data_path, kSamplePakContents,
454 resource_bundle->AddDataPackFromPath(data_path, SCALE_FACTOR_100P);
538 base::FilePath data_path = dir_path().AppendASCII("sample.pak"); local
542 CreateDataPackWithSingleBitmap(data_path, 10, base::StringPiece());
551 resource_bundle->AddDataPackFromPath(data_path, SCALE_FACTOR_100P);
577 base::FilePath data_path local
[all...]
/external/chromium_org/content/browser/dom_storage/
H A Ddom_storage_context_wrapper.cc66 const base::FilePath& data_path,
70 data_path.empty() ? data_path
71 : data_path.AppendASCII(kLocalStorageDirectory),
72 data_path.empty() ? data_path
73 : data_path.AppendASCII(kSessionStorageDirectory),
65 DOMStorageContextWrapper( const base::FilePath& data_path, storage::SpecialStoragePolicy* special_storage_policy) argument
H A Ddom_storage_context_wrapper.h30 // If |data_path| is empty, nothing will be saved to disk.
32 const base::FilePath& data_path,
/external/chromium_org/chrome/browser/importer/
H A Dfirefox_importer_browsertest.cc268 base::FilePath data_path; local
269 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &data_path));
270 data_path = data_path.AppendASCII(profile_dir);
271 ASSERT_TRUE(base::CopyDirectory(data_path, profile_path_, true));
273 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &data_path));
274 data_path = data_path.AppendASCII("firefox3_nss");
275 ASSERT_TRUE(base::CopyDirectory(data_path, profile_path_, false));
288 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &data_path));
[all...]
/external/chromium_org/tools/flakiness/
H A Dfind_flakiness.py30 def FindShardingFlakiness(test_path, data_path, supervisor_args):
40 if os.path.exists(data_path):
41 data_file = open(data_path, 'r')
80 data_file = open(data_path, 'w')
166 data_path = os.path.basename(args[0]) + FF_DATA_SUFFIX
170 FindShardingFlakiness(args[0], data_path, FF_SUPERVISOR_ARGS)
/external/chromium_org/content/test/gpu/gpu_tests/
H A Dscreenshot_sync.py14 data_path = os.path.join( variable
55 ps = page_set.PageSet(file_path=data_path, serving_dirs=[''])
H A Dcontext_lost.py16 data_path = os.path.join( variable
328 file_path=data_path,
/external/libvpx/libvpx/test/
H A Dvideo_source.h30 const char *const data_path = getenv("LIBVPX_TEST_DATA_PATH"); local
31 if (data_path == NULL) {
41 return data_path;
/external/chromium_org/storage/browser/fileapi/
H A Dsandbox_directory_database.cc29 std::string data_path; local
35 data_path = storage::FilePathToString(info.data_path);
39 pickle->WriteString(data_path) &&
51 std::string data_path; local
56 pickle.ReadString(&iter, &data_path) &&
59 info->data_path = storage::StringToFilePath(data_path);
127 // where FileInfo has |parent_id|, |data_path|, |name| and
240 DCHECK(file_info.data_path
386 VerifyDataPath(const base::FilePath& data_path) argument
[all...]
H A Dsandbox_directory_database.h52 return data_path.empty();
56 base::FilePath data_path; member in struct:storage::SandboxDirectoryDatabase::FileInfo
60 // For files, look at the modification time of the underlying data_path.
H A Ddump_file_system.cc119 base::GetFileSize(origin_dir.Append(info.data_path), &size);
127 FilePathToString(info.data_path).c_str());
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_context_impl.h54 // If |data_path| is empty, nothing will be saved to disk.
55 IndexedDBContextImpl(const base::FilePath& data_path,
94 base::FilePath data_path() const { return data_path_; } function in class:content::IndexedDBContextImpl
102 void set_data_path_for_testing(const base::FilePath& data_path) { argument
103 data_path_ = data_path;
H A Dindexed_db_unittest.cc196 idb_context->data_path());
206 idb_context->data_path());
H A Dindexed_db_browsertest.cc286 base::FilePath dest = context->data_path().Append(leveldb_dir);
293 context->data_path(),
399 GetContext()->data_path().Append(leveldb_dir).Append(log_file);
H A Dindexed_db_context_impl.cc104 const base::FilePath& data_path,
113 if (!data_path.empty())
114 data_path_ = data_path.Append(kIndexedDBDirectory);
103 IndexedDBContextImpl( const base::FilePath& data_path, storage::SpecialStoragePolicy* special_storage_policy, storage::QuotaManagerProxy* quota_manager_proxy, base::SequencedTaskRunner* task_runner) argument
/external/chromium_org/content/browser/fileapi/
H A Dsandbox_directory_database_unittest.cc77 const base::FilePath::StringType& data_path,
84 info.data_path = base::FilePath(data_path).NormalizePathSeparators();
87 base::FilePath local_path = path().Append(data_path);
158 EXPECT_TRUE(info.data_path.empty());
380 info0.data_path = base::FilePath(FILE_PATH_LITERAL("fake path"));
387 EXPECT_EQ(info0.data_path, info1.data_path);
396 EXPECT_EQ(info0.data_path, info1.data_path);
75 CreateFile(FileId parent_id, const base::FilePath::StringType& name, const base::FilePath::StringType& data_path, FileId* file_id_out) argument
[all...]
H A Dobfuscated_file_util_unittest.cc327 base::FilePath data_path; local
329 ofu()->GetFileInfo(context.get(), url, &file_info0, &data_path));
330 EXPECT_EQ(data_path, local_path);
331 EXPECT_TRUE(FileExists(data_path));
332 EXPECT_EQ(0, GetSize(data_path));
338 file.Initialize(data_path,
347 EXPECT_EQ(length, GetSize(data_path));
350 ofu()->GetFileInfo(context.get(), url, &file_info1, &data_path));
351 EXPECT_EQ(data_path, local_path);
364 EXPECT_EQ(length * 2, GetSize(data_path));
594 base::FilePath data_path; local
615 base::FilePath data_path; local
1709 base::FilePath data_path; local
[all...]
/external/chromium_org/chrome/browser/profile_resetter/
H A Dbrandcode_config_fetcher.cc133 const std::string data_path[] = {"response", "app", "data"}; local
134 return elements_.size() == arraysize(data_path) &&
135 std::equal(elements_.begin(), elements_.end(), data_path);
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dvideo_source.h33 const char *const data_path = getenv("LIBVPX_TEST_DATA_PATH"); local
34 if (data_path == NULL) {
44 return data_path;
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/
H A Dport_monitor_unittest.cc113 base::FilePath data_path = cloud_print::GetChromeProfilePath(); local
114 EXPECT_FALSE(data_path.empty());
117 EXPECT_EQ(data_path, temp);
118 EXPECT_TRUE(base::DirectoryExists(data_path));
120 data_path = cloud_print::GetChromeProfilePath();
121 EXPECT_TRUE(data_path.empty());
/external/chromium_org/chrome/browser/history/
H A Dhistory_unittest.cc135 base::FilePath data_path; local
136 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &data_path));
137 data_path = data_path.AppendASCII("History");
138 data_path =
139 data_path.AppendASCII(base::StringPrintf("history.%d.sql", version));
141 ExecuteSQLScript(data_path, history_dir_.Append(
146 base::FilePath data_path; local
147 ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &data_path));
148 data_path
[all...]

Completed in 809 milliseconds

12