Home
last modified time | relevance | path

Searched refs:FileUtils (Results 1 – 25 of 58) 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.py12 class FileUtils(object): class
24 cls._instance = super(FileUtils, cls).__new__(MockFileUtils, *args,
27 cls._instance = super(FileUtils, cls).__new__(cls, *args, **kwargs)
68 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.java26 import org.codehaus.plexus.util.FileUtils;
80 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.py18 from cros_utils.file_utils import FileUtils
252 FileUtils().RmDir(results_directory)
253 FileUtils().MkDirP(results_directory)
256 FileUtils().WriteFile(experiment_file_path, experiment.experiment_file)
266 FileUtils().WriteFile(results_table_path, report)
274 FileUtils().WriteFile(msg_file_path, msg_body)
Dcrosperf_test.py12 from cros_utils.file_utils import FileUtils
43 FileUtils.Configure(True)
Dlabel.py12 from cros_utils.file_utils import FileUtils
54 chromeos_root = FileUtils().ChromeOSRootFromImage(chromeos_image)
60 chromeos_root = FileUtils().CanonicalizeChromeOSRoot(chromeos_root)
Dimage_checksummer.py10 from cros_utils.file_utils import FileUtils
35 self._checksum = FileUtils().Md5File(
Dexperiment_runner_unittest.py31 from cros_utils.file_utils import FileUtils
394 @mock.patch.object(FileUtils, 'RmDir')
395 @mock.patch.object(FileUtils, 'MkDirP')
396 @mock.patch.object(FileUtils, 'WriteFile')
Dexperiment_factory_unittest.py15 from cros_utils.file_utils import FileUtils
239 FileUtils.Configure(True)
/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/droiddriver/src/io/appium/droiddriver/helpers/
DBaseDroidDriverTest.java33 import io.appium.droiddriver.util.FileUtils;
164 String path = FileUtils.getAbsoluteFile(getBaseFileName() + ".hprof").getPath(); in dumpHprof()
166 FileUtils.open(path).close(); in dumpHprof()
/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/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/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/droiddriver/src/io/appium/droiddriver/base/
DBaseUiDevice.java28 import io.appium.droiddriver.util.FileUtils;
98 bos = FileUtils.open(path); in takeScreenshot()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DFileUtils.java37 public class FileUtils { class
39 private FileUtils() { in FileUtils() method in FileUtils
/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()
/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()

123