Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/
Dparser.c259 char *accumulate_buf; member
613 mem = upb_arena_realloc(p->arena, p->accumulate_buf, old_size, new_size); in accumulate_realloc()
619 p->accumulate_buf = mem; in accumulate_realloc()
646 if (p->accumulated != p->accumulate_buf) { in accumulate_append()
648 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append()
650 p->accumulated = p->accumulate_buf; in accumulate_append()
653 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append()
3350 p->accumulate_buf = NULL; in upb_json_parser_create()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/
Dparser.rl257 char *accumulate_buf;
611 mem = upb_arena_realloc(p->arena, p->accumulate_buf, old_size, new_size);
617 p->accumulate_buf = mem;
644 if (p->accumulated != p->accumulate_buf) {
646 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len);
648 p->accumulated = p->accumulate_buf;
651 memcpy(p->accumulate_buf + p->accumulated_len, buf, len);
2913 p->accumulate_buf = NULL;
/external/protobuf/php/ext/google/protobuf/
Dupb.c9032 char *accumulate_buf; member
9386 mem = upb_arena_realloc(p->arena, p->accumulate_buf, old_size, new_size); in accumulate_realloc()
9392 p->accumulate_buf = mem; in accumulate_realloc()
9419 if (p->accumulated != p->accumulate_buf) { in accumulate_append()
9420 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append()
9421 p->accumulated = p->accumulate_buf; in accumulate_append()
9424 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append()
12138 p->accumulate_buf = NULL; in upb_json_parser_create()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c12860 char *accumulate_buf; member
13208 mem = upb_env_realloc(p->env, p->accumulate_buf, old_size, new_size); in accumulate_realloc()
13215 p->accumulate_buf = mem; in accumulate_realloc()
13243 if (p->accumulated != p->accumulate_buf) { in accumulate_append()
13244 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append()
13245 p->accumulated = p->accumulate_buf; in accumulate_append()
13248 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append()
16033 p->accumulate_buf = NULL; in upb_json_parser_create()