Searched defs:path (Results 226 - 250 of 3116) sorted by relevance

1234567891011>>

/external/chromium_org/base/files/
H A Dscoped_temp_dir.cc49 bool ScopedTempDir::Set(const FilePath& path) { argument
53 if (!DirectoryExists(path) && !base::CreateDirectory(path))
56 path_ = path;
66 // We only clear the path if deleted the directory.
/external/chromium_org/base/i18n/
H A Dfile_util_icu_unittest.cc102 FilePath path(kNormalizeFileNameEncodingTestCases[i].original_path);
103 NormalizeFileNameEncoding(&path);
105 path); local
/external/chromium_org/base/
H A Dpath_service_unittest.cc23 // Returns true if PathService::Get returns true and sets the path parameter
26 base::FilePath path; local
27 bool result = PathService::Get(dir_type, &path);
30 // |result| is true and !path.empty() is the best we can do.
33 // If chromium has never been started on this account, the cache path may not
39 // On the linux try-bots: a path is returned (e.g. /home/chrome-bot/Desktop),
54 if (path.ReferencesParent())
58 if (path.ReferencesParent())
61 return result && !path.empty() && (!check_path_exists ||
62 base::PathExists(path));
70 base::FilePath path; local
183 base::FilePath path; local
[all...]
/external/chromium_org/base/prefs/
H A Dpref_registry.cc43 void PrefRegistry::RegisterPreference(const char* path, argument
49 DCHECK(!defaults_->GetValue(path, NULL)) <<
50 "Trying to register a previously registered pref: " << path;
52 defaults_->SetDefaultValue(path, make_scoped_ptr(default_value));
H A Dpref_registry_simple.cc17 void PrefRegistrySimple::RegisterBooleanPref(const char* path, argument
19 RegisterPreference(path, new base::FundamentalValue(default_value));
22 void PrefRegistrySimple::RegisterIntegerPref(const char* path, argument
24 RegisterPreference(path, new base::FundamentalValue(default_value));
27 void PrefRegistrySimple::RegisterDoublePref(const char* path, argument
29 RegisterPreference(path, new base::FundamentalValue(default_value));
32 void PrefRegistrySimple::RegisterStringPref(const char* path, argument
34 RegisterPreference(path, new base::StringValue(default_value));
38 const char* path,
40 RegisterPreference(path, ne
37 RegisterFilePathPref( const char* path, const base::FilePath& default_value) argument
43 RegisterListPref(const char* path) argument
47 RegisterListPref(const char* path, base::ListValue* default_value) argument
52 RegisterDictionaryPref(const char* path) argument
56 RegisterDictionaryPref( const char* path, base::DictionaryValue* default_value) argument
62 RegisterInt64Pref(const char* path, int64 default_value) argument
[all...]
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
H A DUrlUtils.java18 * Construct the full path of a test data file.
19 * @param path Pathname relative to external/chrome/testing/data
21 public static String getTestFilePath(String path) { argument
22 return PathUtils.getExternalStorageDirectory() + DATA_DIR + path;
27 * @param path Pathname relative to external/chrome/testing/data
29 public static String getTestFileUrl(String path) { argument
30 return "file://" + getTestFilePath(path);
/external/chromium_org/build/android/pylib/host_driven/
H A Dtest_server.py21 import os.path namespace
28 # Otherwise os.path.join() will (correctly) treat them as absolute paths
40 # The correct path is determined based on the build type. E.g. out/Debug for
55 'response': 'Default response given for path'
77 test_server_path: The path (relative to the root src dir) of the server
84 abs_dirs = [os.path.join(src_dir, d) for d in _PYTHONPATH_DIRS]
85 # Add the generated python files to the path
86 abs_dirs.extend([os.path.join(src_dir, constants.GetOutDirectory(), d)
96 # system path for finding includes.
97 cmd = ['python', os.path
[all...]
/external/chromium_org/build/android/pylib/linker/
H A Dtest_runner.py8 import os.path namespace
67 apk_path = os.path.join(
70 if not os.path.exists(apk_path):
/external/chromium_org/build/android/pylib/utils/
H A Dapk_helper.py7 import os.path namespace
14 _AAPT_PATH = os.path.join(constants.ANDROID_SDK_TOOLS, 'aapt')
/external/chromium_org/build/toolchain/win/
H A Dsetup_toolchain.py28 'path',
38 if envvar == 'path':
40 # Chromium rely on python being in the path. Add the path to this
41 # python here so that if it's not in the path when ninja is run
43 result[envvar.upper()] = os.path.dirname(sys.executable) + \
50 'required to be set to valid path' % required)
81 '<visual studio path> <win tool path> <win sdk path>')
90 path = important_env_vars["PATH"].split(";") variable
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dwrite_on_cache_file.cc50 const base::FilePath& path,
53 WriteOnCacheFileAndReply(file_system, path, mime_type, callback,
58 const base::FilePath& path,
68 path,
71 base::Bind(&WriteOnCacheFileAfterOpenFile, path, callback, reply));
49 WriteOnCacheFile(FileSystemInterface* file_system, const base::FilePath& path, const std::string& mime_type, const WriteOnCacheFileCallback& callback) argument
57 WriteOnCacheFileAndReply(FileSystemInterface* file_system, const base::FilePath& path, const std::string& mime_type, const WriteOnCacheFileCallback& callback, const FileOperationCallback& reply) argument
H A Dwrite_on_cache_file_unittest.cc21 FILE_PATH_LITERAL("drive/invalid/path");
67 base::FilePath path; local
73 google_apis::test_util::CreateCopyResultCallback(&error, &path));
77 EXPECT_EQ(kLocalPath, path.value());
88 base::FilePath path; local
95 google_apis::test_util::CreateCopyResultCallback(&error, &path));
99 EXPECT_TRUE(path.empty());
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dinput_view_browsertest.cc58 base::FilePath path = ui_test_utils::GetTestFilePath( local
70 installer->InstallCrx(path);
H A Dinstall_limiter.h39 const base::FilePath& path);
45 const base::FilePath& path);
49 const base::FilePath path; member in struct:extensions::InstallLimiter::DeferredInstall
59 const base::FilePath& path,
68 const base::FilePath& path);
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dpath_util_unittest.cc44 base::FilePath path; local
49 &path));
50 EXPECT_EQ(kDownloads, path);
55 &path));
56 EXPECT_EQ(kDownloads.AppendASCII("a/b"), path);
62 &path));
64 // Only the "Downloads" path is converted.
68 &path));
80 base::FilePath path; local
85 &path));
[all...]
/external/chromium_org/chrome/browser/chromeos/fileapi/
H A Dfile_access_permissions.cc13 // Empty path is prefix of any other paths, hence it represents full permission.
29 const std::string& extension_id, const base::FilePath& path) {
30 DCHECK(!path.empty());
32 path_map_[extension_id].insert(path);
36 const std::string& extension_id, const base::FilePath& path) const {
48 base::FilePath current_path = path.StripTrailingSeparators();
28 GrantAccessPermission( const std::string& extension_id, const base::FilePath& path) argument
H A Dfile_system_backend_unittest.cc26 const char* path,
31 base::FilePath::FromUTF8Unsafe(path));
185 // path on current file systems.
251 // System mount points path more specific.
253 // System mount points path less specific.
255 // Only system mount points path matches.
262 // Initialize virtual path with a value.
25 CreateFileSystemURL(const std::string& extension, const char* path, ExternalMountPoints* mount_points) argument
/external/chromium_org/chrome/browser/chromeos/login/auth/
H A Dmount_manager.cc40 const base::FilePath& path) {
41 additional_mounts_[user_id] = path;
39 SetPath(const std::string& user_id, const base::FilePath& path) argument
/external/chromium_org/chrome/browser/chromeos/login/
H A Dresource_loader_browsertest.cc24 base::FilePath path; local
25 EXPECT_TRUE(base::CreateTemporaryFile(&path));
26 EXPECT_TRUE(base::WriteFile(path, content.c_str(), content.size()));
27 return GURL("file:///" + path.AsUTF8Unsafe());
48 " cr.define = function (path, builder) {"
/external/chromium_org/chrome/browser/chromeos/settings/
H A Dstub_cros_settings_provider.cc30 const std::string& path) const {
31 DCHECK(HandlesSetting(path));
33 if (values_.GetValue(path, &value))
44 bool StubCrosSettingsProvider::HandlesSetting(const std::string& path) const {
45 return DeviceSettingsProvider::IsDeviceSetting(path);
48 void StubCrosSettingsProvider::DoSet(const std::string& path, argument
50 values_.SetValue(path, value.DeepCopy());
51 NotifyObservers(path);
/external/chromium_org/chrome/browser/download/
H A Ddownload_extensions.cc207 DownloadDangerLevel GetFileDangerLevel(const base::FilePath& path) { argument
208 base::FilePath::StringType extension(path.FinalExtension());
/external/chromium_org/chrome/browser/drive/
H A Ddrive_api_util_unittest.cc160 base::FilePath path = temp_dir.path().AppendASCII("test.txt"); local
162 ASSERT_TRUE(google_apis::test_util::WriteStringToFile(path, kTestData));
164 EXPECT_EQ(base::MD5String(kTestData), GetMd5Digest(path));
/external/chromium_org/chrome/browser/extensions/api/cloud_print_private/
H A Dcloud_print_private_apitest.cc45 GURL GetTestServerURL(const std::string& path) { argument
47 "files/extensions/api_test/cloud_print_private/" + path);
/external/chromium_org/chrome/browser/extensions/api/developer_private/
H A Ddeveloper_private_apitest.cc21 void LoadNamedExtension(const base::FilePath& path, argument
23 const Extension* extension = LoadExtension(path.AppendASCII(name));
28 void InstallNamedExtension(const base::FilePath& path, argument
31 const Extension* extension = InstallExtension(path.AppendASCII(name), 1,
/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dnative_messaging_host_manifest_unittest.cc30 manifest_path_ = temp_dir_.path().AppendASCII("test.json");
35 const std::string& path,
40 " \"path\": " + base::GetQuotedJSONString(path) + ","
85 EXPECT_EQ(manifest->path(), base::FilePath::FromUTF8Unsafe(kTestHostPath));
34 WriteManifest(const std::string& name, const std::string& path, const std::string& origin) argument

Completed in 692 milliseconds

1234567891011>>