HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 551 - 575 of 1907) sorted by null

<<21222324252627282930>>

  /external/chromium/testing/gtest/include/gtest/internal/
gtest-death-test-internal.h 34 // This header file defines internal utilities needed for implementing
80 const char* file, int line, DeathTest** test);
144 const char* file, int line, DeathTest** test) = 0;
151 const char* file, int line, DeathTest** test);
237 String file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
  /external/chromium_org/base/
file_util.cc 3 // found in the LICENSE file.
56 // We open the file in binary format even if they are text files because
65 // any unusable file yields a result of "false".
94 // any unusable file yields a result of "false".
132 FILE* file = OpenFile(path, "rb");
133 if (!file) {
139 while ((len = fread(buf, 1, sizeof(buf), file)) > 0) {
143 CloseFile(file);
156 FILE* CreateAndOpenTemporaryFile(FilePath* path)
187 const PlatformFile file = CreatePlatformFile(path, flags, NULL, NULL); local
    [all...]
platform_file_unittest.cc 3 // found in the LICENSE file.
15 // Reads from a file the given number of bytes, or until EOF is reached.
17 int ReadFully(PlatformFile file, int64 offset, char* data, int size) {
18 return ReadPlatformFile(file, offset, data, size);
21 // Writes the given number of bytes to a file.
23 int WriteFully(PlatformFile file, int64 offset,
25 return WritePlatformFile(file, offset, data, size);
35 // Open a file that doesn't exist.
37 PlatformFile file = CreatePlatformFile( local
42 EXPECT_EQ(kInvalidPlatformFileValue, file);
117 PlatformFile file = CreatePlatformFile( local
149 PlatformFile file = CreatePlatformFile( local
228 PlatformFile file = CreatePlatformFile( local
281 PlatformFile file = CreatePlatformFile( local
335 PlatformFile file = CreatePlatformFile( local
406 PlatformFile file = CreatePlatformFile( local
    [all...]
platform_file_win.cc 3 // found in the LICENSE file.
86 HANDLE file = CreateFile(name.value().c_str(), access, sharing, NULL, local
89 if (created && (INVALID_HANDLE_VALUE != file)) {
97 if (file != kInvalidPlatformFileValue)
103 return file;
106 FILE* FdopenPlatformFile(PlatformFile file, const char* mode) {
107 if (file == kInvalidPlatformFileValue)
109 int fd = _open_osfhandle(reinterpret_cast<intptr_t>(file), 0);
115 bool ClosePlatformFile(PlatformFile file) {
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
WebappAuthenticator.java 3 // found in the LICENSE file.
11 import java.io.File;
92 File file = context.getFileStreamPath(basename); local
94 if (file.length() != MAC_KEY_BYTE_COUNT) {
95 Log.w(TAG, "Could not read key from '" + file + "': invalid file contents");
100 input = new FileInputStream(file);
111 Log.w(TAG, "Could not read key from '" + file + "': " + e);
119 Log.e(TAG, "Could not close key input stream '" + file + "': " + e)
125 File file = context.getFileStreamPath(basename); local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/drive/
async_file_util.cc 3 // found in the LICENSE file.
47 // Runs CreateOrOpenFile callback based on the given |error| and |file|.
53 base::PlatformFile file,
57 // It is necessary to make a closure, which runs on file closing here.
61 error, base::PassPlatformFile(&file),
75 base::PlatformFile file = base::kInvalidPlatformFileValue; local
76 callback.Run(error, base::PassPlatformFile(&file), base::Closure());
85 // Remember if the file is actually created or not.
104 // most drive file system related operations run on UI thread.
change_list_loader_unittest.cc 3 // found in the LICENSE file.
109 // Adds a new file to the root directory of the service.
162 util::GetDriveMyDriveRootPath().AppendASCII("File 1.txt");
202 // Add a file to the service.
203 scoped_ptr<google_apis::ResourceEntry> gdata_entry = AddNewFile("New File");
266 util::GetDriveMyDriveRootPath().AppendASCII("File 1.txt");
280 // Now the file is present.
294 // Add a new file.
295 scoped_ptr<google_apis::ResourceEntry> file = AddNewFile("New File"); local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/
wallpaper_manager.h 3 // found in the LICENSE file.
37 // Online wallpaper URL or file name of migrated wallpaper.
38 std::string file; member in struct:chromeos::WallpaperInfo
43 return (file == other.file) && (layout == other.layout) &&
54 // File path suffices of resized small or large wallpaper.
116 // Returns custom wallpaper path. Append |sub_dir|, |user_id_hash| and |file|
120 const std::string& file);
162 // Saves custom wallpaper to file, post task to generate thumbnail and updates
166 const std::string& file,
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/serial/
serial_connection.cc 3 // found in the LICENSE file.
85 BrowserThread::FILE, FROM_HERE,
93 base::PlatformFile file = file_; local
95 BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
96 base::Bind(&SerialConnection::DoClose, file));
167 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
171 base::PlatformFile file = base::kInvalidPlatformFileValue; local
186 file = base::CreatePlatformFile(path, flags, NULL, NULL);
190 base::Bind(&SerialConnection::FinishOpen, base::Unretained(this), file));
193 void SerialConnection::FinishOpen(base::PlatformFile file) {
    [all...]
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
conflict_resolver_unittest.cc 3 // found in the LICENSE file.
258 // Only primary file should survive.
284 // Only primary file should survive.
310 // Only primary file should survive.
325 const std::string file = CreateRemoteFile(primary, "file", "data"); local
327 AddFileToFolder(CreateRemoteFolder(app_root, "nonprimary1"), file));
329 AddFileToFolder(CreateRemoteFolder(app_root, "nonprimary2"), file));
331 AddFileToFolder(CreateRemoteFolder(app_root, "nonprimary3"), file));
336 EXPECT_EQ(4, CountParents(file));
352 const std::string file = CreateRemoteFolder(primary, "folder"); local
    [all...]
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
fake_drive_service_helper.cc 3 // found in the LICENSE file.
112 scoped_ptr<ResourceEntry> file; local
116 base::Bind(&UploadResultCallback, &error, &file),
121 *file_id = file->resource_id();
130 scoped_ptr<ResourceEntry> file; local
135 base::Bind(&UploadResultCallback, &error, &file),
230 scoped_ptr<google_apis::ResourceEntry> file; local
231 GDataErrorCode error = GetResourceEntry(file_id, &file);
234 if (!file)
241 temp_file, file->resource_id()
    [all...]
  /external/chromium_org/chrome/test/logging/win/
log_file_reader.cc 3 // found in the LICENSE file.
96 // Reads the file using a trace consumer. |ProcessEvent| will be invoked for
97 // each event in the file.
153 base::StringPiece file; local
161 parser.ReadString(&file) &&
166 line, file, message);
233 LOG(ERROR) << "Failed to open session for log file " << log_file.value()
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_flash_file_message_filter.cc 3 // found in the LICENSE file.
74 // The blocking pool provides a pool of threads to run file
144 IPC::PlatformFileForTransit file = IPC::GetFileHandleForProcess(file_handle, local
149 ppapi::proxy::SerializedHandle::FILE, file));
280 IPC::PlatformFileForTransit file = IPC::GetFileHandleForProcess(file_handle, local
285 ppapi::proxy::SerializedHandle::FILE, file));
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
MediaResourceGetter.java 3 // found in the LICENSE file.
20 import java.io.File;
96 if (scheme == null || scheme.equals("file")) {
97 File file = new File(uri.getPath()); local
98 String path = file.getAbsolutePath();
99 if (file.exists() && (path.startsWith("/mnt/sdcard/") ||
104 Log.e(TAG, "Unable to read file: " + url);
  /external/chromium_org/extensions/common/
user_script.cc 3 // found in the LICENSE file.
59 UserScript::File::File(const base::FilePath& extension_root,
67 UserScript::File::File() {}
69 UserScript::File::~File() {}
111 void UserScript::File::Pickle(::Pickle* pickle) const {
117 void UserScript::File::Unpickle(const ::Pickle& pickle, PickleIterator* iter) {
162 for (FileList::const_iterator file = scripts.begin()
230 File file; local
    [all...]
  /external/chromium_org/media/audio/openbsd/
audio_manager_openbsd.cc 3 // found in the LICENSE file.
38 const char *file; local
40 if ((file = getenv("AUDIOCTLDEVICE")) == 0 || *file == '\0')
41 file = "/dev/audioctl";
43 if ((fd = open(file, O_RDONLY)) < 0)
  /external/chromium_org/media/video/capture/
file_video_capture_device.cc 3 // found in the LICENSE file.
20 "/dev/placeholder-for-file-backed-fake-capture-device";
44 // This function parses the ASCII string in |header| as belonging to a Y4M file,
108 // Reads and parses the header of a Y4M |file|, returning the collected pixel
113 const base::PlatformFile& file,
116 base::ReadPlatformFile(file, 0, &header[0], kY4MHeaderMaxSize - 1);
125 // Opens a given file for reading, and returns the file to the caller, who is
129 base::PlatformFile file = base::CreatePlatformFile( local
135 return file;
163 base::PlatformFile file = OpenFileForRead(GetFilePathFromCommandLine()); local
    [all...]
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
mount_fuse_test.cc 3 // found in the LICENSE file.
32 struct File {
37 typedef std::vector<File> Files;
53 File* FindFile(const char* path) {
73 File* file = FindFile(path); local
74 if (file == NULL)
78 stbuf->st_size = file->data.size();
99 File* file = FindFile(path)
121 File* file = FindFile(path); local
139 File* file = FindFile(path); local
    [all...]
mount_node_test.cc 3 // found in the LICENSE file.
64 TEST(MountNodeTest, File) {
65 MockNode file; local
70 EXPECT_EQ(0, file.Init(0));
73 EXPECT_EQ(0, file.GetLinks());
74 EXPECT_EQ(S_IRALL | S_IWALL, file.GetMode());
75 EXPECT_EQ(S_IFREG, file.GetType());
76 EXPECT_FALSE(file.IsaDir());
77 EXPECT_TRUE(file.IsaFile());
78 EXPECT_FALSE(file.IsaTTY())
118 MockNode file; local
    [all...]
mount_test.cc 3 // found in the LICENSE file.
39 ScopedMountNode file; local
50 // Fail to open non existent file
56 // Create a file
57 EXPECT_EQ(0, mnt.Open(Path("/foo"), O_RDWR | O_CREAT, &file));
58 ASSERT_NE(NULL_NODE, file.get());
60 // We now have a directory and a file. The file has a two references
63 EXPECT_EQ(2, file->RefCount());
73 // Open the root directory, should not create a new file
167 ScopedMountNode file; local
188 ScopedMountNode file; local
215 ScopedMountNode file; local
    [all...]
  /external/chromium_org/net/android/javatests/src/org/chromium/net/
X509UtilTest.java 3 // found in the LICENSE file.
58 RandomAccessFile file = new RandomAccessFile(pathname, "r"); local
59 byte[] bytes = new byte[(int) file.length()];
60 int bytesRead = file.read(bytes);
  /external/chromium_org/net/base/
directory_lister_unittest.cc 3 // found in the LICENSE file.
113 base::PlatformFile file = base::CreatePlatformFile( variable
118 ASSERT_NE(base::kInvalidPlatformFileValue, file);
119 ASSERT_TRUE(base::ClosePlatformFile(file));
  /external/chromium_org/net/disk_cache/
file_ios.cc 3 // found in the LICENSE file.
5 #include "net/disk_cache/file.h"
26 FileBackgroundIO(disk_cache::File* file, const void* buf, size_t buf_len,
29 : disk_cache::BackgroundIO(controller), callback_(callback), file_(file),
37 disk_cache::File* file() { function in class:__anon8992::FileBackgroundIO
54 disk_cache::File* file_;
70 // semantics of the File asynchronous operations, with the exception that the
72 void PostRead(disk_cache::File* file, void* buf, size_t buf_len
    [all...]
file_win.cc 3 // found in the LICENSE file.
5 #include "net/disk_cache/file.h"
17 MyOverlapped(disk_cache::File* file, size_t offset,
25 scoped_refptr<disk_cache::File> file_;
59 MyOverlapped::MyOverlapped(disk_cache::File* file, size_t offset,
64 file_ = file;
72 File::File(base::PlatformFile file
241 HANDLE file = platform_file(); local
251 HANDLE file = platform_file(); local
    [all...]
  /external/chromium_org/net/disk_cache/v3/
backend_worker.cc 3 // found in the LICENSE file.
28 #include "net/disk_cache/file.h"
30 // This has to be defined before including histogram_macros.h from this file.
290 File::WaitForPendingIO(&num_pending_io_);
293 File::DropPendingIO();
313 // We just created a new file so we're going to write the header and set the
314 // file length to include the hash table (zero filled).
315 bool BackendImpl::CreateBackingStore(disk_cache::File* file) {
321 // We need file version 2.1 for the new eviction algorithm
468 MappedFile* file = File(address); local
    [all...]

Completed in 620 milliseconds

<<21222324252627282930>>