HomeSort by relevance Sort by last modified time
    Searched defs:read_size (Results 1 - 25 of 139) sorted by null

1 2 3 4 5 6

  /external/vboot_reference/tests/
vb21_host_misc_tests.c 35 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");
  /frameworks/av/media/mtp/
MtpRequestPacket.cpp 48 const size_t read_size = static_cast<size_t>(ret); local
49 if (read_size >= MTP_CONTAINER_HEADER_SIZE
50 && read_size <= MTP_CONTAINER_HEADER_SIZE + 5 * sizeof(uint32_t)
51 && ((read_size - MTP_CONTAINER_HEADER_SIZE) & 3) == 0) {
52 mPacketSize = read_size;
53 mParameterCount = (read_size - MTP_CONTAINER_HEADER_SIZE) / sizeof(uint32_t);
  /external/v8/src/
startup-data-util.cc 62 int read_size = static_cast<int>(fread(const_cast<char*>(startup_data->data), local
66 if (startup_data->raw_size == read_size) {
  /frameworks/minikin/app/
HyphTool.cpp 28 size_t read_size = fread(buf, 1, size, f); local
30 if (read_size < size) {
  /external/libbrillo/brillo/streams/
stream_unittest.cc 100 size_t read_size = 0; local
103 auto success_callback = [](size_t* read_size, bool* succeeded,size_t size) {
104 *read_size = size;
126 base::Unretained(&read_size),
130 EXPECT_EQ(0u, read_size);
141 base::Unretained(&read_size),
157 EXPECT_EQ(7u, read_size);
file_stream_unittest.cc 372 size_t read_size = 0; local
374 auto success_callback = [](size_t* read_size, size_t size) {
375 *read_size = size;
389 base::Bind(success_callback, base::Unretained(&read_size)),
392 EXPECT_EQ(0u, read_size);
397 EXPECT_EQ(83u, read_size);
    [all...]
  /external/libmojo/mojo/edk/system/
message_pipe_perftest.cc 109 uint32_t read_size = static_cast<uint32_t>(buffer.size()); local
111 &read_size, nullptr,
116 if (read_size == 0)
120 read_size,
  /bionic/libc/kernel/uapi/sound/
usb_stream.h 35 unsigned read_size; member in struct:usb_stream
  /external/kernel-headers/original/uapi/sound/
usb_stream.h 42 unsigned read_size; member in struct:usb_stream
  /external/libbrillo/brillo/http/
http_connection_curl.cc 229 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/ltp/utils/ffsb-6.0-rc2/
ffsb_tg.h 73 uint64_t read_size; member in struct:ffsb_tg
fileops.c 99 uint64_t read_size = ft_get_read_size(ft); local
112 assert(filesize >= read_size);
116 uint64_t range = filesize - read_size;
122 iterations = read_size / read_blocksize;
123 last = read_size % read_blocksize;
126 * a read_size that is too large when combined
140 " aborting\n\n", read_size,
163 iterations = readfile_helper(fd, read_size,
172 iterations = read_size / read_blocksize;
185 ft_incr_op(ft, opnum, iterations, read_size);
    [all...]
  /external/squashfs-tools/kernel-2.4/include/linux/
squashfs_fs_sb.h 57 unsigned int read_size; member in struct:squashfs_sb_info
  /device/google/dragon/recovery/updater/
flash_ec.c 155 uint32_t read_size = dev->proto.max_response_packet_size local
160 p.size = MIN(read_size, count);
162 ptr, read_size);
  /external/bsdiff/
bspatch.cc 86 unsigned int read_size = std::min( local
88 stream->avail_out = read_size;
92 size -= read_size - stream->avail_out;
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
read_device_node.c 79 int buf_size, read_size; local
102 read_size = read(fp, dptr, 1024);
103 if (read_size <= 0) {
104 printf("Wrong size=%d\n", read_size);
109 ind = read_size + left_over_size;
  /test/vts-testcase/kernel/api/qtaguid/
SocketTagUserSpace.cpp 150 ssize_t read_size; local
  /external/iputils/ninfod/
ni_ifaddrs.c 168 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/pdfium/core/fpdfapi/parser/
cpdf_syntax_parser.cpp 60 bool CPDF_SyntaxParser::ReadChar(FX_FILESIZE read_pos, uint32_t read_size) {
61 if (static_cast<FX_FILESIZE>(read_pos + read_size) > m_FileLen) {
62 if (m_FileLen < static_cast<FX_FILESIZE>(read_size)) {
64 read_size = static_cast<uint32_t>(m_FileLen);
66 read_pos = m_FileLen - read_size;
69 if (!m_pFileAccess->ReadBlock(m_pFileBuf, read_pos, read_size))
83 uint32_t read_size = m_BufSize; local
84 read_size = std::min(read_size, static_cast<uint32_t>(m_FileLen));
85 if (!ReadChar(read_pos, read_size))
104 uint32_t read_size = m_BufSize; local
    [all...]
  /system/core/adf/libadf/
adf.cpp 618 ssize_t read_size = read(fd, &event_ret->data, data_size); local
619 if (read_size < 0)
621 if ((size_t)read_size < data_size)
  /system/core/trusty/storage/interface/include/trusty/interface/
storage.h 242 * @read_size: number of bytes to read for a read request
252 uint32_t read_size; member in struct:storage_rpmb_send_req
  /toolchain/binutils/binutils-2.25/gold/
readsyms.cc 291 int read_size; local
292 bool is_elf = is_elf_object(input_file, 0, &ehdr, &read_size);
294 if (read_size >= Archive::sarmag)
337 input_file, 0, ehdr, read_size,
  /bionic/libc/kernel/uapi/linux/android/
binder.h 56 binder_size_t read_size; member in struct:binder_write_read
  /development/ndk/platforms/android-21/include/linux/
binder.h 64 binder_size_t read_size; member in struct:binder_write_read
  /development/ndk/platforms/android-9/include/linux/
binder.h 50 signed long read_size; member in struct:binder_write_read

Completed in 523 milliseconds

1 2 3 4 5 6