HomeSort by relevance Sort by last modified time
    Searched refs:bytes_to_write (Results 1 - 18 of 18) sorted by null

  /external/grpc-grpc/src/core/tsi/alts/frame_protector/
frame_handler.cc 82 size_t bytes_to_write = local
86 bytes_to_write);
87 bytes_written += bytes_to_write;
88 *bytes_size -= bytes_to_write;
89 writer->header_bytes_written += bytes_to_write;
90 output += bytes_to_write;
97 size_t bytes_to_write = local
99 memcpy(output, writer->input_buffer, bytes_to_write);
100 writer->input_buffer += bytes_to_write;
101 bytes_written += bytes_to_write;
168 size_t bytes_to_write = GPR_MIN( local
200 size_t bytes_to_write = GPR_MIN(*bytes_size, reader->bytes_remaining); local
    [all...]
alts_frame_protector.cc 293 size_t bytes_to_write = GPR_MIN( local
297 if (bytes_to_write > 0) {
301 bytes_to_write);
303 *unprotected_bytes_size = bytes_to_write;
304 impl->in_place_unprotect_bytes_processed += bytes_to_write;
  /external/image_io/src/base/
ostream_ref_data_destination.cc 17 size_t bytes_to_write = transfer_range.GetLength(); local
21 ostream_ref_.write(reinterpret_cast<const char*>(buffer), bytes_to_write); local
28 if (bytes_written != bytes_to_write) {
  /external/tensorflow/tensorflow/core/lib/io/snappy/
snappy_outputbuffer.cc 38 size_t bytes_to_write = data.size(); local
42 if (bytes_to_write <= AvailableInputSpace()) {
53 if (bytes_to_write <= AvailableInputSpace()) {
62 avail_in_ = bytes_to_write;
84 size_t bytes_to_write = data.size(); local
85 DCHECK_LE(bytes_to_write, AvailableInputSpace());
110 if (bytes_to_write > free_tail_bytes) {
114 memcpy(next_in_ + avail_in_, data.data(), bytes_to_write);
115 avail_in_ += bytes_to_write;
141 size_t bytes_to_write = output_buffer_capacity_ - avail_out_ local
    [all...]
  /development/host/windows/usb/api/
adb_endpoint_object.cpp 64 ULONG bytes_to_write,
70 bytes_to_write,
88 ULONG bytes_to_write,
93 bytes_to_write,
adb_endpoint_object.h 136 @param[in] bytes_to_write Number of bytes to be written.
148 ULONG bytes_to_write,
172 @param[in] bytes_to_write Number of bytes to be written.
181 ULONG bytes_to_write,
adb_api.h 504 @param[in] bytes_to_write Number of bytes to be written.
517 unsigned long bytes_to_write,
546 @param[in] bytes_to_write Number of bytes to be written.
556 unsigned long bytes_to_write,
adb_api.cpp 418 unsigned long bytes_to_write,
429 bytes_to_write,
464 unsigned long bytes_to_write,
474 adb_object->SyncWrite(buffer, bytes_to_write, bytes_written, time_out);
  /external/tensorflow/tensorflow/core/lib/io/
zlib_outputbuffer.cc 76 size_t bytes_to_write = data.size(); local
77 CHECK_LE(bytes_to_write, AvailableInputSpace());
101 if (bytes_to_write > free_tail_bytes) {
105 memcpy(z_stream_->next_in + z_stream_->avail_in, data.data(), bytes_to_write);
106 z_stream_->avail_in += bytes_to_write;
133 uint32 bytes_to_write = output_buffer_capacity_ - z_stream_->avail_out; local
134 if (bytes_to_write > 0) {
136 reinterpret_cast<char*>(z_stream_output_.get()), bytes_to_write));
156 size_t bytes_to_write = data.size(); local
158 if (bytes_to_write <= AvailableInputSpace())
    [all...]
  /external/ltp/testcases/kernel/syscalls/mprotect/
mprotect02.c 62 int bytes_to_write, fd; local
80 bytes_to_write = MIN(strlen(buf), num_bytes);
83 SAFE_WRITE(cleanup, 1, fd, buf, bytes_to_write);
  /external/puffin/src/
puffin_stream.cc 374 auto bytes_to_write = end_byte - start_byte; local
376 deflate_buffer_->resize(bytes_to_write);
377 BufferBitWriter bit_writer(deflate_buffer_->data(), bytes_to_write);
386 TEST_AND_RETURN_FALSE(bit_writer.Size() == bytes_to_write);
391 deflate_buffer_->data()[bytes_to_write - 1] |=
399 last_byte_ = deflate_buffer_->data()[bytes_to_write - 1];
400 bytes_to_write--;
405 stream_->Write(deflate_buffer_->data(), bytes_to_write));
  /external/zlib/src/contrib/iostream3/
zfstream.cc 229 int bytes_to_write = this->pptr() - this->pbase(); local
231 if (bytes_to_write > 0)
237 if (gzwrite(file, this->pbase(), bytes_to_write) != bytes_to_write)
240 this->pbump(-bytes_to_write);
  /external/grpc-grpc/src/core/tsi/alts/crypt/
aes_gcm.cc 343 int bytes_to_write = static_cast<int>(plaintext_length); local
345 plaintext, bytes_to_write)) {
349 if (bytes_written > bytes_to_write) {
495 size_t bytes_to_write = ciphertext_length; local
497 if (bytes_to_write > total_ciphertext_length - kAesGcmTagLength) {
498 bytes_to_write = total_ciphertext_length - kAesGcmTagLength;
500 if (plaintext_length < bytes_to_write) {
508 static_cast<int>(bytes_to_write))) {
  /external/u-boot/drivers/i2c/
kona_i2c.c 399 unsigned int bytes_to_write = MAX_TX_FIFO_SIZE; local
407 bytes_to_write = msg->len - bytes_written;
410 bytes_to_write);
414 bytes_written += bytes_to_write;
415 tmp_buf += bytes_to_write;
  /external/autotest/server/cros/bluetooth/
bluetooth_device.py 671 def write_characteristic(self, uuid, address, bytes_to_write):
678 @param bytes_to_write: A byte array containing the data to write.
686 uuid, address, base64.standard_b64encode(bytes_to_write))
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_coverage_libcdep.cc 639 uptr bytes_to_write = max_idx * sizeof(tr_event_array[0]);
642 while (bytes_to_write) {
644 if (WriteToFile(fd, event_bytes, bytes_to_write, &actually_written) &&
645 actually_written <= bytes_to_write) {
646 bytes_to_write -= actually_written;
    [all...]
  /external/libxaac/test/
ixheaacd_main.c 812 WORD32 bytes_to_write = 0; local
    [all...]
  /external/tensorflow/tensorflow/core/util/tensor_bundle/
tensor_bundle.cc 378 int bytes_to_write = alignment - bytes_over; local
379 Status status = out->Append(string(bytes_to_write, '\0'));
381 *size += bytes_to_write;
    [all...]

Completed in 658 milliseconds