/external/protobuf/src/google/protobuf/testing/ |
D | zcgzip.cc | 63 int readlen; in main() local 75 readlen = read(STDIN_FILENO, outptr, outlen); in main() 76 if (readlen <= 0) { in main() 80 if (readlen < outlen) { in main() 81 out.BackUp(outlen - readlen); in main()
|
/external/u-boot/fs/ |
D | fs_internal.c | 40 int readlen; in fs_devread() local 47 readlen = min((int)blk->blksz - byte_offset, in fs_devread() 49 memcpy(buf, sec_buf + byte_offset, readlen); in fs_devread() 50 buf += readlen; in fs_devread() 51 byte_len -= readlen; in fs_devread()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/ |
D | iLBC_testLib.c | 46 size_t len, readlen; in main() local 130 readlen = 80; in main() 132 readlen = (size_t)(mode << 3); in main() 134 while(fread(data, sizeof(short), readlen, ifileid) == readlen) { in main() 139 len_int=WebRtcIlbcfix_Encode(Enc_Inst, data, readlen, encoded_data); in main()
|
/external/toybox/toys/posix/ |
D | iconv.c | 39 int readlen = 1; in do_iconv() local 44 if (readlen && 0>(readlen = read(fd, in+inlen, 2048-inlen))) { in do_iconv() 48 inlen += readlen; in do_iconv()
|
/external/u-boot/drivers/mtd/nand/ |
D | denali_spl.c | 180 int block, page, column, readlen; in nand_spl_load_image() local 208 readlen = min(page_size - column, (int)size); in nand_spl_load_image() 212 memmove(dst, dst + column, readlen); in nand_spl_load_image() 216 size -= readlen; in nand_spl_load_image() 217 dst += readlen; in nand_spl_load_image()
|
D | nand_base.c | 1326 uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi, in nand_read_subpage() argument 1340 end_step = (data_offs + readlen - 1) / chip->ecc.size; in nand_read_subpage() 1694 uint32_t readlen = ops->len; in nand_do_read_ops() local 1720 bytes = min(mtd->writesize - col, readlen); in nand_do_read_ops() 1825 readlen -= bytes; in nand_do_read_ops() 1835 if (!readlen) in nand_do_read_ops() 1853 ops->retlen = ops->len - (size_t) readlen; in nand_do_read_ops() 2040 int readlen = ops->ooblen; in nand_do_read_oob() local 2046 __func__, (unsigned long long)from, readlen); in nand_do_read_oob() 2060 ops->ooboffs + readlen > ((mtd->size >> chip->page_shift) - in nand_do_read_oob() [all …]
|
D | zynq_nand.c | 512 u32 readlen, u8 *buf, int page) in zynq_nand_read_subpage_raw() argument 518 chip->read_buf(mtd, buf, readlen); in zynq_nand_read_subpage_raw()
|
D | sunxi_nand.c | 1043 uint32_t data_offs, uint32_t readlen, in sunxi_nfc_hw_ecc_read_subpage() argument 1054 i < DIV_ROUND_UP(data_offs + readlen, ecc->size); i++) { in sunxi_nfc_hw_ecc_read_subpage()
|
/external/android-clat/ |
D | clatd.c | 397 ssize_t readlen; in read_packet() local 400 readlen = read(read_fd, buf, PACKETLEN); in read_packet() 402 if (readlen < 0) { in read_packet() 407 } else if (readlen == 0) { in read_packet() 414 if (readlen < (ssize_t)sizeof(*tun_header)) { in read_packet() 415 logmsg(ANDROID_LOG_WARN, "read_packet/short read: got %ld bytes", readlen); in read_packet() 435 readlen -= sizeof(*tun_header); in read_packet() 436 translate_packet(write_fd, to_ipv6, packet, readlen); in read_packet()
|
/external/u-boot/tools/ |
D | mkenvimage.c | 160 int readlen = sizeof(*envptr) * 4096; in main() local 164 filebuf = realloc(filebuf, filesize + readlen); in main() 169 readbytes = read(txt_fd, filebuf + filesize, readlen); in main() 176 } while (readbytes == readlen); in main()
|
/external/u-boot/drivers/mtd/onenand/ |
D | onenand_bbt.c | 70 size_t readlen, ooblen; in create_bbt() local 80 readlen = bd->len; in create_bbt() 91 ops.ooblen = readlen; in create_bbt()
|
/external/python/cpython3/Modules/_io/ |
D | winconsoleio.c | 546 read_console_w(HANDLE handle, DWORD maxlen, DWORD *readlen) { in read_console_w() argument 553 *readlen = 0; in read_console_w() 587 *readlen += n; in read_console_w() 594 if (buf[*readlen - 1] == '\n') in read_console_w() 600 GetStringTypeW(CT_CTYPE3, &buf[*readlen - 1], 1, &char_type) && in read_console_w() 629 if (*readlen > 0 && buf[0] == L'\x1a') { in read_console_w() 635 *readlen = 0; in read_console_w()
|
/external/u-boot/tools/env/ |
D | fw_env.c | 895 size_t readlen = count; /* current read length */ in flash_read_buf() local 915 if (readlen > blocklen - block_seek) in flash_read_buf() 916 readlen = blocklen - block_seek; in flash_read_buf() 927 if (blockstart + block_seek + readlen > environment_end(dev)) { in flash_read_buf() 944 rc = read(fd, buf + processed, readlen); in flash_read_buf() 945 if (rc != readlen) { in flash_read_buf() 955 processed += readlen; in flash_read_buf() 956 readlen = min(blocklen, count - processed); in flash_read_buf()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 731 DWORD readlen = *reply_len; in wpa_ctrl_request() local 736 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request() 738 *reply_len = readlen; in wpa_ctrl_request()
|
/external/u-boot/net/ |
D | nfs.c | 359 static void nfs_read_req(int offset, int readlen) in nfs_read_req() argument 372 *p++ = htonl(readlen); in nfs_read_req() 380 *p++ = htonl(readlen); in nfs_read_req()
|
/external/python/cpython2/Modules/ |
D | socketmodule.c | 2563 ssize_t readlen; local 2592 readlen = sock_recv_guts(s, buf.buf, recvlen, flags); 2593 if (readlen < 0) { 2601 return PyInt_FromSsize_t(readlen); 2745 ssize_t readlen; local 2771 readlen = sock_recvfrom_guts(s, buf.buf, recvlen, flags, &addr); 2772 if (readlen < 0) { 2780 return Py_BuildValue("lN", readlen, addr);
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 3353 Py_ssize_t buflen, readlen, recvlen = 0; in sock_recv_into() local 3382 readlen = sock_recv_guts(s, buf, recvlen, flags); in sock_recv_into() 3383 if (readlen < 0) { in sock_recv_into() 3392 return PyLong_FromSsize_t(readlen); in sock_recv_into() 3540 Py_ssize_t readlen, buflen, recvlen = 0; in sock_recvfrom_into() local 3567 readlen = sock_recvfrom_guts(s, buf, recvlen, flags, &addr); in sock_recvfrom_into() 3568 if (readlen < 0) { in sock_recvfrom_into() 3578 return Py_BuildValue("nN", readlen, addr); in sock_recvfrom_into()
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | syscall_solaris.go | 696 func readlen(fd int, buf *byte, nbuf int) (n int, err error) { func
|
D | zsyscall_netbsd_386.go | 1406 func readlen(fd int, buf *byte, nbuf int) (n int, err error) { func
|
D | zsyscall_netbsd_amd64.go | 1406 func readlen(fd int, buf *byte, nbuf int) (n int, err error) { func
|
D | zsyscall_netbsd_arm.go | 1406 func readlen(fd int, buf *byte, nbuf int) (n int, err error) { func
|
D | zsyscall_dragonfly_amd64.go | 1464 func readlen(fd int, buf *byte, nbuf int) (n int, err error) { func
|
D | zsyscall_openbsd_amd64.go | 1475 func readlen(fd int, buf *byte, nbuf int) (n int, err error) { func
|
D | zsyscall_openbsd_arm.go | 1475 func readlen(fd int, buf *byte, nbuf int) (n int, err error) { func
|
/external/libmtp/src/ |
D | ptp.c | 2941 unsigned int size, readlen; in ptp_sony_getalldevicepropdesc() local 2958 if (!ptp_unpack_Sony_DPD (params, dpddata, &dpd, size, &readlen)) in ptp_sony_getalldevicepropdesc() 3005 …"dpd.DevicePropertyCode %04x, readlen %d, getset %d", dpd.DevicePropertyCode, readlen, dpd.GetSet); in ptp_sony_getalldevicepropdesc() 3030 dpddata += readlen; in ptp_sony_getalldevicepropdesc() 3031 size -= readlen; in ptp_sony_getalldevicepropdesc()
|