HomeSort by relevance Sort by last modified time
    Searched refs:filePath (Results 1 - 25 of 200) sorted by null

1 2 3 4 5 6 7 8

  /external/webkit/LayoutTests/http/tests/resources/
file-last-modified.php 3 $filePath = $_GET['path'];
4 if (file_exists($filePath)) {
5 echo date("U", filemtime($filePath));
  /frameworks/av/drm/libdrmframework/include/
ReadWriteUtils.h 45 * @param[in] filePath Path of the file
48 static String8 readBytes(const String8& filePath);
52 * @param[in] filePath Path of the file
56 static int readBytes(const String8& filePath, char** buffer);
60 * @param[in] filePath Path of the file
63 static void writeToFile(const String8& filePath, const String8& data);
67 * @param[in] filePath Path of the file
70 static void appendToFile(const String8& filePath, const String8& data);
  /external/icu4c/tools/toolutil/
filetools.h 27 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE);
30 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
filetools.cpp 36 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) {
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) {
124 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) {
125 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i]
    [all...]
  /frameworks/base/core/java/android/content/res/
ObbScanner.java 33 * @param filePath path to the OBB file to be scanned.
38 public static ObbInfo getObbInfo(String filePath) throws IOException {
39 if (filePath == null) {
43 final File obbFile = new File(filePath);
45 throw new IllegalArgumentException("OBB file does not exist: " + filePath);
61 private native static void getObbInfo_native(String filePath, ObbInfo obbInfo)
  /external/webkit/Source/WebCore/platform/win/
SharedBufferWin.cpp 41 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath)
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/
SharedBufferGtk.cpp 30 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath)
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/audio/
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/platform/brew/
SharedBufferBrew.cpp 41 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath)
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/smack/src/org/jivesoftware/smack/
BOSHConfiguration.java 64 * @param filePath the file which is described by the URL
69 public BOSHConfiguration(boolean https, String host, int port, String filePath, String xmppDomain) {
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) {
95 file = (filePath != null ? filePath : "/");
  /frameworks/av/drm/common/
ReadWriteUtils.cpp 35 String8 ReadWriteUtils::readBytes(const String8& filePath) {
37 file = fopen(filePath.string(), "r");
57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) {
59 file = fopen(filePath.string(), "r");
78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) {
80 file = fopen(filePath.string(), "w+");
88 ALOGE("Failed to write the data to: %s", filePath.string());
95 void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data) {
97 file = fopen(filePath.string(), "a+");
104 ALOGE("Failed to write the data to: %s", filePath.string())
    [all...]
  /external/webkit/Source/WebKit2/Scripts/
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 %neededHeaders) {
82 my $headerPath = substr($filePath, length(File::Spec->catfile($srcRoot, $framework)) + 1 );
  /frameworks/base/core/tests/coretests/src/android/os/storage/
StorageManagerIntegrationTest.java 67 String filePath = mFile.getAbsolutePath();
68 mountObb(filePath);
69 verifyObb1Contents(filePath);
70 unmountObb(filePath, DONT_FORCE);
119 String filePath = mFile.getAbsolutePath();
120 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.MOUNTED);
121 verifyObb3Contents(filePath);
122 unmountObb(filePath, DONT_FORCE);
131 String filePath = mFile.getAbsolutePath();
132 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.ERROR_COULD_NOT_MOUNT)
    [all...]
  /packages/apps/Camera/src/com/android/camera/
Thumbnail.java 29 public static Bitmap createVideoThumbnailBitmap(String filePath, int targetWidth) {
30 return createVideoThumbnailBitmap(filePath, null, targetWidth);
33 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd,
38 if (filePath != null) {
39 retriever.setDataSource(filePath);
  /packages/apps/Gallery2/src/com/android/camera/
Thumbnail.java 29 public static Bitmap createVideoThumbnailBitmap(String filePath, int targetWidth) {
30 return createVideoThumbnailBitmap(filePath, null, targetWidth);
33 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd,
38 if (filePath != null) {
39 retriever.setDataSource(filePath);
  /external/webkit/Source/WebCore/platform/efl/
SharedBufferEfl.cpp 40 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath)
46 if (filePath.isEmpty())
49 if (!(file = fopen(filePath.utf8().data(), "rb")))
FileSystemEfl.cpp 116 char filePath[PATH_MAX];
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/
SharedBufferPOSIX.cpp 38 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath)
40 if (filePath.isEmpty())
43 CString filename = fileSystemRepresentation(filePath);
  /device/generic/goldfish/camera/
EmulatedCameraHotplugThread.h 56 int getCameraId(String8 filePath) const;
60 int readFile(String8 filePath) const;
  /dalvik/dx/src/com/android/dx/command/dump/
ClassDumper.java 36 * @param filePath the file path for the class, excluding any base
41 String filePath, Args args) {
43 new ClassDumper(bytes, out, filePath, args);
52 String filePath, Args args) {
53 super(bytes, out, filePath, args);
  /external/clang/include/clang/ARCMigrate/
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);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
EclipseTestCollector.java 54 String filePath = entry.getPath().replace(".class", "");
56 Class<?> testClass = getClass(filePath, expectedPackage);
70 //sLogger.log(Level.INFO, "Could not load class " + filePath);
107 * @param filePath - path of class in bundle
111 protected Class<?> getClass(String filePath, String expectedPackage) throws ClassNotFoundException {
112 String dotPath = filePath.replace('/', '.');
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
CodecTest.java 88 public static int getDuration(String filePath) {
89 Log.v(TAG, "getDuration - " + filePath);
92 mp.setDataSource(filePath);
104 public static boolean getCurrentPosition(String filePath){
105 Log.v(TAG, "GetCurrentPosition - " + filePath);
111 mp.setDataSource(filePath);
129 if (filePath.equals(MediaNames.SHORTMP3)){
139 public static boolean seekTo(String filePath){
140 Log.v(TAG, "seekTo " + filePath);
144 mp.setDataSource(filePath);
    [all...]
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
CodecTest.java 80 public static int getDuration(String filePath) {
81 Log.v(TAG, "getDuration - " + filePath);
84 mp.setDataSource(filePath);
96 public static boolean getCurrentPosition(String filePath) {
97 Log.v(TAG, "GetCurrentPosition - " + filePath);
103 mp.setDataSource(filePath);
126 public static boolean seekTo(String filePath) {
127 Log.v(TAG, "seekTo " + filePath);
131 mp.setDataSource(filePath);
150 public static boolean setLooping(String filePath) {
    [all...]
  /external/webkit/Source/WebKit/chromium/src/
WebHTTPBody.cpp 77 result.filePath.reset();
90 result.filePath = element.m_filename;
119 void WebHTTPBody::appendFile(const WebString& filePath)
122 m_private->appendFile(filePath);
125 void WebHTTPBody::appendFileRange(const WebString& filePath, long long fileStart, long long fileLength, double modificationTime)
129 m_private->appendFileRange(filePath, fileStart, fileLength, modificationTime);

Completed in 495 milliseconds

1 2 3 4 5 6 7 8