/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/mojo/common/test/ |
multiprocess_test_base_unittest.cc | 75 ssize_t read_size = HANDLE_EINTR(read(fd, &d, 1)); local 76 EXPECT_EQ(1, read_size); 100 ssize_t read_size = HANDLE_EINTR(read(fd, &c, 1)); local 101 CHECK_EQ(read_size, 1);
|
/external/chromium_org/webkit/browser/fileapi/ |
sandbox_database_test_helper.cc | 65 int read_size = base::ReadPlatformFile(file, offset, local 67 EXPECT_LT(0, read_size); 68 EXPECT_GE(buf.size(), static_cast<size_t>(read_size)); 69 buf.resize(read_size);
|
/art/runtime/base/unix_file/ |
mapped_file.cc | 104 int64_t read_size = std::max(0LL, std::min(byte_count, file_size_ - offset)); local 105 if (read_size > 0) { 106 memcpy(buf, data() + offset, read_size); 108 return read_size;
|
/external/chromium_org/ui/events/ozone/evdev/ |
key_event_converter.cc | 201 ssize_t read_size = read(fd, inputs, sizeof(inputs)); local 202 if (read_size <= 0) 205 CHECK_EQ(read_size % sizeof(*inputs), 0u); 206 ProcessEvents(inputs, read_size / sizeof(*inputs));
|
touch_event_converter.cc | 107 ssize_t read_size = read(fd, inputs, sizeof(inputs)); local 108 if (read_size <= 0) 111 for (unsigned i = 0; i < read_size / sizeof(*inputs); i++) {
|
/external/chromium/net/tools/flip_server/ |
simple_buffer.cc | 120 int read_size = 0; local 121 GetReadablePtr(&read_ptr, &read_size); 122 if (read_size > size) { 123 read_size = size; 125 memcpy(bytes, read_ptr, read_size); 126 AdvanceReadablePtr(read_size); 127 return read_size; 144 int read_size = 0; local 145 GetReadablePtr(&read_ptr, &read_size); 147 if (read_size + size <= BufferSize()) [all...] |
ring_buffer.cc | 192 int read_size = 0; local 193 GetReadablePtr(&read_ptr, &read_size); 201 DCHECK(read_size == ReadableBytes()); 204 memmove(buffer_.get(), read_ptr, read_size); 206 write_idx_ = 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 | 65 int read_size = GetRandomInt(kBufferSize); local 66 int bytes_read = buffer_.Read(write_buffer_, read_size); 67 EXPECT_GE(read_size, bytes_read); 176 int read_size = GetRandomInt(kBufferSize); 178 int bytes_read = buffer_.Read(write_buffer_, read_size); 180 if (read_size > forward_bytes) 183 EXPECT_EQ(read_size, bytes_read); 270 int read_size = GetRandomInt(kBufferSize); 271 int bytes_read = buffer_.Read(write_buffer_, read_size); 272 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/qemu/android/protocol/ |
core-connection.c | 230 ssize_t read_size; local 238 read_size = 241 if (read_size <= 0) { 247 *read_bytes = 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/chromium_org/chrome/browser/chromeos/policy/ |
user_cloud_policy_store_chromeos.cc | 508 int read_size = base::ReadFile( local 510 if (read_size != size) {
|
/system/extras/tests/iptables/qtaguid/ |
socketTag.cpp | 133 ssize_t read_size; local 144 read_size = read(ctrl_fd, ctrl_data, sizeof(ctrl_data)); 145 if (read_size < 0) { 149 ctrl_data[read_size] = '\0';
|
/external/chromium_org/mojo/system/ |
raw_channel_posix_unittest.cc | 152 ssize_t read_size = HANDLE_EINTR(read(fd_, buffer, sizeof(buffer))); local 153 if (read_size < 0) { 155 read_size = 0; 159 bytes_.insert(bytes_.end(), buffer, buffer + read_size); 189 if (static_cast<size_t>(read_size) < sizeof(buffer)) {
|
/external/elfutils/libdwfl/ |
dwfl_segment_report_module.c | 593 size_t read_size = size; local 595 &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) {
|
/bionic/libc/kernel/common/linux/ |
binder.h | 55 signed long 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
|
/external/kernel-headers/original/linux/ |
binder.h | 73 signed long read_size; /* bytes to read */ member in struct:binder_write_read
|
/external/qemu/hw/ |
goldfish_nand.c | 669 ssize_t read_size; local 839 read_size = do_read(initfd, dev->data, dev->erase_size); 840 if(read_size < 0) { 844 if(do_write(rwfd, dev->data, read_size) != read_size) { 848 } while(read_size == dev->erase_size);
|
/external/qemu/ |
tap-win32.c | 86 unsigned long read_size; member in struct:tun_buffer_s 486 unsigned long read_size; local 496 &read_size, 503 &read_size, FALSE); 527 if(read_size > 0) { 528 buffer->read_size = read_size; 547 size = (int)buffer->read_size;
|