/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
TestFileUtil.java | 51 * @param fileName the file to read in. 57 public static char[] readUtf8File(String fileName, int sizeLimit) throws 61 File f = new File(fileName); 63 throw new IOException("File " + fileName + " length " + f.length() +
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
ErrorEvent.h | 45 String filename; member in struct:WebCore::ErrorEventInit 56 static PassRefPtr<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, PassRefPtr<DOMWrapperWorld> world) 58 return adoptRef(new ErrorEvent(message, fileName, lineNumber, columnNumber, world)); 72 const String& filename() const { return m_fileName; } function in class:WebCore::ErrorEvent 87 ErrorEvent(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, PassRefPtr<DOMWrapperWorld>);
|
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
OutgoingFileTransfer.java | 101 * @param fileName
115 public synchronized OutputStream sendFile(String fileName, long fileSize,
123 setFileInfo(fileName, fileSize);
124 this.outputStream = negotiateStream(fileName, fileSize, description);
137 * @param fileName
150 public synchronized void sendFile(final String fileName,
163 setFileInfo(fileName, fileSize);
169 fileName, fileSize, description);
272 * @param fileName the name of the file that is transferred
276 public synchronized void sendStream(final InputStream in, final String fileName, final long fileSize, final String description){ [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
AbstractDictionaryWriter.java | 66 public void write(final String fileName, final Map<String, String> attributeMap) { 67 final String tempFileName = fileName + ".temp"; 68 final File file = new File(mContext.getFilesDir(), fileName);
|
/system/core/toolbox/ |
mv.c | 43 const char *fileName = strrchr(source, '/'); 47 strcat(fullDest, fileName ? fileName + 1 : source);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest5.java | 160 String fileName = files[i].getPath(); 161 int instOfBegTarget = fileName.indexOf(begTarget); 162 int instOfEndTarget = fileName.indexOf(endTarget); 163 fileName = fileName.substring(instOfBegTarget + 1, instOfEndTarget); 164 fileName = fileName.replace(slash.charAt(0), '.'); 166 Class theClass = Class.forName(fileName, false, ClassLoader 173 if (!fileName.equals("java.lang.VirtualMachineError") 174 && !fileName [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
NinePatchedImageTest.java | 37 String fileName = DIR + "no-patched.png"; 39 .getResourceAsStream(fileName), fileName); 53 String fileName = DIR + "no-patched-interlace.png"; 55 .getResourceAsStream(fileName), fileName); 69 String fileName = DIR + "no-patched.png"; 71 .getResourceAsStream(fileName), fileName); 116 String fileName = DIR + "invalid-patched1.9.png" [all...] |
GraphicsUtilitiesTest.java | 38 String fileName = DIR + "no-patched.png"; 40 getClass().getResourceAsStream(fileName)); 78 String fileName = DIR + "no-patched.png"; 80 getClass().getResourceAsStream(fileName)); 99 String fileName = DIR + "no-patched.png"; 101 getClass().getResourceAsStream(fileName)); 133 String fileName = DIR + "no-patched.png"; 135 getClass().getResourceAsStream(fileName)); 207 String fileName = DIR + "no-patched.png"; 209 getClass().getResourceAsStream(fileName)); [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
VideoEditorHelper.java | 157 String MediaId, String filename, int renderingMode) { 160 mvi = new MediaVideoItem(videoEditor, MediaId, filename, 166 + filename + " Issue = " + e.toString()); 170 + filename + " Issue = " + e.toString(), false); 181 String MediaId, String filename, long duration, int renderingMode) { 184 mii = new MediaImageItem(videoEditor, MediaId, filename, duration, 190 + filename + " Issue = " + e.toString(), false); 193 + filename + " Issue = " + e.toString(), false); 293 String filename) { 296 audio = new AudioTrack(videoEditor, audioTrackId, filename); [all...] |
/external/lzma/CPP/Windows/ |
FileDir.cpp | 11 #include "FileName.h"
27 bool GetLongPathBase(LPCWSTR fileName, UString &res);
28 bool GetLongPath(LPCWSTR fileName, UString &res);
91 bool SetDirTime(LPCWSTR fileName, const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime)
100 HANDLE hDir = ::CreateFileW(fileName, GENERIC_WRITE,
107 if (GetLongPath(fileName, longPath))
123 bool MySetFileAttributes(LPCTSTR fileName, DWORD fileAttributes)
125 if (::SetFileAttributes(fileName, fileAttributes))
129 if (GetLongPath(fileName, longPath))
172 bool MySetFileAttributes(LPCWSTR fileName, DWORD fileAttributes) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
CTarget.java | 52 String fileName = generator.getRecognizerFileName(grammar.name, grammar.type); 53 generator.write(outputFileST, fileName); 67 String fileName = generator.getRecognizerFileName(grammar.name, grammar.type); 68 fileName = fileName.substring(0, fileName.length() - 2) + extName; 70 generator.write(headerFileST, fileName);
|
/external/proguard/src/proguard/ant/ |
ProGuardTask.java | 297 String fileName = file.getName(); 300 fileName.equalsIgnoreCase("false") || 301 fileName.equalsIgnoreCase("no") || 302 fileName.equalsIgnoreCase("off") ? null : 303 fileName.equalsIgnoreCase("true") || 304 fileName.equalsIgnoreCase("yes") || 305 fileName.equalsIgnoreCase("on") ? new File("") :
|
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/ |
SampleProvider.java | 154 String fileName; 157 fileName = "blah.png"; 160 fileName = "johannson.png"; 163 fileName = "planets.png"; 166 fileName = "galaxy.png"; 169 fileName = null; 173 return getContext().getAssets().openFd(fileName);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldRandomAccessFileTest.java | 33 public String fileName; 54 File tmpFile = new File(fileName); 108 File tmpFile = new File(fileName); 111 raf = new java.io.RandomAccessFile(fileName, "r"); 122 raf = new java.io.RandomAccessFile(fileName, "rwd"); 128 raf = new java.io.RandomAccessFile(fileName, "rws"); 134 raf = new java.io.RandomAccessFile(fileName, "rw"); 142 raf = new java.io.RandomAccessFile(fileName, "i"); 149 raf = new java.io.RandomAccessFile(fileName, "r"); 171 RandomAccessFile raf = new java.io.RandomAccessFile(fileName, "rw") [all...] |
/frameworks/base/core/jni/ |
com_android_internal_content_NativeLibraryHelper.cpp | 67 isFilenameSafe(const char* filename) 71 switch (*(filename + offset)) { 146 sumFiles(JNIEnv* env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* fileName) 166 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* fileName) 186 const size_t fileNameLen = strlen(fileName); 196 if (strlcpy(localFileName + nativeLibPath.size() + 1, fileName, sizeof(localFileName) 230 ALOGI("Failed uncompressing %s to %s\n", fileName, localTmpFileName); 285 char fileName[PATH_MAX]; 294 // Make sure this entry has a filename. 295 if (zipFile.getEntryFileName(entry, fileName, sizeof(fileName))) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
OutputPropertiesFactory.java | 254 String fileName = null; 264 fileName = PROP_FILE_XML; 265 m_xml_properties = loadPropertiesFile(fileName, null); 277 fileName = PROP_FILE_HTML; 279 loadPropertiesFile(fileName, m_xml_properties); 288 fileName = PROP_FILE_TEXT; 290 loadPropertiesFile(fileName, m_xml_properties); 307 fileName = PROP_FILE_UNKNOWN; 309 loadPropertiesFile(fileName, m_xml_properties); 325 new Object[] { fileName, method }) [all...] |
/external/chromium_org/third_party/angle/samples/translator/ |
translator.cpp | 27 static ShShaderType FindShaderType(const char* fileName); 28 static bool CompileFile(char* fileName, ShHandle compiler, int compileOptions); 36 static bool ReadShaderSource(const char* fileName, ShaderSource& source); 217 "Where: filename : filename ending in .frag or .vert\n" 239 // Deduce the shader type from the filename. Files must end in one of the 245 ShShaderType FindShaderType(const char* fileName) 247 assert(fileName); 249 const char* ext = strrchr(fileName, '.'); 252 for (; ext > fileName && ext[0] != '.'; ext--) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
LockableFileWriter.java | 66 * @param fileName the file to write to, not null
70 public LockableFileWriter(String fileName) throws IOException {
71 this(fileName, false, null);
77 * @param fileName file to write to, not null
82 public LockableFileWriter(String fileName, boolean append) throws IOException {
83 this(fileName, append, null);
89 * @param fileName the file to write to, not null
95 public LockableFileWriter(String fileName, boolean append, String lockDir) throws IOException {
96 this(new File(fileName), append, lockDir);
|
/dalvik/vm/native/ |
java_lang_Runtime.cpp | 64 * static String nativeLoad(String filename, ClassLoader loader, String ldLibraryPath) 78 char* fileName = dvmCreateCstrFromString(fileNameObj); 95 bool success = dvmLoadNativeCode(fileName, classLoader, &reason); 103 free(fileName);
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
ParserLoader.java | 71 final String fileName = f.getName(); 72 final String className = fileName.substring(0, fileName.lastIndexOf("."));
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarInsufficientPredicatesMessage.java | 57 String fileName = probe.dfa.nfa.grammar.getFileName(); 58 if ( fileName!=null ) { 59 file = fileName;
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
ucbuf.h | 47 * @param fileName Name of the file to open. 60 ucbuf_open(const char* fileName,const char** codepage,UBool showWarning, UBool buffered, UErrorCode* err); 155 * @param fileName The file name to be opened and encoding autodected 164 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, 193 ucbuf_resolveFileName(const char* inputDir, const char* fileName, char* target, int32_t* len, UErrorCode* status);
|
/external/icu4c/tools/toolutil/ |
ucbuf.h | 47 * @param fileName Name of the file to open. 60 ucbuf_open(const char* fileName,const char** codepage,UBool showWarning, UBool buffered, UErrorCode* err); 155 * @param fileName The file name to be opened and encoding autodected 164 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, 193 ucbuf_resolveFileName(const char* inputDir, const char* fileName, char* target, int32_t* len, UErrorCode* status);
|
/external/javassist/src/test/test/javassist/proxy/ |
ProxySimpleTest.java | 16 final String fileName = "read-write.bin"; 27 ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(fileName)); 32 ObjectInputStream ois = new ObjectInputStream(new FileInputStream(fileName));
|
/libcore/luni/src/main/java/java/lang/ |
StackTraceElement.java | 39 String fileName; 68 fileName = file; 154 return fileName;
|