Searched refs:filePath (Results 1 - 25 of 100) sorted by relevance

1234

/external/webkit/LayoutTests/http/tests/resources/
H A Dfile-last-modified.php3 $filePath = $_GET['path']; variable
4 if (file_exists($filePath)) {
5 echo date("U", filemtime($filePath));
/external/icu4c/tools/toolutil/
H A Dfiletools.h27 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE);
30 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
H A Dfiletools.cpp36 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { argument
39 if (filePath == NULL || checkAgainst == NULL) {
60 isLatest = isFileModTimeLater(filePath, newpath, isDir);
65 int32_t latest = whichFileModTimeIsLater(filePath, newpath);
82 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst);
123 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { argument
124 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) {
125 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[
[all...]
/external/webkit/Source/WebCore/platform/win/
H A DSharedBufferWin.cpp41 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) argument
43 if (filePath.isEmpty())
46 String nullifiedPath = filePath;
49 LOG_ERROR("Failed to open file %s to create shared buffer, GetLastError() = %u", filePath.ascii().data(), GetLastError());
63 LOG_ERROR("Failed to fully read contents of file %s, GetLastError() = %u", filePath.ascii().data(), GetLastError());
65 LOG_ERROR("Failed to get filesize of file %s, GetLastError() = %u", filePath.ascii().data(), lastError);
/external/webkit/Source/WebCore/platform/gtk/
H A DSharedBufferGtk.cpp30 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) argument
32 if (filePath.isEmpty())
35 CString filename = fileSystemRepresentation(filePath);
40 LOG_ERROR("Failed to fully read contents of file %s - %s", filenameForDisplay(filePath).utf8().data(), error->message);
/external/webkit/Source/WebCore/platform/brew/
H A DSharedBufferBrew.cpp41 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) argument
43 if (filePath.isEmpty())
47 if (!fileExists(filePath) || !getFileSize(filePath, fileSize))
55 CString filename = fileSystemRepresentation(filePath);
59 LOG_ERROR("Failed to open file %s to create shared buffer, errno(%i)", filePath.ascii().data(), IFILEMGR_GetLastError(fileMgr.get()));
70 LOG_ERROR("Failed to fully read contents of file %s - errno(%i)", filePath.ascii().data(), IFILEMGR_GetLastError(fileMgr.get()));
/external/webkit/Source/WebCore/platform/audio/
H A DAudioFileReader.h47 PassOwnPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, double sampleRate);
50 void writeBusToAudioFile(AudioBus* bus, const char* filePath, double fileSampleRate);
/external/smack/src/org/jivesoftware/smack/
H A DBOSHConfiguration.java64 * @param filePath the file which is described by the URL
69 public BOSHConfiguration(boolean https, String host, int port, String filePath, String xmppDomain) { argument
73 file = (filePath != null ? filePath : "/");
85 * @param filePath the file which is described by the URL
91 public BOSHConfiguration(boolean https, String host, int port, String filePath, ProxyInfo proxy, String xmppDomain) { argument
95 file = (filePath != null ? filePath : "/");
/external/webkit/Source/WebKit2/Scripts/
H A Dgenerate-forwarding-headers.pl65 my $filePath = $File::Find::name;
67 if ($filePath =~ '\.h$|\.cpp$|\.c$') {
68 open(FILE, "<$file") or die "Could not open $filePath.\n";
79 my $filePath = $File::Find::name;
81 if ($filePath =~ '\.h$' && $filePath !~ "ForwardingHeaders" && grep{$file eq $_} keys %neededHeaders) {
82 my $headerPath = substr($filePath, length(File::Spec->catfile($srcRoot, $framework)) + 1 );
/external/webkit/Tools/DumpRenderTree/android/
H A Dget_layout_tests_dir_contents.php54 $filePath = $value; variable
56 $filePath = $relPath . DIRECTORY_SEPARATOR . $value; variable
59 if (is_dir(getAbsolutePath($filePath))) {
61 $result = array_merge($result, (array)$filePath);
64 $result = array_merge($result, getAllFilesUnderAsArray($filePath, $recurse, $mode));
67 $result = array_merge($result, (array)$filePath);
/external/webkit/Source/WebCore/platform/efl/
H A DSharedBufferEfl.cpp40 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) argument
46 if (filePath.isEmpty())
49 if (!(file = fopen(filePath.utf8().data(), "rb")))
H A DFileSystemEfl.cpp116 char filePath[PATH_MAX]; local
121 if (cpath.length() + NAME_MAX >= sizeof(filePath))
124 memcpy(filePath, cpath.data(), cpath.length());
125 fileName = filePath + cpath.length();
126 if (cpath.length() > 0 && filePath[cpath.length() - 1] != '/') {
130 fileNameSpace = sizeof(filePath) - (fileName - filePath) - 1;
153 entries.append(filePath);
/external/webkit/Source/WebCore/platform/posix/
H A DSharedBufferPOSIX.cpp38 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) argument
40 if (filePath.isEmpty())
43 CString filename = fileSystemRepresentation(filePath);
/external/clang/include/clang/ARCMigrate/
H A DFileRemapper.h47 bool initFromFile(StringRef filePath, DiagnosticsEngine &Diag,
55 void remap(StringRef filePath, llvm::MemoryBuffer *memBuf);
56 void remap(StringRef filePath, StringRef newPath);
68 const FileEntry *getOriginalFile(StringRef filePath);
/external/webkit/Source/WebKit/chromium/src/
H A DWebHTTPBody.cpp77 result.filePath.reset();
90 result.filePath = element.m_filename;
119 void WebHTTPBody::appendFile(const WebString& filePath) argument
122 m_private->appendFile(filePath);
125 void WebHTTPBody::appendFileRange(const WebString& filePath, long long fileStart, long long fileLength, double modificationTime) argument
129 m_private->appendFileRange(filePath, fileStart, fileLength, modificationTime);
/external/webkit/Source/WebKit/chromium/tests/
H A DWebFrameTest.cpp68 std::string filePath = webkit_support::GetWebKitRootDir().utf8(); local
69 filePath += "/Source/WebKit/chromium/tests/data/";
70 filePath += fileName;
72 webkit_support::RegisterMockedURL(WebURL(GURL(baseURL + fileName)), response, WebString::fromUTF8(filePath));
H A DWebPageSerializerTest.cpp81 std::string filePath = webkit_support::GetWebKitRootDir().utf8(); local
82 filePath.append("/Source/WebKit/chromium/tests/data/pageserialization/");
83 filePath.append(fileName.utf8());
84 webkit_support::RegisterMockedURL(url, response, WebString::fromUTF8(filePath));
/external/qemu/android/utils/
H A Dini.h33 IniFile* iniFile_newFromFile( const char* filePath);
38 int iniFile_saveToFile( IniFile* f, const char* filePath );
/external/webkit/Source/WebCore/platform/graphics/win/
H A DDIBPixelData.cpp52 void DIBPixelData::writeToFile(LPCWSTR filePath) argument
54 HANDLE hFile = ::CreateFile(filePath, GENERIC_WRITE, 0, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0);
/external/mdnsresponder/mDNSPosix/
H A DmDNSPosix.h63 extern int ParseDNSServers(mDNS *m, const char *filePath);
/external/webkit/Source/WebCore/platform/audio/mac/
H A DAudioFileReaderMac.h44 AudioFileReader(const char* filePath);
/external/webkit/Source/WebCore/platform/mac/
H A DSharedBufferMac.mm116 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath)
118 NSData *resourceData = [NSData dataWithContentsOfFile:filePath];
/external/webkit/Source/WebKit/chromium/public/
H A DWebMimeRegistry.h52 virtual WebString mimeTypeFromFile(const WebString& filePath) = 0;
/external/webkit/Tools/Scripts/
H A Dcheck-Xcode-source-file-types131 my $filePath = $3;
132 my (undef, undef, $fileExtension) = map { lc($_) } fileparse(basename($filePath), qr{\.[^.]+$});
136 print STDERR "WARNING: Unknown file type '$fileType' for file '$filePath'.\n" if $printWarnings;
139 print STDERR "WARNING: Incorrect file type '$fileType' for file '$filePath'.\n" if $printWarnings;
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
H A DLoadPathToFileCache.java64 * @param filePath the absolute filepath location of the file
66 public void add(List<String> loadPaths, String filename, String filePath) { argument
70 cache.put(filePathMapKey, filePath);

Completed in 587 milliseconds

1234