Home
last modified time | relevance | path

Searched refs:PlatformFile (Results 1 – 25 of 30) sorted by relevance

12

/external/libchrome/ipc/
Dipc_platform_file_attachment_posix.h22 explicit PlatformFileAttachment(base::PlatformFile file);
27 base::PlatformFile TakePlatformFile();
29 base::PlatformFile file() const { return file_; } in file()
35 base::PlatformFile file_;
39 base::PlatformFile GetPlatformFile(scoped_refptr<MessageAttachment> attachment);
Dipc_platform_file_attachment_posix.cc12 PlatformFileAttachment::PlatformFileAttachment(base::PlatformFile file) in PlatformFileAttachment()
25 base::PlatformFile PlatformFileAttachment::TakePlatformFile() { in TakePlatformFile()
30 base::PlatformFile GetPlatformFile( in GetPlatformFile()
Dipc_message_attachment.cc121 base::PlatformFile file = base::kInvalidPlatformFile; in CreateFromMojoHandle()
123 file = static_cast<base::PlatformFile>(platform_handle.value); in CreateFromMojoHandle()
145 base::PlatformFile handle = base::kInvalidPlatformFile; in CreateFromMojoHandle()
147 handle = reinterpret_cast<base::PlatformFile>(platform_handle.value); in CreateFromMojoHandle()
Dipc_platform_file.h55 inline base::PlatformFile PlatformFileForTransitToPlatformFile( in PlatformFileForTransitToPlatformFile()
76 GetPlatformFileForTransit(base::PlatformFile file, bool close_source_handle);
Dipc_platform_file.cc44 PlatformFileForTransit GetPlatformFileForTransit(base::PlatformFile handle, in GetPlatformFileForTransit()
/external/libchrome/mojo/public/cpp/platform/
Dsocket_utils_posix.h28 ssize_t SocketWrite(base::PlatformFile socket,
34 ssize_t SocketWritev(base::PlatformFile socket,
49 ssize_t SendmsgWithHandles(base::PlatformFile socket,
56 ssize_t SocketRecvmsg(base::PlatformFile socket,
74 bool AcceptSocketConnection(base::PlatformFile server_fd,
Dsocket_utils_posix.cc30 bool GetPeerEuid(base::PlatformFile fd, uid_t* peer_euid) { in GetPeerEuid()
56 bool IsPeerAuthorized(base::PlatformFile fd) { in IsPeerAuthorized()
80 ssize_t SocketWrite(base::PlatformFile socket, in SocketWrite()
90 ssize_t SocketWritev(base::PlatformFile socket, in SocketWritev()
103 ssize_t SendmsgWithHandles(base::PlatformFile socket, in SendmsgWithHandles()
129 ssize_t SocketRecvmsg(base::PlatformFile socket, in SocketRecvmsg()
170 bool AcceptSocketConnection(base::PlatformFile server_fd, in AcceptSocketConnection()
/external/libchrome/base/files/
Dplatform_file.h24 using PlatformFile = HANDLE; variable
30 const PlatformFile kInvalidPlatformFile = INVALID_HANDLE_VALUE;
34 using PlatformFile = int;
37 constexpr PlatformFile kInvalidPlatformFile = -1;
Dfile_posix.cc49 bool IsOpenAppend(PlatformFile file) { in IsOpenAppend()
53 int CallFtruncate(PlatformFile file, int64_t length) { in CallFtruncate()
57 int CallFutimes(PlatformFile file, const struct timeval times[2]) { in CallFutimes()
75 File::Error CallFcntlFlock(PlatformFile file, bool do_lock) { in CallFcntlFlock()
89 bool IsOpenAppend(PlatformFile file) { in IsOpenAppend()
96 int CallFtruncate(PlatformFile file, int64_t length) { in CallFtruncate()
101 int CallFutimes(PlatformFile file, const struct timeval times[2]) { in CallFutimes()
106 File::Error CallFcntlFlock(PlatformFile file, bool do_lock) { in CallFcntlFlock()
169 PlatformFile File::GetPlatformFile() const { in GetPlatformFile()
173 PlatformFile File::TakePlatformFile() { in TakePlatformFile()
[all …]
Dfile.h157 explicit File(PlatformFile platform_file);
162 File(PlatformFile platform_file, bool async);
193 PlatformFile GetPlatformFile() const;
194 PlatformFile TakePlatformFile();
361 void SetPlatformFile(PlatformFile file);
Dfile.cc39 File::File(PlatformFile platform_file) : File(platform_file, false) {} in File()
41 File::File(PlatformFile platform_file, bool async) in File()
Dfile_proxy.h94 PlatformFile GetPlatformFile() const;
/external/libchrome/base/i18n/
Dicu_util.h30 BASE_I18N_EXPORT PlatformFile GetIcuDataFileHandle(
36 PlatformFile data_fd,
Dicu_util.cc86 PlatformFile g_icudtl_pf = kInvalidPlatformFile;
163 PlatformFile data_fd, in InitializeICUWithFileDescriptorInternal()
216 PlatformFile data_fd, in InitializeICUWithFileDescriptor()
225 PlatformFile GetIcuDataFileHandle(MemoryMappedFile::Region* out_region) { in GetIcuDataFileHandle()
/external/libchrome/mojo/core/
Dplatform_wrapper_unittest.cc41 uint64_t PlatformHandleValueFromPlatformFile(base::PlatformFile file) { in PlatformHandleValueFromPlatformFile()
49 base::PlatformFile PlatformFileFromPlatformHandleValue(uint64_t value) { in PlatformFileFromPlatformHandleValue()
51 return reinterpret_cast<base::PlatformFile>(value); in PlatformFileFromPlatformHandleValue()
53 return static_cast<base::PlatformFile>(value); in PlatformFileFromPlatformHandleValue()
/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.h90 ScopedHandle WrapPlatformFile(base::PlatformFile platform_file);
94 MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* file);
Dplatform_handle.cc20 uint64_t PlatformHandleValueFromPlatformFile(base::PlatformFile file) { in PlatformHandleValueFromPlatformFile()
28 base::PlatformFile PlatformFileFromPlatformHandleValue(uint64_t value) { in PlatformFileFromPlatformHandleValue()
30 return reinterpret_cast<base::PlatformFile>(value); in PlatformFileFromPlatformHandleValue()
32 return static_cast<base::PlatformFile>(value); in PlatformFileFromPlatformHandleValue()
205 ScopedHandle WrapPlatformFile(base::PlatformFile platform_file) { in WrapPlatformFile()
219 MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* file) { in UnwrapPlatformFile()
/external/libchrome/mojo/public/cpp/base/
Dfile_mojom_traits.cc21 base::PlatformFile platform_handle = base::kInvalidPlatformFile; in Read()
/external/angle/third_party/zlib/google/
Dzip.h185 bool UnzipWithFilterAndWriters(const base::PlatformFile& zip_file,
Dzip_reader.h132 bool OpenFromPlatformFile(base::PlatformFile zip_fd);
Dzip.cc192 bool UnzipWithFilterAndWriters(const base::PlatformFile& src_file, in UnzipWithFilterAndWriters()
/external/zlib/google/
Dzip_reader.h132 bool OpenFromPlatformFile(base::PlatformFile zip_fd);
Dzip.h170 bool UnzipWithFilterAndWriters(const base::PlatformFile& zip_file,
Dzip.cc196 bool UnzipWithFilterAndWriters(const base::PlatformFile& src_file, in UnzipWithFilterAndWriters()
Dzip_reader.cc157 bool ZipReader::OpenFromPlatformFile(base::PlatformFile zip_fd) { in OpenFromPlatformFile()

12