/external/compiler-rt/test/msan/Linux/ |
D | xattr.cc | 22 ssize_t listxattr(const char *path, char *list, size_t size); 23 ssize_t llistxattr(const char *path, char *list, size_t size); 24 ssize_t flistxattr(int fd, char *list, size_t size); 25 ssize_t getxattr(const char *path, const char *name, void *value, size_t size); 26 ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size); 27 ssize_t fgetxattr(int fd, const char *name, void *value, size_t size); 34 ssize_t listxattr_wrapper(char *buf, size_t size) { in listxattr_wrapper() 38 ssize_t llistxattr_wrapper(char *buf, size_t size) { in llistxattr_wrapper() 42 ssize_t flistxattr_wrapper(char *buf, size_t size) { in flistxattr_wrapper() 46 ssize_t getxattr_wrapper(const char *name, char *buf, size_t size) { in getxattr_wrapper() [all …]
|
/external/chromium_org/base/strings/ |
D | safe_sprintf_unittest.cc | 76 EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSNPrintf(buf, 1, text)); in TEST() 83 EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSNPrintf(buf, 2, text)); in TEST() 91 EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, in TEST() 99 EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSPrintf(buf, text)); in TEST() 140 EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, in TEST() 148 EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, in TEST() 157 EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, in TEST() 165 EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSPrintf(buf, fmt, ' ')); in TEST() 205 EXPECT_EQ(static_cast<ssize_t>(sizeof(kTestString) - 1), in TEST() 208 EXPECT_EQ(static_cast<ssize_t>(sizeof(kTestString) - 1), in TEST() [all …]
|
D | safe_sprintf.h | 28 typedef __int64 ssize_t; typedef 30 typedef long ssize_t; 208 BASE_EXPORT ssize_t SafeSNPrintf(char* buf, size_t sz, const char* fmt, 226 ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, in SafeSNPrintf() 240 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, in SafeSPrintf() 253 ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, in SafeSNPrintf() 267 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, in SafeSPrintf() 280 ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, in SafeSNPrintf() 294 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, in SafeSPrintf() 307 ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, in SafeSNPrintf() [all …]
|
/external/qemu/util/ |
D | osdep.c | 261 ssize_t qemu_write_full(int fd, const void *buf, size_t count) in qemu_write_full() 263 ssize_t ret = 0; in qemu_write_full() 264 ssize_t total = 0; in qemu_write_full() 337 ssize_t qemu_send_full(int fd, const void *buf, size_t count, int flags) in qemu_send_full() 339 ssize_t ret = 0; in qemu_send_full() 340 ssize_t total = 0; in qemu_send_full() 370 ssize_t qemu_recv_full(int fd, void *buf, size_t count, int flags) in qemu_recv_full() 372 ssize_t ret = 0; in qemu_recv_full() 373 ssize_t total = 0; in qemu_recv_full() 456 static ssize_t [all …]
|
/external/dhcpcd/ |
D | net.h | 136 ssize_t make_udp_packet(uint8_t **, const uint8_t *, size_t, 138 ssize_t get_udp_data(const uint8_t **, const uint8_t *); 142 ssize_t send_packet(const struct interface *, struct in_addr, 143 const uint8_t *, ssize_t); 144 ssize_t send_raw_packet(const struct interface *, int, 145 const void *, ssize_t); 146 ssize_t get_raw_packet(struct interface *, int, void *, ssize_t, int *);
|
/external/qemu/android/ |
D | sync-utils.h | 129 ssize_t syncsocket_read_absolute(SyncSocket* ssocket, 148 ssize_t syncsocket_read(SyncSocket* ssocket, void* buf, size_t size, int timeout); 164 ssize_t syncsocket_write_absolute(SyncSocket* ssocket, 183 ssize_t syncsocket_write(SyncSocket* ssocket, 200 ssize_t syncsocket_read_line_absolute(SyncSocket* ssocket, 217 ssize_t syncsocket_read_line(SyncSocket* ssocket,
|
/external/openfst/src/include/fst/ |
D | accumulator.h | 61 Weight Sum(Weight w, ArcIterator *aiter, ssize_t begin, in Sum() 62 ssize_t end) { in Sum() 65 for (ssize_t pos = begin; pos < end; aiter->Next(), ++pos) in Sum() 100 Weight Sum(Weight w, ArcIterator *aiter, ssize_t begin, in Sum() 101 ssize_t end) { in Sum() 104 for (ssize_t pos = begin; pos < end; aiter->Next(), ++pos) in Sum() 136 vector<ssize_t> *WeightPositions() { return &weight_positions_; } in WeightPositions() 150 vector<ssize_t> weight_positions_; 168 explicit FastLogAccumulator(ssize_t arc_limit = 20, ssize_t arc_period = 10) 189 vector<ssize_t> &weight_positions = *data_->WeightPositions(); in SetState() [all …]
|
D | label-reachable.h | 302 bool Reach(Iterator *aiter, ssize_t aiter_begin, in Reach() 303 ssize_t aiter_end, bool aiter_input, bool compute_weight) { in Reach() 325 for (ssize_t aiter_pos = aiter_begin; in Reach() 357 ssize_t begin_low, end_low = aiter_begin; in Reach() 383 ssize_t ReachBegin() const { return reach_begin_; } in ReachBegin() 386 ssize_t ReachEnd() const { return reach_end_; } in ReachEnd() 413 vector<ssize_t> indeg(ins, 0); in TransformFst() 492 ssize_t non_intervals = 0; in FindIntervals() 493 for (ssize_t s = 0; s < ins; ++s) { in FindIntervals() 507 ssize_t LowerBound(Iterator *aiter, ssize_t aiter_begin, in LowerBound() [all …]
|
/external/bison/m4/ |
D | ssize_t.m4 | 1 # ssize_t.m4 serial 5 (gettext-0.18.2) 8 dnl Test whether ssize_t is defined. 12 AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t], 16 [[int x = sizeof (ssize_t *) + sizeof (ssize_t); 20 AC_DEFINE([ssize_t], [int], definition
|
/external/qemu/ |
D | posix-aio-compat.c | 49 ssize_t ret; 121 static ssize_t handle_aiocb_ioctl(struct qemu_paiocb *aiocb) in handle_aiocb_ioctl() 140 static ssize_t handle_aiocb_flush(struct qemu_paiocb *aiocb) in handle_aiocb_flush() 152 static ssize_t 158 static ssize_t 166 static ssize_t 172 static ssize_t 180 static ssize_t handle_aiocb_rw_vector(struct qemu_paiocb *aiocb) in handle_aiocb_rw_vector() 183 ssize_t len; in handle_aiocb_rw_vector() 203 static ssize_t handle_aiocb_rw_linear(struct qemu_paiocb *aiocb, char *buf) in handle_aiocb_rw_linear() [all …]
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | mock_kernel_proxy.h | 55 MOCK_METHOD3(read, ssize_t(int, void*, size_t)); 70 MOCK_METHOD3(write, ssize_t(int, const void*, size_t)); 85 MOCK_METHOD4(recv, ssize_t(int, void*, size_t, int)); 86 MOCK_METHOD6(recvfrom, ssize_t(int, void*, size_t, int, 88 MOCK_METHOD3(recvmsg, ssize_t(int, struct msghdr*, int)); 89 MOCK_METHOD4(send, ssize_t(int, const void*, size_t, int)); 90 MOCK_METHOD6(sendto, ssize_t(int, const void*, size_t, int, 92 MOCK_METHOD3(sendmsg, ssize_t(int, const struct msghdr*, int));
|
/external/oprofile/libutil++/ |
D | child_reader.h | 94 ssize_t pos1; 95 ssize_t end1; 96 ssize_t pos2; 97 ssize_t end2; 103 ssize_t sz_buf2;
|
/external/chromium_org/base/posix/ |
D | unix_domain_socket_linux.h | 38 static ssize_t RecvMsg(int fd, 47 static ssize_t RecvMsgWithPid(int fd, 71 static ssize_t SendRecvMsg(int fd, 79 static ssize_t SendRecvMsgWithFlags(int fd, 87 static ssize_t RecvMsgWithFlags(int fd,
|
D | unix_domain_socket_linux.cc | 72 const ssize_t r = HANDLE_EINTR(sendmsg(fd, &msg, flags)); in SendMsg() 73 const bool ret = static_cast<ssize_t>(length) == r; in SendMsg() 79 ssize_t UnixDomainSocket::RecvMsg(int fd, in RecvMsg() 87 ssize_t UnixDomainSocket::RecvMsgWithPid(int fd, in RecvMsgWithPid() 96 ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd, in RecvMsgWithFlags() 114 const ssize_t r = HANDLE_EINTR(recvmsg(fd, &msg, flags)); in RecvMsgWithFlags() 169 ssize_t UnixDomainSocket::SendRecvMsg(int fd, in SendRecvMsg() 180 ssize_t UnixDomainSocket::SendRecvMsgWithFlags(int fd, in SendRecvMsgWithFlags() 207 const ssize_t reply_len = RecvMsgWithFlags( in SendRecvMsgWithFlags()
|
/external/mksh/src/ |
D | shf.c | 52 ssize_t bsize = in shf_open() 129 ssize_t bsize = in shf_fdopen() 164 ssize_t bsize = in shf_reopen() 196 shf_sopen(char *buf, ssize_t bsize, int sflags, struct shf *shf) in shf_sopen() 361 ssize_t n, ntowrite = shf->wp - shf->buf; in shf_emptybuf() 406 ssize_t n; in shf_fillbuf() 449 ssize_t 450 shf_read(char *buf, ssize_t bsize, struct shf *shf) in shf_read() 452 ssize_t ncopy, orig_bsize = bsize; in shf_read() 485 shf_getse(char *buf, ssize_t bsize, struct shf *shf) in shf_getse() [all …]
|
/external/clang/test/Analysis/ |
D | taint-tester.cpp | 7 typedef long ssize_t; typedef 8 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); 14 ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); 21 ssize_t read; in getlineTest()
|
/external/chromium_org/mojo/embedder/ |
D | platform_channel_utils_posix.h | 32 MOJO_SYSTEM_IMPL_EXPORT ssize_t 34 MOJO_SYSTEM_IMPL_EXPORT ssize_t 45 MOJO_SYSTEM_IMPL_EXPORT ssize_t 67 MOJO_SYSTEM_IMPL_EXPORT ssize_t
|
D | platform_channel_pair_posix_unittest.cc | 72 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F() 80 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F() 85 ssize_t result = read(server_handle.get().fd, buffer, sizeof(buffer)); in TEST_F() 114 EXPECT_EQ(static_cast<ssize_t>(send_string.size()), in TEST_F() 122 ssize_t result = PlatformChannelRecvmsg( in TEST_F() 124 EXPECT_EQ(static_cast<ssize_t>(send_string.size()), result); in TEST_F() 157 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F() 169 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F() 216 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F() 232 EXPECT_EQ(static_cast<ssize_t>(sizeof(kHello)), in TEST_F()
|
/external/e2fsprogs/lib/ext2fs/ |
D | imager.c | 37 typedef int ssize_t; typedef 66 ssize_t actual; in ext2fs_image_inode_write() 118 if (actual != (ssize_t) (fs->blocksize * d)) { in ext2fs_image_inode_write() 145 ssize_t actual; in ext2fs_image_inode_read() 168 if (actual != (ssize_t) (fs->blocksize * c)) { in ext2fs_image_inode_read() 194 ssize_t actual; in ext2fs_image_super_write() 211 if (actual != (ssize_t) fs->blocksize) { in ext2fs_image_super_write() 225 if (actual != (ssize_t) (fs->blocksize * fs->desc_blocks)) { in ext2fs_image_super_write() 244 ssize_t actual, size; in ext2fs_image_super_read() 287 ssize_t actual; in ext2fs_image_bitmap_write() [all …]
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | kernel_wrap.h | 51 typedef ssize_t read_ssize_t; 52 typedef ssize_t write_ssize_t; 132 ssize_t recv(int fd, void* buf, size_t len, int flags); 133 ssize_t recvfrom(int fd, 139 ssize_t recvmsg(int fd, struct msghdr* msg, int flags); 140 ssize_t send(int fd, const void* buf, size_t len, int flags); 141 ssize_t sendto(int fd, 147 ssize_t sendmsg(int fd, const struct msghdr* msg, int flags);
|
D | kernel_intercept.h | 90 ssize_t ki_read(int fd, void* buf, size_t nbyte); 91 ssize_t ki_write(int fd, const void* buf, size_t nbyte); 170 ssize_t ki_recv(int fd, void* buf, size_t len, int flags); 171 ssize_t ki_recvfrom(int fd, 177 ssize_t ki_recvmsg(int fd, struct msghdr* msg, int flags); 178 ssize_t ki_send(int fd, const void* buf, size_t len, int flags); 179 ssize_t ki_sendto(int fd, 185 ssize_t ki_sendmsg(int fd, const struct msghdr* msg, int flags);
|
/external/chromium_org/base/third_party/symbolize/ |
D | symbolize.cc | 140 static ssize_t ReadPersistent(const int fd, void *buf, const size_t count) { in ReadPersistent() 142 SAFE_ASSERT(count <= std::numeric_limits<ssize_t>::max()); in ReadPersistent() 144 ssize_t num_bytes = 0; in ReadPersistent() 146 ssize_t len; in ReadPersistent() 163 static ssize_t ReadFromOffset(const int fd, void *buf, in ReadFromOffset() 178 ssize_t len = ReadFromOffset(fd, buf, count, offset); in ReadFromOffsetExact() 205 const ssize_t num_bytes_left = (sh_num - i) * sizeof(buf[0]); in GetSectionHeaderByType() 206 const ssize_t num_bytes_to_read = in GetSectionHeaderByType() 208 const ssize_t len = ReadFromOffset(fd, buf, num_bytes_to_read, in GetSectionHeaderByType() 211 const ssize_t num_headers_in_buf = len / sizeof(buf[0]); in GetSectionHeaderByType() [all …]
|
/external/libedit/src/ |
D | chartype.c | 81 ssize_t used = 0; in ct_encode_string() 92 used = (ssize_t)(conv->csize - (size_t)(dst - conv->cbuff)); in ct_encode_string() 142 ssize_t bytes; in ct_decode_argv() 160 bytes = (ssize_t)mbstowcs(p, argv[i], bufspace); in ct_decode_argv() 191 protected ssize_t 194 ssize_t l = 0; in ct_encode_char() 214 ssize_t used = 0; in ct_visual_string() 288 protected ssize_t 312 if ((ssize_t)len < ct_visual_width(c)) in ct_visual_char()
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
D | crazy_linker_leb128.h | 45 ssize_t Dequeue() { in Dequeue() 46 ssize_t value = 0; in Dequeue() 54 value |= (static_cast<ssize_t>(byte & 127) << shift); in Dequeue() 59 value |= -(static_cast<ssize_t>(1) << shift); in Dequeue()
|
/external/chromium_org/base/process/ |
D | memory_unittest_mac.h | 17 void* AllocateViaCFAllocatorSystemDefault(ssize_t size); 18 void* AllocateViaCFAllocatorMalloc(ssize_t size); 19 void* AllocateViaCFAllocatorMallocZone(ssize_t size);
|