/external/vboot_reference/tests/ |
D | vb21_host_misc_tests.c | 35 uint32_t read_size; in file_tests() local 42 TEST_EQ(vb2_read_file(testfile, &read_data, &read_size), in file_tests() 49 TEST_SUCC(vb2_read_file(testfile, &read_data, &read_size), in file_tests() 51 TEST_EQ(read_size, sizeof(test_data), " data size"); in file_tests() 52 TEST_EQ(memcmp(read_data, test_data, read_size), 0, " data"); in file_tests() 62 TEST_SUCC(vb2_read_file(testfile, &read_data, &read_size), in file_tests() 64 TEST_EQ(read_size, c->total_size, " data size"); in file_tests() 66 TEST_EQ(memcmp(read_data, c, read_size), 0, " data"); in file_tests()
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_resumable_streaming.py | 129 for read_size in initial_reads: 130 initial_position += read_size 144 for read_size in initial_reads: 145 data = wrapper.read(read_size) 147 self._temp_test_file_contents[position:position + read_size], 149 (position, position + read_size)) 192 for read_size in initial_reads: 193 initial_position += read_size 218 read_size = TRANSFER_BUFFER_SIZE 224 data = wrapper.read(read_size) [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | stream_slice.py | 53 read_size = min(size, self.__remaining_bytes) 55 read_size = self.__remaining_bytes 56 data = self.__stream.read(read_size) 57 if read_size > 0 and not data:
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
D | varblock.py | 129 read_size = len(block) 130 if read_size != block_size: 132 (block_size, read_size))
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | resumable_streaming_upload.py | 99 read_size = min(bytes_available_this_buffer, bytes_remaining) 102 [offset_from_position:offset_from_position + read_size]) 103 bytes_remaining -= read_size 106 self._position += read_size
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 168 int result = 0, read_size; in nl_getmsg() local 179 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags); in nl_getmsg() 180 if (read_size < 0 || (msg_flags & MSG_TRUNC)) { in nl_getmsg() 185 if (read_size == 0) in nl_getmsg() 188 … (nh = (struct nlmsghdr *) buff; NLMSG_OK(nh, read_size); nh = (struct nlmsghdr *) NLMSG_NEXT(nh, … in nl_getmsg()
|
/external/libbrillo/brillo/http/ |
D | http_connection_curl.cc | 229 size_t read_size = 0; in read_callback() local 231 &read_size, nullptr); in read_callback() 232 VLOG_IF(3, success) << "Sending data: " << std::string{ptr, read_size}; in read_callback() 233 return success ? read_size : CURL_READFUNC_ABORT; in read_callback()
|
/external/v8/src/ |
D | startup-data-util.cc | 62 int read_size = static_cast<int>(fread(const_cast<char*>(startup_data->data), in Load() local 66 if (startup_data->raw_size == read_size) { in Load()
|
/external/kernel-headers/original/uapi/sound/ |
D | usb_stream.h | 42 unsigned read_size; member
|
/external/autotest/client/tests/ffsb/ |
D | profile.cfg.sample | 23 read_size=5242880 # 5 MB
|
/external/libbrillo/brillo/streams/ |
D | stream_unittest.cc | 100 size_t read_size = 0; in TEST() local 103 auto success_callback = [&read_size, &succeeded](size_t size) { in TEST() 104 read_size = size; in TEST() 123 EXPECT_EQ(0u, read_size); in TEST() 145 EXPECT_EQ(7u, read_size); in TEST()
|
D | file_stream_unittest.cc | 372 size_t read_size = 0; in TEST_F() local 374 auto success_callback = [&read_size](size_t size) { read_size = size; }; in TEST_F() 386 EXPECT_EQ(0u, read_size); in TEST_F() 391 EXPECT_EQ(83u, read_size); in TEST_F()
|
/external/squashfs-tools/kernel-2.4/include/linux/ |
D | squashfs_fs_sb.h | 57 unsigned int read_size; member
|
/external/libnfc-nxp/src/ |
D | phDnldNfc.c | 1280 uint16_t read_size = 0 ; in phDnldNfc_Read() local 1288 read_size = (uint16_t) p_sec_info->p_sec_hdr->section_length; in phDnldNfc_Read() 1289 DNLD_DEBUG(" FW_DNLD: Section Read = %X \n", read_size); in phDnldNfc_Read() 1297 read_size = (uint16_t)(psDnldContext->prev_dnld_size ); in phDnldNfc_Read() 1298 DNLD_DEBUG(" FW_DNLD: Section Read = %X \n", read_size); in phDnldNfc_Read() 1305 DNLD_DEBUG(" FW_DNLD: Already Read, Read Ignored, read_size = %X \n", read_size); in phDnldNfc_Read() 1312 DNLD_DEBUG(" FW_DNLD: No Read Required, Read_size = %X \n", read_size); in phDnldNfc_Read() 1316 if (read_size != 0) in phDnldNfc_Read() 1319 read_size = (uint16_t)((PHDNLD_DATA_SIZE >= read_size)? in phDnldNfc_Read() 1320 read_size: PHDNLD_DATA_SIZE); in phDnldNfc_Read() [all …]
|
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.c | 2246 long long bytes, read_size; in reader_read_file() local 2255 read_size = buf->st_size; in reader_read_file() 2256 blocks = (read_size + block_size - 1) >> block_log; in reader_read_file() 2267 file_buffer->file_size = read_size; in reader_read_file() 2299 if(read_size != bytes) in reader_read_file() 2302 if(read_size && read_size % block_size == 0) { in reader_read_file() 2334 if(read_size != buf2.st_size) { in reader_read_file() 2587 long long read_size, file_bytes, start; in write_file_process() local 2601 read_size = read_buffer->file_size; in write_file_process() 2623 if(read_size != -1) in write_file_process() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_parser.cpp | 1764 FX_DWORD read_size = m_BufSize; in GetNextChar() local 1765 if ((FX_FILESIZE)read_size > m_FileLen) { in GetNextChar() 1766 read_size = (FX_DWORD)m_FileLen; in GetNextChar() 1768 if ((FX_FILESIZE)(read_pos + read_size) > m_FileLen) { in GetNextChar() 1769 if (m_FileLen < (FX_FILESIZE)read_size) { in GetNextChar() 1771 read_size = (FX_DWORD)m_FileLen; in GetNextChar() 1773 read_pos = m_FileLen - read_size; in GetNextChar() 1776 if (!m_pFileAccess->ReadBlock(m_pFileBuf, read_pos, read_size)) { in GetNextChar() 1797 FX_DWORD read_size = m_BufSize; in GetCharAtBackward() local 1798 if ((FX_FILESIZE)(read_pos + read_size) > m_FileLen) { in GetCharAtBackward() [all …]
|
/external/kernel-headers/original/uapi/linux/android/ |
D | binder.h | 82 binder_size_t read_size; /* bytes to read */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | binder.h | 81 binder_size_t read_size; /* bytes to read */ member
|
/external/pdfium/third_party/lpng_v163/ |
D | pngrutil.c | 730 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, in png_inflate_read() argument 746 if (read_size > *chunk_bytes) in png_inflate_read() 747 read_size = (uInt)*chunk_bytes; in png_inflate_read() 748 *chunk_bytes -= read_size; in png_inflate_read() 750 if (read_size > 0) in png_inflate_read() 751 png_crc_read(png_ptr, read_buffer, read_size); in png_inflate_read() 754 png_ptr->zstream.avail_in = read_size; in png_inflate_read()
|
/external/libpng/ |
D | pngrutil.c | 764 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, in png_inflate_read() argument 780 if (read_size > *chunk_bytes) in png_inflate_read() 781 read_size = (uInt)*chunk_bytes; in png_inflate_read() 782 *chunk_bytes -= read_size; in png_inflate_read() 784 if (read_size > 0) in png_inflate_read() 785 png_crc_read(png_ptr, read_buffer, read_size); in png_inflate_read() 788 png_ptr->zstream.avail_in = read_size; in png_inflate_read()
|
/external/elfutils/libdwfl/ |
D | dwfl_segment_report_module.c | 885 size_t read_size = size; in dwfl_segment_report_module() local 887 &into, &read_size, vaddr, size); in dwfl_segment_report_module()
|
/external/squashfs-tools/kernel-2.4/fs/squashfs/ |
D | inode.c | 233 msblk->stream.avail_out = msblk->read_size; in squashfs_read_data() 1029 msblk->read_size = (sblk->block_size < SQUASHFS_METADATA_SIZE) ? in squashfs_read_super() 1033 if (!(msblk->read_data = kmalloc(msblk->read_size, GFP_KERNEL))) { in squashfs_read_super()
|
/external/toybox/toys/pending/ |
D | fdisk.c | 162 static sector_t read_size() in read_size() function 374 total_number_sectors = read_size(); //Device size in read_mbr()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 1015 size_t read_size, in setup_token_decoder() argument 1023 if (!read_is_valid(data, read_size, data_end)) in setup_token_decoder() 1027 if (vpx_reader_init(r, data, read_size, decrypt_cb, decrypt_state)) in setup_token_decoder()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 7050 bwr->read_size); in PRE() 7059 if (bwr->read_size) in PRE() 7061 (Addr)bwr->read_buffer, bwr->read_size); in PRE() 9530 if (bwr->read_size) in POST()
|