/external/webkit/Source/WebKit/android/ |
RenderSkinAndroid.h | 63 /* DecodeBitmap determines which file to use, with the given fileName of the form 67 static bool DecodeBitmap(android::AssetManager* am, const char* fileName, SkBitmap* bitmap);
|
/external/webkit/Source/WebKit/qt/Api/ |
qwebdatabase.h | 44 QString fileName() const;
|
/external/webkit/Tools/Scripts/ |
parse-malloc-history | 60 my $fileName = $ARGV[0]; 61 die $usage if (!$getOptionsResult || !$fileName); 63 open FILE, "<$fileName" or die "bad file: $fileName";
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
FilePart.java | 72 protected static final String FILE_NAME = "; filename="; 152 * @param fileName the file name 158 public FilePart(String name, String fileName, File file) 160 this(name, new FilePartSource(fileName, file), null, null); 167 * @param fileName the file name 177 public FilePart(String name, String fileName, File file, String contentType, String charset) 179 this(name, new FilePartSource(fileName, file), contentType, charset); 193 String filename = this.source.getFileName(); local 194 if (filename != null) { 197 out.write(EncodingUtils.getAsciiBytes(filename)); [all...] |
/frameworks/base/include/utils/ |
ZipFileCRO.h | 49 const char* fileName);
|
AssetManager.h | 145 Asset* open(const char* fileName, AccessMode mode); 153 * in our filename cache. 155 Asset* openNonAsset(const char* fileName, AccessMode mode); 159 * resource set to look in) and fileName will be opened and returned. 161 Asset* openNonAsset(void* cookie, const char* fileName, AccessMode mode); 193 FileType getFileType(const char* fileName); 201 * Discard cached filename information. This only needs to be called 228 Asset* openInPathLocked(const char* fileName, AccessMode mode, 230 Asset* openNonAssetInPathLocked(const char* fileName, AccessMode mode, 232 Asset* openInLocaleVendorLocked(const char* fileName, AccessMode mode [all...] |
/hardware/ril/mock-ril/src/cpp/ |
js_support.cpp | 96 int ReadFile(const char *fileName, char** data, size_t *length) { 102 DBG("ReadFile E fileName=%s", fileName); 104 f = fopen(fileName, "rb"); 106 DBG("Could not fopen '%s'", fileName); 141 const char* fileName = ToCString(fileNameUtf8Value); 144 int fullPathLength = strlen(directory) + strlen(fileName) + 1; 147 strncat(fullPath, fileName, fullPathLength); 151 // A javascript read file function arg[0] = filename 162 char *fileName = CreateFileName(args) [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
VMDebug.java | 294 * @param fileName Full pathname of output file (e.g. "/sdcard/dump.hprof"). 299 public static void dumpHprofData(String fileName) throws IOException { 300 if (fileName == null) 302 dumpHprofData(fileName, null); 316 * @param fileName Name of output file. If fd is non-null, the 319 * If this is null, the fileName is used instead. 321 public static native void dumpHprofData(String fileName, FileDescriptor fd)
|
DexPathList.java | 272 * Get the filename component of the path, and replace the 283 String fileName = path.getName(); 284 if (!fileName.endsWith(DEX_SUFFIX)) { 285 int lastDot = fileName.lastIndexOf("."); 287 fileName += DEX_SUFFIX; 290 sb.append(fileName, 0, lastDot); 292 fileName = sb.toString(); 296 File result = new File(optimizedDirectory, fileName); 372 String fileName = System.mapLibraryName(libraryName); 375 File file = new File(directory, fileName); [all...] |
/system/core/libzipfile/ |
private.h | 12 const unsigned char* fileName;
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
Output.java | 33 private static void generateHeader0(String fileName, String format) { 35 if (fileName != null) { 36 out.println("File: " + fileName); 39 if (fileName != null) { 40 out.println(IN0 + "<external file=\"" + fileName + "\">"); 50 public static void generateFirstHeader(String fileName, String format) { 51 generateHeader0(fileName, format); 54 public static void generateHeader(String fileName, String format) { 56 generateHeader0(fileName, format);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FileOutputStreamTest.java | 31 public String fileName; 49 f = new File(fileName = System.getProperty("user.home"), "fos.tst"); 57 f = new File(fileName = System.getProperty("user.home"), "fos.tst"); 58 fileName = f.getAbsolutePath(); 59 fos = new FileOutputStream(fileName); 62 fis = new FileInputStream(fileName); 72 f = new File(fileName = System.getProperty("user.home"), "fos.tst"); 73 fileName = f.getAbsolutePath(); 74 fos = new FileOutputStream(fileName); 145 f = new File(fileName = System.getProperty("user.home"), "testfd") [all...] |
/bootable/recovery/minzip/ |
Zip.c | 93 LOGI(" %p '%.*s'\n", pEntry->fileName,pEntry->fileNameLen,pEntry->fileName); 111 return memcmp(entry1->fileName, entry2->fileName, entry1->fileNameLen); 127 return memcmp(entry->fileName, name, nameLen); 131 * Compute the hash code for a ZipEntry filename. 148 unsigned int itemHash = computeHash(pEntry->fileName, pEntry->fileNameLen); 155 found->fileNameLen, found->fileName); 160 static int validFilename(const char *fileName, unsigned int fileNameLen) 164 LOGW("Filename too long (%d chatacters)\n", fileNameLen) [all...] |
/external/icu4c/samples/layout/ |
gdiglue.cpp | 56 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status) 58 return (fm_fontMap *) new GDIFontMap((GDISurface *) surface, fileName, pointSize, (GDIGUISupport *) guiSupport, *status);
|
gnomelayout.cpp | 47 GtkWidget *newSample(const gchar *fileName); 89 gchar *fileName = g_strdup(gtk_file_selection_get_filename(fileselection)); 94 newPara = Paragraph::paragraphFactory(fileName, font, guiSupport); 97 gchar *title = prettyTitle(fileName); 114 g_free(fileName); 230 GtkWidget *newSample(const gchar *fileName) 236 context->paragraph = Paragraph::paragraphFactory(fileName, font, guiSupport); 238 gchar *title = prettyTitle(fileName);
|
/external/icu4c/test/intltest/ |
rbbitst.h | 59 UChar *ReadAndConvertFile(const char *fileName, int &ulen, const char *encoding, UErrorCode &status); 123 void runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi);
|
/external/icu4c/test/letest/ |
cfonts.cpp | 14 le_font *le_portableFontOpen(const char *fileName, 18 return (le_font *) new PortableFontInstance(fileName, pointSize, *status);
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
HDFDataFactory.java | 60 public void error(int line, String lineContent, String fileName, String errorMessage) { 62 lineContent, fileName, line, JSilverBadSyntaxException.UNKNOWN_POSITION, null);
|
/frameworks/base/libs/utils/ |
ZipFileCRO.cpp | 36 const char* fileName) { 38 return (ZipEntryCRO)zip->findEntryByName(fileName);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 87 String fileName = null; 89 f = new File(d, fileName); 110 String fileName = "input.tst"; 115 File f = new File(dirName, fileName); 124 fileName = null; 126 f = new File(dirName, fileName); 132 fileName = "input.tst"; 133 f = new File(dirName, fileName);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
FileItemInfoLayout.java | 53 public void setFileName(String fileName) { 54 mFileNameView.setText(fileName.substring(mLengthExternalStorageDirPrefix));
|
/packages/apps/Mms/src/com/android/mms/ |
TempFileProvider.java | 82 String fileName = getScrapPath(); 86 File file = new File(fileName); 100 Log.e(TAG, "getTempStoreFd: error creating pfd for " + fileName, ex); 139 public static String getScrapPath(String fileName) { 140 return MmsApp.getApplication().getExternalCacheDir().getAbsolutePath() + "/" + fileName; 158 // the scrap file to a new scrap file with the slide number as part of the filename. 160 // Replace the filename ".temp.jpg" with ".temp#.[jpg | 3gp]" where # is the unique
|
/external/icu4c/test/thaitest/ |
thaitest.cpp | 108 // fileName - the path name of the file 111 static const UChar *readFile(char *fileName, int32_t &charCount); 305 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount) 313 f = fopen(fileName, "rb"); 316 fprintf(stderr,"Couldn't open %s reason: %s \n", fileName, strerror(errno)); 327 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 334 fprintf(stderr,"Couldn't read %s reason: %s \n", fileName, strerror(errno)); 348 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 440 char *fileName = "space.txt"; 456 fileName = argv[arg++] [all...] |
/sdk/ddms/app/src/com/android/ddms/ |
DeviceCommandDialog.java | 80 public DeviceCommandDialog(String command, String fileName, Shell parent) { 83 this(command, fileName, parent, 90 public DeviceCommandDialog(String command, String fileName, Shell parent, 95 mFileName = fileName; 352 String fileName; 364 fileName = dlg.open(); 365 if (fileName != null) { 369 Log.d("ddms", "Saving output to " + fileName); 390 FileOutputStream outFile = new FileOutputStream(fileName); 403 Log.w("ddms", "Unable to save " + fileName + ": " + ioe) [all...] |
/external/webkit/Source/JavaScriptCore/ |
jsc.cpp | 72 static bool fillBufferWithContentsOfFile(const UString& fileName, Vector<char>& buffer); 210 UString fileName = exec->argument(0).toString(exec); 212 if (!fillBufferWithContentsOfFile(fileName, script)) 219 evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), makeSource(script.data(), fileName)); 227 UString fileName = exec->argument(0).toString(exec); 229 if (!fillBufferWithContentsOfFile(fileName, script)) 233 Completion result = evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), makeSource(script.data(), fileName)); 241 UString fileName = exec->argument(0).toString(exec); 243 if (!fillBufferWithContentsOfFile(fileName, script)) 250 Completion result = checkSyntax(globalObject->globalExec(), makeSource(script.data(), fileName)); [all...] |