Searched refs:old_size (Results 1 – 3 of 3) sorted by relevance
239 old_size if old_layout.align() == new_layout.align() => unsafe { in grow_impl()248 raw_ptr.add(old_size).write_bytes(0, new_size - old_size); in grow_impl()258 old_size => unsafe { in grow_impl()260 ptr::copy_nonoverlapping(ptr.as_ptr(), new_ptr.as_mut_ptr(), old_size); in grow_impl()
175 static const size_t old_size = TAGGING_GRANULARITY; in TEST() local187 a = malloc(old_size); in TEST()188 unused = malloc(old_size); in TEST()
572 storage_off_t old_size = file->size(); in CreateDataForNewKey() local575 int rc = file->Resize(old_size + kBlockSize); in CreateDataForNewKey()582 if (!zero_entries(*file, old_size, file->size())) { in CreateDataForNewKey()587 keySlot = old_size / kSecretSize; in CreateDataForNewKey()