Searched refs:PlatformFile (Results 1 - 25 of 85) sorted by relevance

1234

/external/chromium_org/third_party/webrtc/base/
H A Dplatform_file.h23 typedef HANDLE PlatformFile; typedef in namespace:rtc
25 typedef int PlatformFile;
30 extern const PlatformFile kInvalidPlatformFileValue;
32 // Associates a standard FILE stream with an existing PlatformFile.
34 // the PlatformFile should no longer be used.
35 FILE* FdopenPlatformFileForWriting(PlatformFile file);
37 // Closes a PlatformFile.
40 bool ClosePlatformFile(PlatformFile file);
H A Dplatform_file.cc22 const PlatformFile kInvalidPlatformFileValue = INVALID_HANDLE_VALUE;
24 FILE* FdopenPlatformFileForWriting(PlatformFile file) {
34 bool ClosePlatformFile(PlatformFile file) {
38 const PlatformFile kInvalidPlatformFileValue = -1;
40 FILE* FdopenPlatformFileForWriting(PlatformFile file) {
44 bool ClosePlatformFile(PlatformFile file) {
/external/chromium_org/ppapi/shared_impl/
H A Dplatform_file.h14 PPAPI_SHARED_EXPORT base::PlatformFile IntToPlatformFile(int32_t handle);
15 PPAPI_SHARED_EXPORT int32_t PlatformFileToInt(base::PlatformFile handle);
H A Dplatform_file.cc11 base::PlatformFile IntToPlatformFile(int32_t handle) {
21 int32_t PlatformFileToInt(base::PlatformFile handle) {
/external/chromium_org/ipc/
H A Dfile_descriptor_set_posix.h40 bool AddToBorrow(base::PlatformFile fd);
62 base::PlatformFile TakeDescriptorAt(unsigned n);
73 void PeekDescriptors(base::PlatformFile* buffer) const;
83 void ReleaseFDsToClose(std::vector<base::PlatformFile>* fds);
94 void AddDescriptorsToOwn(const base::PlatformFile* buffer, unsigned count);
107 std::vector<base::PlatformFile> descriptors_;
H A Dipc_platform_file.h20 typedef base::PlatformFile PlatformFileForTransit;
33 inline base::PlatformFile PlatformFileForTransitToPlatformFile(
53 base::PlatformFile file,
H A Dfile_descriptor_set_posix.cc34 bool FileDescriptorSet::AddToBorrow(base::PlatformFile fd) {
60 base::PlatformFile FileDescriptorSet::TakeDescriptorAt(unsigned index) {
97 base::PlatformFile file = descriptors_[index];
116 void FileDescriptorSet::PeekDescriptors(base::PlatformFile* buffer) const {
123 for (std::vector<base::PlatformFile>::const_iterator i = descriptors_.begin();
140 std::vector<base::PlatformFile>* fds) {
150 void FileDescriptorSet::AddDescriptorsToOwn(const base::PlatformFile* buffer,
H A Dipc_platform_file.cc13 PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile handle,
H A Dipc_message.cc133 bool Message::WriteBorrowingFile(const base::PlatformFile& descriptor) {
149 base::PlatformFile file =
/external/chromium_org/content/common/
H A Dsandbox_util.h20 base::PlatformFile handle,
H A Dsandbox_util.cc16 base::PlatformFile handle,
/external/chromium_org/content/child/mojo/
H A Dmojo_application.cc31 base::PlatformFile handle = file.fd;
33 base::PlatformFile handle = file;
/external/chromium_org/remoting/host/setup/
H A Dtest_util.cc18 base::PlatformFile read_handle;
19 base::PlatformFile write_handle;
/external/chromium_org/base/files/
H A Dfile.h34 typedef HANDLE PlatformFile; typedef in namespace:base
36 typedef int PlatformFile; typedef in namespace:base
165 explicit File(PlatformFile platform_file);
199 PlatformFile GetPlatformFile() const;
200 PlatformFile TakePlatformFile();
298 void SetPlatformFile(PlatformFile file);
H A Dfile_posix.cc47 static bool IsOpenAppend(PlatformFile file) {
51 static int CallFtruncate(PlatformFile file, int64 length) {
55 static int CallFsync(PlatformFile file) {
59 static int CallFutimes(PlatformFile file, const struct timeval times[2]) {
76 static File::Error CallFctnlFlock(PlatformFile file, bool do_lock) {
88 static bool IsOpenAppend(PlatformFile file) {
95 static int CallFtruncate(PlatformFile file, int64 length) {
100 static int CallFsync(PlatformFile file) {
105 static int CallFutimes(PlatformFile file, const struct timeval times[2]) {
110 static File::Error CallFctnlFlock(PlatformFile fil
[all...]
/external/chromium_org/chromeos/dbus/
H A Dfake_lorgnette_manager_client.h26 base::PlatformFile file,
H A Dfake_lorgnette_manager_client.cc33 base::PlatformFile file,
H A Dlorgnette_manager_client.h50 base::PlatformFile file,
/external/chromium_org/content/renderer/pepper/
H A Dpepper_proxy_channel_delegate_impl.cc27 base::PlatformFile handle,
H A Dpepper_proxy_channel_delegate_impl.h22 base::PlatformFile handle,
/external/chromium_org/mojo/embedder/
H A Dchannel_init.h36 base::PlatformFile file,
H A Dchannel_init.cc23 base::PlatformFile file,
/external/chromium_org/ppapi/tests/
H A Dtest_broker.cc42 typedef HANDLE PlatformFile; typedef in namespace:__anon10191
43 const PlatformFile kInvalidPlatformFileValue = INVALID_HANDLE_VALUE;
47 typedef int PlatformFile; typedef in namespace:__anon10191
48 const PlatformFile kInvalidPlatformFileValue = -1;
52 PlatformFile IntToPlatformFile(int32_t handle) {
83 bool ReadMessage(PlatformFile file, size_t message_len, char* message) {
104 bool WriteMessage(PlatformFile file, size_t message_len, const char* message) {
125 bool VerifyMessage(PlatformFile file, size_t message_len, const char* message) {
133 bool ClosePlatformFile(PlatformFile file) {
174 PlatformFile fil
[all...]
/external/chromium_org/content/browser/mojo/
H A Dmojo_application_host.cc15 base::PlatformFile PlatformFileFromScopedPlatformHandle(
55 base::PlatformFile client_file =
/external/chromium_org/ppapi/proxy/
H A Dproxy_channel.h49 base::PlatformFile handle,
69 base::PlatformFile handle,

Completed in 403 milliseconds

1234