/external/antlr/src/org/antlr/runtime/ |
ANTLRFileStream.java | 39 protected String fileName; 41 public ANTLRFileStream(String fileName) throws IOException { 42 this(fileName, null); 45 public ANTLRFileStream(String fileName, String encoding) throws IOException { 46 this.fileName = fileName; 47 load(fileName, encoding); 50 public void load(String fileName, String encoding) 53 if ( fileName==null ) { 56 File f = new File(fileName); [all...] |
/dalvik/libdex/ |
OptInvocation.h | 26 char* dexOptGenerateCacheFileName(const char* fileName,
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
ByteArrayPartSource.java | 47 private String fileName; 55 * @param fileName the name of the file these bytes represent 58 public ByteArrayPartSource(String fileName, byte[] bytes) { 60 this.fileName = fileName; 76 return fileName;
|
FilePartSource.java | 55 private String fileName = null; 74 this.fileName = file.getName(); 81 * @param fileName the file name of the FilePart 87 public FilePartSource(String fileName, File file) 90 if (fileName != null) { 91 this.fileName = fileName; 109 * Return the current filename 110 * @return the filename. 114 return (fileName == null) ? "noname" : fileName [all...] |
/external/webkit/Source/WebCore/platform/sql/ |
SQLiteFileSystem.cpp | 53 int SQLiteFileSystem::openDatabase(const String& fileName, sqlite3** database, bool) 56 String path = fileName; 77 String fileName; 80 fileName = pathByAppendingComponent(dbDir, String::format("%016"PRIx64".db", seq)); 81 } while (fileExists(fileName)); 86 String SQLiteFileSystem::appendDatabaseFileNameToPath(const String& path, const String& fileName) 88 return pathByAppendingComponent(path, fileName); 98 bool SQLiteFileSystem::ensureDatabaseFileExists(const String& fileName, bool checkPathOnly) 100 if (fileName.isEmpty()) 104 String dir = directoryName(fileName); [all...] |
SQLiteFileSystem.h | 52 // fileName - The name of the database file. 58 static int openDatabase(const String& fileName, sqlite3** database, bool forWebSQLDatabase); 72 // fileName - The file name. 73 static String appendDatabaseFileNameToPath(const String& path, const String& fileName); 90 // fileName - The file name. 93 static bool ensureDatabaseFileExists(const String& fileName, bool checkPathOnly); 102 // fileName - The file name. 103 static bool deleteDatabaseFile(const String& fileName); 107 // fileName - The file name. 108 static long long getDatabaseFileSize(const String& fileName); [all...] |
/external/icu4c/samples/layout/ |
ucreader.cpp | 15 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount) 17 return UnicodeReader::readFile(fileName, (GUISupport *) guiSupport, *charCount);
|
UnicodeReader.h | 28 static const UChar *readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount);
|
ucreader.h | 15 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount);
|
/external/webkit/Source/WebCore/platform/sql/chromium/ |
SQLiteFileSystemChromium.cpp | 47 int SQLiteFileSystem::openDatabase(const String& fileName, sqlite3** database, bool forWebSQLDatabase) 50 String path = fileName; 54 return sqlite3_open_v2(fileName.utf8().data(), database, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, "chromium_vfs"); 65 String SQLiteFileSystem::appendDatabaseFileNameToPath(const String&, const String& fileName) 93 bool SQLiteFileSystem::deleteDatabaseFile(const String& fileName) 95 return (PlatformBridge::databaseDeleteFile(fileName) == SQLITE_OK); 98 long long SQLiteFileSystem::getDatabaseFileSize(const String& fileName) 100 return PlatformBridge::databaseGetFileSize(fileName);
|
SQLiteFileSystemChromiumWin.cpp | 51 // fileName - the name of the file. 55 int chromiumOpen(sqlite3_vfs*, const char* fileName, 58 HANDLE h = PlatformBridge::databaseOpenFile(fileName, desiredFlags); 62 return chromiumOpen(0, fileName, id, newFlags, usedFlags); 80 // fileName - the name of the file. 83 int chromiumDelete(sqlite3_vfs*, const char* fileName, int) 85 return PlatformBridge::databaseDeleteFile(fileName); 91 // fileName - the name of the file. 94 int chromiumAccess(sqlite3_vfs*, const char* fileName, int flag, int* res) 96 DWORD attr = PlatformBridge::databaseGetFileAttributes(fileName); [all...] |
/external/webkit/Source/WebCore/platform/qt/ |
SharedBufferQt.cpp | 33 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& fileName) 35 if (fileName.isEmpty()) 38 QFile file(fileName);
|
/external/webkit/Source/WebCore/platform/haiku/ |
SharedBufferHaiku.cpp | 34 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& fileName) 36 if (fileName.isEmpty()) 39 BFile file(BString(fileName).String(), B_READ_ONLY);
|
/external/icu4c/tools/toolutil/ |
flagparser.h | 28 parseFlagsFile(const char *fileName, char **flagBuffer, int32_t flagBufferSize, int32_t numOfFlags, UErrorCode *status);
|
/external/webkit/Source/WebCore/dom/ |
ErrorEvent.cpp | 43 ErrorEvent::ErrorEvent(const String& message, const String& fileName, unsigned lineNumber) 46 , m_fileName(fileName) 55 void ErrorEvent::initErrorEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& message, const String& fileName, unsigned lineNumber) 63 m_fileName = fileName;
|
ErrorEvent.h | 45 static PassRefPtr<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber) 47 return adoptRef(new ErrorEvent(message, fileName, lineNumber)); 51 void initErrorEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& message, const String& fileName, unsigned lineNumber); 54 const String& filename() const { return m_fileName; } function in class:WebCore::ErrorEvent 61 ErrorEvent(const String& message, const String& fileName, unsigned lineNumber);
|
/external/webkit/Source/WebKit/win/WebKit.vcproj/ |
FixMIDLHeaders.pl | 46 my $fileName = $_; 48 return unless ($fileName =~ /IGEN_DOM(.*)\.h/); 50 open(IN, "<", $fileName); 54 open(OUT, ">", $fileName);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
HelpersTest.java | 35 // Test that an extension derived from the specified mime type is appended to a filename that 37 String fileName = Helpers.getFullPath( 42 assertEquals(hint + ".mp4", fileName); 44 // Test that the filename extension is replaced by one derived from the specified mime type. 45 fileName = Helpers.getFullPath( 50 assertEquals(hint + ".mp4", fileName);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileInputStreamTest.java | 32 public String fileName; 39 File f = new File(fileName); 73 is = new FileInputStream(fileName); 91 is = new FileInputStream(fileName); 112 FileInputStream fis = new FileInputStream(fileName); 129 fail("Could not find : " + fileName); 138 is = new FileInputStream(fileName); 154 is = new FileInputStream(fileName); 173 is = new FileInputStream(fileName); 190 fileName = System.getProperty("java.io.tmpdir") [all...] |
/dalvik/vm/ |
JarFile.cpp | 37 * Attempt to open a file whose name is similar to <fileName>, 45 static int openAlternateSuffix(const char *fileName, const char *suffix, 49 size_t fileNameLen = strlen(fileName); 60 /* Copy the original filename into the buffer, find 63 memcpy(buf, fileName, fileNameLen + 1); 84 * to the jar file at the absolute path "fileName". 86 DexCacheStatus dvmDexCacheStatus(const char *fileName) 98 if (dvmClassPathContains(gDvm.bootClassPath, fileName)) { 108 if (dexZipOpenArchive(fileName, &archive) != 0) { 119 LOGV("dvmDexCacheStatus: Checking cache for %s", fileName); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FileInputStreamTest.java | 35 public String fileName; 47 java.io.File f = new File(fileName); 56 FileOutputStream fos = new FileOutputStream(fileName); 66 is = new FileInputStream(fileName); 101 is = new FileInputStream(fileName); 113 is = new FileInputStream(fileName); 124 FileInputStream fis1 = new FileInputStream(fileName); 152 FileInputStream fis = new FileInputStream(fileName); 162 InputStreamReader isr = new InputStreamReader(new FileInputStream(fileName)); 173 is = new FileInputStream(fileName); [all...] |
OpenRandomFileTest.java | 44 String fileName = file.getCanonicalPath(); 45 RandomAccessFile raf = new RandomAccessFile(fileName, "rw"); 54 String fileName = file.getCanonicalPath(); 55 RandomAccessFile raf = new RandomAccessFile(fileName, "rw");
|
/frameworks/base/libs/utils/ |
AssetDir.cpp | 34 const String8& fileName) 38 tmpInfo.setFileName(fileName); 50 cmp = strcmp(pVector->itemAt(cur).getFileName(), fileName);
|
/external/webkit/Source/JavaScriptCore/qt/api/ |
qscriptprogram.cpp | 55 fileName and \a firstLineNumber. 58 const QString fileName, 60 : d_ptr(new QScriptProgramPrivate(sourceCode, fileName, firstLineNumber)) 104 Returns the filename associated with this program. 106 QString QScriptProgram::fileName() const 108 return d_ptr->fileName();
|
/external/webkit/Source/WebKit/chromium/public/ |
WebPluginListBuilder.h | 43 const WebString& fileName) = 0;
|