/external/webkit/Tools/Scripts/webkitpy/common/system/ |
H A D | filesystem.py | 57 def abspath(self, path): 58 return os.path.abspath(path) 60 def basename(self, path): 61 """Wraps os.path.basename().""" 62 return os.path.basename(path) 64 def chdir(self, path): 66 return os.chdir(path) 69 """Copies the contents of the file at the given path t [all...] |
H A D | filesystem_mock.py | 33 from webkitpy.common.system import path namespace 59 def _raise_not_found(self, path): 60 raise IOError(errno.ENOENT, path, os.strerror(errno.ENOENT)) 62 def _split(self, path): 63 return path.rsplit(self.sep, 1) 65 def abspath(self, path): 66 if os.path.isabs(path): 67 return self.normpath(path) 68 return self.abspath(self.join(self.cwd, path)) [all...] |
H A D | path.py | 39 def abspath_to_uri(path, platform=None): 40 """Converts a platform-specific absolute path to a file: URL.""" 43 return "file:" + _escape(_convert_path(path, platform)) 46 def cygpath(path): 47 """Converts an absolute cygwin path to an absolute Windows path.""" 48 return _CygPath.convert_using_singleton(path) 68 def convert_using_singleton(path): 78 return _CygPath._singleton.convert(path) 101 def convert(self, path) [all...] |
/external/chromium/base/ |
H A D | file_util_android.cc | 23 mkstemps(char *path, int slen) argument 27 return (_gettemp(path, &fd, 0, slen) ? fd : -1); 31 mkstemp(char *path) argument 35 return (_gettemp(path, &fd, 0, 0) ? fd : -1); 39 mkdtemp(char *path) argument 41 return(_gettemp(path, (int *)NULL, 1, 0) ? path : (char *)NULL); 47 _mktemp(char *path) argument 49 return(_gettemp(path, (int *)NULL, 0, 0) ? path 58 mktemp(char *path) argument 65 _gettemp(char *path, int *doopen, int domkdir, int slen) argument [all...] |
H A D | path_service.h | 17 // 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...] |
H A D | base_paths_linux.cc | 37 FilePath path; local 55 NOTREACHED() << "Unable to resolve path."; 69 path = FilePath(cr_source_root); 70 if (file_util::PathExists(path.Append(kThisSourceFile))) { 71 *result = path; 80 if (PathService::Get(base::DIR_EXE, &path)) { 81 path = path.DirName().DirName(); 82 if (file_util::PathExists(path.Append(kThisSourceFile))) { 83 *result = path; [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | BstInOrderPathTest.java | 52 BstInOrderPath<SimpleNode> path = extension(factory, d, LEFT, LEFT); 53 ASSERT.that(pathToList(path)).hasContentsInOrder(a, b, d); 54 path = testNextPathIs(path, b, d); 55 path = testNextPathIs(path, c, b, d); 56 path = testNextPathIs(path, d); 57 path = testNextPathIs(path, 179 testNextPathIs( BstInOrderPath<SimpleNode> path, SimpleNode... nodes) argument 187 testPrevPathIs( BstInOrderPath<SimpleNode> path, SimpleNode... nodes) argument [all...] |
/external/webkit/LayoutTests/http/tests/resources/ |
H A D | network-simulator.php | 25 function contentType($path) 27 if (preg_match("/\.html$/", $path)) 29 if (preg_match("/\.manifest$/", $path)) 31 if (preg_match("/\.js$/", $path)) 33 if (preg_match("/\.xml$/", $path)) 35 if (preg_match("/\.xhtml$/", $path)) 37 if (preg_match("/\.svg$/", $path)) 39 if (preg_match("/\.xsl$/", $path)) 41 if (preg_match("/\.gif$/", $path)) 43 if (preg_match("/\.jpg$/", $path)) 74 $path = '..' . $path; variable [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
H A D | FileSystemChromium.cpp | 40 bool deleteFile(const String& path) argument 42 return PlatformBridge::deleteFile(path); 45 bool deleteEmptyDirectory(const String& path) argument 47 return PlatformBridge::deleteEmptyDirectory(path); 50 bool getFileSize(const String& path, long long& result) argument 52 return PlatformBridge::getFileSize(path, result); 55 bool getFileModificationTime(const String& path, time_t& result) argument 57 return PlatformBridge::getFileModificationTime(path, result); 60 void revealFolderInOS(const String& path) argument 62 PlatformBridge::revealFolderInOS(path); 65 directoryName(const String& path) argument 70 pathByAppendingComponent(const String& path, const String& component) argument 75 makeAllDirectories(const String& path) argument 80 fileExists(const String& path) argument 85 openFile(const String& path, FileOpenMode mode) argument 115 listDirectory(const String& path, const String& filter) argument [all...] |
/external/chromium/chrome/browser/chromeos/ |
H A D | cros_settings_provider.cc | 14 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/quake/quake/src/QW/server/ |
H A D | sys.h | 22 int Sys_FileTime (char *path); 24 void Sys_mkdir (char *path);
|
/external/webkit/Source/WebKit/win/ |
H A D | WebKitSystemBits.h | 35 unsigned long long WebVolumeFreeSize(CFStringRef path);
|
/external/webkit/Tools/wx/packaging/ |
H A D | build-debian-installer.py | 7 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "build"))) 11 script_dir = os.path.abspath(os.path.dirname(__file__)) 12 wxwebkit_dir = os.path.abspath(os.path.join(script_dir, "..", "..", "..", "WebKitBuild", "Debug" + build_utils.git_branch_name())) 13 wxwk_root = os.path.abspath(os.path [all...] |
/external/apache-http/src/org/apache/http/cookie/ |
H A D | CookiePathComparator.java | 45 * 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 D | media_common.js | 5 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/webkit/Tools/Scripts/webkitperl/ |
H A D | features.pm | 47 my ($path, $symbol) = @_; 55 if (-e $path) { 56 open NM, "-|", "nm", $path or die; 67 my ($featureName, $path) = @_; 80 return libraryContainsSymbol($path, $symbolName); 87 my $path = builtDylibPathForName($libraryName); 88 my $hasFeature = hasFeature($feature, $path); 90 die "$libraryName at \"$path\" does not include $hasFeature support. See build-webkit --help\n"; 98 my $path = builtDylibPathForName($libraryName); 99 return unless -x $path; [all...] |
/external/webkit/Tools/Scripts/webkitpy/test/ |
H A D | cat.py | 23 import os.path namespace 26 # Add WebKitTools/Scripts to the path to ensure we can find webkitpy. 27 sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
|
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/ |
H A D | SoundTrack.java | 50 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/webkit/Source/WebCore/fileapi/ |
H A D | File.cpp | 36 static PassOwnPtr<BlobData> createBlobDataForFile(const String& path) argument 39 int index = path.reverseFind('.'); 41 type = MIMETypeRegistry::getMIMETypeForExtension(path.substring(index + 1)); 45 blobData->appendFile(path); 49 File::File(const String& path) argument 50 : Blob(createBlobDataForFile(path), -1) 51 , m_path(path) 52 , m_name(pathGetFileName(path)) 56 File::File(const String& path, const KURL& url, const String& type) argument 58 , m_path(path) 64 File(const String& relativePath, const String& path) argument [all...] |
/external/openssh/openbsd-compat/ |
H A D | mktemp.c | 51 mkstemps(char *path, int slen) argument 55 return (_gettemp(path, &fd, 0, slen) ? fd : -1); 59 mkstemp(char *path) argument 63 return (_gettemp(path, &fd, 0, 0) ? fd : -1); 67 mkdtemp(char *path) argument 69 return(_gettemp(path, (int *)NULL, 1, 0) ? path : (char *)NULL); 73 _gettemp(path, doopen, domkdir, slen) 74 char *path; 89 for (trv = path; *tr [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | errorrecord.py | 33 path: Path to the file. 38 def __init__(self, path, error_string, new_error): 39 self.path = path 44 def MakeErrorRecord(path, error): 52 path: Path of file the error was found in. 61 error_string = erroroutput.GetUnixErrorOutput(path, error, new_error) 65 return ErrorRecord(path, error_string, new_error)
|
/external/skia/tests/ |
H A D | FillPathTest.cpp | 36 SkPath path; local 41 path.moveTo(0.0, 0.0); 42 path.quadTo(width/2, height, width, 0.0); 43 path.close(); 44 path.setFillType(SkPath::kInverseWinding_FillType); 45 SkScan::FillPath(path, clip, &blitter);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/mac/ |
H A D | WebInspectorMac.mm | 35 NSString *path = [[NSBundle bundleWithIdentifier:@"com.apple.WebCore"] pathForResource:@"localizedStrings" ofType:@"js"]; 36 if (path) 37 return [[NSURL fileURLWithPath:path] absoluteString];
|
/external/webkit/Source/WebKit/chromium/public/ |
H A D | WebFileUtilities.h | 51 virtual void revealFolderInOS(const WebString& path) { } argument 52 virtual bool fileExists(const WebString& path) { return false; } argument 53 virtual bool deleteFile(const WebString& path) { return false; } argument 54 virtual bool deleteEmptyDirectory(const WebString& path) { return false; } argument 55 virtual bool getFileSize(const WebString& path, long long& result) { return false; } argument 56 virtual bool getFileModificationTime(const WebString& path, double& result) { return false; } argument 57 virtual WebString directoryName(const WebString& path) { return WebString(); } argument 58 virtual WebString pathByAppendingComponent(const WebString& path, const WebString& component) { return WebString(); } argument 59 virtual bool makeAllDirectories(const WebString& path) { return false; } argument 60 virtual WebString getAbsolutePath(const WebString& path) { retur argument 61 isDirectory(const WebString& path) argument 62 filePathToURL(const WebString& path) argument 63 openFile(const WebString& path, int mode) argument [all...] |
/external/clang/tools/scan-build/ |
H A D | set-xcode-analyzer | 16 def FindClangSpecs(path): 17 print "(+) Searching for xcspec file in: ", path 18 for root, dirs, files in os.walk(path): 21 yield os.path.join(root, f) 23 def ModifySpec(path, pathToChecker): 26 with open(path) as f: 37 print "(+) processing:", path 39 shutil.copy(t.name, path) 40 os.chmod(path, stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IROTH) 51 parser.add_option("--use-checker-build", dest="path", [all...] |