HomeSort by relevance Sort by last modified time
    Searched refs:fileName (Results 51 - 75 of 849) sorted by null

1 23 4 5 6 7 8 91011>>

  /dalvik/vm/
RawDexFile.cpp 109 int dvmRawDexFileOpen(const char* fileName, const char* odexOutputName,
128 dexFd = open(fileName, O_RDONLY);
135 ALOGE("Error with header for %s", fileName);
140 ALOGE("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 ALOGE("Unable to extract+optimize DEX from '%s'", fileName);
    [all...]
  /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...]
CmdUtils.h 63 UnzipToFileResult dexOpenAndMap(const char* fileName, const char* tempFileName,
OptInvocation.cpp 39 * Given the filename of a .jar or .dex file, construct the DEX file cache
47 char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName)
59 if (fileName[0] != '/') {
62 * should, e.g. if filename is "./out/whatever" it doesn't crunch
71 strncat(absoluteFile, fileName, kBufLen);
83 /* Turn the path into a flat filename by replacing
105 ALOGV("Cache file for '%s' '%s' is '%s'", fileName, subFileName, nameBuf);
  /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 283 * @param fileName The name of the asset to open. This name can be
289 public final InputStream open(String fileName) throws IOException {
290 return open(fileName, ACCESS_STREAMING);
299 * @param fileName The name of the asset to open. This name can be
310 public final InputStream open(String fileName, int accessMode)
316 int asset = openAsset(fileName, accessMode);
323 throw new FileNotFoundException("Asset file: " + fileName);
326 public final AssetFileDescriptor openFd(String fileName)
332 ParcelFileDescriptor pfd = openAssetFd(fileName, mOffsets);
337 throw new FileNotFoundException("Asset file: " + fileName);
    [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);
DexBuildStep.java 39 args.fileNames = new String[] {inputFile.fileName.getAbsolutePath()};
41 args.outName = outputFile.fileName.getAbsolutePath();
53 inputFile.fileName.delete();
58 + inputFile.fileName.getAbsolutePath() + " to "
  /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...]
FileIO.cpp 106 bool CFileBase::Create(LPCTSTR fileName, DWORD desiredAccess,
111 _handle = ::CreateFile(fileName, desiredAccess, shareMode,
118 if (GetLongPath(fileName, longPath))
131 bool CFileBase::Create(LPCWSTR fileName, DWORD desiredAccess,
135 return Create(UnicodeStringToMultiByte(fileName, ::AreFileApisANSI() ? CP_ACP : CP_OEMCP),
139 _handle = ::CreateFileW(fileName, desiredAccess, shareMode,
146 if (GetLongPath(fileName, longPath))
281 IsDeviceFile = IsDeviceName(fileName); \
287 bool CInFile::Open(LPCTSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes)
289 bool res = Create(fileName, GENERIC_READ, shareMode, creationDisposition, flagsAndAttributes);
    [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/third_party/WebKit/Source/build/scripts/
preprocessor.pm 41 my $fileName = shift;
73 $pid = open3(\*PP_IN, \*PP_OUT, $err, split(' ', $preprocessor), @args, @macros, $fileName);
80 $pid = open2(\*PP_OUT, \*PP_IN, split(' ', $preprocessor), @args, @macros, $fileName);
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/
FileCheckerCallable.java 23 private final String fileName;
25 public FileCheckerCallable(String fileName) {
26 this.fileName = fileName;
32 ValidatorContext context = new ValidatorContext(readScriptText(), fileName);
40 logError("File not found: " + fileName);
42 logError("Failed to read file " + fileName);
48 byte[] encoded = Files.readAllBytes(FileSystems.getDefault().getPath(fileName));
  /external/icu4c/samples/layout/
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/proguard/src/proguard/gui/
ExtensionFileFilter.java 66 String fileName = file.getName().toLowerCase();
70 if (fileName.endsWith(extensions[index]))
  /frameworks/av/libvideoeditor/osal/src/
M4PSW_DebugTrace.c 76 M4OSA_Char* fileName,
82 M4OSA_DebugTrace(line, fileName, level, stringCondition, message, returnedError);
  /dalvik/tools/dexdeps/src/com/android/dexdeps/
Main.java 57 for (String fileName : mInputFileNames) {
58 RandomAccessFile raf = openInputFile(fileName);
64 Output.generateFirstHeader(fileName, mOutputFormat);
66 Output.generateHeader(fileName, mOutputFormat);
92 * @param fileName the name of the file to open
94 RandomAccessFile openInputFile(String fileName) throws IOException {
97 raf = openInputFileAsZip(fileName);
99 File inputFile = new File(fileName);
110 * @param fileName the name of the file to open
116 RandomAccessFile openInputFileAsZip(String fileName) throws IOException
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldBufferedInputStreamTest.java 34 public String fileName;
200 fileName = System.getProperty("user.dir");
202 if (fileName.charAt(fileName.length() - 1) == separator.charAt(0)) {
203 fileName = Support_PlatformFile.getNewPlatformFile(fileName,
206 fileName = Support_PlatformFile.getNewPlatformFile(fileName
209 OutputStream fos = new FileOutputStream(fileName);
212 isFile = new FileInputStream(fileName);
    [all...]
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
FatLfnDirectoryEntry.java 46 private String fileName;
54 this.fileName = name;
64 FatDirectoryEntry realEntry, String fileName) {
70 this.fileName = fileName;
77 final String fileName;
81 fileName = realEntry.getShortName().asSimpleString();
91 fileName = name.toString().trim();
94 return new FatLfnDirectoryEntry(dir, realEntry, fileName);
197 int result = (fileName.length() / 13) + 1
    [all...]
  /cts/libs/deviceutil/src/android/provider/cts/
FileCopyHelper.java 54 * Copy the file from the resources with a filename .
57 * @param fileName the file name
62 public String copy(int resId, String fileName) throws IOException {
64 OutputStream target = mContext.openFileOutput(fileName, Context.MODE_WORLD_READABLE);
66 mFilesList.add(fileName);
67 return mContext.getFileStreamPath(fileName).getAbsolutePath();

Completed in 440 milliseconds

1 23 4 5 6 7 8 91011>>