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

1 2

  /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) {
  /system/core/libunwindstack/tests/
MemoryRemoteTest.cpp 257 size_t read_size = remote.Read(reinterpret_cast<uint64_t>(mapping), dst.data(), page_size * 3); local
259 ASSERT_LE(page_size, read_size);
260 for (size_t i = 0; i < read_size; ++i) {
263 for (size_t i = read_size; i < dst.size(); ++i) {
292 size_t read_size = remote.Read(reinterpret_cast<uint64_t>(mapping), dst.data(), page_size * 3); local
293 ASSERT_EQ(page_size, read_size);
294 for (size_t i = 0; i < read_size; ++i) {
297 for (size_t i = read_size; i < dst.size(); ++i) {
  /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 43 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
  /external/adhd/cras/src/server/
cras_udev.c 193 int read_size; local
216 read_size = 0;
217 while (read_size < stat_buf.st_size) {
218 if (read_size == buf_size) {
231 n = read(fd, buf + read_size, buf_size - read_size);
238 read_size += n;
242 result = crc32_checksum(buf, read_size);
  /external/linux-kselftest/tools/testing/selftests/networking/timestamping/
rxtimestamp.c 169 bool do_recv(int rcv, int read_size, struct tstamps expected)
186 recv_iov.iov_base = malloc(read_size);
187 recv_iov.iov_len = read_size;
195 if (r != read_size)
274 int read_size = op_size; local
315 read_size += 20; /* for IP header */
316 failed = do_recv(rcv, read_size, t.expected);
  /external/puffin/src/
main.cc 289 auto read_size = std::min(static_cast<uint64_t>(buffer.size()), local
291 TEST_AND_RETURN_VALUE(read_puff_stream->Read(buffer.data(), read_size),
293 TEST_AND_RETURN_VALUE(huff_writer->Write(buffer.data(), read_size), -1);
294 bytes_read += read_size;
316 auto read_size = std::min(static_cast<uint64_t>(buffer.size()), local
318 TEST_AND_RETURN_VALUE(src_stream->Read(buffer.data(), read_size), -1);
319 TEST_AND_RETURN_VALUE(dst_stream->Write(buffer.data(), read_size), -1);
320 bytes_read += read_size;
  /hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
msg_formatting.h 225 size_t read_size = 0; local
226 std::tie(in, pos, read_size) = read(in);
227 if (!in || read_size != sizeof(T)) {
239 size_t read_size = 0; local
240 std::tie(std::get<0>(result), pos, read_size) = read(in); local
241 if (!std::get<0>(result) || read_size % sizeof(T)) {
246 read_size / sizeof(T));
274 size_t read_size = 0; local
275 std::tie(in, pos, read_size) = read(in);
276 if (!in || read_size != hatSize)
341 size_t read_size = 0; local
    [all...]
  /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;
  /external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
esextcTextureCubeMapArrayImageTextureSize.cpp 480 glw::GLuint read_size[m_n_varyings * m_n_tf_components]; local
481 memcpy(read_size, temp_buff, m_n_varyings * m_n_tf_components * sizeof(glw::GLint));
489 if (read_size[0] != width || read_size[1] != height || read_size[2] != (depth / m_n_layers_per_cube))
495 << "[" << read_size[0] << "][" << read_size[1] << "][" << read_size[2] << "] but should be "
502 if (read_size[3] != width || read_size[4] != height || read_size[5] != (depth / m_n_layers_per_cube)
1176 glw::GLuint read_size[m_n_rt_components]; local
1654 glw::GLuint read_size[m_n_rt_components]; local
    [all...]
  /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)) {
  /system/core/adf/libadf/
adf.cpp 627 ssize_t read_size = read(fd, &event_ret->data, data_size); local
628 if (read_size < 0)
630 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.27/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,
  /external/elfutils/libdwfl/
dwfl_segment_report_module.c 885 size_t read_size = size; local
887 &into, &read_size, vaddr, size); local

Completed in 581 milliseconds

1 2