HomeSort by relevance Sort by last modified time
    Searched refs:File (Results 1 - 25 of 3205) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/net/disk_cache/blockfile/
file.cc 3 // found in the LICENSE file.
5 #include "net/disk_cache/blockfile/file.h"
12 File::File() : init_(false), mixed_(false) {}
14 File::File(bool mixed_mode) : init_(false), mixed_(mixed_mode) {}
  /external/smali/util/src/test/java/org/jf/util/
PathUtilTest.java 33 import java.io.File;
39 File[] roots = File.listRoots();
42 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
43 File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt")
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
FileCallback.h 36 class File;
41 virtual void handleEvent(File*) = 0;
FileCallback.idl 32 void handleEvent(File file);
  /external/chromium_org/remoting/host/setup/
test_util.h 3 // found in the LICENSE file.
8 #include "base/files/file.h"
14 bool MakePipe(base::File* read_file,
15 base::File* write_file);
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/
DefaultFileComparator.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
24 * Compare two files using the <b>default</b> {@link File#compareTo(File)} method.
27 * by using the default file comparison.
32 * List&lt;File&gt; list = ...
39 * File[] array = ...
47 public class DefaultFileComparator implements Comparator<File>, Serializable
    [all...]
LastModifiedFileComparator.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
25 * (see {@link File#lastModified()}).
33 * List&lt;File&gt; list = ...
40 * File[] array = ...
48 public class LastModifiedFileComparator implements Comparator<File>, Serializable {
51 public static final Comparator<File> LASTMODIFIED_COMPARATOR = new LastModifiedFileComparator();
54 public static final Comparator<File> LASTMODIFIED_REVERSE = new ReverseComparator<File>(LASTMODIFIED_COMPARATOR)
    [all...]
  /external/chromium_org/chrome/browser/sync_file_system/
sync_status_code.cc 3 // found in the LICENSE file.
22 // TODO(nhiroki): add stringize function for File::Error into base/.
24 return "File operation failed.";
26 return "File currently in use.";
28 return "File already exists.";
30 return "File not found.";
32 return "File access denied.";
42 return "Invalid file operation.";
46 return "File operation aborted.";
48 return "Not a file."
    [all...]
  /art/runtime/
os.h 5 * you may not use this file except in compliance with the License.
26 typedef ::unix_file::FdFile File;
32 // Open an existing file with read only access.
33 static File* OpenFileForReading(const char* name);
35 // Open an existing file with read/write access.
36 static File* OpenFileReadWrite(const char* name);
38 // Create an empty file with read/write access.
39 static File* CreateEmptyFile(const char* name);
41 // Open a file with the specified open(2) flags.
42 static File* OpenFileWithFlags(const char* name, int flags)
    [all...]
  /external/chromium_org/chrome/utility/image_writer/
image_writer_stub.cc 3 // found in the LICENSE file.
7 // This file contains the default version of the platform-specific methods of
25 base::File::FLAG_OPEN | base::File::FLAG_READ | base::File::FLAG_WRITE |
26 base::File::FLAG_EXCLUSIVE_READ | base::File::FLAG_EXCLUSIVE_WRITE);
  /libcore/support/src/test/java/tests/support/
Support_DeleteOnExitTest.java 3 import java.io.File;
12 File file1 = new File(args[0]);
13 File file2 = new File(args[1]);
  /cts/libs/vogar-expect/src/vogar/commands/
Rm.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
26 public void file(File file) { method in class:Rm
27 new Command("rm", "-f", file.getPath()).execute();
30 public void directoryTree(File directory) {
Mkdir.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
26 public void mkdirs(File directory) {
  /external/emma/core/java12/com/vladium/util/
IConstants.java 11 import java.io.File;
23 File [] EMPTY_FILE_ARRAY = new File [0];
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
SaveVideoFileInfo.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
22 public File mFile = null;
25 public File mDirectory = null;
  /external/chromium_org/content/common/
file_utilities_messages.h 3 // found in the LICENSE file.
5 // Multiply-included message file, so no include guard.
14 // File utilities messages sent from the renderer to the browser.
18 base::File::Info /* result */,
19 base::File::Error /* status */)
  /libcore/dalvik/src/main/java/dalvik/system/
TemporaryDirectory.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
36 public static synchronized void setUpDirectory(File baseDir) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
FileTest.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
20 import java.io.File;
41 private static void deleteTempFolder(File dir) {
45 File f = new File(dir, files[i]);
57 if (File.separatorChar == path.charAt(path.length() - 1)) {
60 return path + File.separator;
66 private File tempDirectory
118 File file = new File(root, "\/dir\/file"); local
985 File file; local
1206 File file = new File(dir, "notADir.tst"); local
1296 File file = new File(dir, "notADir.tst"); local
1423 File file = new File(baseDir, "notADir.tst"); local
1540 File file = new File(dir, "notADir.tst"); local
2188 File file = new File("FileTest.golden.ser"); local
    [all...]
  /external/junit/src/org/junit/rules/
TemporaryFolder.java 3 import java.io.File;
20 * File createdFile= folder.newFile(&quot;myfile.txt&quot;);
21 * File createdFolder= folder.newFolder(&quot;subfolder&quot;);
28 private File folder;
49 * Returns a new fresh file with the given name under the temporary folder.
51 public File newFile(String fileName) throws IOException {
52 File file= new File(getRoot(), fileName); local
53 file.createNewFile()
68 File file = getRoot(); local
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/build/
CtsBuildHelper.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
35 private final File mRootDir;
37 private final File mCtsDir;
45 public CtsBuildHelper(File rootDir) {
47 mCtsDir = new File(mRootDir, CTS_DIR_NAME);
89 * @return a {@link File} representing the parent folder of the CTS installation
91 public File getRootDir() {
96 * @return a {@link File} representing the "android-cts" folder of the CTS installation
98 public File getCtsDir()
    [all...]
  /external/chromium_org/chrome/browser/chromeos/drive/
file_errors.cc 3 // found in the LICENSE file.
75 base::File::Error FileErrorToBaseFileError(FileError error) {
78 return base::File::FILE_OK;
81 return base::File::FILE_ERROR_FAILED;
84 return base::File::FILE_ERROR_IN_USE;
87 return base::File::FILE_ERROR_EXISTS;
90 return base::File::FILE_ERROR_NOT_FOUND;
93 return base::File::FILE_ERROR_ACCESS_DENIED;
96 return base::File::FILE_ERROR_TOO_MANY_OPENED;
99 return base::File::FILE_ERROR_NO_MEMORY
    [all...]
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/build/
StubCtsBuildHelper.java 5 * you may not use this file except in compliance with the License.
18 import java.io.File;
27 super(new File("tmp"));
36 public File getTestApp(String appFileName) throws FileNotFoundException {
37 return new File("tmp");
  /frameworks/support/v4/kitkat/android/support/v4/content/
ContextCompatKitKat.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
24 public static File[] getExternalCacheDirs(Context context) {
28 public static File[] getExternalFilesDirs(Context context, String type) {
32 public static File[] getObbDirs(Context context) {
  /libcore/luni/src/main/java/java/io/
FileFilter.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
21 * An interface for filtering {@link File} objects based on their names
24 * @see File#listFiles(FileFilter)
29 * Indicating whether a specific file should be included in a pathname list.
32 * the abstract file to check.
33 * @return {@code true} if the file should be included, {@code false}
36 public abstract boolean accept(File pathname);
FilenameFilter.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
21 * An interface for filtering {@link File} objects based on their names
24 * @see File
25 * @see File#list(FilenameFilter)
35 * the name of the file in {@code dir} to test.
40 public abstract boolean accept(File dir, String filename);

Completed in 1771 milliseconds

1 2 3 4 5 6 7 8 91011>>