Searched defs:read_size (Results 1 - 20 of 20) sorted by relevance

/external/vboot_reference/tests/
H A Dvb21_host_misc_tests.c35 uint32_t read_size; local
42 TEST_EQ(vb2_read_file(testfile, &read_data, &read_size),
49 TEST_SUCC(vb2_read_file(testfile, &read_data, &read_size),
51 TEST_EQ(read_size, sizeof(test_data), " data size");
52 TEST_EQ(memcmp(read_data, test_data, read_size), 0, " data");
62 TEST_SUCC(vb2_read_file(testfile, &read_data, &read_size),
64 TEST_EQ(read_size, c->total_size, " data size");
66 TEST_EQ(memcmp(read_data, c, read_size), 0, " data");
/external/libbrillo/brillo/streams/
H A Dstream_unittest.cc100 size_t read_size = 0; local
103 auto success_callback = [&read_size, &succeeded](size_t size) {
104 read_size = size;
123 EXPECT_EQ(0u, read_size);
145 EXPECT_EQ(7u, read_size);
H A Dfile_stream_unittest.cc372 size_t read_size = 0; local
374 auto success_callback = [&read_size](size_t size) { read_size = size; };
386 EXPECT_EQ(0u, read_size);
391 EXPECT_EQ(83u, read_size);
/external/opencv3/modules/flann/include/opencv2/flann/
H A Dsaving.h110 size_t read_size = fread(&header,sizeof(header),1,stream); local
112 if (read_size!=(size_t)1) {
/external/v8/src/
H A Dstartup-data-util.cc62 int read_size = static_cast<int>(fread(const_cast<char*>(startup_data->data), local
66 if (startup_data->raw_size == read_size) {
/external/kernel-headers/original/uapi/sound/
H A Dusb_stream.h42 unsigned read_size; member in struct:usb_stream
/external/squashfs-tools/kernel-2.4/include/linux/
H A Dsquashfs_fs_sb.h57 unsigned int read_size; member in struct:squashfs_sb_info
/external/libbrillo/brillo/http/
H A Dhttp_connection_curl.cc229 size_t read_size = 0; local
231 &read_size, nullptr);
232 VLOG_IF(3, success) << "Sending data: " << std::string{ptr, read_size};
233 return success ? read_size : CURL_READFUNC_ABORT;
/external/iputils/ninfod/
H A Dni_ifaddrs.c168 int result = 0, read_size; local
179 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags);
180 if (read_size < 0 || (msg_flags & MSG_TRUNC)) {
185 if (read_size == 0)
188 for (nh = (struct nlmsghdr *) buff; NLMSG_OK(nh, read_size); nh = (struct nlmsghdr *) NLMSG_NEXT(nh, read_size)) {
/external/kernel-headers/original/uapi/linux/android/
H A Dbinder.h82 binder_size_t read_size; /* bytes to read */ member in struct:binder_write_read
/external/kernel-headers/original/uapi/linux/
H A Dbinder.h81 binder_size_t read_size; /* bytes to read */ member in struct:binder_write_read
/external/elfutils/libdwfl/
H A Ddwfl_segment_report_module.c885 size_t read_size = size; local
887 &into, &read_size, vaddr, size); local
/external/libpng/
H A Dpngrutil.c764 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, argument
780 if (read_size > *chunk_bytes)
781 read_size = (uInt)*chunk_bytes;
782 *chunk_bytes -= read_size;
784 if (read_size > 0)
785 png_crc_read(png_ptr, read_buffer, read_size);
788 png_ptr->zstream.avail_in = read_size;
/external/pdfium/third_party/lpng_v163/
H A Dpngrutil.c730 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, argument
746 if (read_size > *chunk_bytes)
747 read_size = (uInt)*chunk_bytes;
748 *chunk_bytes -= read_size;
750 if (read_size > 0)
751 png_crc_read(png_ptr, read_buffer, read_size);
754 png_ptr->zstream.avail_in = read_size;
/external/toybox/toys/pending/
H A Dfdisk.c162 static sector_t read_size() function
374 total_number_sectors = read_size(); //Device size
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_decodeframe.c1015 size_t read_size,
1023 if (!read_is_valid(data, read_size, data_end))
1027 if (vpx_reader_init(r, data, read_size, decrypt_cb, decrypt_state))
1013 setup_token_decoder(const uint8_t *data, const uint8_t *data_end, size_t read_size, struct vpx_internal_error_info *error_info, vpx_reader *r, vpx_decrypt_cb decrypt_cb, void *decrypt_state) argument
/external/libnfc-nxp/src/
H A DphDnldNfc.c1280 uint16_t read_size = 0 ; local
1288 read_size = (uint16_t) p_sec_info->p_sec_hdr->section_length;
1289 DNLD_DEBUG(" FW_DNLD: Section Read = %X \n", read_size);
1297 read_size = (uint16_t)(psDnldContext->prev_dnld_size );
1298 DNLD_DEBUG(" FW_DNLD: Section Read = %X \n", read_size);
1305 DNLD_DEBUG(" FW_DNLD: Already Read, Read Ignored, read_size = %X \n", read_size);
1312 DNLD_DEBUG(" FW_DNLD: No Read Required, Read_size = %X \n", read_size);
1316 if (read_size != 0)
1319 read_size
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_parser.cpp1764 FX_DWORD read_size = m_BufSize; local
1765 if ((FX_FILESIZE)read_size > m_FileLen) {
1766 read_size = (FX_DWORD)m_FileLen;
1768 if ((FX_FILESIZE)(read_pos + read_size) > m_FileLen) {
1769 if (m_FileLen < (FX_FILESIZE)read_size) {
1771 read_size = (FX_DWORD)m_FileLen;
1773 read_pos = m_FileLen - read_size;
1776 if (!m_pFileAccess->ReadBlock(m_pFileBuf, read_pos, read_size)) {
1797 FX_DWORD read_size = m_BufSize; local
1798 if ((FX_FILESIZE)(read_pos + read_size) > m_FileLe
3911 FX_DWORD read_size = 512; local
[all...]
/external/squashfs-tools/squashfs-tools/
H A Dmksquashfs.c2228 long long bytes, read_size; local
2237 read_size = buf->st_size;
2238 blocks = (read_size + block_size - 1) >> block_log;
2249 file_buffer->file_size = read_size;
2281 if(read_size != bytes)
2284 if(read_size && read_size % block_size == 0) {
2316 if(read_size != buf2.st_size) {
2569 long long read_size, file_bytes, start; local
2583 read_size
2660 long long read_size = read_buffer->file_size; local
2801 long long read_size = read_buffer->file_size; local
[all...]
/external/valgrind/include/vki/
H A Dvki-linux.h3050 signed long read_size; member in struct:vki_binder_write_read

Completed in 5090 milliseconds