/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
SQLiteFileSystemWin.cpp | 51 // fileName - the name of the file. 55 int chromiumOpen(sqlite3_vfs*, const char* fileName, 58 HANDLE h = Platform::current()->databaseOpenFile(String(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 Platform::current()->databaseDeleteFile(String(fileName), false); 91 // fileName - the name of the file. 94 int chromiumAccess(sqlite3_vfs*, const char* fileName, int flag, int* res) 96 DWORD attr = Platform::current()->databaseGetFileAttributes(String(fileName)); [all...] |
/external/chromium_org/third_party/icu/source/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)
|
GnomeFontMap.cpp | 20 GnomeFontMap::GnomeFontMap(FT_Library engine, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) 21 : FontMap(fileName, pointSize, guiSupport, status), fEngine(engine)
|
/external/icu/icu4c/source/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)
|
GnomeFontMap.cpp | 20 GnomeFontMap::GnomeFontMap(FT_Library engine, const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status) 21 : FontMap(fileName, pointSize, guiSupport, status), fEngine(engine)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileInputStreamTest.java | 31 private String fileName; 101 fileName = f.getAbsolutePath(); 108 java.io.File f = new File(fileName); 117 FileOutputStream fos = new FileOutputStream(fileName); 127 is = new FileInputStream(fileName); 162 is = new FileInputStream(fileName); 173 is = new FileInputStream(fileName); 184 FileInputStream fis1 = new FileInputStream(fileName); 203 FileInputStream fis = new FileInputStream(fileName); 213 InputStreamReader isr = new InputStreamReader(new FileInputStream(fileName)); [all...] |
/dalvik/libdex/ |
CmdUtils.cpp | 110 UnzipToFileResult dexOpenAndMap(const char* fileName, const char* tempFileName, 114 int len = strlen(fileName); 122 "ERROR: filename must end in .dex, .zip, .jar, or .apk\n"); 128 if (strcasecmp(fileName + len -3, "dex") != 0) { 153 result = dexUnzipToFile(fileName, tempFileName, quiet); 157 fileName = tempFileName; 176 fd = open(fileName, O_RDONLY | O_BINARY); 180 fileName, strerror(errno)); 186 fprintf(stderr, "ERROR: Unable to map '%s'\n", fileName); 201 fileName); [all...] |
/external/apache-harmony/support/src/test/java/tests/util/ |
SerializationTester.java | 110 * @param fileName the serialization output file generated by reference 114 public static boolean assertCompabilitySame(Object obj, String fileName) 116 return obj == readObject(obj, fileName); 124 * @param fileName the serialization output file generated by reference 128 public static boolean assertCompabilityEquals(Object obj, String fileName) 130 return obj.equals(readObject(obj, fileName)); 137 * @param fileName the serialization file 141 public static Object readObject(Object obj, String fileName) 146 fileName); 149 writeObject(obj, new File(fileName).getName()) [all...] |
/frameworks/base/core/java/android/content/res/ |
AssetManager.java | 280 * @param fileName The name of the asset to open. This name can be 286 public final InputStream open(String fileName) throws IOException { 287 return open(fileName, ACCESS_STREAMING); 296 * @param fileName The name of the asset to open. This name can be 307 public final InputStream open(String fileName, int accessMode) 313 long asset = openAsset(fileName, accessMode); 320 throw new FileNotFoundException("Asset file: " + fileName); 323 public final AssetFileDescriptor openFd(String fileName) 329 ParcelFileDescriptor pfd = openAssetFd(fileName, mOffsets); 334 throw new FileNotFoundException("Asset file: " + fileName); [all...] |
/libcore/support/src/test/java/tests/util/ |
SerializationTester.java | 87 * @param fileName the serialization output file generated by reference 91 public static boolean assertCompabilitySame(Object obj, String fileName) 93 return obj == readObject(obj, fileName); 101 * @param fileName the serialization output file generated by reference 105 public static boolean assertCompabilityEquals(Object obj, String fileName) 107 return obj.equals(readObject(obj, fileName)); 114 * @param fileName the serialization file 118 public static Object readObject(Object obj, String fileName) 122 URL url = SerializationTester.class.getClassLoader().getResource(fileName); 125 writeObject(obj, new File(fileName).getName()) [all...] |
/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/chromium_org/third_party/WebKit/public/platform/ |
WebBlobInfo.h | 29 WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const WebString& type) 35 , m_fileName(fileName) 39 WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const WebString& type, double lastModified, long long size) 45 , m_fileName(fileName) 69 const WebString& fileName() const
|
/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 SQLiteDatabase.deleteDatabase(new File(fileName));
|
/external/lzma/CPP/Windows/ |
FileDir.h | 24 bool SetDirTime(LPCWSTR fileName, const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime);
26 bool MySetFileAttributes(LPCTSTR fileName, DWORD fileAttributes);
35 bool MySetFileAttributes(LPCWSTR fileName, DWORD fileAttributes);
44 bool GetOnlyDirPrefix(LPCTSTR fileName, CSysString &resultName);
45 bool GetOnlyName(LPCTSTR fileName, CSysString &resultName);
47 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath);
48 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath, int &fileNamePartStartIndex);
52 bool MyGetFullPathName(LPCTSTR fileName, CSysString &resultPath, int &fileNamePartStartIndex);
53 bool MyGetFullPathName(LPCTSTR fileName, CSysString &resultPath);
55 bool MyGetFullPathName(LPCWSTR fileName, UString &resultPath, [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRFileStream.m | 40 @synthesize fileName; 42 + (id) newANTLRFileStream:(NSString*)fileName 44 return [[ANTLRFileStream alloc] init:fileName]; 56 fileName = aFileName; 66 fileName = aFileName; 74 return fileName;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarAnalysisAbortedMessage.java | 48 String fileName = probe.dfa.nfa.grammar.getFileName(); 49 if ( fileName!=null ) { 50 file = fileName;
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwAssets.java | 26 public static long[] openAsset(Context context, String fileName) { 30 afd = manager.openFd(fileName); 35 Log.e(LOGTAG, "Error while loading asset " + fileName + ": " + e);
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
check_injected_script_source.py | 35 def validate_injected_script(fileName): 36 f = open(fileName, "r") 65 print "ERROR: Black list function call in %s at line %02d column %02d: %s" % (os.path.basename(fileName), i + 1, match.start(), match.group(0))
|
/external/pdfium/core/src/fxcrt/ |
fxcrt_posix.cpp | 40 FX_BOOL CFXCRT_FileAccess_Posix::Open(FX_BSTR fileName, FX_DWORD dwMode)
47 m_nFD = open(fileName.GetCStr(), nFlags, nMasks);
50 FX_BOOL CFXCRT_FileAccess_Posix::Open(FX_WSTR fileName, FX_DWORD dwMode)
52 return Open(FX_UTF8Encode(fileName), dwMode);
145 FX_BOOL FX_File_Exist(FX_BSTR fileName)
147 return access(fileName.GetCStr(), F_OK) > -1;
149 FX_BOOL FX_File_Exist(FX_WSTR fileName)
151 return FX_File_Exist(FX_UTF8Encode(fileName));
153 FX_BOOL FX_File_Delete(FX_BSTR fileName)
155 return remove(fileName.GetCStr()) > -1; [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/scheduler/ |
TracedTask.cpp | 17 "src_file", m_location.fileName(), 36 "src_file", m_location.fileName(),
|
/external/deqp/modules/gles2/functional/ |
es2fShaderExecuteTest.cpp | 57 string fileName = string("shaders/") + getName() + ".test"; 58 vector<TestNode*> children = shaderLibrary.loadShaderFile(fileName.c_str());
|