Home
last modified time | relevance | path

Searched refs:ssize_t (Results 1 – 25 of 172) sorted by relevance

1234567

/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/Device/
DIIO.h30 typedef ssize_t (EFIAPI *cIIO_Read) (struct __filedes *filp, size_t BufferSize, VOID *Buffer);
32 typedef ssize_t (EFIAPI *cIIO_Write) (struct __filedes *filp, const char *buf, ssize_t n);
34 typedef ssize_t (EFIAPI *cIIO_Echo) (struct __filedes *filp, wchar_t EChar, BOOLEAN EchoIsOK);
75 ssize_t IIO_CanonRead (struct __filedes *filp);
76 ssize_t IIO_NonCanonRead (struct __filedes *filp);
77 ssize_t IIO_WriteOne (struct __filedes *filp, cFIFO *Buf, wchar_t InCh);
78 ssize_t IIO_EchoOne (struct __filedes *filp, wchar_t InCh, BOOLEAN EchoIsOK);
/device/google/cuttlefish_common/common/libs/fs/
Dshared_fd.h332 ssize_t Pread(void* buf, size_t count, off_t offset) { in Pread()
334 ssize_t rval = TEMP_FAILURE_RETRY(pread(fd_, buf, count, offset)); in Pread()
339 ssize_t Recv(void* buf, size_t len, int flags) { in Recv()
341 ssize_t rval = TEMP_FAILURE_RETRY(recv(fd_, buf, len, flags)); in Recv()
346 ssize_t RecvFrom(void* buf, size_t len, int flags, struct sockaddr* src_addr, in RecvFrom()
349 ssize_t rval = in RecvFrom()
355 ssize_t RecvMsg(struct msghdr* msg, int flags) { in RecvMsg()
357 ssize_t rval = TEMP_FAILURE_RETRY(recvmsg(fd_, msg, flags)); in RecvMsg()
363 ssize_t RecvMsgAndFDs(const struct InbandMessageHeader& msg_in, int flags, in RecvMsgAndFDs()
384 ssize_t rval = RecvMsg(&msg, flags); in RecvMsgAndFDs()
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Duio.h53 typedef _BSD_SSIZE_T_ ssize_t; typedef
114 ssize_t preadv(int, const struct iovec *, int, off_t);
115 ssize_t pwritev(int, const struct iovec *, int, off_t);
117 ssize_t readv(int, const struct iovec *, int);
118 ssize_t writev(int, const struct iovec *, int);
Dsocket.h96 typedef _BSD_SSIZE_T_ ssize_t; typedef
551 ssize_t recv(int, void *, size_t, int);
552 ssize_t recvfrom(int, void * __restrict, size_t, int,
554 ssize_t recvmsg(int, struct msghdr *, int);
555 ssize_t send(int, const void *, size_t, int);
556 ssize_t sendto(int, const void *,
558 ssize_t sendmsg(int, const struct msghdr *, int);
/device/generic/goldfish-opengl/system/vulkan_enc/
DVulkanStreamGuest.h43 ssize_t read(void *buffer, size_t size) override;
44 ssize_t write(const void *buffer, size_t size) override;
64 ssize_t read(void *buffer, size_t size) override;
65 ssize_t write(const void *buffer, size_t size) override;
DVulkanStreamGuest.cpp45 ssize_t write(const void *buffer, size_t size) override { in write()
51 ssize_t read(void *buffer, size_t size) override { in read()
94 ssize_t bufferedWrite(const void *buffer, size_t size) { in bufferedWrite()
153 ssize_t VulkanStreamGuest::read(void *buffer, size_t size) { in read()
157 ssize_t VulkanStreamGuest::write(const void *buffer, size_t size) { in write()
184 ssize_t VulkanCountingStream::read(void*, size_t size) { in read()
189 ssize_t VulkanCountingStream::write(const void*, size_t size) { in write()
/device/google/cuttlefish_common/common/libs/tcp_socket/
Dtcp_socket.cpp50 ssize_t total_read = 0; in Recv()
51 while (total_read < static_cast<ssize_t>(length)) { in Recv()
65 CHECK(total_read == static_cast<ssize_t>(length)); in Recv()
69 ssize_t ClientSocket::SendNoSignal(const uint8_t* data, std::size_t size) { in SendNoSignal()
71 ssize_t written{}; in SendNoSignal()
72 while (written < static_cast<ssize_t>(size)) { in SendNoSignal()
90 ssize_t ClientSocket::SendNoSignal(const Message& message) { in SendNoSignal()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/InteractiveIO/
DIIO.c63 ssize_t
72 ssize_t NumRead; in IIO_Read()
140 ssize_t
145 ssize_t N in IIO_Write()
152 ssize_t NumConsumed; in IIO_Write()
153 ssize_t NumProc; in IIO_Write()
223 …NumProc = (ssize_t)EstimateWtoM((const wchar_t *)gMD->UString, UNICODE_STRING_MAX * sizeof(wchar_t… in IIO_Write()
261 ssize_t
270 ssize_t NumWritten; in IIO_Echo()
273 ssize_t NumProc; in IIO_Echo()
[all …]
DNonCanonRead.c32 ssize_t
40 ssize_t NumRead; in IIO_NonCanonRead()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
Dqemu_pipe.h30 ssize_t qemu_pipe_read(QEMU_PIPE_HANDLE pipe, void* buffer, size_t len);
31 ssize_t qemu_pipe_write(QEMU_PIPE_HANDLE pipe, const void* buffer, size_t len);
83 ssize_t n = TEMP_FAILURE_RETRY(write(fd, p, remaining)); in WriteFully()
150 static __inline__ ssize_t
155 static __inline__ ssize_t
Dqemu_pipe_host.cpp34 ssize_t qemu_pipe_read(QEMU_PIPE_HANDLE pipe, void* buffer, size_t len) { in qemu_pipe_read()
38 ssize_t qemu_pipe_write(QEMU_PIPE_HANDLE pipe, const void* buffer, size_t len) { in qemu_pipe_write()
/device/google/contexthub/sensorhal/
Dhubconnection.h81 ssize_t read(sensors_event_t *ev, size_t size);
82 ssize_t write(const sensors_event_t *ev, size_t n);
106 ssize_t decrementIfWakeEventLocked(int32_t sensor);
269 void postOsLog(uint8_t *buf, ssize_t len);
270 void processAppData(uint8_t *buf, ssize_t len);
271 ssize_t processBuf(uint8_t *buf, size_t len);
279 ssize_t sendCmd(const void *buf, size_t count);
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Drecv.c43 ssize_t
51 ssize_t BytesRead; in recv()
Dwrite.c30 ssize_t
39 ssize_t BytesWritten; in BslSocketWrite()
Dread.c35 ssize_t
44 ssize_t BytesRead; in BslSocketRead()
Drecvfrom.c47 ssize_t
58 ssize_t LengthInBytes; in recvfrom()
65 ssize_t TotalBytes; in recvfrom()
DSocketInternals.h156 ssize_t
177 ssize_t
Dsendto.c47 ssize_t
58 ssize_t LengthInBytes; in sendto()
/device/google/cuttlefish_common/host/vsoc/lib/
Dregion_control.cpp66 ssize_t rval = outgoing_interrupt_fd_->Write(&one, sizeof(one)); in InterruptPeer()
77 ssize_t rval = incoming_interrupt_fd_->Write(&one, sizeof(one)); in InterruptSelf()
95 ssize_t rval = incoming_interrupt_fd_->Read(&missed, sizeof(missed)); in WaitForInterrupt()
153 ssize_t rval = shared_memory_fd_->Pread(&layout, sizeof(layout), 0); in InitializeRegion()
165 ssize_t wanted = sizeof(vsoc_device_region) * layout.region_count; in InitializeRegion()
204 ssize_t bytes = region_server->Recv(&protocol_version, in Open()
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dmultibyte_Utf8.c193 ssize_t Len, // Max Number of bytes to convert in DecodeOneStateful()
253 ssize_t NumBytes; in OneWcToMcLen()
303 ssize_t Estimate; in EstimateWtoM()
305 ssize_t NumBytes; in EstimateWtoM()
386 ssize_t
561 RetVal = DecodeOneStateful(pwc, s, (ssize_t)n, ps); in mbrtowc()
901 ssize_t MaxBytes; in wcsrtombs()
906 MaxBytes = (ssize_t)Limit; in wcsrtombs()
/device/google/contexthub/util/common/
Dfile.h38 ssize_t read(void *data, size_t size);
39 ssize_t write(const void *data, size_t size);
Dring.h32 ssize_t write(const sensors_event_t *ev, size_t size);
33 ssize_t read(sensors_event_t *ev, size_t size);
/device/google/fuchsia/bioniccompat/include/compat/
Dfcntl.h31 ssize_t splice(int fd_in, long *off_in, int fd_out, in splice()
36 ssize_t splice(int fd_in __UNUSED, loff_t *off_in __UNUSED, int fd_out __UNUSED, in splice()
/device/google/fuchsia/bioniccompat/include/sys/
Dxattr.h34 inline ssize_t getxattr(const char* path __UNUSED, const char* name __UNUSED, void* value __UNUSED,… in getxattr()
39 inline ssize_t listxattr(const char *path __UNUSED, char *list __UNUSED, size_t size __UNUSED) { in listxattr()
/device/generic/goldfish-opengl/android-emu/android/base/files/
DMemStream.h38 ssize_t read(void* buffer, size_t size) override;
39 ssize_t write(const void* buffer, size_t size) override;

1234567