Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 3 of 3) sorted by relevance

/trusty/user/base/lib/trusty-std/src/
Dalloc.rs239 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()
/trusty/user/base/lib/hwasan/test/
Dhwasan_test.c175 static const size_t old_size = TAGGING_GRANULARITY; in TEST() local
187 a = malloc(old_size); in TEST()
188 unused = malloc(old_size); in TEST()
/trusty/user/app/keymaster/
Dtrusty_secure_deletion_secret_storage.cpp572 storage_off_t old_size = file->size(); in CreateDataForNewKey() local
575 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()