Lines Matching refs:_total_size

48     _total_size = 0;  in create_empty()
72 _total_size = _fixed_keylen_aligned * _num_pivots; in create_from_dbts()
73 XMALLOC_N_ALIGNED(64, _total_size, _fixed_keys); in create_from_dbts()
84 _total_size += size; in create_from_dbts()
96 _total_size = _fixed_keylen_aligned * _num_pivots; in _create_from_fixed_keys()
97 XMEMDUP_N(_fixed_keys, fixedkeys, _total_size); in _create_from_fixed_keys()
126 _total_size = 0; in destroy()
135 _total_size = _fixed_keylen_aligned * _num_pivots; in _convert_to_fixed_format()
136 XMALLOC_N_ALIGNED(64, _total_size, _fixed_keys); in _convert_to_fixed_format()
162 _total_size = _num_pivots * _fixed_keylen; in _convert_to_dbt_format()
176 _total_size = 0; in deserialize_from_rbuf()
188 _total_size += size; in deserialize_from_rbuf()
205 paranoid_invariant(i * _fixed_keylen_aligned < _total_size); in get_pivot()
226 _total_size += _dbt_keys[i].size; in _add_key_dbt()
230 invariant(_total_size >= _dbt_keys[i].size); in _destroy_key_dbt()
231 _total_size -= _dbt_keys[i].size; in _destroy_key_dbt()
248 _total_size += _fixed_keylen_aligned; in _insert_at_fixed()
279 _total_size += size; in _append_dbt()
287 memcpy(_fixed_key(_num_pivots), pivotkeys._fixed_keys, pivotkeys._total_size); in _append_fixed()
288 _total_size += pivotkeys._total_size; in _append_fixed()
338 _total_size -= _fixed_keylen_aligned; in _delete_at_fixed()
365 _total_size = i * _fixed_keylen_aligned; in _split_at_fixed()
366 REALLOC_N_ALIGNED(64, _total_size, _fixed_keys); in _split_at_fixed()
407 …paranoid_invariant(_fixed_keys == nullptr || (_total_size == _fixed_keylen_aligned * _num_pivots)); in num_pivots()
413 …paranoid_invariant(_fixed_keys == nullptr || (_total_size == _fixed_keylen_aligned * _num_pivots)); in total_size()
414 return _total_size; in total_size()
420 return _fixed_format() ? _num_pivots * _fixed_keylen : _total_size; in serialized_size()
427 invariant(_num_pivots * _fixed_keylen <= _total_size); in sanity_check()
428 invariant(_num_pivots * _fixed_keylen_aligned == _total_size); in sanity_check()
435 invariant(size == _total_size); in sanity_check()