Home
last modified time | relevance | path

Searched refs:toread (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/gpu/command_buffer/common/
Dcommand_buffer_shared.h50 int toread = !!base::subtle::Acquire_Load(&latest_); in Read() local
51 base::subtle::Release_Store(&reading_, toread); in Read()
53 int index = !!base::subtle::Acquire_Load(&slots_[toread]); in Read()
54 if (states_[toread][index].generation - state->generation < 0x80000000U) in Read()
55 *state = states_[toread][index]; in Read()
/external/libmtp/src/
Dlibusb-glue.c815 unsigned long toread = 0; in ptp_read_func() local
833 toread = size - curread; in ptp_read_func()
835 if (readzero && FLAG_NO_ZERO_READS(ptp_usb) && toread % 64 == 0) { in ptp_read_func()
836 toread += 1; in ptp_read_func()
842 toread = CONTEXT_BLOCK_SIZE_1; in ptp_read_func()
843 else if (toread == CONTEXT_BLOCK_SIZE_1) in ptp_read_func()
844 toread = CONTEXT_BLOCK_SIZE_2; in ptp_read_func()
845 else if (toread == CONTEXT_BLOCK_SIZE_2) in ptp_read_func()
846 toread = CONTEXT_BLOCK_SIZE_1; in ptp_read_func()
849 (unsigned int) toread, (unsigned int) (size-curread)); in ptp_read_func()
[all …]
/external/valgrind/main/coregrind/m_gdbserver/
Dserver.c763 char toread[len]; in handle_query() local
788 len_read = VG_(read) (fd, toread, len); in handle_query()
789 *new_packet_len_p = write_qxfer_response (arg_own_buf, (unsigned char *)toread, in handle_query()
/external/chromium_org/third_party/webrtc/base/
Dopensslstreamadapter.cc476 int toread = (sizeof(buf) < left) ? sizeof(buf) : left; in FlushInput() local
477 int code = SSL_read(ssl_, buf, toread); in FlushInput()