Searched refs:accumulated_len (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/ |
D | parser.c | 258 size_t accumulated_len; member 596 UPB_ASSERT(p->accumulated_len == 0); in assert_accumulate_empty() 601 p->accumulated_len = 0; in accumulate_clear() 633 p->accumulated_len = len; in accumulate_append() 637 if (!checked_add(p->accumulated_len, len, &need)) { in accumulate_append() 647 if (p->accumulated_len) { in accumulate_append() 648 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append() 653 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append() 654 p->accumulated_len += len; in accumulate_append() 663 *len = p->accumulated_len; in accumulate_getptr() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/ |
D | parser.rl | 256 size_t accumulated_len; 594 UPB_ASSERT(p->accumulated_len == 0); 599 p->accumulated_len = 0; 631 p->accumulated_len = len; 635 if (!checked_add(p->accumulated_len, len, &need)) { 645 if (p->accumulated_len) { 646 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); 651 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); 652 p->accumulated_len += len; 661 *len = p->accumulated_len; [all …]
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 9031 size_t accumulated_len; member 9369 UPB_ASSERT(p->accumulated_len == 0); in assert_accumulate_empty() 9374 p->accumulated_len = 0; in accumulate_clear() 9406 p->accumulated_len = len; in accumulate_append() 9410 if (!checked_add(p->accumulated_len, len, &need)) { in accumulate_append() 9420 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append() 9424 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append() 9425 p->accumulated_len += len; in accumulate_append() 9434 *len = p->accumulated_len; in accumulate_getptr() 10118 p->accumulated, p->accumulated_len)) { in end_stringval_nontop() [all …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 12859 size_t accumulated_len; member 13191 UPB_ASSERT(p->accumulated_len == 0); in assert_accumulate_empty() 13196 p->accumulated_len = 0; in accumulate_clear() 13229 p->accumulated_len = len; in accumulate_append() 13233 if (!checked_add(p->accumulated_len, len, &need)) { in accumulate_append() 13244 memcpy(p->accumulate_buf, p->accumulated, p->accumulated_len); in accumulate_append() 13248 memcpy(p->accumulate_buf + p->accumulated_len, buf, len); in accumulate_append() 13249 p->accumulated_len += len; in accumulate_append() 13258 *len = p->accumulated_len; in accumulate_getptr() 13948 p->accumulated, p->accumulated_len)) { in end_stringval_nontop() [all …]
|