/external/icu4c/tools/toolutil/ |
D | filetools.cpp | 35 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { in isFileModTimeLater() argument 38 if (filePath == NULL || checkAgainst == NULL) { in isFileModTimeLater() 59 isLatest = isFileModTimeLater(filePath, newpath, isDir); in isFileModTimeLater() 64 int32_t latest = whichFileModTimeIsLater(filePath, newpath); in isFileModTimeLater() 81 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst); in isFileModTimeLater() 122 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { in swapFileSepChar() argument 123 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) { in swapFileSepChar() 124 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i]; in swapFileSepChar()
|
D | filetools.h | 27 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE); 30 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
|
/external/webkit/Source/WebCore/platform/brew/ |
D | SharedBufferBrew.cpp | 41 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) in createWithContentsOfFile() argument 43 if (filePath.isEmpty()) in createWithContentsOfFile() 47 if (!fileExists(filePath) || !getFileSize(filePath, fileSize)) in createWithContentsOfFile() 55 CString filename = fileSystemRepresentation(filePath); in createWithContentsOfFile() 59 …LOG_ERROR("Failed to open file %s to create shared buffer, errno(%i)", filePath.ascii().data(), IF… in createWithContentsOfFile() 70 …LOG_ERROR("Failed to fully read contents of file %s - errno(%i)", filePath.ascii().data(), IFILEMG… in createWithContentsOfFile()
|
/external/webkit/Source/WebCore/platform/efl/ |
D | FileSystemEfl.cpp | 116 char filePath[PATH_MAX]; in listDirectory() local 121 if (cpath.length() + NAME_MAX >= sizeof(filePath)) in listDirectory() 124 memcpy(filePath, cpath.data(), cpath.length()); in listDirectory() 125 fileName = filePath + cpath.length(); in listDirectory() 126 if (cpath.length() > 0 && filePath[cpath.length() - 1] != '/') { in listDirectory() 130 fileNameSpace = sizeof(filePath) - (fileName - filePath) - 1; in listDirectory() 153 entries.append(filePath); in listDirectory()
|
D | SharedBufferEfl.cpp | 40 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) in createWithContentsOfFile() argument 46 if (filePath.isEmpty()) in createWithContentsOfFile() 49 if (!(file = fopen(filePath.utf8().data(), "rb"))) in createWithContentsOfFile()
|
/external/webkit/Source/WebCore/platform/win/ |
D | SharedBufferWin.cpp | 41 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) in createWithContentsOfFile() argument 43 if (filePath.isEmpty()) in createWithContentsOfFile() 46 String nullifiedPath = filePath; in createWithContentsOfFile() 49 …LOG_ERROR("Failed to open file %s to create shared buffer, GetLastError() = %u", filePath.ascii().… in createWithContentsOfFile() 63 …LOG_ERROR("Failed to fully read contents of file %s, GetLastError() = %u", filePath.ascii().data()… in createWithContentsOfFile() 65 …LOG_ERROR("Failed to get filesize of file %s, GetLastError() = %u", filePath.ascii().data(), lastE… in createWithContentsOfFile()
|
/external/webkit/Source/WebKit2/Scripts/ |
D | generate-forwarding-headers.pl | 65 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 %neededHeade… 82 my $headerPath = substr($filePath, length(File::Spec->catfile($srcRoot, $framework)) + 1 );
|
/external/webkit/Tools/DumpRenderTree/android/ |
D | get_layout_tests_dir_contents.php | 54 $filePath = $value; 56 $filePath = $relPath . DIRECTORY_SEPARATOR . $value; 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/gtk/ |
D | SharedBufferGtk.cpp | 30 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) in createWithContentsOfFile() argument 32 if (filePath.isEmpty()) in createWithContentsOfFile() 35 CString filename = fileSystemRepresentation(filePath); in createWithContentsOfFile() 40 …LOG_ERROR("Failed to fully read contents of file %s - %s", filenameForDisplay(filePath).utf8().dat… in createWithContentsOfFile()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebHTTPBody.cpp | 77 result.filePath.reset(); in elementAt() 90 result.filePath = element.m_filename; in elementAt() 119 void WebHTTPBody::appendFile(const WebString& filePath) in appendFile() argument 122 m_private->appendFile(filePath); in appendFile() 125 void WebHTTPBody::appendFileRange(const WebString& filePath, long long fileStart, long long fileLen… in appendFileRange() argument 129 m_private->appendFileRange(filePath, fileStart, fileLength, modificationTime); in appendFileRange()
|
/external/webkit/LayoutTests/http/tests/resources/ |
D | file-last-modified.php | 3 $filePath = $_GET['path']; variable 4 if (file_exists($filePath)) { 5 echo date("U", filemtime($filePath));
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
D | gUnitBaseTest.java | 68 String filePath = testInput; in execLexer() local 69 File testInputFile = new File(filePath); in execLexer() 72 testInputFile = new File(packagePath, filePath); in execLexer() 73 if ( testInputFile.exists() ) filePath = testInputFile.getCanonicalPath(); in execLexer() 75 input = new ANTLRFileStream(filePath); in execLexer() 159 String filePath = testInput; in execParser() local 160 File testInputFile = new File(filePath); in execParser() 163 testInputFile = new File(packagePath, filePath); in execParser() 164 if ( testInputFile.exists() ) filePath = testInputFile.getCanonicalPath(); in execParser() 166 input = new ANTLRFileStream(filePath); in execParser() [all …]
|
/external/clang/include/clang/ARCMigrate/ |
D | FileRemapper.h | 47 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/icu4c/test/perf/collationperf/ |
D | CollPerf.pl | 42 my $filePath = $CollationDataPath . "/"; 77 my @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -qsort`; 78 my @nix = `$p -locale @locale[$n] -unix -loop 1000 -file $filePath@data[$n] -qsort`; 89 @icu = `$p -locale @locale[$n] -loop 1000 -file $filePath@data[$n] -keygen`; 90 @nix = `$p -locale @locale[$n] -unix -loop 1000 -file $filePath@data[$n] -keygen`;
|
/external/webkit/Tools/Scripts/ |
D | check-Xcode-source-file-types | 131 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/webkit/Source/WebCore/fileapi/ |
D | FileSystemCallbacks.cpp | 201 …, PassRefPtr<ErrorCallback> errorCallback, PassRefPtr<DirectoryEntry> root, const String& filePath) in create() argument 203 return adoptRef(new ErrorCallbackWrapper(successCallback, errorCallback, root, filePath)); in create() 217 …, PassRefPtr<ErrorCallback> errorCallback, PassRefPtr<DirectoryEntry> root, const String& filePath) in ErrorCallbackWrapper() argument 221 , m_filePath(filePath) in ErrorCallbackWrapper() 234 …rorCallback> errorCallback, ScriptExecutionContext* scriptExecutionContext, const String& filePath) in create() argument 236 …doptPtr(new ResolveURICallbacks(successCallback, errorCallback, scriptExecutionContext, filePath)); in create() 239 …, PassRefPtr<ErrorCallback> errorCallback, ScriptExecutionContext* context, const String& filePath) in ResolveURICallbacks() argument 243 , m_filePath(filePath) in ResolveURICallbacks()
|
/external/webkit/Source/WebCore/platform/posix/ |
D | SharedBufferPOSIX.cpp | 38 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) in createWithContentsOfFile() argument 40 if (filePath.isEmpty()) in createWithContentsOfFile() 43 CString filename = fileSystemRepresentation(filePath); in createWithContentsOfFile()
|
D | FileSystemPOSIX.cpp | 249 char filePath[1024]; in listDirectory() local 250 …if (static_cast<int>(sizeof(filePath) - 1) < snprintf(filePath, sizeof(filePath), "%s/%s", cpath.d… in listDirectory() 252 entries.append(filePath); in listDirectory()
|
/external/webkit/Source/WebKit/chromium/tests/ |
D | WebFrameTest.cpp | 68 std::string filePath = webkit_support::GetWebKitRootDir().utf8(); in registerMockedURLLoad() local 69 filePath += "/Source/WebKit/chromium/tests/data/"; in registerMockedURLLoad() 70 filePath += fileName; in registerMockedURLLoad() 72 …port::RegisterMockedURL(WebURL(GURL(baseURL + fileName)), response, WebString::fromUTF8(filePath)); in registerMockedURLLoad()
|
D | WebPageSerializerTest.cpp | 81 std::string filePath = webkit_support::GetWebKitRootDir().utf8(); in registerMockedURLLoad() local 82 filePath.append("/Source/WebKit/chromium/tests/data/pageserialization/"); in registerMockedURLLoad() 83 filePath.append(fileName.utf8()); in registerMockedURLLoad() 84 webkit_support::RegisterMockedURL(url, response, WebString::fromUTF8(filePath)); in registerMockedURLLoad()
|
/external/quake/quake/src/WinQuake/ |
D | sys_android.cpp | 424 char filePath[1024]; in rmDir() local 425 if ((int) (sizeof(filePath)-1) < snprintf(filePath, sizeof(filePath), "%s/%s", path, name)) { in rmDir() 428 if(direxists(filePath)) { in rmDir() 429 rmDir(filePath); in rmDir() 432 unlink(filePath); in rmDir()
|
/external/clang/lib/ARCMigrate/ |
D | FileRemapper.cpp | 58 bool FileRemapper::initFromFile(StringRef filePath, DiagnosticsEngine &Diag, in initFromFile() argument 62 std::string infoFile = filePath; in initFromFile() 236 void FileRemapper::remap(StringRef filePath, llvm::MemoryBuffer *memBuf) { in remap() argument 237 remap(getOriginalFile(filePath), memBuf); in remap() 240 void FileRemapper::remap(StringRef filePath, StringRef newPath) { in remap() argument 241 const FileEntry *file = getOriginalFile(filePath); in remap() 261 const FileEntry *FileRemapper::getOriginalFile(StringRef filePath) { in getOriginalFile() argument 262 const FileEntry *file = FileMgr->getFile(filePath); in getOriginalFile()
|
/external/webkit/Source/WebCore/platform/audio/mac/ |
D | AudioFileReaderMac.cpp | 59 AudioFileReader::AudioFileReader(const char* filePath) in AudioFileReader() argument 62 , m_filePath(filePath) in AudioFileReader() 67 OSStatus result = FSPathMakeRef((UInt8*)filePath, &fsref, 0); in AudioFileReader() 244 PassOwnPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, double sampleRate) in createBusFromAudioFile() argument 246 AudioFileReader reader(filePath); in createBusFromAudioFile()
|
/external/webkit/Source/WebCore/platform/audio/ |
D | AudioFileReader.h | 47 PassOwnPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, double sampleRate… 50 void writeBusToAudioFile(AudioBus* bus, const char* filePath, double fileSampleRate);
|
/external/webkit/Source/WebCore/workers/ |
D | WorkerContext.cpp | 397 String filePath; in webkitResolveLocalFileSystemURL() local 398 …(!completedURL.isValid() || !DOMFileSystemBase::crackFileSystemURL(completedURL, type, filePath)) { in webkitResolveLocalFileSystemURL() 403 …ileSystem(this, type, ResolveURICallbacks::create(successCallback, errorCallback, this, filePath)); in webkitResolveLocalFileSystemURL() 416 String filePath; in webkitResolveLocalFileSystemSyncURL() local 417 …(!completedURL.isValid() || !DOMFileSystemBase::crackFileSystemURL(completedURL, type, filePath)) { in webkitResolveLocalFileSystemSyncURL() 428 RefPtr<EntrySync> entry = fileSystem->root()->getDirectory(filePath, 0, ec); in webkitResolveLocalFileSystemSyncURL() 430 return fileSystem->root()->getFile(filePath, 0, ec); in webkitResolveLocalFileSystemSyncURL()
|