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

1 2 3 4

  /frameworks/compile/libbcc/lib/Support/
InputFile.cpp 38 ssize_t read_size = ::read(mFD, pBuf, count); local
40 if (read_size >= 0) {
41 return read_size;
  /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 47 const size_t read_size = static_cast<size_t>(ret); local
48 if (read_size >= MTP_CONTAINER_HEADER_SIZE
49 && read_size <= MTP_CONTAINER_HEADER_SIZE + 5 * sizeof(uint32_t)
50 && ((read_size - MTP_CONTAINER_HEADER_SIZE) & 3) == 0) {
51 mPacketSize = read_size;
52 mParameterCount = (read_size - MTP_CONTAINER_HEADER_SIZE) / sizeof(uint32_t);
  /frameworks/minikin/app/
HyphTool.cpp 26 size_t read_size = fread(buf, 1, size, f); local
27 if (read_size < size) {
  /external/libbrillo/brillo/streams/
stream_unittest.cc 100 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);
file_stream_unittest.cc 372 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);
    [all...]
  /external/opencv3/modules/flann/include/opencv2/flann/
saving.h 110 size_t read_size = fread(&header,sizeof(header),1,stream); local
112 if (read_size!=(size_t)1) {
  /external/v8/src/
startup-data-util.cc 61 int read_size = static_cast<int>(fread(const_cast<char*>(startup_data->data), local
65 if (startup_data->raw_size == read_size) {
  /system/connectivity/shill/net/
netlink_socket_unittest.cc 186 static const size_t read_size = next_read_string.size(); local
187 ByteString expected_results(next_read_string.c_str(), read_size);
193 .WillOnce(Return(read_size));
197 RecvFrom(kFakeFd, _, read_size, 0, _, _))
  /bionic/libc/kernel/uapi/sound/
usb_stream.h 39 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/squashfs-tools/kernel-2.4/include/linux/
squashfs_fs_sb.h 57 unsigned int read_size; member in struct:squashfs_sb_info
  /system/core/metricsd/
metrics_library.cc 84 int read_size = read(mounts_fd, buffer, buffer_size); local
85 if (read_size <= 0) {
90 for (int i = 0; i < read_size; ++i) {
  /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);
  /hardware/bsp/intel/peripheral/libmraa/src/iio/
iio.c 290 mraa_iio_wait_event(int fd, char* data, int* read_size)
306 *read_size = read(fd, data, 100);
317 int read_size; local
320 if (mraa_iio_wait_event(dev->fp, &data[0], &read_size) == MRAA_SUCCESS) {
325 for (i = 0; i < (read_size / dev->datasize); i++) {
  /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;
  /system/extras/tests/iptables/qtaguid/
socketTag.cpp 137 ssize_t read_size; local
148 read_size = read(ctrl_fd, ctrl_data, sizeof(ctrl_data));
149 if (read_size < 0) {
153 ctrl_data[read_size] = '\0';
  /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)) {
  /frameworks/base/packages/MtpDocumentsProvider/jni/
com_android_mtp_AppFuse.cpp 366 const jlong read_size = env_->CallLongMethod( local
372 if (read_size <= 0) {
373 return read_size;
384 memcpy(buf, bytes.get(), read_size);
385 return read_size;
  /system/core/adf/libadf/
adf.c 684 ssize_t read_size = read(fd, &event_ret->data, data_size); local
685 if (read_size < 0) {
689 if ((size_t)read_size < data_size) {
  /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 65 binder_size_t read_size; member in struct:binder_write_read
  /bionic/libc/kernel/uapi/linux/
binder.h 64 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

Completed in 752 milliseconds

1 2 3 4