Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
188 VALUE rb_str = DEREF(msg, *ofs, VALUE); in stringdata_end_handler() local
189 rb_obj_freeze(rb_str); in stringdata_end_handler()
[all …]