/external/grpc-grpc/src/core/tsi/alts/frame_protector/ |
D | frame_handler.cc | 82 size_t bytes_to_write = in alts_write_frame_bytes() local 86 bytes_to_write); in alts_write_frame_bytes() 87 bytes_written += bytes_to_write; in alts_write_frame_bytes() 88 *bytes_size -= bytes_to_write; in alts_write_frame_bytes() 89 writer->header_bytes_written += bytes_to_write; in alts_write_frame_bytes() 90 output += bytes_to_write; in alts_write_frame_bytes() 97 size_t bytes_to_write = in alts_write_frame_bytes() local 99 memcpy(output, writer->input_buffer, bytes_to_write); in alts_write_frame_bytes() 100 writer->input_buffer += bytes_to_write; in alts_write_frame_bytes() 101 bytes_written += bytes_to_write; in alts_write_frame_bytes() [all …]
|
D | alts_frame_protector.cc | 293 size_t bytes_to_write = GPR_MIN( in alts_unprotect() local 297 if (bytes_to_write > 0) { in alts_unprotect() 301 bytes_to_write); in alts_unprotect() 303 *unprotected_bytes_size = bytes_to_write; in alts_unprotect() 304 impl->in_place_unprotect_bytes_processed += bytes_to_write; in alts_unprotect()
|
/external/tensorflow/tensorflow/core/lib/io/snappy/ |
D | snappy_outputbuffer.cc | 38 size_t bytes_to_write = data.size(); in Write() local 42 if (bytes_to_write <= AvailableInputSpace()) { in Write() 53 if (bytes_to_write <= AvailableInputSpace()) { in Write() 62 avail_in_ = bytes_to_write; in Write() 84 size_t bytes_to_write = data.size(); in AddToInputBuffer() local 85 DCHECK_LE(bytes_to_write, AvailableInputSpace()); in AddToInputBuffer() 110 if (bytes_to_write > free_tail_bytes) { in AddToInputBuffer() 114 memcpy(next_in_ + avail_in_, data.data(), bytes_to_write); in AddToInputBuffer() 115 avail_in_ += bytes_to_write; in AddToInputBuffer() 141 size_t bytes_to_write = output_buffer_capacity_ - avail_out_; in FlushOutputBufferToFile() local [all …]
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | zlib_outputbuffer.cc | 76 size_t bytes_to_write = data.size(); in AddToInputBuffer() local 77 CHECK_LE(bytes_to_write, AvailableInputSpace()); in AddToInputBuffer() 101 if (bytes_to_write > free_tail_bytes) { in AddToInputBuffer() 105 memcpy(z_stream_->next_in + z_stream_->avail_in, data.data(), bytes_to_write); in AddToInputBuffer() 106 z_stream_->avail_in += bytes_to_write; in AddToInputBuffer() 133 uint32 bytes_to_write = output_buffer_capacity_ - z_stream_->avail_out; in FlushOutputBufferToFile() local 134 if (bytes_to_write > 0) { in FlushOutputBufferToFile() 136 reinterpret_cast<char*>(z_stream_output_.get()), bytes_to_write)); in FlushOutputBufferToFile() 156 size_t bytes_to_write = data.size(); in Append() local 158 if (bytes_to_write <= AvailableInputSpace()) { in Append() [all …]
|
/external/image_io/src/base/ |
D | ostream_ref_data_destination.cc | 17 size_t bytes_to_write = transfer_range.GetLength(); in Transfer() local 21 ostream_ref_.write(reinterpret_cast<const char*>(buffer), bytes_to_write); in Transfer() 28 if (bytes_written != bytes_to_write) { in Transfer()
|
/external/puffin/src/ |
D | puffin_stream.cc | 374 auto bytes_to_write = end_byte - start_byte; in Write() local 376 deflate_buffer_->resize(bytes_to_write); in Write() 377 BufferBitWriter bit_writer(deflate_buffer_->data(), bytes_to_write); in Write() 386 TEST_AND_RETURN_FALSE(bit_writer.Size() == bytes_to_write); in Write() 391 deflate_buffer_->data()[bytes_to_write - 1] |= in Write() 399 last_byte_ = deflate_buffer_->data()[bytes_to_write - 1]; in Write() 400 bytes_to_write--; in Write() 405 stream_->Write(deflate_buffer_->data(), bytes_to_write)); in Write()
|
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect02.c | 62 int bytes_to_write, fd; in main() local 80 bytes_to_write = MIN(strlen(buf), num_bytes); in main() 83 SAFE_WRITE(cleanup, 1, fd, buf, bytes_to_write); in main()
|
/external/zlib/src/contrib/iostream3/ |
D | zfstream.cc | 229 int bytes_to_write = this->pptr() - this->pbase(); in overflow() local 231 if (bytes_to_write > 0) in overflow() 237 if (gzwrite(file, this->pbase(), bytes_to_write) != bytes_to_write) in overflow() 240 this->pbump(-bytes_to_write); in overflow()
|
/external/grpc-grpc/src/core/tsi/alts/crypt/ |
D | aes_gcm.cc | 343 int bytes_to_write = static_cast<int>(plaintext_length); in gsec_aes_gcm_aead_crypter_encrypt_iovec() local 345 plaintext, bytes_to_write)) { in gsec_aes_gcm_aead_crypter_encrypt_iovec() 349 if (bytes_written > bytes_to_write) { in gsec_aes_gcm_aead_crypter_encrypt_iovec() 495 size_t bytes_to_write = ciphertext_length; in gsec_aes_gcm_aead_crypter_decrypt_iovec() local 497 if (bytes_to_write > total_ciphertext_length - kAesGcmTagLength) { in gsec_aes_gcm_aead_crypter_decrypt_iovec() 498 bytes_to_write = total_ciphertext_length - kAesGcmTagLength; in gsec_aes_gcm_aead_crypter_decrypt_iovec() 500 if (plaintext_length < bytes_to_write) { in gsec_aes_gcm_aead_crypter_decrypt_iovec() 508 static_cast<int>(bytes_to_write))) { in gsec_aes_gcm_aead_crypter_decrypt_iovec()
|
/external/u-boot/drivers/i2c/ |
D | kona_i2c.c | 399 unsigned int bytes_to_write = MAX_TX_FIFO_SIZE; in bcm_kona_i2c_write_fifo() local 407 bytes_to_write = msg->len - bytes_written; in bcm_kona_i2c_write_fifo() 410 bytes_to_write); in bcm_kona_i2c_write_fifo() 414 bytes_written += bytes_to_write; in bcm_kona_i2c_write_fifo() 415 tmp_buf += bytes_to_write; in bcm_kona_i2c_write_fifo()
|
/external/autotest/server/cros/bluetooth/ |
D | bluetooth_device.py | 671 def write_characteristic(self, uuid, address, bytes_to_write): argument 686 uuid, address, base64.standard_b64encode(bytes_to_write))
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_coverage_libcdep.cc | 639 uptr bytes_to_write = max_idx * sizeof(tr_event_array[0]); in DumpTrace() local 642 while (bytes_to_write) { in DumpTrace() 644 if (WriteToFile(fd, event_bytes, bytes_to_write, &actually_written) && in DumpTrace() 645 actually_written <= bytes_to_write) { in DumpTrace() 646 bytes_to_write -= actually_written; in DumpTrace()
|
/external/libxaac/test/ |
D | ixheaacd_main.c | 812 WORD32 bytes_to_write = 0; in ixheaacd_main_process() local 1776 bytes_to_write = in ixheaacd_main_process() 1778 if (bytes_to_write < i_out_bytes) { in ixheaacd_main_process() 1779 ixheaacd_drc_offset = i_out_bytes - bytes_to_write; in ixheaacd_main_process() 1780 i_out_bytes = bytes_to_write; in ixheaacd_main_process() 1782 bytes_to_write / (i_num_chan * (i_pcm_wd_sz >> 3)); in ixheaacd_main_process()
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle.cc | 378 int bytes_to_write = alignment - bytes_over; in PadAlignment() local 379 Status status = out->Append(string(bytes_to_write, '\0')); in PadAlignment() 381 *size += bytes_to_write; in PadAlignment()
|