/system/core/include/cutils/ |
event_tag_map.h | 34 EventTagMap* android_openEventTagMap(const char* fileName);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FilterInputStreamTest.java | 36 private String fileName; 139 fileName = System.getProperty("user.dir"); 141 if (fileName.charAt(fileName.length() - 1) == separator.charAt(0)) { 142 fileName = Support_PlatformFile.getNewPlatformFile(fileName, 145 fileName = Support_PlatformFile.getNewPlatformFile(fileName 148 java.io.OutputStream fos = new java.io.FileOutputStream(fileName); 151 is = new MyFilterInputStream(new java.io.FileInputStream(fileName)); [all...] |
/external/webkit/Source/WebCore/platform/sql/chromium/ |
SQLiteFileSystemChromiumPosix.cpp | 46 int chromium_sqlite3_fill_in_unix_sqlite3_file(sqlite3_vfs* vfs, int fd, int dirfd, sqlite3_file* file, const char* fileName, int noLock); 47 int chromium_sqlite3_get_reusable_file_handle(sqlite3_file* file, const char* fileName, int flags, int* fd); 58 // fileName - the name of the file. 62 int chromiumOpen(sqlite3_vfs* vfs, const char* fileName, 67 int result = chromium_sqlite3_get_reusable_file_handle(id, fileName, desiredFlags, &fd); 72 fd = PlatformBridge::databaseOpenFile(fileName, desiredFlags); 75 fd = PlatformBridge::databaseOpenFile(fileName, newFlags); 92 result = chromium_sqlite3_fill_in_unix_sqlite3_file(vfs, fd, -1, id, fileName, noLock); 101 // fileName - the name of the file. 104 int chromiumDelete(sqlite3_vfs*, const char* fileName, int syncDir [all...] |
/dalvik/vm/ |
JarFile.h | 39 int dvmJarFileOpen(const char* fileName, const char* odexOutputName, 67 * to the jar file at the absolute path "fileName". 69 DexCacheStatus dvmDexCacheStatus(const char *fileName);
|
RawDexFile.cpp | 109 int dvmRawDexFileOpen(const char* fileName, const char* odexOutputName, 128 dexFd = open(fileName, O_RDONLY); 135 LOGE("Error with header for %s", fileName); 140 LOGE("Error with stat for %s", fileName); 151 cachedName = dexOptGenerateCacheFileName(fileName, NULL); 159 fileName, cachedName); 161 optFd = dvmOpenCachedDexFile(fileName, cachedName, modTime, 166 fileName, cachedName); 193 fileName, modTime, adler32, isBootstrap); 197 LOGE("Unable to extract+optimize DEX from '%s'", fileName); [all...] |
/external/webkit/Source/JavaScriptCore/qt/api/ |
qscriptprogram.h | 32 const QString fileName = QString(), 42 QString fileName() const;
|
/external/webrtc/src/system_wrappers/interface/ |
trace.h | 55 static WebRtc_Word32 SetTraceFile(const WebRtc_Word8* fileName, 59 static WebRtc_Word32 TraceFile(WebRtc_Word8 fileName[1024]);
|
/dalvik/dx/src/com/android/dx/util/ |
FileUtils.java | 38 * @param fileName {@code non-null;} name of the file to read 41 public static byte[] readFile(String fileName) { 42 File file = new File(fileName); 94 * Returns true if {@code fileName} names a .zip, .jar, or .apk. 96 public static boolean hasArchiveSuffix(String fileName) { 97 return fileName.endsWith(".zip") 98 || fileName.endsWith(".jar") 99 || fileName.endsWith(".apk");
|
/external/icu4c/samples/layout/ |
UnicodeReader.cpp | 26 const UChar *UnicodeReader::readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount) 38 f = fopen(fileName, "rb"); 41 sprintf(errorMessage,"Couldn't open %s: %s \n", fileName, strerror(errno)); 74 sprintf(errorMessage, "Couldn't detect the encoding of %s: (%2.2X, %2.2X, %2.2X, %2.2X)\n", fileName, 86 sprintf(errorMessage,"Couldn't get memory for reading %s: %s \n", fileName, strerror(errno)); 94 sprintf(errorMessage,"Couldn't read %s: %s \n", fileName, strerror(errno)); 109 sprintf(errorMessage,"Couldn't get memory for reading %s: %s \n", fileName, strerror(errno));
|
GDIFontMap.cpp | 18 GDIFontMap::GDIFontMap(GDISurface *surface, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) 19 : FontMap(fileName, pointSize, guiSupport, status), fSurface(surface)
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
TestEventPrinter.cpp | 45 void handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fileName) const; 57 void handleImage(const char* actualHash, const char* expectedHash, const unsigned char* imageData, size_t imageSize, const char* fileName) const; 140 void TestShellPrinter::handleImage(const char* actualHash, const char*, const unsigned char* imageData, size_t imageSize, const char* fileName) const 144 ASSERT(fileName); 145 FILE* fp = fopen(fileName, "wb"); 147 perror(fileName); 151 perror(fileName);
|
/dalvik/libdex/ |
CmdUtils.cpp | 111 UnzipToFileResult dexOpenAndMap(const char* fileName, const char* tempFileName, 115 int len = strlen(fileName); 123 "ERROR: filename must end in .dex, .zip, .jar, or .apk\n"); 129 if (strcasecmp(fileName + len -3, "dex") != 0) { 154 result = dexUnzipToFile(fileName, tempFileName, quiet); 158 fileName = tempFileName; 177 fd = open(fileName, O_RDONLY | O_BINARY); 181 fileName, strerror(errno)); 187 fprintf(stderr, "ERROR: Unable to map '%s'\n", fileName); 202 fileName); [all...] |
/external/apache-harmony/support/src/test/java/tests/util/ |
SerializationTester.java | 117 * @param fileName 123 public static boolean assertCompabilitySame(Object obj, String fileName) 125 return obj == readObject(obj, fileName); 134 * @param fileName 140 public static boolean assertCompabilityEquals(Object obj, String fileName) 142 return obj.equals(readObject(obj, fileName)); 150 * @param fileName 156 public static Object readObject(Object obj, String fileName) 161 fileName); 164 writeObject(obj, new File(fileName).getName()) [all...] |
/frameworks/base/core/java/android/content/res/ |
AssetManager.java | 282 * @param fileName The name of the asset to open. This name can be 288 public final InputStream open(String fileName) throws IOException { 289 return open(fileName, ACCESS_STREAMING); 298 * @param fileName The name of the asset to open. This name can be 309 public final InputStream open(String fileName, int accessMode) 315 int asset = openAsset(fileName, accessMode); 322 throw new FileNotFoundException("Asset file: " + fileName); 325 public final AssetFileDescriptor openFd(String fileName) 331 ParcelFileDescriptor pfd = openAssetFd(fileName, mOffsets); 336 throw new FileNotFoundException("Asset file: " + fileName); [all...] |
/libcore/support/src/test/java/tests/util/ |
SerializationTester.java | 117 * @param fileName 123 public static boolean assertCompatibilitySame(Object obj, String fileName) 125 return obj == readObject(obj, fileName); 134 * @param fileName 140 public static boolean assertCompatibilityEquals(Object obj, String fileName) 142 return obj.equals(readObject(obj, fileName)); 150 * @param fileName 156 public static Object readObject(Object obj, String fileName) 161 fileName); 164 writeObject(obj, new File(fileName).getName()) [all...] |
/cts/tools/vm-tests/src/util/build/ |
DFHBuildStep.java | 37 File out_dir = outputFile.fileName.getParentFile(); 48 r = new FileReader(inputFile.fileName); 49 os = new FileOutputStream(outputFile.fileName); 58 System.err.println("error in DFHBuildStep for inputfile "+inputFile.fileName+", outputfile "+outputFile.fileName);
|
JarBuildStep.java | 42 if (!inputFile.fileName.equals(tempFile)) { 43 copyFile(inputFile.fileName, tempFile); 53 File outDir = outputFile.fileName.getParentFile(); 60 "-cMf", outputFile.fileName.getAbsolutePath(), "-C", 70 inputFile.fileName.delete(); 74 " \"-cMf\", "+outputFile.fileName.getAbsolutePath()+", \"-C\"," +
|
BuildStep.java | 34 final File fileName; 36 BuildFile(String folder, String fileName) { 38 this.fileName = new File(this.folder, fileName); 42 return fileName.getAbsolutePath(); 47 return fileName.hashCode(); 56 return fileName.equals(other.fileName);
|
/cts/tools/vm-tests-tf/src/util/build/ |
DFHBuildStep.java | 37 File out_dir = outputFile.fileName.getParentFile(); 48 r = new FileReader(inputFile.fileName); 49 os = new FileOutputStream(outputFile.fileName); 58 System.err.println("error in DFHBuildStep for inputfile "+inputFile.fileName+", outputfile "+outputFile.fileName);
|
JarBuildStep.java | 42 if (!inputFile.fileName.equals(tempFile)) { 43 copyFile(inputFile.fileName, tempFile); 53 File outDir = outputFile.fileName.getParentFile(); 60 "-cMf", outputFile.fileName.getAbsolutePath(), "-C", 70 inputFile.fileName.delete(); 74 " \"-cMf\", "+outputFile.fileName.getAbsolutePath()+", \"-C\"," +
|
BuildStep.java | 34 final File fileName; 36 BuildFile(String folder, String fileName) { 38 this.fileName = new File(this.folder, fileName); 42 return fileName.getAbsolutePath(); 47 return fileName.hashCode(); 56 return fileName.equals(other.fileName);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Exceptions/ |
regress-50447.js | 23 * SUMMARY: New properties fileName, lineNumber have been added to Error objects 30 var summary = 'Test (non-ECMA) Error object properties fileName, lineNumber'; 65 if (e.fileName.search (/-50447\.js$/i) == -1) 66 reportFailure ("expected fileName to end with '-50447.js'"); 85 reportCompare ("file", e.fileName, 86 "fileName property returned unexpected value."); 103 reportCompare ("", e.fileName, 104 "fileName property returned unexpected value."); 122 reportCompare ("", e.fileName, 123 "fileName property returned unexpected value.") [all...] |
/external/webkit/Source/WebKit/android/ |
RenderSkinAndroid.cpp | 62 bool RenderSkinAndroid::DecodeBitmap(android::AssetManager* am, const char* fileName, SkBitmap* bitmap) 64 android::Asset* asset = am->open(fileName, android::Asset::ACCESS_BUFFER); 66 asset = am->openNonAsset(fileName, android::Asset::ACCESS_BUFFER); 68 LOGD("RenderSkinAndroid: File \"%s\" not found.\n", fileName); 75 LOGD("RenderSkinAndroid: Failed to decode %s\n", fileName);
|
/frameworks/base/core/java/android/database/ |
DefaultDatabaseErrorHandler.java | 96 private void deleteDatabaseFile(String fileName) { 97 if (fileName.equalsIgnoreCase(":memory:") || fileName.trim().length() == 0) { 100 Log.e(TAG, "deleting the database file: " + fileName); 102 new File(fileName).delete();
|
/external/guava/src/com/google/common/io/ |
PatternFilenameFilter.java | 54 /*@Override*/ public boolean accept(File dir, String fileName) { 55 return pattern.matcher(fileName).matches();
|