Searched refs:message_bytes (Results 1 – 4 of 4) sorted by relevance
/external/perfetto/test/ |
D | end_to_end_benchmark.cc | 58 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() 94 state.SetBytesProcessed(iterations * message_bytes * message_count); in BenchmarkProducer() 130 uint32_t message_bytes = static_cast<uint32_t>(state.range(0)); in BenchmarkConsumer() local 134 uint32_t message_count = kBufferSizeBytes / message_bytes; in BenchmarkConsumer() 135 uint32_t messages_per_s = mb_per_s * 1024 * 1024 / message_bytes; in BenchmarkConsumer() 144 ds_config->mutable_for_testing()->set_message_size(message_bytes); in BenchmarkConsumer()
|
/external/grpc-grpc/src/core/lib/security/transport/ |
D | secure_endpoint.cc | 169 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/grpc-grpc/test/core/security/ |
D | secure_endpoint_test.cc | 81 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/ |
D | transport_security_test_lib.cc | 200 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()
|