Home
last modified time | relevance | path

Searched refs:PlatformFile (Results 1 – 25 of 31) 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/base/files/
Dfile.h32 using PlatformFile = HANDLE; variable
34 const PlatformFile kInvalidPlatformFile = INVALID_HANDLE_VALUE;
36 using PlatformFile = int;
38 const PlatformFile kInvalidPlatformFile = -1;
166 explicit File(PlatformFile platform_file);
176 static File CreateForAsyncHandle(PlatformFile platform_file);
200 PlatformFile GetPlatformFile() const;
201 PlatformFile TakePlatformFile();
317 void SetPlatformFile(PlatformFile file);
Dfile_posix.cc48 bool IsOpenAppend(PlatformFile file) { in IsOpenAppend()
52 int CallFtruncate(PlatformFile file, int64_t length) { in CallFtruncate()
56 int CallFutimes(PlatformFile file, const struct timeval times[2]) { in CallFutimes()
73 File::Error CallFcntlFlock(PlatformFile file, bool do_lock) { in CallFcntlFlock()
85 bool IsOpenAppend(PlatformFile file) { in IsOpenAppend()
92 int CallFtruncate(PlatformFile file, int64_t length) { in CallFtruncate()
97 int CallFutimes(PlatformFile file, const struct timeval times[2]) { in CallFutimes()
102 File::Error CallFcntlFlock(PlatformFile file, bool do_lock) { in CallFcntlFlock()
165 PlatformFile File::GetPlatformFile() const { in GetPlatformFile()
169 PlatformFile File::TakePlatformFile() { in TakePlatformFile()
[all …]
Dfile.cc36 File::File(PlatformFile platform_file) in File()
65 File File::CreateForAsyncHandle(PlatformFile platform_file) { in CreateForAsyncHandle()
/external/libmojo/ipc/
Dipc_platform_file_attachment_posix.h21 explicit PlatformFileAttachment(base::PlatformFile file);
26 base::PlatformFile TakePlatformFile() override;
28 base::PlatformFile file() const { return file_; } in file()
34 base::PlatformFile file_;
38 base::PlatformFile GetPlatformFile(scoped_refptr<MessageAttachment> attachment);
Dipc_platform_file_attachment_posix.cc12 PlatformFileAttachment::PlatformFileAttachment(base::PlatformFile file) in PlatformFileAttachment()
26 base::PlatformFile PlatformFileAttachment::TakePlatformFile() { in TakePlatformFile()
31 base::PlatformFile GetPlatformFile( in GetPlatformFile()
Dipc_message_attachment_set.h119 void PeekDescriptors(base::PlatformFile* buffer) const;
125 void ReleaseFDsToClose(std::vector<base::PlatformFile>* fds);
135 void AddDescriptorsToOwn(const base::PlatformFile* buffer, unsigned count);
Dbrokerable_attachment.cc66 base::PlatformFile BrokerableAttachment::TakePlatformFile() { in TakePlatformFile()
68 return base::PlatformFile(); in TakePlatformFile()
Dipc_message_attachment_set.cc206 void MessageAttachmentSet::PeekDescriptors(base::PlatformFile* buffer) const { in PeekDescriptors()
223 std::vector<base::PlatformFile>* fds) { in ReleaseFDsToClose()
234 void MessageAttachmentSet::AddDescriptorsToOwn(const base::PlatformFile* buffer, in AddDescriptorsToOwn()
Dipc_mojo_handle_attachment.cc25 base::PlatformFile MojoHandleAttachment::TakePlatformFile() { in TakePlatformFile()
Dipc_message_attachment.h30 virtual base::PlatformFile TakePlatformFile() = 0;
Dipc_mojo_handle_attachment.h31 base::PlatformFile TakePlatformFile() override;
Dbrokerable_attachment.h73 base::PlatformFile TakePlatformFile() override;
/external/libmojo/mojo/public/cpp/system/
Dplatform_handle.cc11 uint64_t PlatformHandleValueFromPlatformFile(base::PlatformFile file) { in PlatformHandleValueFromPlatformFile()
19 base::PlatformFile PlatformFileFromPlatformHandleValue(uint64_t value) { in PlatformFileFromPlatformHandleValue()
21 return reinterpret_cast<base::PlatformFile>(value); in PlatformFileFromPlatformHandleValue()
23 return static_cast<base::PlatformFile>(value); in PlatformFileFromPlatformHandleValue()
29 ScopedHandle WrapPlatformFile(base::PlatformFile platform_file) { in WrapPlatformFile()
42 MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* file) { in UnwrapPlatformFile()
Dplatform_handle.h53 ScopedHandle WrapPlatformFile(base::PlatformFile platform_file);
56 MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* 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/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()
Dpeerconnectioninterface.h566 virtual bool StartAecDump(rtc::PlatformFile file) = 0;
582 virtual bool StartRtcEventLog(rtc::PlatformFile file) = 0;
/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/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.h98 bool StartAecDump(rtc::PlatformFile file);
105 bool StartRtcEventLog(rtc::PlatformFile file);

12