Home
last modified time | relevance | path

Searched refs:message_bytes (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/test/
Dend_to_end_benchmark.cc58 uint32_t message_bytes = static_cast<uint32_t>(state.range(1)); in BenchmarkProducer() local
61 uint32_t messages_per_s = mb_per_s * 1024 * 1024 / message_bytes; in BenchmarkProducer()
67 ds_config->mutable_for_testing()->set_message_size(message_bytes); in BenchmarkProducer()
100 state.SetBytesProcessed(iterations * message_bytes * message_count); in BenchmarkProducer()
136 uint32_t message_bytes = static_cast<uint32_t>(state.range(0)); in BenchmarkConsumer() local
140 uint32_t message_count = kBufferSizeBytes / message_bytes; in BenchmarkConsumer()
141 uint32_t messages_per_s = mb_per_s * 1024 * 1024 / message_bytes; in BenchmarkConsumer()
150 ds_config->mutable_for_testing()->set_message_size(message_bytes); in BenchmarkConsumer()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/
Dsecure_endpoint.cc196 uint8_t* message_bytes = GRPC_SLICE_START_PTR(encrypted); in on_read() local
204 ep->protector, message_bytes, &processed_message_size, cur, in on_read()
212 message_bytes += processed_message_size; in on_read()
312 uint8_t* message_bytes = GRPC_SLICE_START_PTR(plain); in endpoint_write() local
318 result = tsi_frame_protector_protect(ep->protector, message_bytes, in endpoint_write()
327 message_bytes += processed_message_size; in endpoint_write()
/external/grpc-grpc/src/core/lib/security/transport/
Dsecure_endpoint.cc169 uint8_t* message_bytes = GRPC_SLICE_START_PTR(encrypted); in on_read() local
177 ep->protector, message_bytes, &processed_message_size, cur, in on_read()
185 message_bytes += processed_message_size; in on_read()
285 uint8_t* message_bytes = GRPC_SLICE_START_PTR(plain); in endpoint_write() local
291 result = tsi_frame_protector_protect(ep->protector, message_bytes, in endpoint_write()
300 message_bytes += processed_message_size; in endpoint_write()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dsecure_endpoint_test.cc81 uint8_t* message_bytes = GRPC_SLICE_START_PTR(plain); in secure_endpoint_create_fixture_tcp_socketpair() local
87 fake_write_protector, message_bytes, &processed_message_size, cur, in secure_endpoint_create_fixture_tcp_socketpair()
90 message_bytes += processed_message_size; in secure_endpoint_create_fixture_tcp_socketpair()
/external/grpc-grpc/test/core/security/
Dsecure_endpoint_test.cc81 uint8_t* message_bytes = GRPC_SLICE_START_PTR(plain); in secure_endpoint_create_fixture_tcp_socketpair() local
87 fake_write_protector, message_bytes, &processed_message_size, cur, in secure_endpoint_create_fixture_tcp_socketpair()
90 message_bytes += processed_message_size; in secure_endpoint_create_fixture_tcp_socketpair()
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test_lib.cc200 const unsigned char* message_bytes = (const unsigned char*)message; in tsi_test_frame_protector_send_message_to_peer() local
208 protector, message_bytes, &processed_message_size, protected_buffer, in tsi_test_frame_protector_send_message_to_peer()
214 message_bytes += processed_message_size; in tsi_test_frame_protector_send_message_to_peer()