/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAssetManager.java | 37 public final InputStream open(String fileName) throws IOException { 38 return new FileInputStream(new File(resourceLoader.getAssetsBase(), fileName));
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/ |
ServiceLoaderGenerator.java | 29 final String fileName = "org.robolectric.internal.ShadowProvider"; 32 FileObject file = filer.createResource(StandardLocation.CLASS_OUTPUT, "", "META-INF/services/" + fileName);
|
/external/skia/platform_tools/android/launcher/ |
skia_launcher.cpp | 17 bool file_exists(const char* fileName) { 18 FILE* file = fopen(fileName, "r");
|
/external/skia/src/sksl/ |
SkSLMain.cpp | 13 // filename prefix and suffix (e.g. "Gr" and ".fp"), returns the "base name" of the 18 const char* fileName = end; 20 while (fileName != fpPath && '/' != *(fileName - 1) && '\\' != *(fileName - 1)) { 21 --fileName; 23 if (!strncmp(fileName, prefix, strlen(prefix)) && 25 result.append(fileName + strlen(prefix), end - fileName - strlen(prefix) - strlen(suffix)); 49 printf("input filename must end in '.vert', '.frag', '.geom', or '.fp'\n") [all...] |
/external/skqp/platform_tools/android/launcher/ |
skia_launcher.cpp | 17 bool file_exists(const char* fileName) { 18 FILE* file = fopen(fileName, "r");
|
/external/skqp/src/sksl/ |
SkSLMain.cpp | 13 // filename prefix and suffix (e.g. "Gr" and ".fp"), returns the "base name" of the 18 const char* fileName = end; 20 while (fileName != fpPath && '/' != *(fileName - 1) && '\\' != *(fileName - 1)) { 21 --fileName; 23 if (!strncmp(fileName, prefix, strlen(prefix)) && 25 result.append(fileName + strlen(prefix), end - fileName - strlen(prefix) - strlen(suffix)); 49 printf("input filename must end in '.vert', '.frag', '.geom', or '.fp'\n") [all...] |
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/ |
FindUsagesTest.java | 63 @NotNull public final String fileName; 67 public TestFile(@NotNull String fileName, @NotNull String fileText) throws Exception { 68 this.fileName = fileName; 70 this.psiFile = createFile(fileName, getText()); 103 protected void addFile(String fileName, String fileText) throws Exception { 104 testFiles.add(new TestFile(fileName, fileText)); 151 if (usage.getFile().getName().equals(testFile.fileName)) {
|
/external/testng/src/main/java/org/testng/xml/dom/ |
DomXmlParser.java | 31 public boolean accept(String fileName) { 32 return fileName.endsWith(".xml");
|
/external/v8/tools/ |
dumpcpp.js | 24 CppProcessor.prototype.processLogFile = function(fileName) { 25 this.lastLogFileName_ = fileName; 32 CppProcessor.prototype.processLogFileInTest = function(fileName) { 35 var contents = readFile(fileName);
|
/external/webrtc/webrtc/modules/utility/source/ |
file_recorder_impl.h | 51 const char* fileName, 65 const char* fileName,
|
/external/webrtc/webrtc/modules/video_coding/test/ |
video_source.h | 55 VideoSource(std::string fileName, 59 VideoSource(std::string fileName, 72 // Returns the filename with the path (including the leading slash) removed.
|
/frameworks/base/core/java/android/security/net/config/ |
DirectoryCertificateSource.java | 146 String fileName = hash + "." + index; 147 if (!new File(mDir, fileName).exists()) { 150 if (isCertMarkedAsRemoved(fileName)) { 153 X509Certificate cert = readCertificate(fileName); 173 String fileName = hash + "." + index; 174 if (!new File(mDir, fileName).exists()) { 177 if (isCertMarkedAsRemoved(fileName)) { 180 X509Certificate cert = readCertificate(fileName);
|
/frameworks/base/libs/androidfw/include/androidfw/ |
ZipFileRO.h | 118 * Copy the filename into the supplied buffer. Returns 0 on success, 119 * -1 if "entry" is invalid, or the filename length if it didn't fit. The 168 ZipFileRO(ZipArchiveHandle handle, char* fileName) : mHandle(handle), 169 mFileName(fileName)
|
/frameworks/data-binding/baseLibrary/ |
build.gradle | 60 rename { String fileName ->
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 76 String fileName = null; 78 f = new File(d, fileName); 100 String fileName = "input.tst"; 101 File f = new File(tmpDir, fileName); 106 fileName = null; 108 f = new File(dirName, fileName); 114 fileName = "input.tst"; 115 f = new File(dirName, fileName);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
JavaSourceRevealer.java | 69 public static boolean revealMethod(String fqmn, String fileName, int linenumber, 73 if (revealer.revealMethod(fqmn, fileName, linenumber, perspective)) {
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
PdfRender.java | 101 private int openDocument(String fileName) { 102 if (DEBUG) Log.d(TAG, "openDocument() " + fileName); 107 if (mCurrentFile != null && !mCurrentFile.equals(fileName)) { 112 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(new File(fileName), 116 Log.w(TAG, "Failed to open " + fileName, ex);
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
VtsTraceCollectPreparer.java | 153 String fileName = f.getName(); 155 && (fileName.endsWith(VTS_PROFILER_SUFFIX) 156 || fileName.startsWith(VTS_LIB_PREFIX))) { 157 CLog.i("Pushing %s", fileName); 158 device.pushFile(f, destDirName + fileName);
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
AppInstallTest.java | 91 for (String fileName : files) { 92 if (!fileName.endsWith(".apk")) { 93 CLog.d("Skipping non-apk %s", fileName); 96 File file = new File(apkDir, fileName); 99 metrics.put(fileName, installTime);
|
/external/icu/icu4c/source/test/thaitest/ |
thaitest.cpp | 110 // fileName - the path name of the file 113 static const UChar *readFile(char *fileName, int32_t &charCount); 307 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount) 315 f = fopen(fileName, "rb"); 318 fprintf(stderr,"Couldn't open %s reason: %s \n", fileName, strerror(errno)); 329 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 336 fprintf(stderr,"Couldn't read %s reason: %s \n", fileName, strerror(errno)); 350 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 442 char *fileName = "space.txt"; 458 fileName = argv[arg++] [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 104 * Filename extensions of attachments we're never willing to download (potential malware). 105 * Entries in this list are compared to the end of the lower-cased filename, so they must 118 * Filename extensions of attachments that can be installed. 119 * Entries in this list are compared to the end of the lower-cased filename, so they must 167 * Return the filename for a given attachment. This should be used by any code that is 171 * the filename that should be used. 189 * Helper to convert unknown or unmapped attachments to something useful based on filename 212 * @param fileName The given filename 216 public static String inferMimeType(final String fileName, final String mimeType) [all...] |
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
APIData.java | 69 String fileName = file.getName(); 73 if (fileName.endsWith(".zip")) { 85 if (fileName.endsWith(".gz")) { 92 RuntimeException re = new RuntimeException("error getting info stream: " + fileName); 100 RuntimeException re = new RuntimeException("failed to close the zip file: " + fileName); 108 static APIData read(String fileName, boolean internal) { 109 return read(new File(fileName), internal);
|
/external/proguard/src/proguard/ant/ |
ProGuardTask.java | 334 String fileName = file.getName(); 337 fileName.equalsIgnoreCase("false") || 338 fileName.equalsIgnoreCase("no") || 339 fileName.equalsIgnoreCase("off") ? null : 340 fileName.equalsIgnoreCase("true") || 341 fileName.equalsIgnoreCase("yes") || 342 fileName.equalsIgnoreCase("on") ? Configuration.STD_OUT :
|
/external/skia/tools/mdbviz/ |
mainwindow.cpp | 24 QString fileName = QFileDialog::getOpenFileName(this); 25 if (!fileName.isEmpty()) { 26 this->loadFile(fileName); 68 void MainWindow::loadFile(const QString &fileName) { 69 QFile file(fileName); 73 .arg(QDir::toNativeSeparators(fileName), file.errorString())); 82 std::string str = file.fileName().toLocal8Bit().constData();
|
/external/skqp/tools/mdbviz/ |
mainwindow.cpp | 24 QString fileName = QFileDialog::getOpenFileName(this); 25 if (!fileName.isEmpty()) { 26 this->loadFile(fileName); 68 void MainWindow::loadFile(const QString &fileName) { 69 QFile file(fileName); 73 .arg(QDir::toNativeSeparators(fileName), file.errorString())); 82 std::string str = file.fileName().toLocal8Bit().constData();
|