/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);
|
/external/junit/src/org/junit/rules/ |
TemporaryFolder.java | 51 public File newFile(String fileName) throws IOException { 52 File file= new File(getRoot(), fileName);
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
PhoneNumberOfflineGeocoder.java | 76 String fileName = mappingFileProvider.getFileName(prefixMapKey, language, script, region); 77 if (fileName.length() == 0) { 80 if (!availablePhonePrefixMaps.containsKey(fileName)) { 81 loadAreaCodeMapFromFile(fileName); 83 return availablePhonePrefixMaps.get(fileName); 86 private void loadAreaCodeMapFromFile(String fileName) { 88 PhoneNumberOfflineGeocoder.class.getResourceAsStream(phonePrefixDataDirectory + fileName); 94 availablePhonePrefixMaps.put(fileName, map);
|
/external/lzma/CPP/7zip/UI/Common/ |
ArchiveOpenCallback.h | 91 void Init(const UString &folderPrefix, const UString &fileName)
94 if (!_fileInfo.Find(_folderPrefix + fileName))
|
/external/lzma/CPP/Common/ |
ListFileUtils.cpp | 20 bool ReadNamesFromListFile(LPCWSTR fileName, UStringVector &resultStrings, UINT codePage)
23 if (!file.Open(fileName))
|
StdInStream.cpp | 29 bool CStdInStream::Open(LPCTSTR fileName)
32 _stream = _tfopen(fileName, kFileOpenMode);
|
StdOutStream.cpp | 26 bool CStdOutStream::Open(const char *fileName)
29 _stream = fopen(fileName, kFileOpenMode);
|
/external/robolectric/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/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
FileUtils.java | 47 * @param fileName non-null; name of the file to read 50 public static byte[] readFile(String fileName) 52 File file = new File(fileName);
|
/external/smali/util/src/main/java/org/jf/util/ |
ClassFileNameHandler.java | 247 String fileName; 249 fileName = pathElements[pathElementsIndex] + "." + (groupEntries.getSize()+1) + fileExtension; 251 fileName = elementName; 254 ClassNameEntry classNameEntry = new ClassNameEntry(file, fileName); 258 String fileName; 260 fileName = pathElements[pathElementsIndex] + "." + (groupEntries.getSize()+1); 262 fileName = elementName; 265 PackageNameEntry packageNameEntry = new PackageNameEntry(file, 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 | 55 public void setFileName(String fileName) { 56 mFileNameView.setText(fileName.substring(sLengthExternalStorageDirPrefix));
|
/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)) {
|
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManagerTest.java | 50 final String fileName = "text.txt"; 51 InputStream inputStream = mAssets.open(fileName); 55 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER); 59 AssetFileDescriptor assetFileDes = mAssets.openFd(fileName); 79 if (files[i].equals(fileName)) {
|
/packages/apps/Mms/src/com/android/mms/ |
TempFileProvider.java | 64 String fileName = getScrapPath(getContext()); 68 File file = new File(fileName); 88 Log.e(TAG, "getTempStoreFd: error creating pfd for " + fileName, ex); 127 public static String getScrapPath(Context context, String fileName) { 128 return context.getExternalCacheDir().getAbsolutePath() + "/" + fileName; 147 // the scrap file to a new scrap file with the slide number as part of the filename. 149 // Replace the filename ".temp.jpg" with ".temp#.[jpg | 3gp]" where # is the unique
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
MimeType.java | 116 * Extract and return filename's extension, converted to lower case, and not including the "." 118 * @return extension, or null if not found (or null/empty filename) 120 private static String getFilenameExtension(String fileName) { 122 if (!TextUtils.isEmpty(fileName)) { 123 int lastDot = fileName.lastIndexOf('.'); 124 if ((lastDot > 0) && (lastDot < fileName.length() - 1)) { 125 extension = fileName.substring(lastDot + 1).toLowerCase();
|
/external/chromium_org/third_party/icu/source/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...] |
/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...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
ErrorTracker.java | 61 public void loadFile(String fileName) { 71 Document document = parser.parse(fileName); 157 System.out.println("IOException: " + fileName); 161 System.out.println("SAXException: " + fileName); 167 public void registerError(String fileName) { 168 // System.out.println("Found an error in: " + fileName); 169 if (logFiles.containsKey(fileName)) { 170 Vector aVector = (Vector) logFiles.get(fileName);
|
/frameworks/base/test-runner/src/junit/runner/ |
TestCaseClassLoader.java | 114 String fileName= className.replace('.', '/')+".class"; 116 data= loadJarData(path, fileName); 118 data= loadFileData(path, fileName); 132 private byte[] loadFileData(String path, String fileName) { 133 File file= new File(path, fileName); 157 private byte[] loadJarData(String path, String fileName) { 168 ZipEntry entry= zipFile.getEntry(fileName);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AndroidPreferencePage.java | 126 String fileName = getTextControl().getText(); 127 fileName = fileName.trim(); 129 if (fileName.indexOf(',') >= 0 || fileName.indexOf(';') >= 0) { 134 File file = new File(fileName); 141 boolean ok = AdtPlugin.getDefault().checkSdkLocationAndId(fileName,
|
/dalvik/vm/native/ |
dalvik_system_DexFile.cpp | 38 char* fileName; 53 ALOGV("Freeing DexOrJar '%s'", pDexOrJar->fileName); 59 free(pDexOrJar->fileName); 189 * class path. The easiest way to do this is by filename, which works 229 pDexOrJar->fileName = sourceName; 286 pDexOrJar->fileName = strdup("<memory>"); // Needs to be free()able. 308 ALOGV("Closing DEX file %p (%s)", pDexOrJar, pDexOrJar->fileName); 323 pDexOrJar->fileName); 326 ALOGV("+++ freeing DexFile '%s' resources", pDexOrJar->fileName); 329 ALOGV("+++ NOT freeing DexFile '%s' resources", pDexOrJar->fileName); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
FontLoader.java | 283 String fileName = trimXmlWhitespaces(mBuilder.toString()); 284 Font font = getFont(fileName); 286 if (fileName.endsWith(FONT_SUFFIX_REGULAR)) { 288 } else if (fileName.endsWith(FONT_SUFFIX_BOLD)) { 290 } else if (fileName.endsWith(FONT_SUFFIX_BOLDITALIC)) { 292 } else if (fileName.endsWith(FONT_SUFFIX_ITALIC)) { 294 } else if (fileName.endsWith(FONT_SUFFIX_NONE)) { 302 private Font getFont(String fileName) { 304 File file = new File(mOsFontsLocation, fileName);
|
/libcore/dalvik/src/main/java/dalvik/system/ |
DexPathList.java | 277 * Get the filename component of the path, and replace the 288 String fileName = path.getName(); 289 if (!fileName.endsWith(DEX_SUFFIX)) { 290 int lastDot = fileName.lastIndexOf("."); 292 fileName += DEX_SUFFIX; 295 sb.append(fileName, 0, lastDot); 297 fileName = sb.toString(); 301 File result = new File(optimizedDirectory, fileName); 381 String fileName = System.mapLibraryName(libraryName); 383 String path = new File(directory, fileName).getPath() [all...] |