/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/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/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/android-clat/ |
D | clatd.c | 351 ssize_t readlen; in read_packet() local 354 readlen = read(read_fd, buf, PACKETLEN); in read_packet() 356 if (readlen < 0) { in read_packet() 361 } else if (readlen == 0) { in read_packet() 368 if (readlen < (ssize_t)sizeof(*tun_header)) { in read_packet() 369 logmsg(ANDROID_LOG_WARN, "read_packet/short read: got %ld bytes", readlen); in read_packet() 384 readlen -= sizeof(*tun_header); in read_packet() 385 translate_packet(write_fd, to_ipv6, packet, readlen); in read_packet()
|
/external/igt-gpu-tools/lib/tests/ |
D | igt_describe.c | 153 ssize_t readlen; in read_whole_pipe() local 157 while ((readlen = read(fd, buf+offset, buflen-offset))) { in read_whole_pipe() 158 if (readlen == -1) { in read_whole_pipe() 166 internal_assert(readlen != -1); in read_whole_pipe() 167 offset += readlen; in read_whole_pipe()
|
/external/u-boot/drivers/mtd/nand/raw/ |
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 | 1898 uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi, in nand_read_subpage() argument 1913 end_step = (data_offs + readlen - 1) / chip->ecc.size; in nand_read_subpage() 2310 uint32_t readlen = ops->len; in nand_do_read_ops() local 2336 bytes = min(mtd->writesize - col, readlen); in nand_do_read_ops() 2444 readlen -= bytes; in nand_do_read_ops() 2454 if (!readlen) in nand_do_read_ops() 2472 ops->retlen = ops->len - (size_t) readlen; in nand_do_read_ops() 2653 int readlen = ops->ooblen; in nand_do_read_oob() local 2659 __func__, (unsigned long long)from, readlen); in nand_do_read_oob() 2673 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/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 | 547 read_console_w(HANDLE handle, DWORD maxlen, DWORD *readlen) { in read_console_w() argument 554 *readlen = 0; in read_console_w() 588 *readlen += n; in read_console_w() 595 if (buf[*readlen - 1] == '\n') in read_console_w() 601 GetStringTypeW(CT_CTYPE3, &buf[*readlen - 1], 1, &char_type) && in read_console_w() 630 if (*readlen > 0 && buf[0] == L'\x1a') { in read_console_w() 636 *readlen = 0; in read_console_w()
|
/external/u-boot/tools/env/ |
D | fw_env.c | 899 size_t readlen = count; /* current read length */ in flash_read_buf() local 919 if (readlen > blocklen - block_seek) in flash_read_buf() 920 readlen = blocklen - block_seek; in flash_read_buf() 931 if (blockstart + block_seek + readlen > environment_end(dev)) { in flash_read_buf() 948 rc = read(fd, buf + processed, readlen); in flash_read_buf() 949 if (rc != readlen) { in flash_read_buf() 959 processed += readlen; in flash_read_buf() 960 readlen = min(blocklen, count - processed); in flash_read_buf()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 730 DWORD readlen = *reply_len; in wpa_ctrl_request() local 735 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request() 737 *reply_len = readlen; in wpa_ctrl_request()
|
/external/u-boot/net/ |
D | nfs.c | 360 static void nfs_read_req(int offset, int readlen) in nfs_read_req() argument 373 *p++ = htonl(readlen); in nfs_read_req() 381 *p++ = htonl(readlen); in nfs_read_req()
|
/external/fastrpc/src/ |
D | log_config.c | 168 int readlen = 0, eof; in readLogConfigFromPath() local 206 VERIFY(AEE_SUCCESS == (nErr = apps_std_fread(fp, buf, len, &readlen, &eof))); in readLogConfigFromPath() 207 VERIFYC((int)len == readlen, AEE_EFREAD); in readLogConfigFromPath()
|
D | fastrpc_apps_user.c | 1648 int readlen = 0, eof; in apps_dev_init() local 1669 VERIFY(AEE_SUCCESS == (nErr = apps_std_fread(fh, (void *)uproc.file, len, &readlen, &eof))); in apps_dev_init() 1670 VERIFYC((int)len == readlen, AEE_EFREAD); in apps_dev_init() 1679 …VERIFY(AEE_SUCCESS == (nErr = apps_std_fread(fsig, (byte*)(uproc.file + len), siglen, &readlen, &e… in apps_dev_init() 1680 VERIFYC(siglen == (uint64)readlen, AEE_EFREAD); in apps_dev_init()
|
/external/u-boot/tools/ |
D | asn1_compiler.c | 563 ssize_t readlen; in main() local 610 if ((readlen = read(fd, buffer, st.st_size)) < 0) { in main() 620 if (readlen != st.st_size) { in main() 636 buffer[readlen] = 0; in main() 637 tokenise(buffer, buffer + readlen); in main()
|
/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 | 3510 Py_ssize_t buflen, readlen, recvlen = 0; in sock_recv_into() local 3539 readlen = sock_recv_guts(s, buf, recvlen, flags); in sock_recv_into() 3540 if (readlen < 0) { in sock_recv_into() 3549 return PyLong_FromSsize_t(readlen); in sock_recv_into() 3697 Py_ssize_t readlen, buflen, recvlen = 0; in sock_recvfrom_into() local 3724 readlen = sock_recvfrom_guts(s, buf, recvlen, flags, &addr); in sock_recvfrom_into() 3725 if (readlen < 0) { in sock_recvfrom_into() 3735 return Py_BuildValue("nN", readlen, addr); in sock_recvfrom_into()
|