Searched refs:rb_str (Results 1 – 3 of 3) sorted by relevance
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 41 VALUE noleak_rb_str_cat(VALUE rb_str, const char *str, long len) { in noleak_rb_str_cat() argument 43 size_t oldlen = RSTRING_LEN(rb_str); in noleak_rb_str_cat() 44 rb_str_modify_expand(rb_str, len); in noleak_rb_str_cat() 45 p = RSTRING_PTR(rb_str); in noleak_rb_str_cat() 47 rb_str_set_len(rb_str, oldlen + len); in noleak_rb_str_cat() 48 return rb_str; in noleak_rb_str_cat() 279 VALUE rb_str = (VALUE)closure; in stringdata_handler() local 280 noleak_rb_str_cat(rb_str, str, len); in stringdata_handler() 285 VALUE rb_str = (VALUE)closure; in stringdata_end_handler() local 286 rb_obj_freeze(rb_str); in stringdata_end_handler() [all …]
|
D | protobuf.h | 318 upb_strview FileBuilderContext_strdup(VALUE _self, VALUE rb_str); 319 upb_strview FileBuilderContext_strdup_name(VALUE _self, VALUE rb_str);
|
D | defs.c | 2039 upb_strview FileBuilderContext_strdup(VALUE _self, VALUE rb_str) { in FileBuilderContext_strdup() argument 2040 return FileBuilderContext_strdup2(_self, get_str(rb_str)); in FileBuilderContext_strdup()
|