/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/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);
|
test_util.cc | 3 // found in the LICENSE file. 15 bool MakePipe(base::File* read_file, 16 base::File* write_file) { 22 *read_file = base::File(read_handle); 23 *write_file = base::File(write_handle); 28 *read_file = base::File(fds[0]); 29 *write_file = base::File(fds[1]);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
FileCallback.idl | 32 void handleEvent(File file);
|
FileCallback.h | 38 class File; 44 virtual void handleEvent(File*) = 0;
|
FileEntrySync.idl | 34 [RaisesException] File file();
|
/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);
|
/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];
|
/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 */)
|
/external/junit/src/org/junit/rules/ |
TemporaryFolder.java | 3 import java.io.File; 20 * File createdFile= folder.newFile("myfile.txt"); 21 * File createdFolder= folder.newFolder("subfolder"); 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");
|
/external/chromium_org/ppapi/shared_impl/ |
file_type_conversion.cc | 3 // found in the LICENSE file. 14 int FileErrorToPepperError(base::File::Error error_code) { 16 case base::File::FILE_OK: 18 case base::File::FILE_ERROR_EXISTS: 20 case base::File::FILE_ERROR_NOT_FOUND: 22 case base::File::FILE_ERROR_ACCESS_DENIED: 23 case base::File::FILE_ERROR_SECURITY: 25 case base::File::FILE_ERROR_NO_MEMORY: 27 case base::File::FILE_ERROR_NO_SPACE: 29 case base::File::FILE_ERROR_NOT_A_DIRECTORY [all...] |
/external/chromium_org/base/files/ |
file.cc | 3 // found in the LICENSE file. 5 #include "base/files/file.h" 10 File::Info::Info() 16 File::Info::~Info() { 19 File::File() 26 File::File(const FilePath& name, uint32 flags) 34 File::File(PlatformFile platform_file [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
File.h | 41 class File FINAL : public Blob { 55 static PassRefPtrWillBeRawPtr<File> create(const String& path, ContentTypeLookupPolicy policy = WellKnownContentTypes) 57 return adoptRefWillBeNoop(new File(path, policy, File::IsUserVisible)); 60 static PassRefPtrWillBeRawPtr<File> create(const String& name, double modificationTime, PassRefPtr<BlobDataHandle> blobDataHandle) 62 return adoptRefWillBeNoop(new File(name, modificationTime, blobDataHandle)); 66 static PassRefPtrWillBeRawPtr<File> createFromSerialization(const String& path, const String& name, const String& relativePath, UserVisibility userVisibility, bool hasSnaphotData, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle) 68 return adoptRefWillBeNoop(new File(path, name, relativePath, userVisibility, hasSnaphotData, size, lastModified, blobDataHandle)); 70 static PassRefPtrWillBeRawPtr<File> createFromIndexedSerialization(const String& path, const String& name, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle) 72 return adoptRefWillBeNoop(new File(path, name, String(), IsNotUserVisible, true, size, lastModified, blobDataHandle)) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
FileAccessPermissionTest.java | 5 * you may not use this file except in compliance with the License. 22 import java.io.File; 30 * This is testing for file access permissions. 39 * create a sdcard image file then start emulator with command emulator -sdcard <filepath> 42 * mksdcard <size> <file> 45 * TODO: Combine this file with {@link android.permission.cts.FileSystemPermissionTest} 53 File file = new File("/system"); local 54 assertTrue(file.canRead()) 82 File file = new File("\/system\/app"); local 100 File file = new File("\/data\/app"); local [all...] |
/development/tools/idegen/src/com/android/idegen/ |
DirectorySearch.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 50 private static File repoRoot = null; 58 public static File getRepoRoot() { 67 * @param file any file inside the root. 70 public static void findAndInitRepoRoot(File file) { 71 Preconditions.checkNotNull(file); 76 if (file.isDirectory()) [all...] |
/external/chromium_org/storage/browser/fileapi/ |
native_file_util.cc | 3 // found in the LICENSE file. 7 #include "base/files/file.h" 37 // Copies a file |from| to |to|, and ensure the written content is synced to 40 base::File infile(from, base::File::FLAG_OPEN | base::File::FLAG_READ); 45 base::File outfile(to, 46 base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE); 124 base::File NativeFileUtil::CreateOrOpen(const base::FilePath& path [all...] |
/external/clang/tools/scan-build/ |
c++-analyzer | 4 use File::Basename qw/ dirname /;
|
/art/runtime/base/ |
scoped_flock.h | 5 * you may not use this file except in compliance with the License. 32 // Attempts to acquire an exclusive file lock (see flock(2)) on the file 36 // occurred. It is an error if the file does not exist, or if its inode 37 // changed (usually due to a new file being created at the same path) 40 // Attempt to acquire an exclusive file lock (see flock(2)) on 'file'. 43 bool Init(File* file, std::string* error_msg); 45 // Returns the (locked) file associated with this instance [all...] |