Searched refs:PB_LTYPE (Results 1 – 3 of 3) sorted by relevance
395 PB_LTYPE(iter->pos->type) != PB_LTYPE_EXTENSION) in pb_field_find()415 func = PB_DECODERS[PB_LTYPE(type)]; in decode_static_field()428 && PB_LTYPE(type) <= PB_LTYPE_LAST_PACKABLE) in decode_static_field()493 if (PB_LTYPE(iter->pos->type) == PB_LTYPE_STRING || in initialize_pointer_field()494 PB_LTYPE(iter->pos->type) == PB_LTYPE_BYTES) in initialize_pointer_field()498 else if (PB_LTYPE(iter->pos->type) == PB_LTYPE_SUBMESSAGE) in initialize_pointer_field()516 func = PB_DECODERS[PB_LTYPE(type)]; in decode_pointer_field()522 if (PB_LTYPE(type) == PB_LTYPE_STRING || in decode_pointer_field()523 PB_LTYPE(type) == PB_LTYPE_BYTES) in decode_pointer_field()538 && PB_LTYPE(type) <= PB_LTYPE_LAST_PACKABLE) in decode_pointer_field()[all …]
125 if (PB_LTYPE(field->type) <= PB_LTYPE_LAST_PACKABLE) in encode_array()131 if (PB_LTYPE(field->type) == PB_LTYPE_FIXED32) in encode_array()135 else if (PB_LTYPE(field->type) == PB_LTYPE_FIXED64) in encode_array()180 (PB_LTYPE(field->type) == PB_LTYPE_STRING || in encode_array()181 PB_LTYPE(field->type) == PB_LTYPE_BYTES)) in encode_array()207 func = PB_ENCODERS[PB_LTYPE(field->type)]; in encode_basic_field()357 if (PB_LTYPE(field->type) == PB_LTYPE_EXTENSION) in pb_encode()468 switch (PB_LTYPE(field->type)) in pb_encode_tag_for_field()
184 #define PB_LTYPE(x) ((x) & PB_LTYPE_MASK) macro