/frameworks/base/core/java/android/webkit/ |
Plugin.java | 63 String fileName, 67 mFileName = fileName; 148 public void setFileName(String fileName) { 149 mFileName = fileName;
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
A3DSelector.java | 61 String fileName = mCurrentSubList[i].getName(); 63 fileName = "/" + fileName; 65 names.add(fileName);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
FileSelector.java | 61 String fileName = mCurrentSubList[i].getName(); 63 fileName = "/" + fileName; 65 names.add(fileName);
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
test_main.cpp | 77 const char *fileName = 0; 89 fileName = argv[i]+3; 108 if (fileName != 0) 109 reporter = new FileReporter(fileName, doMonitoring);
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
test_main.cpp | 77 const char *fileName = 0; 89 fileName = argv[i]+3; 108 if (fileName != 0) 109 reporter = new FileReporter(fileName, doMonitoring);
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
TestSuiteAdapter.java | 67 public static ITestCaseInput createFileInput(String fileName) { 68 if(fileName == null) throw new IllegalArgumentException("null"); 69 return new TestCaseInputFile(fileName);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
BuildDependencyGenerator.java | 123 String fileName = grammar.name + suffix + headerExtST.render(); 124 files.add(new File(outputDir, fileName)); 171 String fileName = groomQualifiedFileName(libdir, g.fileName); 172 files.add(new File(fileName)); 207 dependenciesST.add("grammarFileName", grammar.fileName); 213 String fileName = "org/antlr/tool/templates/depend.stg"; 214 templates = new STGroupFile(fileName); 225 public String groomQualifiedFileName(String outputDir, String fileName) { 227 return fileName; [all...] |
GrammarDanglingStateMessage.java | 57 String fileName = probe.dfa.nfa.grammar.getFileName(); 58 if ( fileName!=null ) { 59 file = fileName;
|
GrammarUnreachableAltsMessage.java | 59 String fileName = probe.dfa.nfa.grammar.getFileName(); 60 if ( fileName!=null ) { 61 file = fileName;
|
NonRegularDecisionMessage.java | 53 String fileName = probe.dfa.nfa.grammar.getFileName(); 54 if ( fileName!=null ) { 55 file = fileName;
|
RecursionOverflowMessage.java | 65 String fileName = probe.dfa.nfa.grammar.getFileName(); 66 if ( fileName!=null ) { 67 file = fileName;
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
TestFileUtil.java | 52 * @param fileName the file to read in. 58 public static char[] readUtf8File(String fileName, int sizeLimit) throws 62 File f = new File(fileName); 64 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:blink::ErrorEventInit 57 static PassRefPtrWillBeRawPtr<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, DOMWrapperWorld* world) 59 return adoptRefWillBeNoop(new ErrorEvent(message, fileName, lineNumber, columnNumber, world)); 73 const String& filename() const { return m_fileName; } function in class:blink::FINAL 90 ErrorEvent(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, DOMWrapperWorld*);
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebSchedulerProxy.cpp | 42 TraceLocation location(webLocation.functionName(), webLocation.fileName()); 48 TraceLocation location(webLocation.functionName(), webLocation.fileName()); 54 TraceLocation location(webLocation.functionName(), webLocation.fileName());
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
video_source.h | 55 VideoSource(std::string fileName, VideoSize size, int frameRate = 30, 57 VideoSource(std::string fileName, int width, int height, int frameRate = 30, 69 // Returns the filename with the path (including the leading slash) removed. 84 static bool FileExists(const char* fileName);
|
/external/deqp/framework/common/ |
tcuImageIO.cpp | 53 * \param fileName Resource file name 55 void loadImage (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) 57 string ext = de::FilePath(fileName).getFileExtension(); 60 loadPNG(dst, archive, fileName); 62 throw InternalError("Unrecognized image file extension", fileName, __FILE__, __LINE__); 80 * \param fileName Resource file name 82 void loadPNG (TextureLevel& dst, const tcu::Archive& archive, const char* fileName) 84 de::UniquePtr<Resource> resource(archive.getResource(fileName)); 98 throw InternalError("An error occured when loading PNG", fileName, __FILE__, __LINE__); 118 throw InternalError("Unsupported PNG depth or color type", fileName, __FILE__, __LINE__) [all...] |
/external/deqp/framework/randomshaders/ |
rsgTest.cpp | 72 string fileName = string("test-") + de::toString(seed) + ".png"; 73 tcu::ImageIO::savePNG(surface.getAccess(), fileName.c_str()); 74 std::cout << fileName << " written\n";
|
/external/pdfium/core/src/fxcrt/ |
fxcrt_platforms.cpp | 46 FX_BOOL CFXCRT_FileAccess_CRT::Open(FX_BSTR fileName, FX_DWORD dwMode)
53 m_hFile = FXSYS_fopen(fileName.GetCStr(), (FX_LPCSTR)strMode);
56 FX_BOOL CFXCRT_FileAccess_CRT::Open(FX_WSTR fileName, FX_DWORD dwMode)
63 m_hFile = FXSYS_wfopen(fileName.GetPtr(), (FX_LPCWSTR)strMode);
149 FX_BOOL FX_File_Exist(FX_BSTR fileName)
151 return access(fileName.GetCStr(), F_OK) > -1;
153 FX_BOOL FX_File_Exist(FX_WSTR fileName)
155 return FX_File_Exist(FX_UTF8Encode(fileName));
157 FX_BOOL FX_File_Delete(FX_BSTR fileName)
159 return remove(fileName.GetCStr()) > -1; [all...] |
fxcrt_windows.cpp | 10 FX_BOOL FX_File_Exist(FX_BSTR fileName)
12 FX_DWORD dwAttri = ::GetFileAttributesA(fileName.GetCStr());
18 FX_BOOL FX_File_Exist(FX_WSTR fileName)
20 FX_DWORD dwAttri = ::GetFileAttributesW((LPCWSTR)fileName.GetPtr());
61 FX_BOOL CFXCRT_FileAccess_Win64::Open(FX_BSTR fileName, FX_DWORD dwMode)
68 m_hFile = ::CreateFileA(fileName.GetCStr(), dwAccess, dwShare, NULL, dwCreation, FILE_ATTRIBUTE_NORMAL, NULL);
74 FX_BOOL CFXCRT_FileAccess_Win64::Open(FX_WSTR fileName, FX_DWORD dwMode)
81 m_hFile = ::CreateFileW((LPCWSTR)fileName.GetPtr(), dwAccess, dwShare, NULL, dwCreation, FILE_ATTRIBUTE_NORMAL, NULL);
198 FX_BOOL FX_File_Delete(FX_BSTR fileName)
200 return ::DeleteFileA(fileName.GetCStr()); [all...] |
/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...] |
/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...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
MimeType.java | 103 * Extract and return filename's extension, converted to lower case, and not including the "." 105 * @return extension, or null if not found (or null/empty filename) 107 private static String getFilenameExtension(String fileName) { 109 if (!TextUtils.isEmpty(fileName)) { 110 int lastDot = fileName.lastIndexOf('.'); 111 if ((lastDot > 0) && (lastDot < fileName.length() - 1)) { 112 extension = fileName.substring(lastDot + 1).toLowerCase();
|
/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...] |
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
SimpleWebServer.java | 175 * Loads all the content of {@code fileName}. 177 * @param fileName The name of the file. 181 private byte[] loadContent(String fileName) throws IOException { 185 input = mAssets.open(fileName); 203 * Detects the MIME type from the {@code fileName}. 205 * @param fileName The name of the file. 208 private String detectMimeType(String fileName) { 209 if (TextUtils.isEmpty(fileName)) { 211 } else if (fileName.endsWith(".html")) { 213 } else if (fileName.endsWith(".js")) [all...] |
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
SimpleWebServer.java | 175 * Loads all the content of {@code fileName}. 177 * @param fileName The name of the file. 181 private byte[] loadContent(String fileName) throws IOException { 185 input = mAssets.open(fileName); 203 * Detects the MIME type from the {@code fileName}. 205 * @param fileName The name of the file. 208 private String detectMimeType(String fileName) { 209 if (TextUtils.isEmpty(fileName)) { 211 } else if (fileName.endsWith(".html")) { 213 } else if (fileName.endsWith(".js")) [all...] |