Searched defs:old_ptr (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/interface/efi/
H A Defi_umalloc.c37 * @v old_ptr Memory previously allocated by umalloc(), or UNULL
44 static userptr_t efi_urealloc ( userptr_t old_ptr, size_t new_size ) { argument
78 if ( old_ptr && ( old_ptr != UNOWHERE ) ) {
79 copy_from_user ( &old_size, old_ptr, -EFI_PAGE_SIZE,
81 memcpy_user ( new_ptr, 0, old_ptr, 0,
84 phys_addr = user_to_phys ( old_ptr, -EFI_PAGE_SIZE );
/vbox/src/VBox/Devices/PC/ipxe/src/interface/linux/
H A Dlinux_umalloc.c142 * @v old_ptr Memory previously allocated by umalloc(), or UNULL
149 static userptr_t linux_urealloc(userptr_t old_ptr, size_t new_size) argument
151 return (userptr_t)linux_realloc((void *)old_ptr, new_size);
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dmalloc.c387 * @v old_ptr Memory previously allocated by malloc(), or NULL
393 * If @c old_ptr is non-NULL, then the contents of the newly allocated
404 void * realloc ( void *old_ptr, size_t new_size ) { argument
433 if ( old_ptr && ( old_ptr != NOWHERE ) ) {
434 old_block = container_of ( old_ptr, struct autosized_block,
440 memcpy ( new_ptr, old_ptr,
444 VALGRIND_FREELIKE_BLOCK ( old_ptr, 0 );
/vbox/src/libs/libpng-1.2.8/
H A Dpngwutil.c233 png_charpp old_ptr; local
235 old_ptr = comp->output_ptr;
239 png_memcpy(comp->output_ptr, old_ptr, old_max
241 png_free(png_ptr, old_ptr);
283 png_charpp old_ptr; local
285 old_ptr = comp->output_ptr;
290 png_memcpy(comp->output_ptr, old_ptr,
292 png_free(png_ptr, old_ptr);

Completed in 786 milliseconds