Searched refs:RSTRING_PTR (Results 1 – 10 of 10) sorted by relevance
/external/grpc-grpc/src/ruby/ext/grpc/ |
D | rb_server_credentials.c | 188 key_cert_pairs[i].private_key = RSTRING_PTR(key); in grpc_rb_server_credentials_init() 189 key_cert_pairs[i].cert_chain = RSTRING_PTR(cert); in grpc_rb_server_credentials_init() 199 creds = grpc_ssl_server_credentials_create_ex(RSTRING_PTR(pem_root_certs), in grpc_rb_server_credentials_init()
|
D | rb_channel_credentials.c | 159 pem_root_certs_cstr = RSTRING_PTR(pem_root_certs); in grpc_rb_channel_credentials_init() 164 key_cert_pair.private_key = RSTRING_PTR(pem_private_key); in grpc_rb_channel_credentials_init() 165 key_cert_pair.cert_chain = RSTRING_PTR(pem_cert_chain); in grpc_rb_channel_credentials_init()
|
D | rb_call.c | 408 grpc_slice_from_copied_buffer(RSTRING_PTR(key), RSTRING_LEN(key)); in grpc_rb_md_ary_fill_hash_cb() 431 RSTRING_PTR(rb_ary_entry(val, i)), RSTRING_LEN(rb_ary_entry(val, i))); in grpc_rb_md_ary_fill_hash_cb() 447 grpc_slice_from_copied_buffer(RSTRING_PTR(val), RSTRING_LEN(val)); in grpc_rb_md_ary_fill_hash_cb() 596 grpc_slice_from_copied_buffer(RSTRING_PTR(details), RSTRING_LEN(details)); in grpc_rb_op_update_status_from_server() 707 grpc_rb_s_to_byte_buffer(RSTRING_PTR(this_value), in grpc_run_batch_stack_fill_ops()
|
D | rb_channel.c | 423 grpc_slice_from_copied_buffer(RSTRING_PTR(host), RSTRING_LEN(host)); in grpc_rb_channel_create_call() 441 grpc_slice_from_copied_buffer(RSTRING_PTR(method), RSTRING_LEN(method)); in grpc_rb_channel_create_call()
|
D | rb_compression_options.c | 172 grpc_slice_from_copied_buffer(RSTRING_PTR(algorithm_name_as_string), in grpc_rb_compression_options_algorithm_name_to_value_internal()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | message.c | 158 char* name = RSTRING_PTR(method_str); in extract_method_call() 407 name = RSTRING_PTR(key); in Message_initialize_kwarg() 409 name = RSTRING_PTR(rb_id2str(SYM2ID(key))); in Message_initialize_kwarg() 661 field = upb_msgdef_ntofz(self->descriptor->msgdef, RSTRING_PTR(field_name)); in Message_index() 680 field = upb_msgdef_ntofz(self->descriptor->msgdef, RSTRING_PTR(field_name)); in Message_index_set() 682 rb_raise(rb_eArgError, "Unknown field: %s", RSTRING_PTR(field_name)); in Message_index_set()
|
D | encode_decode.c | 41 p = RSTRING_PTR(rb_str); in noleak_rb_str_cat() 880 upb_bufsrc_putbuf(RSTRING_PTR(data), RSTRING_LEN(data), in Message_decode() 944 upb_bufsrc_putbuf(RSTRING_PTR(data), RSTRING_LEN(data), in Message_decode_json() 987 upb_sink_putstring(&subsink, getsel(f, UPB_HANDLER_STRING), RSTRING_PTR(str), in putstr() 1182 const char* type_url_str = RSTRING_PTR(type_url_str_rb); in putjsonany() 1212 value_str = RSTRING_PTR(value_str_rb); in putjsonany()
|
D | map.c | 76 *out_key = RSTRING_PTR(key); in table_key()
|
D | defs.c | 39 return RSTRING_PTR(str); in get_str()
|
/external/marisa-trie/bindings/ruby/ |
D | marisa-swig_wrap.cxx | 901 #ifndef RSTRING_PTR 902 # define RSTRING_PTR(x) RSTRING(x)->ptr macro 905 # define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x)) 986 #define StringValuePtr(s) RSTRING_PTR(RB_STRING_VALUE(s)) 1552 char* type_name = RSTRING_PTR(value); in SWIG_Ruby_NewPointerObj()
|