count_packed_elements() function
Count packed elements. Given a raw slab of packed-repeated values, determine the number of elements. This function detects certain kinds of errors but not others; the remaining error checking is done by parse_packed_repeated_member().
![]()
if (!count_packed_elements(field->type,
count_packed_elements() is called by 1 function and calls 1 function:
![]()
count_packed_elements()
count_packed_elements() reads 17 variables:
![]()
count_packed_elements()