/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 | 35 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { 38 if (filePath == NULL || checkAgainst == NULL) { 59 isLatest = isFileModTimeLater(filePath, newpath, isDir); 64 int32_t latest = whichFileModTimeIsLater(filePath, newpath); 81 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst); 122 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { 123 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) { 124 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i] [all...] |
/external/webkit/WebCore/platform/gtk/ |
SharedBufferGtk.cpp | 30 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) 32 if (filePath.isEmpty()) 35 gchar* filename = filenameFromString(filePath); 40 LOG_ERROR("Failed to fully read contents of file %s - %s", filenameForDisplay(filePath).utf8().data(), error->message);
|
/external/webkit/WebCore/platform/win/ |
SharedBufferWin.cpp | 34 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) 36 if (filePath.isEmpty()) 39 String nullifiedPath = filePath; 42 LOG_ERROR("Failed to open file %s to create shared buffer, errno(%i)", filePath.ascii().data(), errno); 63 LOG_ERROR("Failed to fully read contents of file %s - errno(%i)", filePath.ascii().data(), errno);
|
/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);
|
DotDumper.java | 45 private final String filePath; 50 static void dump(byte[] bytes, String filePath, Args args) { 51 new DotDumper(bytes, filePath, args).run(); 54 DotDumper(byte[] bytes, String filePath, Args args) { 56 this.filePath = filePath; 69 classFile = new DirectClassFile(ba, filePath, strictParse); 75 new DirectClassFile(ba, filePath, strictParse);
|
BaseDumper.java | 53 private final String filePath; 79 * @param filePath the file path for the class, excluding any base 83 String filePath, Args args) { 88 this.filePath = filePath; 192 return filePath;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
EclipseTestCollector.java | 53 String filePath = entry.getPath().replace(".class", ""); 55 Class<?> testClass = getClass(filePath, expectedPackage); 62 //sLogger.log(Level.INFO, "Could not load class " + filePath); 91 * @param filePath - path of class in bundle 95 protected Class<?> getClass(String filePath, String expectedPackage) throws ClassNotFoundException { 96 String dotPath = filePath.replace('/', '.');
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 82 public static int getDuration(String filePath) { 83 Log.v(TAG, "getDuration - " + filePath); 86 mp.setDataSource(filePath); 98 public static boolean getCurrentPosition(String filePath){ 99 Log.v(TAG, "GetCurrentPosition - " + filePath); 105 mp.setDataSource(filePath); 123 if (filePath.equals(MediaNames.SHORTMP3)){ 133 public static boolean seekTo(String filePath){ 134 Log.v(TAG, "seekTo " + filePath); 138 mp.setDataSource(filePath); [all...] |
/external/webkit/WebCore/platform/android/ |
FileSystemAndroid.cpp | 119 char filePath[1024]; 120 if ((int) (sizeof(filePath) - 1) < snprintf(filePath, 121 sizeof(filePath), "%s/%s", cpath.data(), name)) { 124 entries.append(filePath);
|
/external/qemu/android/utils/ |
ini.h | 33 IniFile* iniFile_newFromFile( const char* filePath); 38 int iniFile_saveToFile( IniFile* f, const char* filePath );
|
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/ |
DownloadProviderPermissionsTest.java | 54 String filePath = "/cache/this-should-not-exist.txt"; 55 FileOutputStream strm = new FileOutputStream(filePath); 59 fail("Was able to create and write to " + filePath);
|
/external/webkit/WebKit/chromium/src/ |
WebHTTPBody.cpp | 81 result.filePath.reset(); 89 result.filePath = element.m_filename; 110 void WebHTTPBody::appendFile(const WebString& filePath) 113 m_private->appendFile(filePath); 116 void WebHTTPBody::appendFile(const WebString& filePath, long long fileStart, long long fileLength, const WebFileInfo& fileInfo)
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
DirectClassFile.java | 77 private final String filePath; 166 * @param filePath {@code non-null;} the file path for the class, 173 public DirectClassFile(ByteArray bytes, String filePath, 179 if (filePath == null) { 180 throw new NullPointerException("filePath == null"); 183 this.filePath = filePath; 193 * @param filePath {@code non-null;} the file path for the class, 200 public DirectClassFile(byte[] bytes, String filePath, 202 this(new ByteArray(bytes), filePath, strictParse) [all...] |
/external/webkit/WebKit/chromium/public/ |
WebMimeRegistry.h | 52 virtual WebString mimeTypeFromFile(const WebString& filePath) = 0;
|
/sdk/dumpeventlog/src/com/android/dumpeventlog/ |
DumpEventLog.java | 44 public LogWriter(String filePath) throws IOException { 45 mOutputStream = new FileOutputStream(filePath); 74 System.out.println("Usage: dumpeventlog <device s/n> <filepath>"); 136 private static void grabLogFrom(IDevice device, String filePath) throws IOException { 137 LogWriter writer = new LogWriter(filePath);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
BugReportImporter.java | 35 public BugReportImporter(String filePath) throws FileNotFoundException { 37 new InputStreamReader(new FileInputStream(filePath)));
|
EventLogImporter.java | 36 public EventLogImporter(String filePath) throws FileNotFoundException { 45 new InputStreamReader(new FileInputStream(filePath)));
|
EventLogPanel.java | 247 * @param filePath 250 public void saveLog(String filePath) throws IOException { 252 File destFile = new File(filePath); 268 filePath = filePath + TAG_FILE_EXT; 269 mCurrentEventLogParser.saveTags(filePath); 276 * @param filePath Event log path (and base of potential tag file) 278 public void loadLog(String filePath) { 279 if ((new File(filePath + TAG_FILE_EXT)).exists()) { 280 startEventLogFromFiles(filePath); [all...] |
/external/webkit/WebCore/platform/mac/ |
SharedBufferMac.mm | 115 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) 117 NSData *resourceData = [NSData dataWithContentsOfFile:filePath];
|
/packages/apps/Camera/src/com/android/camera/ |
ThumbnailController.java | 87 public boolean storeData(String filePath) { 96 f = new FileOutputStream(filePath); 114 public boolean loadData(String filePath) { 119 f = new FileInputStream(filePath);
|
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 84 * @param filePath the path of image file 90 public static Bitmap createImageThumbnail(String filePath, int kind) { 100 MediaFileType fileType = MediaFile.getFileType(filePath); 102 createThumbnailFromEXIF(filePath, targetSize, maxPixels, sizedThumbnailBitmap); 108 FileDescriptor fd = new FileInputStream(filePath).getFD(); 142 * @param filePath the path of video file 145 public static Bitmap createVideoThumbnail(String filePath, int kind) { 150 retriever.setDataSource(filePath); 451 private static void createThumbnailFromEXIF(String filePath, int targetSize, 453 if (filePath == null) return [all...] |
/packages/apps/Email/src/com/android/email/mail/internet/ |
BinaryTempFileBody.java | 63 * @param filePath The file containing the data to be stored on disk temporarily 65 public void setFile(String filePath) { 66 mFile = new File(filePath);
|
/external/quake/quake/src/WinQuake/ |
sys_android.cpp | 424 char filePath[1024]; 425 if ((int) (sizeof(filePath)-1) < snprintf(filePath, sizeof(filePath), "%s/%s", path, name)) { 428 if(direxists(filePath)) { 429 rmDir(filePath); 432 unlink(filePath);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
File.java | 332 private native boolean isReadableImpl(byte[] filePath); 354 private native boolean isWritableImpl(byte[] filePath); 390 private native boolean deleteImpl(byte[] filePath); 448 private native boolean existsImpl(byte[] filePath); 664 private native byte[] getLinkImpl(byte[] filePath); 679 private native byte[] getCanonImpl(byte[] filePath); 789 private native boolean isDirectoryImpl(byte[] filePath); 811 private native boolean isFileImpl(byte[] filePath); 857 private native long lastModifiedImpl(byte[] filePath); [all...] |