Home
last modified time | relevance | path

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

/external/protobuf/php/ext/google/protobuf/
Dupb.c9697 size_t accumulated_len; member
9915 assert(p->accumulated_len == 0); in assert_accumulate_empty()
9920 p->accumulated_len = 0; in accumulate_clear()
9953 p->accumulated_len = len; in accumulate_append()
9957 if (!checked_add(p->accumulated_len, len, &need)) { in accumulate_append()
9968 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append()
9972 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append()
9973 p->accumulated_len += len; in accumulate_append()
9982 *len = p->accumulated_len; in accumulate_getptr()
10375 p->accumulated, p->accumulated_len)) { in end_stringval()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c10373 size_t accumulated_len; member
10611 assert(p->accumulated_len == 0); in assert_accumulate_empty()
10616 p->accumulated_len = 0; in accumulate_clear()
10649 p->accumulated_len = len; in accumulate_append()
10653 if (!checked_add(p->accumulated_len, len, &need)) { in accumulate_append()
10664 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append()
10668 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append()
10669 p->accumulated_len += len; in accumulate_append()
10678 *len = p->accumulated_len; in accumulate_getptr()
11072 p->accumulated, p->accumulated_len)) { in end_stringval()