Home
last modified time | relevance | path

Searched refs:read_bytes (Results 1 – 16 of 16) sorted by relevance

/external/freetype/src/base/
Dftstream.c125 FT_ULong read_bytes; in FT_Stream_ReadAt() local
138 read_bytes = stream->read( stream, pos, buffer, count ); in FT_Stream_ReadAt()
141 read_bytes = stream->size - pos; in FT_Stream_ReadAt()
142 if ( read_bytes > count ) in FT_Stream_ReadAt()
143 read_bytes = count; in FT_Stream_ReadAt()
145 FT_MEM_COPY( buffer, stream->base + pos, read_bytes ); in FT_Stream_ReadAt()
148 stream->pos = pos + read_bytes; in FT_Stream_ReadAt()
150 if ( read_bytes < count ) in FT_Stream_ReadAt()
154 count, read_bytes )); in FT_Stream_ReadAt()
168 FT_ULong read_bytes = 0; in FT_Stream_TryRead() local
[all …]
/external/chromium/chrome/browser/ui/webui/
Dscreenshot_source.cc26 std::vector<unsigned char>* read_bytes, in ReadScreenshot() argument
28 read_bytes->clear(); in ReadScreenshot()
46 read_bytes->resize(file_size); in ReadScreenshot()
51 &read_bytes->front()), in ReadScreenshot()
53 read_bytes->clear(); in ReadScreenshot()
/external/openssh/
Droaming_common.c46 static u_int64_t read_bytes = 0; variable
93 return read_bytes; in get_recv_bytes()
99 read_bytes += num; in add_recv_bytes()
111 read_bytes = recvd; in roam_set_bytes()
167 read_bytes += ret; in roaming_read()
191 read_bytes += ret; in roaming_atomicio()
/external/qemu/elff/
Delf_file.cc100 const ssize_t read_bytes = mapfile_read(file_handle, &header, sizeof(header)); in Create() local
102 assert(read_bytes != -1 && read_bytes == sizeof(header)); in Create()
103 if (read_bytes == -1 || read_bytes != sizeof(header)) { in Create()
104 if (read_bytes != -1) { in Create()
/external/qemu/android/utils/
Dmapfile.c114 DWORD read_bytes; in mapfile_read() local
115 if (ReadFile(handle, buf, nbyte, &read_bytes, NULL)) { in mapfile_read()
116 ret_bytes = (ssize_t)read_bytes; in mapfile_read()
/external/qemu/android/protocol/
Dcore-connection.c228 size_t* read_bytes) in core_connection_read() argument
246 if (read_bytes != NULL) { in core_connection_read()
247 *read_bytes = read_size; in core_connection_read()
Dcore-connection.h106 size_t* read_bytes);
/external/bluetooth/glib/gio/
Dginputstream.c354 gssize ret, read_bytes; in g_input_stream_real_skip() local
374 read_bytes = 0; in g_input_stream_real_skip()
383 if (read_bytes > 0 && in g_input_stream_real_skip()
388 return read_bytes; in g_input_stream_real_skip()
396 read_bytes += ret; in g_input_stream_real_skip()
399 return read_bytes; in g_input_stream_real_skip()
/external/chromium/net/socket/
Dtcp_client_socket_libevent.cc393 base::StatsCounter read_bytes("tcp.read_bytes"); in Read() local
394 read_bytes.Add(nread); in Read()
627 base::StatsCounter read_bytes("tcp.read_bytes"); in DidCompleteRead() local
628 read_bytes.Add(bytes_transferred); in DidCompleteRead()
Dtcp_client_socket_win.cc544 base::StatsCounter read_bytes("tcp.read_bytes"); in Read() local
545 read_bytes.Add(num); in Read()
798 base::StatsCounter read_bytes("tcp.read_bytes"); in DidCompleteRead() local
799 read_bytes.Add(num_bytes); in DidCompleteRead()
Dssl_client_socket_openssl.cc922 int read_bytes = BIO_read(transport_bio_, send_buffer_->data(), max_read); in BufferSend() local
923 DCHECK_GT(read_bytes, 0); in BufferSend()
924 CHECK_EQ(static_cast<int>(max_read), read_bytes); in BufferSend()
/external/chromium/net/udp/
Dudp_socket_libevent.cc333 base::StatsCounter read_bytes("udp.read_bytes"); in InternalRecvFrom() local
334 read_bytes.Add(bytes_transferred); in InternalRecvFrom()
Dudp_socket_win.cc266 base::StatsCounter read_bytes("udp.read_bytes"); in ProcessSuccessfulRead() local
267 read_bytes.Add(num_bytes); in ProcessSuccessfulRead()
/external/qemu/android/camera/
Dcamera-capture-linux.c997 int read_bytes = in camera_device_read_frame() local
1000 if (read_bytes < 0) { in camera_device_read_frame()
1011 total_read_bytes += read_bytes; in camera_device_read_frame()
/external/protobuf/src/google/protobuf/
Dwire_format_lite_inl.h280 const int read_bytes = num_read * per_value_size; in ReadRepeatedFixedSizePrimitive() local
281 if (read_bytes > 0) { in ReadRepeatedFixedSizePrimitive()
282 input->Skip(read_bytes); in ReadRepeatedFixedSizePrimitive()
/external/qemu/
Dqemu-char.c921 int read_bytes; member
945 s->read_bytes = qemu_chr_can_read(chr); in pty_chr_read_poll()
946 return s->read_bytes; in pty_chr_read_poll()
957 if (len > s->read_bytes) in pty_chr_read()
958 len = s->read_bytes; in pty_chr_read()