Home
last modified time | relevance | path

Searched refs:rb_str (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c37 VALUE noleak_rb_str_cat(VALUE rb_str, const char *str, long len) { in noleak_rb_str_cat() argument
39 size_t oldlen = RSTRING_LEN(rb_str); in noleak_rb_str_cat()
40 rb_str_modify_expand(rb_str, len); in noleak_rb_str_cat()
41 p = RSTRING_PTR(rb_str); in noleak_rb_str_cat()
43 rb_str_set_len(rb_str, oldlen + len); in noleak_rb_str_cat()
44 return rb_str; in noleak_rb_str_cat()
180 VALUE rb_str = (VALUE)closure; in stringdata_handler() local
181 noleak_rb_str_cat(rb_str, str, len); in stringdata_handler()