Searched refs:md_ary (Results 1 – 4 of 4) sorted by relevance
/external/grpc-grpc/src/ruby/ext/grpc/ |
D | rb_call.c | 397 grpc_metadata_array* md_ary = NULL; in grpc_rb_md_ary_fill_hash_cb() local 424 &grpc_rb_md_ary_data_type, md_ary); in grpc_rb_md_ary_fill_hash_cb() 440 GPR_ASSERT(md_ary->count < md_ary->capacity); in grpc_rb_md_ary_fill_hash_cb() 441 md_ary->metadata[md_ary->count].key = key_slice; in grpc_rb_md_ary_fill_hash_cb() 442 md_ary->metadata[md_ary->count].value = value_slice; in grpc_rb_md_ary_fill_hash_cb() 443 md_ary->count += 1; in grpc_rb_md_ary_fill_hash_cb() 456 GPR_ASSERT(md_ary->count < md_ary->capacity); in grpc_rb_md_ary_fill_hash_cb() 457 md_ary->metadata[md_ary->count].key = key_slice; in grpc_rb_md_ary_fill_hash_cb() 458 md_ary->metadata[md_ary->count].value = value_slice; in grpc_rb_md_ary_fill_hash_cb() 459 md_ary->count += 1; in grpc_rb_md_ary_fill_hash_cb() [all …]
|
D | rb_call.h | 36 VALUE grpc_rb_md_ary_to_h(grpc_metadata_array* md_ary); 41 void grpc_rb_md_ary_convert(VALUE md_ary_hash, grpc_metadata_array* md_ary); 44 grpc_metadata_array* md_ary);
|
D | rb_call_credentials.c | 93 grpc_metadata_array md_ary; in grpc_rb_call_credentials_callback_with_gil() local 97 grpc_metadata_array_init(&md_ary); in grpc_rb_call_credentials_callback_with_gil() 105 &md_ary); in grpc_rb_call_credentials_callback_with_gil() 109 params->callback(params->user_data, md_ary.metadata, md_ary.count, status, in grpc_rb_call_credentials_callback_with_gil() 111 grpc_rb_metadata_array_destroy_including_entries(&md_ary); in grpc_rb_call_credentials_callback_with_gil()
|
D | rb_server.c | 170 grpc_metadata_array md_ary; member 177 grpc_metadata_array_init(&st->md_ary); in grpc_request_call_stack_init() 184 grpc_metadata_array_destroy(&st->md_ary); in grpc_request_call_stack_cleanup() 212 err = grpc_server_request_call(s->wrapped, &call, &st.details, &st.md_ary, in grpc_rb_server_request_call() 237 grpc_rb_md_ary_to_h(&st.md_ary), grpc_rb_wrap_call(call, call_queue), in grpc_rb_server_request_call()
|