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

1 2 3 4 5

  /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/chromium_org/content/browser/fileapi/
sandbox_database_test_helper.cc 63 int read_size = file.Read(offset, vector_as_array(&buf), buf.size()); local
64 EXPECT_LT(0, read_size);
65 EXPECT_GE(buf.size(), static_cast<size_t>(read_size));
66 buf.resize(read_size);
  /art/runtime/base/unix_file/
mapped_file.cc 108 int64_t read_size = std::max(static_cast<int64_t>(0), local
110 if (read_size > 0) {
111 memcpy(buf, data() + offset, read_size);
113 return read_size;
  /external/chromium_org/components/nacl/loader/nonsfi/
elf_loader.cc 298 size_t read_size = data->ehdr.e_phnum * data->ehdr.e_phentsize; local
300 descriptor, data->phdrs, read_size, data->ehdr.e_phoff);
303 static_cast<size_t>(read_ret) != read_size) {
  /external/chromium_org/media/base/
container_names_unittest.cc 110 int read_size = sizeof(buffer); local
112 if (base::GetFileSize(filename, &actual_size) && actual_size < read_size)
113 read_size = actual_size;
114 int read = base::ReadFile(filename, buffer, read_size);
seekable_buffer_unittest.cc 68 int read_size = GetRandomInt(kBufferSize); local
69 int bytes_read = buffer_.Read(write_buffer_, read_size);
70 EXPECT_GE(read_size, bytes_read);
179 int read_size = GetRandomInt(kBufferSize);
181 int bytes_read = buffer_.Read(write_buffer_, read_size);
183 if (read_size > forward_bytes)
186 EXPECT_EQ(read_size, bytes_read);
273 int read_size = GetRandomInt(kBufferSize);
274 int bytes_read = buffer_.Read(write_buffer_, read_size);
275 EXPECT_GE(read_size, bytes_read)
    [all...]
  /external/chromium_org/net/tools/balsa/
simple_buffer.cc 125 int read_size = 0; local
126 GetReadablePtr(&read_ptr, &read_size);
127 if (read_size > size) {
128 read_size = size;
130 memcpy(bytes, read_ptr, read_size);
131 AdvanceReadablePtr(read_size);
132 return read_size;
149 int read_size = 0; local
150 GetReadablePtr(&read_ptr, &read_size);
152 if (read_size + size <= BufferSize())
    [all...]
  /external/chromium_org/ui/events/ozone/evdev/
key_event_converter_evdev.cc 218 ssize_t read_size = read(fd, inputs, sizeof(inputs)); local
219 if (read_size < 0) {
228 CHECK_EQ(read_size % sizeof(*inputs), 0u);
229 ProcessEvents(inputs, read_size / sizeof(*inputs));
touch_event_converter_evdev.cc 163 ssize_t read_size = read(fd, inputs, sizeof(inputs)); local
164 if (read_size < 0) {
173 for (unsigned i = 0; i < read_size / sizeof(*inputs); i++) {
  /external/chromium_org/chrome/browser/extensions/api/image_writer_private/
operation.cc 326 int read_size = std::min(bytes_total - bytes_processed, local
329 if (read_size == 0) {
335 int len = file.Read(bytes_processed, buffer.get(), read_size);
337 if (len == read_size) {
  /external/chromium_org/net/tools/flip_server/
ring_buffer.cc 159 int read_size = 0; local
160 GetReadablePtr(&read_ptr, &read_size);
168 DCHECK_EQ(read_size, ReadableBytes());
171 memmove(buffer_.get(), read_ptr, read_size);
173 write_idx_ = read_size;
  /external/chromium_org/remoting/base/
compound_buffer.cc 212 int read_size = chunk.size - current_chunk_position_; local
214 *size = read_size;
219 position_ += read_size;
221 last_returned_size_ = read_size;
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
trace-event-parse.c 159 unsigned long long read_size(struct event_format *event, void *ptr, int size) function
  /external/pdfium/core/src/fpdfapi/fpdf_parser/
fpdf_parser_filters.cpp 205 FX_DWORD read_size = m_pStream->GetRawSize() - m_SrcOffset; local
206 if (read_size == 0) {
209 if (read_size > buf_size) {
210 read_size = buf_size;
212 m_pStream->ReadRawData(m_SrcOffset, buffer, read_size);
213 m_SrcOffset += read_size;
214 return read_size;
216 FX_DWORD read_size = 0; local
218 read_size = ReadLeftOver(buffer, buf_size);
219 if (read_size == buf_size) {
254 FX_DWORD read_size = m_pBuffer->GetSize() - m_BufOffset; 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;
  /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/chromium_org/mojo/system/
raw_channel_unittest.cc 135 size_t read_size = 0; local
137 &read_size));
140 bytes_.insert(bytes_.end(), buffer, buffer + read_size);
172 if (static_cast<size_t>(read_size) < sizeof(buffer)) {
  /external/elfutils/0.153/libdwfl/
dwfl_segment_report_module.c 619 size_t read_size = size; local
621 &into, &read_size, vaddr, 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/qemu/audio/
winaudio.c 351 int read_size; member in struct:WinAudioIn
499 s->read_size = samples_size;
531 int wav_bytes = (s->read_size - s->read_pos);
544 __FUNCTION__, s->read_index, s->read_pos, s->read_size, wav_samples, wav_bytes, live,
556 if (s->read_pos == s->read_size) {
  /system/core/adf/libadf/
adf.c 683 ssize_t read_size = read(fd, &event_ret->data, data_size); local
684 if (read_size < 0) {
688 if ((size_t)read_size < data_size) {
  /bionic/libc/kernel/uapi/linux/
binder.h 64 binder_size_t read_size; member in struct:binder_write_read
  /development/ndk/platforms/android-3/include/linux/
binder.h 50 signed long read_size; member in struct:binder_write_read
  /development/ndk/platforms/android-L/include/linux/
binder.h 64 binder_size_t read_size; member in struct:binder_write_read
  /external/kernel-headers/original/uapi/linux/
binder.h 81 binder_size_t read_size; /* bytes to read */ member in struct:binder_write_read

Completed in 865 milliseconds

1 2 3 4 5