Home
last modified time | relevance | path

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

/external/protobuf/php/ext/google/protobuf/
Dupb.c9698 char *accumulate_buf; member
9932 mem = upb_env_realloc(p->env, p->accumulate_buf, old_size, new_size); in accumulate_realloc()
9939 p->accumulate_buf = mem; in accumulate_realloc()
9967 if (p->accumulated != p->accumulate_buf) { in accumulate_append()
9968 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append()
9969 p->accumulated = p->accumulate_buf; in accumulate_append()
9972 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append()
11182 p->accumulate_buf = NULL; in upb_json_parser_create()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c10374 char *accumulate_buf; member
10628 mem = upb_env_realloc(p->env, p->accumulate_buf, old_size, new_size); in accumulate_realloc()
10635 p->accumulate_buf = mem; in accumulate_realloc()
10663 if (p->accumulated != p->accumulate_buf) { in accumulate_append()
10664 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append()
10665 p->accumulated = p->accumulate_buf; in accumulate_append()
10668 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append()
11958 p->accumulate_buf = NULL; in upb_json_parser_create()