/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/chromium_org/base/android/java/src/org/chromium/base/ |
ImportantFileWriterAndroid.java | 19 * @param fileName The complete path of the file to be written 23 public static boolean writeFileAtomically(String fileName, byte[] data) { 24 return nativeWriteFileAtomically(fileName, data); 28 String fileName, byte[] data);
|
/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;
|
/external/lzma/CPP/7zip/UI/Common/ |
DefaultName.cpp | 7 static UString GetDefaultName3(const UString &fileName,
11 int fileNameLength = fileName.Length();
15 if (fileName[dotPos] == '.')
16 if (extension.CompareNoCase(fileName.Mid(dotPos + 1)) == 0)
17 return fileName.Left(dotPos) + addSubExtension;
19 int dotPos = fileName.ReverseFind(L'.');
21 return fileName.Left(dotPos) + addSubExtension;
24 return fileName + L"~";
26 return fileName + addSubExtension;
29 UString GetDefaultName2(const UString &fileName,
[all...] |
DefaultName.h | 8 UString GetDefaultName2(const UString &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/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/lzma/CPP/Common/ |
ListFileUtils.h | 9 bool ReadNamesFromListFile(LPCWSTR fileName, UStringVector &strings, UINT codePage = CP_OEMCP);
|
/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/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
SQLiteFileSystem.h | 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);
|
SQLiteFileSystem.cpp | 46 int SQLiteFileSystem::openDatabase(const String& filename, sqlite3** database, bool forWebSQLDatabase) 49 return sqlite3_open(filename.utf8().data(), database); 51 return sqlite3_open_v2(filename.utf8().data(), database, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, "chromium_vfs"); 62 String SQLiteFileSystem::appendDatabaseFileNameToPath(const String&, const String& fileName) 90 bool SQLiteFileSystem::deleteDatabaseFile(const String& fileName) 92 return (blink::Platform::current()->databaseDeleteFile(fileName, false) == SQLITE_OK); 95 long long SQLiteFileSystem::getDatabaseFileSize(const String& fileName) 97 return blink::Platform::current()->databaseGetFileSize(fileName);
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
flagparser.h | 28 parseFlagsFile(const char *fileName, char **flagBuffer, int32_t flagBufferSize, int32_t numOfFlags, UErrorCode *status);
|
/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);
|
/frameworks/base/include/androidfw/ |
misc.h | 43 FileType getFileType(const char* fileName); 45 time_t getFileModDate(const char* fileName);
|
/frameworks/base/libs/androidfw/ |
misc.cpp | 36 FileType getFileType(const char* fileName) 40 if (stat(fileName, &sb) < 0) { 45 errno, fileName); 73 time_t getFileModDate(const char* fileName) 77 if (stat(fileName, &sb) < 0)
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
main.c | 10 const char *fileName = 0; 92 fileName = NULL; 142 fileName = argv[opt_ind]; 155 if(fileName[0] == '-' && fileName[1] == '\0'){ 156 fileName = "<stdin>"; 159 if((f = fopen(fileName, "rt")) == NULL){ 160 fprintf(stderr, "can't open %s\n", fileName); 166 if (outputFileName == 0 || (fileName[0] == '-' && fileName[1] == '\0')) [all...] |
/external/lzma/CPP/Windows/ |
DLL.cpp | 40 bool CLibrary::LoadEx(LPCTSTR fileName, DWORD flags)
42 // MessageBox(0, fileName, TEXT("LoadEx"), 0);
43 return LoadOperations(::LoadLibraryEx(fileName, NULL, flags));
46 bool CLibrary::Load(LPCTSTR fileName)
48 // MessageBox(0, fileName, TEXT("Load"), 0);
50 // OutputDebugString(fileName);
52 return LoadOperations(::LoadLibrary(fileName));
60 bool CLibrary::LoadEx(LPCWSTR fileName, DWORD flags)
63 return LoadOperations(::LoadLibraryExW(fileName, NULL, flags));
64 return LoadEx(GetSysPath(fileName), flags); [all...] |
/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". 88 DexCacheStatus dvmDexCacheStatus(const char *fileName) 100 if (dvmClassPathContains(gDvm.bootClassPath, fileName)) { 106 if (dexZipOpenArchive(fileName, &archive) != 0) { 113 fd = openAlternateSuffix(fileName, "odex", O_RDONLY, &cachedName) [all...] |