/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/vboot_reference/futility/ |
D | dump_kernel_config_lib.c | 27 typedef ssize_t (*ReadFullyFn)(void *ctx, void *buf, size_t count); 29 static ssize_t ReadFullyWithRead(void *ctx, void *buf, size_t count) in ReadFullyWithRead() 31 ssize_t nr_read = 0; in ReadFullyWithRead() 34 ssize_t to_read = count - nr_read; in ReadFullyWithRead() 35 ssize_t chunk = read(fd, buf + nr_read, to_read); in ReadFullyWithRead() 47 static ssize_t ReadFullyWithMtdRead(void *ctx, void *buf, size_t count) in ReadFullyWithMtdRead() 58 ssize_t nr_skipped = 0; in SkipWithRead() 60 ssize_t to_read = count - nr_skipped; in SkipWithRead() 85 ssize_t to_skip = key_block.key_block_size - sizeof(key_block); in FindKernelConfigFromStream()
|
/external/elfutils/src/lib/ |
D | system.h | 72 static inline ssize_t __attribute__ ((unused)) 75 ssize_t recvd = 0; in pwrite_retry() 79 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, buf + recvd, len - recvd, in pwrite_retry() 91 static inline ssize_t __attribute__ ((unused)) 94 ssize_t recvd = 0; in write_retry() 98 ssize_t ret = TEMP_FAILURE_RETRY (write (fd, buf + recvd, len - recvd)); in write_retry() 109 static inline ssize_t __attribute__ ((unused)) 112 ssize_t recvd = 0; in pread_retry() 116 ssize_t ret = TEMP_FAILURE_RETRY (pread (fd, buf + recvd, len - recvd, in pread_retry()
|
/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/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 *);
|
D | dhcp.h | 191 ssize_t decode_rfc3397(char *, ssize_t, int, const uint8_t *); 192 ssize_t configure_env(char **, const char *, const struct dhcp_message *, 196 ssize_t make_message(struct dhcp_message **, const struct interface *, 200 ssize_t write_lease(const struct interface *, const struct dhcp_message *);
|
D | lpf.c | 131 ssize_t 133 const void *data, ssize_t len) in send_raw_packet() 164 ssize_t 166 void *data, ssize_t len, int *partialcsum) in get_raw_packet() 182 ssize_t bytes; in get_raw_packet()
|
/external/openssh/ |
D | atomicio.h | 36 atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n, 38 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t); 40 #define vwrite (ssize_t (*)(int, void *, size_t))write 46 atomiciov6(ssize_t (*f) (int, const struct iovec *, int), int fd, 48 size_t atomiciov(ssize_t (*)(int, const struct iovec *, int),
|
D | atomicio.c | 52 atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n, in atomicio6() 57 ssize_t res; in atomicio6() 92 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() 101 atomiciov6(ssize_t (*f) (int, const struct iovec *, int), int fd, in atomiciov6() 106 ssize_t res; in atomiciov6() 166 atomiciov(ssize_t (*f) (int, const struct iovec *, int), int fd, in atomiciov()
|
D | roaming.h | 35 ssize_t roaming_write(int, const void *, size_t, int *); 36 ssize_t roaming_read(int, void *, size_t, int *); 37 size_t roaming_atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
|
/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/parameter-framework/utility/ |
D | FullIo.cpp | 46 static bool fullAccess(ssize_t (&accessor)(int, Buff, size_t), in fullAccess() 47 bool (&accessFailed)(ssize_t), in fullAccess() argument 51 ssize_t accessed = accessor(fd, add(buf, done), count - done); in fullAccess() 60 static bool accessFailed(ssize_t accessRes) { in accessFailed() 68 static bool readFailed(ssize_t readRes) { in readFailed()
|
/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/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/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/google-breakpad/src/common/tests/ |
D | file_utils.cc | 64 ssize_t bytes_read = HANDLE_EINTR(read(infile, buffer, sizeof(buffer))); in CopyFile() 72 ssize_t bytes_written_per_read = 0; in CopyFile() 74 ssize_t bytes_written_partial = HANDLE_EINTR(write( in CopyFile() 99 bool ReadFile(const char* path, void* buffer, ssize_t* buffer_size) { in ReadFile() 132 ssize_t bytes_written_partial = 0; in WriteFile()
|
/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/jemalloc/test/unit/ |
D | mallctl.c | 165 TEST_MALLCTL_OPT(ssize_t, lg_dirty_mult, always); in TEST_BEGIN() 178 TEST_MALLCTL_OPT(ssize_t, lg_prof_sample, prof); in TEST_BEGIN() 180 TEST_MALLCTL_OPT(ssize_t, lg_prof_interval, prof); in TEST_BEGIN() 353 ssize_t lg_dirty_mult, orig_lg_dirty_mult, prev_lg_dirty_mult; in TEST_BEGIN() 354 size_t sz = sizeof(ssize_t); in TEST_BEGIN() 361 &lg_dirty_mult, sizeof(ssize_t)), EFAULT, in TEST_BEGIN() 366 &lg_dirty_mult, sizeof(ssize_t)), EFAULT, in TEST_BEGIN() 370 lg_dirty_mult < (ssize_t)(sizeof(size_t) << 3); prev_lg_dirty_mult in TEST_BEGIN() 372 ssize_t old_lg_dirty_mult; in TEST_BEGIN() 375 &sz, &lg_dirty_mult, sizeof(ssize_t)), 0, in TEST_BEGIN() [all …]
|
D | util.c | 272 TEST("_-1234_", "_%zd_", ((ssize_t)-1234)); in TEST_BEGIN() 273 TEST("_1234_", "_%zd_", ((ssize_t)1234)); in TEST_BEGIN() 274 TEST("_-1234_", "_%zi_", ((ssize_t)-1234)); in TEST_BEGIN() 275 TEST("_1234_", "_%zi_", ((ssize_t)1234)); in TEST_BEGIN() 276 TEST("_01234_", "_%#zo_", ((ssize_t)01234)); in TEST_BEGIN() 277 TEST("_1234_", "_%zu_", ((ssize_t)1234)); in TEST_BEGIN() 278 TEST("_0x1234abc_", "_%#zx_", ((ssize_t)0x1234abc)); in TEST_BEGIN() 279 TEST("_0X1234ABC_", "_%#zX_", ((ssize_t)0x1234ABC)); in TEST_BEGIN()
|
/external/ceres-solver/include/ceres/internal/ |
D | fixed_array.h | 73 typedef __int64 ssize_t; typedef 75 typedef __int32 ssize_t; 78 template <typename T, ssize_t inline_elements = -1> 163 template <class T, ssize_t S> 177 template <class T, ssize_t S>
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | strbuf.h | 53 extern void strbuf_init(struct strbuf *buf, ssize_t hint); 58 static inline ssize_t strbuf_avail(const struct strbuf *sb) { in strbuf_avail() 90 extern ssize_t strbuf_read(struct strbuf *, int fd, ssize_t hint);
|
/external/bison/lib/ |
D | unistd.in.h | 1159 _GL_FUNCDECL_RPL (pread, ssize_t, 1162 _GL_CXXALIAS_RPL (pread, ssize_t, 1166 _GL_FUNCDECL_SYS (pread, ssize_t, 1170 _GL_CXXALIAS_SYS (pread, ssize_t, 1194 _GL_FUNCDECL_RPL (pwrite, ssize_t, 1197 _GL_CXXALIAS_RPL (pwrite, ssize_t, 1201 _GL_FUNCDECL_SYS (pwrite, ssize_t, 1205 _GL_CXXALIAS_SYS (pwrite, ssize_t, 1227 _GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count) 1229 _GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count)); [all …]
|
/external/selinux/policycoreutils/run_init/ |
D | open_init_pty.c | 151 static ssize_t rb_read(struct ring_buffer *b, int fd) in rb_read() 153 ssize_t n = read(fd, b->wptr, rb_space(b)); in rb_read() 165 static ssize_t rb_write(struct ring_buffer *b, int fd) in rb_write() 167 ssize_t n = write(fd, b->rptr, rb_chunk_size(b)); in rb_write() 343 ssize_t n = rb_write(&outbuf, STDOUT_FILENO); in main() 358 ssize_t n = rb_write(&inbuf, pty_master); in main() 373 ssize_t n = rb_read(&inbuf, STDIN_FILENO); in main() 388 ssize_t n = rb_read(&outbuf, pty_master); in main()
|
/external/toybox/lib/ |
D | portability.h | 89 ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); 137 ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); 205 ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); 206 ssize_t getline(char **lineptr, size_t *n, FILE *stream); 268 ssize_t fgetxattr (int fd, char *name, void *value, size_t size);
|