Lines Matching refs:segbuf
9326 upb_pb_encoder_segment *segbuf, *segptr, *seglimit; member
9347 return &e->segbuf[*e->top]; in top()
9442 (e->seglimit - e->segbuf) * sizeof(upb_pb_encoder_segment); in start_delim()
9445 upb_env_realloc(e->env, e->segbuf, old_size, new_size); in start_delim()
9451 e->segptr = new_buf + (e->segptr - e->segbuf); in start_delim()
9453 e->segbuf = new_buf; in start_delim()
9457 e->segptr = e->segbuf; in start_delim()
9462 *e->top = e->segptr - e->segbuf; in start_delim()
9482 for (s = e->segbuf; s <= e->segptr; s++) { in end_delim()
9753 e->segbuf = upb_env_malloc(env, initial_segbufsize * sizeof(*e->segbuf)); in upb_pb_encoder_create()
9756 if (!e->buf || !e->segbuf || !e->stack) { in upb_pb_encoder_create()
9761 e->seglimit = e->segbuf + initial_segbufsize; in upb_pb_encoder_create()