Home
last modified time | relevance | path

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

/external/grpc-grpc/third_party/nanopb/
Dpb_common.c22 const pb_field_t *prev_field = iter->pos; in pb_field_iter_next() local
24 if (prev_field->tag == 0) in pb_field_iter_next()
42 size_t prev_size = prev_field->data_size; in pb_field_iter_next()
44 if (PB_HTYPE(prev_field->type) == PB_HTYPE_ONEOF && in pb_field_iter_next()
49 iter->pData = (char*)iter->pData - prev_field->data_offset; in pb_field_iter_next()
51 else if (PB_ATYPE(prev_field->type) == PB_ATYPE_STATIC && in pb_field_iter_next()
52 PB_HTYPE(prev_field->type) == PB_HTYPE_REPEATED) in pb_field_iter_next()
56 prev_size *= prev_field->array_size; in pb_field_iter_next()
58 else if (PB_ATYPE(prev_field->type) == PB_ATYPE_POINTER) in pb_field_iter_next()
65 if (PB_HTYPE(prev_field->type) == PB_HTYPE_REQUIRED) in pb_field_iter_next()
/external/nanopb-c/
Dpb_common.c22 const pb_field_t *prev_field = iter->pos; in pb_field_iter_next() local
24 if (prev_field->tag == 0) in pb_field_iter_next()
42 size_t prev_size = prev_field->data_size; in pb_field_iter_next()
44 if (PB_HTYPE(prev_field->type) == PB_HTYPE_ONEOF && in pb_field_iter_next()
51 else if (PB_ATYPE(prev_field->type) == PB_ATYPE_STATIC && in pb_field_iter_next()
52 PB_HTYPE(prev_field->type) == PB_HTYPE_REPEATED) in pb_field_iter_next()
56 prev_size *= prev_field->array_size; in pb_field_iter_next()
58 else if (PB_ATYPE(prev_field->type) == PB_ATYPE_POINTER) in pb_field_iter_next()
65 if (PB_HTYPE(prev_field->type) == PB_HTYPE_REQUIRED) in pb_field_iter_next()