Searched refs:RSTRING_LEN (Results 1 – 7 of 7) sorted by relevance
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 39 size_t oldlen = RSTRING_LEN(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() 985 upb_sink_startstr(sink, getsel(f, UPB_HANDLER_STARTSTR), RSTRING_LEN(str), in putstr() 988 RSTRING_LEN(str), NULL); in putstr() 1177 if (RSTRING_LEN(type_url_str_rb) > 0) { in putjsonany() 1183 size_t type_url_len = RSTRING_LEN(type_url_str_rb); in putjsonany() 1213 value_len = RSTRING_LEN(value_str_rb); in putjsonany() 1351 is_default = RSTRING_LEN(str) == 0; in putmsg()
|
D | map.c | 77 *out_length = RSTRING_LEN(key); in table_key()
|
D | message.c | 159 size_t name_len = RSTRING_LEN(method_str); in extract_method_call()
|
/external/grpc-grpc/src/ruby/ext/grpc/ |
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() 708 RSTRING_LEN(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 | 173 RSTRING_LEN(algorithm_name_as_string)); in grpc_rb_compression_options_algorithm_name_to_value_internal()
|
/external/marisa-trie/bindings/ruby/ |
D | marisa-swig_wrap.cxx | 898 #ifndef RSTRING_LEN 899 # define RSTRING_LEN(x) RSTRING(x)->len macro 905 # define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x)) 989 #define StringValueLen(s) RSTRING_LEN(RB_STRING_VALUE(s)) 1124 if ( RSTRING_LEN(asStr) > 30 ) in Ruby_Format_TypeError() 1938 size_t size = RSTRING_LEN(obj) + 1; in SWIG_AsCharPtrAndSize()
|