Home
last modified time | relevance | path

Searched refs:fsFile (Results 1 – 12 of 12) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DFileTypedResource.java4 private final FsFile fsFile; field in FileTypedResource
6 public FileTypedResource(FsFile fsFile, ResType resType, XmlContext xmlContext) { in FileTypedResource() argument
7 super(fsFile.getPath(), resType, xmlContext); in FileTypedResource()
9 this.fsFile = fsFile; in FileTypedResource()
17 return fsFile; in getFsFile()
22 return fsFile.getName().endsWith("xml"); in isXml()
28 public Image(FsFile fsFile, boolean isNinePatch, XmlContext xmlContext) { in Image() argument
29 super(fsFile, ResType.DRAWABLE, xmlContext); in Image()
DFs.java160 return listFiles(fsFile -> true); in listFiles()
179 FsFile fsFile; in listFiles() local
182 fsFile = new JarFsFile(string.substring(0, string.length() - 1)); in listFiles()
185 fsFile = new JarFsFile(string); in listFiles()
188 fsFile = null; in listFiles()
191 if (fsFile != null && filter.accept(fsFile)) { in listFiles()
192 fsFiles.add(fsFile); in listFiles()
200 for (FsFile fsFile : listFiles()) { in listFileNames()
201 fileNames.add(fsFile.getName()); in listFileNames()
DDocumentLoader.java8 @Override public boolean accept(@Nonnull FsFile fsFile) {
9 return fsFile.getName().endsWith(".xml");
DFileFsFile.java112 FileFsFile fsFile = (FileFsFile) o; in equals()
114 return file.equals(fsFile.file); in equals()
DFsFile.java43 boolean accept(@Nonnull FsFile fsFile); in accept() argument
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DFileFsFileTest.java81 List<String> partsOf(FsFile fsFile) { in partsOf() argument
83 while (fsFile != null) { in partsOf()
84 parts.add(fsFile.getName()); in partsOf()
85 fsFile = fsFile.getParent(); in partsOf()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/builder/
DXmlBlock.java49 public static XmlBlock create(FsFile fsFile, String packageName) { in create() argument
50 Document document = parse(fsFile); in create()
54 : new XmlBlock(document, fsFile.getPath(), packageName); in create()
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/
DStaxValueLoaderTest.java61 FsFile fsFile = Fs.fileFromPath("/tmp/fake.txt"); in parse() local
62 Qualifiers qualifiers = Qualifiers.fromParentDir(fsFile.getParent()); in parse()
64 fsFile, qualifiers)); in parse()
/external/llvm-project/lldb/test/API/lang/cpp/class_types/
DTestClassTypes.py71 fsFile = filespec.GetFilename()
74 and fsFile == "a.out",
187 fsFile = filespec.GetFilename()
190 and fsFile == "a.out",
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAsset.java40 FsFile fsFile = fileTypedResource.getFsFile(); in newFileAsset() local
41 fileAsset.mFileName = fsFile.getName(); in newFileAsset()
42 fileAsset.mLength = fsFile.length(); in newFileAsset()
43 fileAsset.mBuf = fsFile.getBytes(); in newFileAsset()
DCppAssetManager.java1765 FsFile fsFile; in getAssetPaths() local
1768 fsFile = Fs.newFile(asset_path.path.string()); in getAssetPaths()
1771 fsFile = Fs.newFile(asset_path.path.string()); in getAssetPaths()
1777 assetPaths.add(new AssetPath(fsFile, asset_path.isSystemAsset)); in getAssetPaths()
DCppAssetManager2.java1674 FsFile fsFile = Fs.newFile(apkAssets.GetPath()); in getAssetPaths() local
1675 assetPaths.add(new AssetPath(fsFile, apkAssets.GetLoadedArsc().IsSystem())); in getAssetPaths()