Lines Matching refs:field_count
213 if (fHeader->field_count > 0) { in operator =()
214 size_t fieldsSize = fHeader->field_count * sizeof(field_header); in operator =()
219 fHeader->field_count = 0; in operator =()
230 fHeader->field_count = 0; in operator =()
290 if (fHeader->field_count != other.fHeader->field_count) in HasSameData()
293 for (uint32 i = 0; i < fHeader->field_count; i++) { in HasSameData()
442 if (index < 0 || (uint32)index >= fHeader->field_count) in GetInfo()
457 for (uint32 i = 0; i < fHeader->field_count; i++, field++) { in GetInfo()
549 return fHeader->field_count; in CountNames()
553 for (uint32 i = 0; i < fHeader->field_count; i++, field++) { in CountNames()
566 return fHeader == NULL || fHeader->field_count == 0; in IsEmpty()
625 for (uint32 i = 0; i < fHeader->field_count; i++, field++) { in _PrintToStream()
1031 return sizeof(message_header) + fHeader->field_count * sizeof(field_header) in FlattenedSize()
1055 size_t fieldsSize = fHeader->field_count * sizeof(field_header); in Flatten()
1083 if (fHeader->field_count > 0) { in Flatten()
1084 ssize_t fieldsSize = fHeader->field_count * sizeof(field_header); in Flatten()
1150 if (header->field_count == 0 && header->data_size == 0) in _FlattenToArea()
1154 size_t fieldsSize = header->field_count * sizeof(field_header); in _FlattenToArea()
1184 if (fHeader->field_count == 0 && fHeader->data_size == 0) in _Reference()
1200 fData = address + fHeader->field_count * sizeof(field_header); in _Reference()
1230 if (fHeader->field_count > 0) { in _CopyForWrite()
1231 size_t fieldsSize = fHeader->field_count * sizeof(field_header); in _CopyForWrite()
1267 if (fHeader->field_count == 0) in _ValidateMessage()
1273 for (uint32 i = 0; i < fHeader->field_count; i++) { in _ValidateMessage()
1276 && (uint32)field->next_field > fHeader->field_count) in _ValidateMessage()
1347 if (fHeader->field_count > 0) { in Unflatten()
1348 ssize_t fieldsSize = fHeader->field_count * sizeof(field_header); in Unflatten()
1557 for (uint32 i = 0; i < fHeader->field_count; i++, field++) { in _UpdateOffsets()
1664 if (fHeader->field_count == 0 || fFields == NULL || fData == NULL) in _FindField()
1699 uint32 count = fHeader->field_count * 2 + 1; in _AddField()
1700 count = min_c(count, fHeader->field_count + MAX_FIELD_PREALLOCATION); in _AddField()
1708 fFieldsAvailable = count - fHeader->field_count; in _AddField()
1715 *nextField = fHeader->field_count; in _AddField()
1717 field_header* field = &fFields[fHeader->field_count]; in _AddField()
1734 fHeader->field_count++; in _AddField()
1762 for (uint32 i = 0; i < fHeader->field_count; i++, other++) { in _RemoveField()
1769 size_t size = (fHeader->field_count - index - 1) * sizeof(field_header); in _RemoveField()
1771 fHeader->field_count--; in _RemoveField()
1776 size = (fHeader->field_count + available) * sizeof(field_header); in _RemoveField()
2817 for (uint32 i = 0; i < other.fHeader->field_count; i++, field++) { in Append()