Home
last modified time | relevance | path

Searched +defs:delete +defs:file (Results 1 – 25 of 85) sorted by relevance

1234

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DFileSystem.java108 Source source(File file) throws FileNotFoundException; in source()
114 Sink sink(File file) throws FileNotFoundException; in sink()
120 Sink appendingSink(File file) throws FileNotFoundException; in appendingSink()
123 void delete(File file) throws IOException; in delete() method
126 boolean exists(File file) throws IOException; in exists()
129 long size(File file); in size()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DFileSystem.java106 Source source(File file) throws FileNotFoundException; in source()
112 Sink sink(File file) throws FileNotFoundException; in sink()
118 Sink appendingSink(File file) throws FileNotFoundException; in appendingSink()
121 void delete(File file) throws IOException; in delete() method
124 boolean exists(File file) throws IOException; in exists()
127 long size(File file); in size()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DFaultyFileSystem.java37 public void setFaulty(File file, boolean faulty) { in setFaulty()
45 @Override public Source source(File file) throws FileNotFoundException { in source()
49 @Override public Sink sink(File file) throws FileNotFoundException { in sink()
53 @Override public Sink appendingSink(File file) throws FileNotFoundException { in appendingSink()
57 @Override public void delete(File file) throws IOException { in delete() method in FaultyFileSystem
61 @Override public boolean exists(File file) throws IOException { in exists()
65 @Override public long size(File file) { in size()
78 private final File file; field in FaultyFileSystem.FaultySink
80 public FaultySink(Sink delegate, File file) { in FaultySink()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DDiskCache.java21 boolean write(File file); in write()
51 void delete(Key key); in delete() method
DDiskLruCacheWrapper.java91 File file = editor.getFile(0); in put() local
107 public void delete(Key key) { in delete() method in DiskLruCacheWrapper
/external/guava/guava-tests/test/com/google/common/io/
DIoTestCase.java99 File file = new File(getTestDir(), name); in getTestFile() local
163 private static void copy(URL url, File file) throws IOException { in copy()
180 private boolean delete(File file) { in delete() method in IoTestCase
DFilesTest.java364 File file = root(); in testCreateParentDirs_root() local
371 File file = file("nonexistent.file"); in testCreateParentDirs_relativePath() local
378 File file = file(getTempDir(), "nonexistent.file"); in testCreateParentDirs_noParentsNeeded() local
384 File file = file(getTempDir(), "parent", "nonexistent.file"); in testCreateParentDirs_oneParentNeeded() local
396 File file = file(getTempDir(), "grandparent", "parent", "nonexistent.file"); in testCreateParentDirs_multipleParentsNeeded() local
407 File file = file(parent, "foo"); in testCreateParentDirs_nonDirectoryParentExists() local
481 public UnmovableFile(File file, boolean canRename, boolean canDelete) { in UnmovableFile()
493 public boolean delete() { in delete() method in FilesTest.UnmovableFile
591 File file = createTempFile(); in testMap() local
604 File file = createTempFile(); in testMap_noSuchFile() local
[all …]
/external/junit/src/main/java/org/junit/rules/
DTemporaryFolder.java66 File file = new File(getRoot(), fileName); in newFile() local
94 File file = getRoot(); in newFolder() local
155 public void delete() { in delete() method in TemporaryFolder
161 private void recursiveDelete(File file) { in recursiveDelete()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DFileUtils.java67 public static boolean delete(File path) { in delete() method in FileUtils
94 File file = new File(name); in copyFromStream() local
140 public static boolean rename(File file, String name) { in rename()
144 public static String readToString(File file) throws IOException { in readToString()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DFileClientSessionCache.java143 File file = accessOrder.get(name); in getSessionData() local
188 static void logReadError(String host, File file, Throwable t) { in logReadError()
203 File file = new File(directory, name); in putSessionData() local
303 private void delete(File file) { in delete() method in FileClientSessionCache.Impl
312 static void logWriteError(String host, File file, Throwable t) { in logWriteError()
/external/conscrypt/common/src/main/java/org/conscrypt/
DFileClientSessionCache.java139 File file = accessOrder.get(name); in getSessionData() local
184 static void logReadError(String host, File file, Throwable t) { in logReadError()
199 File file = new File(directory, name); in putSessionData() local
299 private void delete(File file) { in delete() method in FileClientSessionCache.Impl
308 static void logWriteError(String host, File file, Throwable t) { in logWriteError()
/external/guice/extensions/persist/lib/
Djboss-archive-browsing.jar ... (java.io.File) public static boolean delete (java.lang.String) public static boolean ...
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DMmsFileProvider.java54 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in MmsFileProvider
73 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile() local
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/
DTelephonyTestProvider.java69 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in TelephonyTestProvider
84 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile() local
/external/selinux/gui/
DmodulesPage.py125 def delete(self): member in modulesPage
192 def add(self, file): argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRequestTest.java77 @Test public void file() throws Exception { in file() method in RequestTest
78 File file = File.createTempFile("RequestTest", "tmp"); in file() local
104 Request delete = new Request.Builder().url("http://localhost/api").delete().build(); in crudVerbs() local
/external/python/cpython3/Lib/
Dtempfile.py419 file = None # Set here since __del__ checks it variable in _TemporaryFileCloser
422 def __init__(self, file, name, delete=True): argument
465 def __init__(self, file, name, delete=True): argument
522 dir=None, delete=True): argument
651 def _check(self, file): argument
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptManager.java220 File file = (File) mAdapter.getItem(info.position); in onContextItemSelected() local
361 final File file = (File) list.getItemAtPosition(position); in onListItemClick() local
423 private void delete(final File file) { in delete() method in ScriptManager
472 private void rename(final File file) { in rename()
/external/python/cpython2/Lib/
Dtempfile.py391 def __init__(self, file, name, delete=True): argument
448 prefix=template, dir=None, delete=True): argument
533 def _check(self, file): argument
/external/selinux/python/semanage/
Dseobject.py402 def add(self, file, priority): argument
432 def delete(self, module, priority): member in moduleRecords
517 def delete(self, name): member in permissiveRecords
696 def delete(self, name): member in loginRecords
973 def delete(self, name): member in seluserRecords
1251 def delete(self, port, proto): member in portRecords
1510 def delete(self, pkey, subnet_prefix): member in ibpkeyRecords
1762 def delete(self, ibendport, ibdev_name): member in ibendportRecords
2019 def delete(self, addr, mask, proto): member in nodeRecords
2219 def delete(self, interface): member in interfaceRecords
[all …]
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DDiskLruCache.java386 private static void deleteIfExists(File file) throws IOException { in deleteIfExists()
588 File file = entry.getCleanFile(i); in remove() local
656 public void delete() throws IOException { in delete() method in DiskLruCache
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRModify.java107 delete, enumConstant
609 private CLDRFile file; field in CLDRModify.RetainWhenMinimizing
614 public RetainWhenMinimizing setParentFile(CLDRFile file) { in setParentFile()
908 …void setFile(CLDRFile file, String inputOptions, Factory factory, Set<String> removal, CLDRFile re… in setFile()
/external/guice/extensions/struts2/lib/
Dcommons-io-1.3.2.jar ... io.File, int) java.io.File file int depth public void <init> (java ...
/external/libphonenumber/demo/war/WEB-INF/lib/
Dcommons-io-1.4.jar ... io.File, int) java.io.File file int depth public void <init> (java ...
/external/toybox/toys/pending/
Dcrond.c328 int delete = 1; in remove_completed_jobs() local
433 char *file = "/bin/sh"; in do_fork() local

1234