Searched refs:GetPlatformFile (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/base/files/
H A Dmemory_mapped_file_posix.cc30 DPLOG(ERROR) << "fstat " << file_.GetPlatformFile();
67 file_.GetPlatformFile(),
70 DPLOG(ERROR) << "mmap " << file_.GetPlatformFile();
H A Dfile_proxy.h94 PlatformFile GetPlatformFile() const;
H A Dmemory_mapped_file_win.cc30 file_mapping_.Set(::CreateFileMapping(file_.GetPlatformFile(), NULL,
H A Dfile.h199 PlatformFile GetPlatformFile() const;
H A Dfile_proxy.cc277 PlatformFile FileProxy::GetPlatformFile() const { function in class:base::FileProxy
278 return file_.GetPlatformFile();
H A Dfile_win.cc104 PlatformFile File::GetPlatformFile() const { function in class:base::File
/external/chromium_org/chrome/browser/extensions/api/serial/
H A Dserial_connection_posix.cc119 tcgetattr(file_.GetPlatformFile(), &config);
128 if (!SetCustomBitrate(file_.GetPlatformFile(), &config,
180 return tcsetattr(file_.GetPlatformFile(), TCSANOW, &config) == 0;
185 tcgetattr(file_.GetPlatformFile(), &config);
197 return tcsetattr(file_.GetPlatformFile(), TCSANOW, &config) == 0;
201 return tcflush(file_.GetPlatformFile(), TCIOFLUSH) == 0;
207 if (ioctl(file_.GetPlatformFile(), TIOCMGET, &status) == -1) {
222 if (ioctl(file_.GetPlatformFile(), TIOCMGET, &status) == -1) {
242 return ioctl(file_.GetPlatformFile(), TIOCMSET, &status) == 0;
247 if (tcgetattr(file_.GetPlatformFile(),
[all...]
H A Dserial_connection_win.cc137 if (!GetCommState(file_.GetPlatformFile(), &config)) {
157 return SetCommState(file_.GetPlatformFile(), &config) != 0;
167 if (!::SetCommTimeouts(file_.GetPlatformFile(), &timeouts)) {
173 if (!GetCommState(file_.GetPlatformFile(), &config)) {
187 return SetCommState(file_.GetPlatformFile(), &config) != 0;
191 return PurgeComm(file_.GetPlatformFile(), PURGE_RXCLEAR | PURGE_TXCLEAR) != 0;
197 if (!GetCommModemStatus(file_.GetPlatformFile(), &status)) {
210 if (!EscapeCommFunction(file_.GetPlatformFile(),
216 if (!EscapeCommFunction(file_.GetPlatformFile(),
227 if (!GetCommState(file_.GetPlatformFile(),
[all...]
H A Dserial_connection.cc198 file_.GetPlatformFile(),
/external/chromium_org/device/hid/
H A Dhid_connection_linux.cc73 if (fcntl(device_file.GetPlatformFile(), F_SETFL,
74 fcntl(device_file.GetPlatformFile(), F_GETFL) | O_NONBLOCK)) {
81 device_file_.GetPlatformFile(),
97 DCHECK_EQ(fd, device_file_.GetPlatformFile());
101 HANDLE_EINTR(read(device_file_.GetPlatformFile(), buffer, 1024));
148 write(device_file_.GetPlatformFile(), buffer->data(), buffer->size()));
170 int result = ioctl(device_file_.GetPlatformFile(),
186 int result = ioctl(device_file_.GetPlatformFile(),
H A Dhid_service_linux.cc131 int res = ioctl(device_file.GetPlatformFile(), HIDIOCGRDESCSIZE, &desc_size);
141 res = ioctl(device_file.GetPlatformFile(), HIDIOCGRDESC, &rpt_desc);
/external/chromium_org/net/base/
H A Dfile_stream_context_win.cc73 if (!ReadFile(file_.GetPlatformFile(), buf->data(), buf_len,
94 if (!WriteFile(file_.GetPlatformFile(), buf->data(), buf_len,
110 base::MessageLoopForIO::current()->RegisterIOHandler(file_.GetPlatformFile(),
119 if (SetFilePointerEx(file_.GetPlatformFile(), distance, &res, move_method)) {
128 if (FlushFileBuffers(file_.GetPlatformFile()))
H A Dfile_stream_context_posix.cc105 off_t res = lseek(file_.GetPlatformFile(), static_cast<off_t>(offset),
114 ssize_t res = HANDLE_EINTR(fsync(file_.GetPlatformFile()));
125 ssize_t res = HANDLE_EINTR(read(file_.GetPlatformFile(), buf->data(),
136 ssize_t res = HANDLE_EINTR(write(file_.GetPlatformFile(), buf->data(),
H A Dfile_stream_context.cc81 CancelIo(file_.GetPlatformFile());
/external/chromium_org/remoting/host/native_messaging/
H A Dnative_messaging_channel.cc30 PLOG(ERROR) << "Failed to duplicate handle " << file.GetPlatformFile();
35 result = dup(file.GetPlatformFile());
/external/chromium_org/remoting/host/linux/
H A Daudio_pipe_reader.cc74 DCHECK_EQ(fd, pipe_.GetPlatformFile());
120 if (fstat(pipe_.GetPlatformFile(), &old_stat) == 0 &&
121 fstat(new_pipe.GetPlatformFile(), &new_stat) == 0 &&
134 if (HANDLE_EINTR(fcntl(pipe_.GetPlatformFile(), F_SETFL, O_NONBLOCK)) < 0) {
142 pipe_.GetPlatformFile(), F_SETPIPE_SZ, kPipeBufferSizeBytes)) < 0) {
217 pipe_.GetPlatformFile(), false, base::MessageLoopForIO::WATCH_READ,
/external/chromium_org/net/disk_cache/blockfile/
H A Dfile_win.cc93 base_file_.GetPlatformFile(), g_completion_handler.Pointer());
151 if (!ReadFile(base_file_.GetPlatformFile(), buffer, size, &actual,
185 return base_file_.IsValid() ? base_file_.GetPlatformFile() :
186 sync_base_file_.GetPlatformFile();
201 if (!WriteFile(base_file_.GetPlatformFile(), buffer, size, &actual,
H A Dfile_posix.cc162 return base_file_.GetPlatformFile();
H A Dfile_ios.cc281 return base_file_.GetPlatformFile();
/external/chromium_org/ppapi/proxy/
H A Dfile_mapping_resource_posix.cc66 file_holder->file()->GetPlatformFile(),
/external/chromium_org/courgette/
H A Dmemory_allocator.cc99 !mapping_.Create(file_.GetPlatformFile(), size)) {
/external/chromium_org/content/browser/download/
H A Dmhtml_generation_manager.cc126 IPC::GetFileHandleForProcess(browser_file.GetPlatformFile(),
149 IPC::GetFileHandleForProcess(browser_file.GetPlatformFile(),
/external/chromium_org/chrome/utility/image_writer/
H A Dimage_writer_win.cc81 device_file_.GetPlatformFile(),
/external/chromium_org/components/nacl/browser/
H A Dnacl_host_message_filter.cc211 fd = IPC::GetFileHandleForProcess(file.GetPlatformFile(), PeerHandle(),
/external/chromium_org/remoting/host/win/
H A Dunprivileged_process_delegate.cc290 "%d", reinterpret_cast<ULONG_PTR>(client.GetPlatformFile()));

Completed in 760 milliseconds

12