Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/base/
Dplatform_file.cc22 const PlatformFile kInvalidPlatformFileValue = INVALID_HANDLE_VALUE;
24 FILE* FdopenPlatformFileForWriting(PlatformFile file) { in FdopenPlatformFileForWriting()
34 bool ClosePlatformFile(PlatformFile file) { in ClosePlatformFile()
38 const PlatformFile kInvalidPlatformFileValue = -1;
40 FILE* FdopenPlatformFileForWriting(PlatformFile file) {
44 bool ClosePlatformFile(PlatformFile file) {
Dplatform_file.h23 typedef HANDLE PlatformFile; typedef
25 typedef int PlatformFile;
30 extern const PlatformFile kInvalidPlatformFileValue;
35 FILE* FdopenPlatformFileForWriting(PlatformFile file);
40 bool ClosePlatformFile(PlatformFile file);
/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()
/external/webrtc/talk/media/base/
Dmediaengine.h106 virtual bool StartAecDump(rtc::PlatformFile file) = 0;
112 virtual bool StartRtcEventLog(rtc::PlatformFile file) = 0;
188 virtual bool StartAecDump(rtc::PlatformFile file) { in StartAecDump()
196 virtual bool StartRtcEventLog(rtc::PlatformFile file) { in StartRtcEventLog()
/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.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()
Dplatform_handle.h90 ScopedHandle WrapPlatformFile(base::PlatformFile platform_file);
94 MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* file);
/external/webrtc/talk/app/webrtc/
Dpeerconnectionfactoryproxy.h65 PROXY_METHOD1(bool, StartAecDump, rtc::PlatformFile) in PROXY_METHOD1()
67 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile) in PROXY_METHOD1()
Dpeerconnectionfactory.h85 bool StartAecDump(rtc::PlatformFile file) override;
87 bool StartRtcEventLog(rtc::PlatformFile file) override;
Dpeerconnectionfactory.cc228 bool PeerConnectionFactory::StartAecDump(rtc::PlatformFile file) { in StartAecDump()
238 bool PeerConnectionFactory::StartRtcEventLog(rtc::PlatformFile file) { in StartRtcEventLog()
/external/webrtc/talk/session/media/
Dchannelmanager.h166 bool StartAecDump(rtc::PlatformFile file);
172 bool StartRtcEventLog(rtc::PlatformFile file);
/external/webrtc/webrtc/call/
Drtc_event_log.cc44 bool StartLogging(rtc::PlatformFile log_file) override { return false; } in StartLogging()
72 bool StartLogging(rtc::PlatformFile log_file) override;
110 rtc::PlatformFile platform_file_ GUARDED_BY(crit_) =
204 bool RtcEventLogImpl::StartLogging(rtc::PlatformFile log_file) {
Drtc_event_log.h52 virtual bool StartLogging(rtc::PlatformFile log_file) = 0;
/external/libchrome/mojo/public/cpp/base/
Dfile_mojom_traits.cc21 base::PlatformFile platform_handle = base::kInvalidPlatformFile; in Read()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.h98 bool StartAecDump(rtc::PlatformFile file);
105 bool StartRtcEventLog(rtc::PlatformFile file);

12