Searched refs:call_idx (Results 1 – 3 of 3) sorted by relevance
/external/grpc-grpc/test/core/memory_usage/ |
D | client.cc | 61 static void init_ping_pong_request(int call_idx) { in init_ping_pong_request() argument 62 grpc_metadata_array_init(&calls[call_idx].initial_metadata_recv); in init_ping_pong_request() 72 &calls[call_idx].initial_metadata_recv; in init_ping_pong_request() 76 calls[call_idx].call = grpc_channel_create_call( in init_ping_pong_request() 81 GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(calls[call_idx].call, in init_ping_pong_request() 84 tag(call_idx), nullptr)); in init_ping_pong_request() 89 static void finish_ping_pong_request(int call_idx) { in finish_ping_pong_request() argument 90 grpc_metadata_array_init(&calls[call_idx].trailing_metadata_recv); in finish_ping_pong_request() 96 &calls[call_idx].trailing_metadata_recv; in finish_ping_pong_request() 97 op->data.recv_status_on_client.status = &calls[call_idx].status; in finish_ping_pong_request() [all …]
|
D | server.cc | 75 static void request_call_unary(int call_idx) { in request_call_unary() argument 76 if (call_idx == static_cast<int>(sizeof(calls) / sizeof(fling_call))) { in request_call_unary() 80 grpc_metadata_array_init(&calls[call_idx].request_metadata_recv); in request_call_unary() 82 server, &calls[call_idx].call, &calls[call_idx].call_details, in request_call_unary() 83 &calls[call_idx].request_metadata_recv, cq, cq, &calls[call_idx]); in request_call_unary()
|
/external/vboot_reference/tests/ |
D | tlcl_tests.c | 62 static void SetResponse(int call_idx, uint32_t response_code, int rsp_size) in SetResponse() argument 64 struct srcall *c = calls + call_idx; in SetResponse()
|