/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ANTLRFileStream.cs | 50 protected string fileName; 52 public ANTLRFileStream( string fileName ) 53 : this( fileName, null ) 57 public ANTLRFileStream( string fileName, Encoding encoding ) 59 this.fileName = fileName; 60 Load( fileName, encoding ); 63 public virtual void Load( string fileName, Encoding encoding ) 65 if ( fileName == null ) 72 text = File.ReadAllText(fileName); [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/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...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestCaseInputFile.java | 40 private String fileName; 43 this.fileName = file; 47 return "FILE:" + fileName; 51 this.fileName = script; 56 return fileName; 60 return this.fileName;
|
/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/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
ANTLRFileStream.cs | 67 public ANTLRFileStream(string fileName) : 68 this(fileName, Encoding.Default) 76 public ANTLRFileStream(string fileName, Encoding encoding) 78 this.fileName = fileName; 79 Load(fileName, encoding); 87 get { return fileName; } 99 /// <param name="fileName">File to load</param> 101 public virtual void Load(string fileName, Encoding encoding) 103 if (fileName == null [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);
|
/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/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRFileStream.h | 37 __strong NSString *fileName; 41 + (id) newANTLRFileStream:(NSString*) fileName; 45 - (void) load:(NSString *)fileName encoding:(NSStringEncoding)encoding; 48 @property (retain) NSString *fileName;
|
/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);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_DumpFileProviderTest.java | 52 for (String fileName : NOT_ALLOWED_FILES) { 53 Uri uri = Uri.parse(URI_PREFIX + fileName); 59 for (String fileName : ALLOWED_FILES) { 60 final Uri uri = Uri.parse(URI_PREFIX + fileName); 70 for (String fileName : NOT_ALLOWED_FILES) { 71 final Uri uri = Uri.parse(URI_PREFIX + fileName); 77 for (String fileName : ALLOWED_FILES) { 78 final Uri uri = Uri.parse(URI_PREFIX + fileName);
|
/external/webkit/Source/WebKit/android/ |
RenderSkinAndroid.cpp | 57 bool RenderSkinAndroid::DecodeBitmap(android::AssetManager* am, const char* fileName, SkBitmap* bitmap) 59 android::Asset* asset = am->open(fileName, android::Asset::ACCESS_BUFFER); 61 asset = am->openNonAsset(fileName, android::Asset::ACCESS_BUFFER); 63 ALOGD("RenderSkinAndroid: File \"%s\" not found.\n", fileName); 70 ALOGD("RenderSkinAndroid: Failed to decode %s\n", 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 ALOGV("dvmDexCacheStatus: Checking cache for %s", fileName); [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
ANTLRFileStream.js | 7 * @param {String} fileName path of the file to be loaded 10 org.antlr.runtime.ANTLRFileStream = function(fileName, encoding) { 11 this.fileName = fileName; 24 var data = this[method](fileName, encoding); 36 return this.fileName; 42 * @param {String} fileName path of the file to be loaded 46 loadFileUsingJava: function(fileName, encoding) { 48 var f = new java.io.File(fileName),
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
SoundHandleJme.java | 45 private String fileName; 59 * @param fileName 61 public SoundHandleJme(AudioRenderer ar, AssetManager am, String fileName){ 66 if (fileName == null) 69 this.fileName = fileName; 73 if (fileName != null){ 78 node = new AudioNode(am, fileName, true);
|