Searched refs:path (Results 76 - 100 of 6361) sorted by relevance

1234567891011>>

/external/chromium/chrome/browser/chromeos/
H A Dcros_settings_provider.cc14 void CrosSettingsProvider::Set(const std::string& path, Value* value) { argument
19 !::StartsWithASCII(path, "cros.session.", true)) {
20 LOG(ERROR) << "Ignoring the guest request to change: " << path;
23 DoSet(path, value);
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfile_change.cc9 FileChange::FileChange(const base::FilePath& path, Type type) argument
10 : path_(path), type_(type) {
16 FileChangeSet FileChange::CreateSingleSet(const base::FilePath& path, argument
19 result.insert(FileChange(path, type));
/external/chromium_org/chrome/browser/prefs/
H A Dsynced_pref_change_registrar.cc13 const std::string& path,
29 void SyncedPrefChangeRegistrar::Add(const char *path, argument
31 Add(path, base::Bind(InvokeUnnamedCallback, callback));
34 void SyncedPrefChangeRegistrar::Add(const char *path, argument
36 DCHECK(!IsObserved(path));
37 observers_[path] = callback;
38 pref_service_->AddSyncedPrefObserver(path, this);
41 void SyncedPrefChangeRegistrar::Remove(const char *path) { argument
42 observers_.erase(path);
43 pref_service_->RemoveSyncedPrefObserver(path, thi
11 InvokeUnnamedCallback( const SyncedPrefChangeRegistrar::ChangeCallback& callback, const std::string& path, bool from_sync) argument
58 OnSyncedPrefChanged(const std::string& path, bool from_sync) argument
[all...]
/external/chromium_org/chrome/test/pyautolib/chromeos/
H A Dchromeos_utils.py12 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
13 sys.path.append('/usr/local') # to import autotest libs
/external/chromium_org/content/test/gpu/gpu_tests/
H A D__init__.py9 telemetry_path = os.path.join(
10 os.path.dirname(__file__),
12 absolute_telemetry_path = os.path.abspath(telemetry_path)
13 sys.path.append(absolute_telemetry_path)
/external/chromium_org/google_apis/build/
H A Dcheck_internal.py8 Takes one argument, a path. Prints 1 if the path exists, 0 if not.
17 if os.path.exists(sys.argv[1]):
/external/chromium_org/third_party/mesa/
H A Dgenerate_git_sha1.py6 import os.path namespace
10 parentdir = os.path.abspath(os.path.join(output, os.pardir))
31 if not os.path.isdir(parentdir):
/external/chromium_org/tools/gyp/
H A Dgyp_main.py9 # TODO(mark): sys.path manipulation is some temporary testing stuff.
13 import os.path namespace
14 sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), 'pylib'))
/external/chromium_org/ui/base/resource/
H A Dresource_bundle_android.cc20 base::FilePath path; local
21 PathService::Get(ui::DIR_RESOURCE_PAKS_ANDROID, &path);
22 AddDataPackFromPath(path.AppendASCII("chrome.pak"),
24 AddDataPackFromPath(path.AppendASCII("chrome_100_percent.pak"),
/external/chromium_org/webkit/support/
H A Dplatform_support_android.cc40 base::FilePath path(kDumpRenderTreeDir);
41 path = path.Append("cache");
42 PathService::Override(base::DIR_CACHE, path);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dfilesystem_mock.py35 from webkitpy.common.system import path namespace
68 def _raise_not_found(self, path):
69 raise IOError(errno.ENOENT, path, os.strerror(errno.ENOENT))
71 def _split(self, path):
72 # This is not quite a full implementation of os.path.split
73 # http://docs.python.org/library/os.path.html#os.path.split
74 if self.sep in path:
75 return path.rsplit(self.sep, 1)
76 return ('', path)
[all...]
/external/apache-http/src/org/apache/http/cookie/
H A DCookiePathComparator.java45 * path-match a commmon request-URI. Otherwise, the result of the
56 String path = cookie.getPath();
57 if (path == null) {
58 path = "/";
60 if (!path.endsWith("/")) {
61 path = path + '/';
63 return path;
/external/chromium/chrome/browser/resources/shared/js/
H A Dmedia_common.js5 function pathIsVideoFile(path) {
6 return /\.(3gp|asf|avi|di?vx|f4v|fbr|mov|mp4|m4v|mpe?g4?|ogm|ogv|ogx|webm|wmv?|xvid)$/i.test(path);
9 function pathIsAudioFile(path) {
10 return /\.(aac|aiff|atrac|cda|flac|m4a|mp3|pcm|oga|ogg|raw|wav)$/i.test(path);
13 function pathIsImageFile(path) {
14 return /\.(bmp|gif|jpe?g|ico|png|webp)$/i.test(path);
17 function pathIsHtmlFile(path) {
18 return /\.(htm|html|txt)$/i.test(path);
21 function pathIsPdfFile(path) {
22 return /\.(pdf)$/i.test(path);
[all...]
/external/chromium_org/base/prefs/
H A Dpref_registry_simple.h24 void RegisterBooleanPref(const char* path, bool default_value);
25 void RegisterIntegerPref(const char* path, int default_value);
26 void RegisterDoublePref(const char* path, double default_value);
27 void RegisterStringPref(const char* path, const std::string& default_value);
28 void RegisterFilePathPref(const char* path,
30 void RegisterListPref(const char* path);
31 void RegisterDictionaryPref(const char* path);
32 void RegisterListPref(const char* path, base::ListValue* default_value);
33 void RegisterDictionaryPref(const char* path,
35 void RegisterInt64Pref(const char* path,
[all...]
/external/chromium_org/build/
H A Dgyp_helper.py10 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
11 CHROME_SRC = os.path.dirname(SCRIPT_DIR)
16 if not os.path.exists(file_path):
23 e.filename = os.path.abspath(file_path)
43 var, os.path.abspath(file_path)
52 path = os.path.join(os.path.dirname(CHROME_SRC), 'chromium.gyp_env')
53 apply_gyp_environment_from_file(path)
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Dchrome_paths.py10 _THIS_DIR = os.path.abspath(os.path.dirname(__file__))
14 """Returns the path to the root src directory."""
15 return os.path.abspath(os.path.join(_THIS_DIR, os.pardir, os.pardir,
20 """Returns the path to the src/chrome/test/data directory."""
21 return os.path.join(GetSrc(), 'chrome', 'test', 'data')
27 rel_dirs = [os.path.join(x, 'Release') for x in dirs]
28 debug_dirs = [os.path.join(x, 'Debug') for x in dirs]
29 full_dirs = [os.path
[all...]
/external/chromium_org/tools/
H A Dfind_depot_tools.py4 """Small utility function to find depot_tools and add it to the python path.
14 """Search for depot_tools and add it to sys.path."""
16 for i in sys.path:
22 sys.path.append(i.rstrip(os.sep))
25 root_dir = os.path.dirname(os.path.abspath(__file__))
26 previous_dir = os.path.abspath(__file__)
28 if os.path.isfile(os.path.join(root_dir, 'depot_tools', 'breakpad.py')):
29 i = os.path
[all...]
/external/chromium_org/ui/webui/resources/js/
H A Dmedia_common.js5 function pathIsVideoFile(path) {
6 return /\.(3gp|asf|avi|di?vx|f4v|fbr|mov|mp4|m4v|mpe?g4?|ogm|ogv|ogx|webm|wmv?|xvid)$/i.test(path);
9 function pathIsAudioFile(path) {
10 return /\.(aac|aiff|atrac|cda|flac|m4a|mp3|pcm|oga|ogg|raw|wav)$/i.test(path);
13 function pathIsImageFile(path) {
14 return /\.(bmp|gif|jpe?g|ico|png|webp)$/i.test(path);
17 function pathIsHtmlFile(path) {
18 return /\.(htm|html|txt)$/i.test(path);
21 function pathIsPdfFile(path) {
22 return /\.(pdf)$/i.test(path);
[all...]
/external/chromium/base/
H A Dpath_service.h17 // The path service is a global table mapping keys to file system paths. It is
22 // Retrieves a path to a special directory or file and places it into the
23 // string pointed to by 'path'. If you ask for a directory it is guaranteed
24 // to NOT have a path separator at the end. For example, "c:\windows\temp"
28 // failure, 'path' will not be changed.
29 static bool Get(int key, FilePath* path);
31 // Overrides the path to a special directory or file. This cannot be used to
33 // path specifies a directory that does not exist, the directory will be
36 // If the given path is relative, then it will be resolved against
41 static bool Override(int key, const FilePath& path);
[all...]
/external/chromium_org/ppapi/shared_impl/
H A Dfile_ref_util.h20 const std::string& path);
22 const base::FilePath& path);
24 // Determines whether an internal file path is valid.
25 PPAPI_SHARED_EXPORT bool IsValidInternalPath(const std::string& path);
27 // Determines whether an external file path is valid.
28 PPAPI_SHARED_EXPORT bool IsValidExternalPath(const base::FilePath& path);
30 // If path ends with a slash, normalize it away unless it's the root path.
31 PPAPI_SHARED_EXPORT void NormalizeInternalPath(std::string* path);
/external/chromium_org/tools/win/split_link/
H A Dinstall_split_link.py12 BASE_DIR = os.path.dirname(os.path.abspath(__file__))
16 return os.path.isfile(fpath) and os.access(fpath, os.X_OK)
20 fpath, _ = os.path.split(program)
25 for path in os.environ['PATH'].split(os.pathsep):
26 path = path.strip('"')
27 exe_file = os.path.join(path, program)
28 if not path o
[all...]
/external/chromium_org/webkit/tools/layout_tests/
H A Drun_webkit_tests.py13 src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..', '..'))
14 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
16 script = os.path.join(script_dir, 'run-webkit-tests')
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
H A DSoundTrack.java50 protected String path; field in class:SoundTrack
55 * creates a sound track from the given resource path
56 * @param path the path to an audi file (ie : "Sounds/mySound.wav")
58 public SoundTrack(String path) { argument
59 this.path = path;
63 * creates a sound track from the given resource path
64 * @param path the path t
67 SoundTrack(String path, boolean stream) argument
72 SoundTrack(String path, boolean stream, float initialDuration) argument
78 SoundTrack(String path, boolean stream, LoopMode loopMode) argument
84 SoundTrack(String path, boolean stream, float initialDuration, LoopMode loopMode) argument
90 SoundTrack(String path, float initialDuration) argument
95 SoundTrack(String path, LoopMode loopMode) argument
100 SoundTrack(String path, float initialDuration, LoopMode loopMode) argument
[all...]
/external/chromium_org/chrome/browser/resources/file_manager/js/
H A Dpath_util.js48 * The path to the default directory.
55 * Checks if the given path represents a special search. Fake entries in
57 * @param {string} path Path to check.
58 * @return {boolean} True if the given path represents a special search.
60 PathUtil.isSpecialSearchRoot = function(path) {
61 var type = PathUtil.getRootType(path);
68 * Checks |path| and return true if it is under Google Drive or a sepecial
70 * @param {string} path Path to check.
71 * @return {boolean} True if the given path represents a Drive based path
[all...]
/external/chromium_org/ui/webui/
H A Dweb_ui_util_unittest.cc18 std::string path; local
22 webui::ParsePathAndScale(url, &path, &factor);
23 EXPECT_EQ("random/username@email/and/more", path);
27 webui::ParsePathAndScale(url2, &path, &factor);
28 EXPECT_EQ("random/username/and/more", path);
32 webui::ParsePathAndScale(url3, &path, &factor);
33 EXPECT_EQ("random/username/and/more@2ax", path);
37 webui::ParsePathAndScale(url4, &path, &factor);
38 EXPECT_EQ("random/username/and/more@x", path);
42 webui::ParsePathAndScale(url5, &path,
[all...]

Completed in 605 milliseconds

1234567891011>>