Home
last modified time | relevance | path

Searched refs:num_bytes_written (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.cc271 size_t* num_bytes_written = protected_output_frames_size; in fake_protector_protect() local
272 *num_bytes_written = 0; in fake_protector_protect()
276 drained_size = saved_output_size - *num_bytes_written; in fake_protector_protect()
279 *num_bytes_written += drained_size; in fake_protector_protect()
315 drained_size = saved_output_size - *num_bytes_written; in fake_protector_protect()
317 *num_bytes_written += drained_size; in fake_protector_protect()
354 size_t* num_bytes_written = unprotected_bytes_size; in fake_protector_unprotect() local
355 *num_bytes_written = 0; in fake_protector_unprotect()
361 drained_size = saved_output_size - *num_bytes_written; in fake_protector_unprotect()
364 *num_bytes_written += drained_size; in fake_protector_unprotect()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dfake_transport_security.cc267 size_t* num_bytes_written = protected_output_frames_size; in fake_protector_protect() local
268 *num_bytes_written = 0; in fake_protector_protect()
272 drained_size = saved_output_size - *num_bytes_written; in fake_protector_protect()
275 *num_bytes_written += drained_size; in fake_protector_protect()
311 drained_size = saved_output_size - *num_bytes_written; in fake_protector_protect()
313 *num_bytes_written += drained_size; in fake_protector_protect()
350 size_t* num_bytes_written = unprotected_bytes_size; in fake_protector_unprotect() local
351 *num_bytes_written = 0; in fake_protector_unprotect()
357 drained_size = saved_output_size - *num_bytes_written; in fake_protector_unprotect()
360 *num_bytes_written += drained_size; in fake_protector_unprotect()
[all …]
/external/libchrome/mojo/core/
Ddata_pipe_producer_dispatcher.cc191 uint32_t num_bytes_written) { in EndWriteData() argument
202 if (num_bytes_written > available_capacity_ || in EndWriteData()
203 num_bytes_written % options_.element_num_bytes != 0 || in EndWriteData()
204 write_offset_ + num_bytes_written > options_.capacity_num_bytes) { in EndWriteData()
207 DCHECK_LE(num_bytes_written + write_offset_, options_.capacity_num_bytes); in EndWriteData()
208 available_capacity_ -= num_bytes_written; in EndWriteData()
210 (write_offset_ + num_bytes_written) % options_.capacity_num_bytes; in EndWriteData()
213 NotifyWrite(num_bytes_written); in EndWriteData()
Ddata_pipe_producer_dispatcher.h48 MojoResult EndWriteData(uint32_t num_bytes_written) override;
Ddispatcher.h129 virtual MojoResult EndWriteData(uint32_t num_bytes_written);
Ddispatcher.cc95 MojoResult Dispatcher::EndWriteData(uint32_t num_bytes_written) { in EndWriteData() argument
Dcore_test_base.cc68 MojoResult EndWriteData(uint32_t num_bytes_written) override { in EndWriteData() argument
Dcore.h248 uint32_t num_bytes_written,
Dcore.cc784 uint32_t num_bytes_written, in EndWriteData() argument
797 return dispatcher->EndWriteData(num_bytes_written); in EndWriteData()
Ddata_pipe_unittest.cc135 MojoResult EndWriteData(uint32_t num_bytes_written) { in EndWriteData() argument
136 return MojoEndWriteData(producer_, num_bytes_written, nullptr); in EndWriteData()
/external/grpc-grpc/test/cpp/grpclb/
Dgrpclb_api_test.cc61 const int num_bytes_written = GRPC_SLICE_LENGTH(slice); in TEST_F() local
62 EXPECT_GT(num_bytes_written, 0); in TEST_F()
63 request.ParseFromArray(GRPC_SLICE_START_PTR(slice), num_bytes_written); in TEST_F()
/external/libchrome/mojo/public/cpp/system/
Ddata_pipe.h54 MojoResult EndWriteData(uint32_t num_bytes_written) const { in EndWriteData() argument
55 return MojoEndWriteData(value(), num_bytes_written, nullptr); in EndWriteData()
/external/libchrome/mojo/public/c/system/
Ddata_pipe.h307 uint32_t num_bytes_written,
/external/libchrome/mojo/public/java/system/
Dcore_impl.cc275 jint num_bytes_written) { in JNI_CoreImpl_EndWriteData() argument
276 return MojoEndWriteData(mojo_handle, num_bytes_written, nullptr); in JNI_CoreImpl_EndWriteData()