Home
last modified time | relevance | path

Searched refs:FileUtils (Results 1 – 25 of 63) sorted by relevance

123

/external/antlr/runtime/Cpp/include/
Dantlr3filestream.inl4 ANTLR_FDSC FileUtils<ImplTraits>::AntlrFopen(const ANTLR_UINT8* filename, const char * mode)
10 void FileUtils<ImplTraits>::AntlrFclose (ANTLR_FDSC fd)
16 ANTLR_UINT32 FileUtils<ImplTraits>::AntlrFsize(const ANTLR_UINT8* filename)
26 ANTLR_UINT32 FileUtils<ImplTraits>::AntlrFread(ANTLR_FDSC fdsc, ANTLR_UINT32 count, void* data)
33 ANTLR_UINT32 FileUtils<ImplTraits>::AntlrRead8Bit(InputStreamType* input, const ANTLR_UINT8* fileNa…
40 infile = FileUtils<ImplTraits>::AntlrFopen(fileName, "rb");
52 fSize = FileUtils<ImplTraits>::AntlrFsize(fileName); /* Size of input file */
60 FileUtils<ImplTraits>::AntlrFread(infile, fSize, data );
69 FileUtils<ImplTraits>::AntlrFclose(infile);
Dantlr3filestream.hpp40 class FileUtils class
/external/ant-glob/src/org/apache/tools/ant/util/
DFileUtils.java33 public class FileUtils { class
36 private static final FileUtils PRIMARY_INSTANCE = new FileUtils();
86 public static FileUtils newFileUtils() { in newFileUtils()
87 return new FileUtils(); in newFileUtils()
96 public static FileUtils getFileUtils() { in getFileUtils()
103 protected FileUtils() { in FileUtils() method in FileUtils
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowFileUtils.java7 import android.os.FileUtils;
8 import android.os.FileUtils.ProgressListener;
16 @Implements(value = FileUtils.class, isInAndroidSdk = false, minSdk = P)
28 return ReflectionHelpers.callStaticMethod(FileUtils.class, in copy()
51 FileUtils.class, in copy()
/external/toolchain-utils/cros_utils/
Dfile_utils.py17 class FileUtils(object): class
29 cls._instance = super(FileUtils, cls).__new__(MockFileUtils, *args,
32 cls._instance = super(FileUtils, cls).__new__(cls, *args, **kwargs)
73 class MockFileUtils(FileUtils):
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DFileFilter.java20 import org.codehaus.plexus.util.FileUtils;
57 return FileUtils.getFileNames(directory, getIncludes(), getExcludes(), in getFileNames()
71 return FileUtils.getFiles(directory, getIncludes(), getExcludes()); in getFiles()
DRestoreMojo.java21 import org.codehaus.plexus.util.FileUtils;
39 FileUtils.copyDirectoryStructure(originalClassesDir, classesDir); in executeMojo()
DInstrumentMojo.java27 import org.codehaus.plexus.util.FileUtils;
95 FileUtils.copyFile(source, backup); in executeMojo()
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/
DInstrumentTask.java27 import org.apache.tools.ant.util.FileUtils;
107 FileUtils.close(input); in instrument()
108 FileUtils.close(output); in instrument()
DMergeTask.java26 import org.apache.tools.ant.util.FileUtils;
90 FileUtils.close(resourceStream); in load()
/external/toolchain-utils/crosperf/
Dexperiment_runner.py20 from cros_utils.file_utils import FileUtils
268 FileUtils().RmDir(results_directory)
269 FileUtils().MkDirP(results_directory)
272 FileUtils().WriteFile(experiment_file_path, experiment.experiment_file)
320 FileUtils().WriteFile(results_table_path, report)
328 FileUtils().WriteFile(msg_file_path, msg_body)
Dimage_checksummer.py14 from cros_utils.file_utils import FileUtils
39 self._checksum = FileUtils().Md5File(
Dexperiment_runner_unittest.py34 from cros_utils.file_utils import FileUtils
404 @mock.patch.object(FileUtils, 'RmDir')
405 @mock.patch.object(FileUtils, 'MkDirP')
406 @mock.patch.object(FileUtils, 'WriteFile')
/external/ant-glob/src/org/apache/tools/ant/types/selectors/
DSelectorUtils.java21 import org.apache.tools.ant.util.FileUtils;
46 private static final FileUtils FILE_UTILS = FileUtils.getFileUtils();
530 if (FileUtils.isAbsolutePath(path)) { in tokenizePath()
547 if (FileUtils.isAbsolutePath(path)) { in tokenizePathAsArray()
/external/ant-glob/
DREADME.txt19 org.apache.tools.ant.util.FileUtils,
24 * FileUtils was pruned to keep only 2 methods, which brought OS (which
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DInterpreterInstaller.java214 FileUtils.delete(root); in executeInBackground()
288 dataChmodErrno = FileUtils.chmod(InterpreterUtils.getInterpreterRoot(mContext), 0755); in chmodIntepreter()
290 FileUtils.recursiveChmod(InterpreterUtils.getInterpreterRoot(mContext, mDescriptor in chmodIntepreter()
316 FileUtils.delete(directory); in cleanup()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptManager.java48 import com.googlecode.android_scripting.FileUtils;
106 if (FileUtils.externalStorageMounted()) { in onCreate()
111 FileUtils.chmod(sl4a, 0755); // Handle the sl4a parent folder first. in onCreate()
116 if (!FileUtils.makeDirectories(mBaseDir, 0755)) { in onCreate()
429 FileUtils.delete(file); in delete()
463 if (!FileUtils.makeDirectories(dir, 0755)) { in addFolder()
492 if (!FileUtils.rename(file, name)) { in rename()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DFileUtils.java37 public class FileUtils { class
39 private FileUtils() { in FileUtils() method in FileUtils
/external/jacoco/jacoco-maven-plugin.test/it/it-report-without-debug/
Dverify.bsh15 String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) );
/external/jacoco/jacoco-maven-plugin.test/it/it-report-unreadable-dump/
Dverify.bsh15 String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) );
/external/jacoco/jacoco-maven-plugin.test/it/it-dump/
Dverify.bsh16 String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) );
/external/jacoco/jacoco-maven-plugin.test/it/it-report-without-dump/
Dverify.bsh15 String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) );
/external/jacoco/jacoco-maven-plugin.test/it/it-check-passes/
Dverify.bsh16 String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) );
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DCameraFacade.java34 import com.googlecode.android_scripting.FileUtils;
165 if (!FileUtils.makeDirectories(file.getParentFile(), 0755)) { in takePicture()
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/html/
DHtmlActivityTask.java35 import com.googlecode.android_scripting.FileUtils;
125 source = FileUtils.readToString(new File(Uri.parse(url).getPath())); in shouldOverrideUrlLoading()
170 source = FileUtils.readToString(new File(Uri.parse(mUrl).getPath())); in load()

123