Home
last modified time | relevance | path

Searched refs:realloc (Results 1 – 15 of 15) sorted by relevance

/xnu-11215/libsyscall/wrappers/
H A D_libc_funcptr.c56 realloc(void *ptr, size_t size) in realloc() function
58 if (_libkernel_functions->realloc) { in realloc()
59 return _libkernel_functions->realloc(ptr, size); in realloc()
68 void *nptr = realloc(ptr, size); in reallocf()
108 return realloc(ptr, size); in malloc_type_realloc()
H A D_libkernel_init.h67 void* (*LIBKERNEL_FUNCTION_PTRAUTH(realloc))(void*, size_t);
/xnu-11215/tests/
H A Dproc_info_list_kthreads.c79 thread_list = realloc(thread_list_tmp, (size_t)buf_used);
84 thread_list = realloc(thread_list_tmp, (size_t)buf_used);
H A Dnet_bridge.c2586 ninbuf = realloc(inbuf, len); in bridge_rt_table_copy_common()
/xnu-11215/osfmk/libsa/
H A Dstdlib.h74 extern void *realloc(void *, size_t);
/xnu-11215/libkern/c++/
H A DOSUnserializeXML.y163 #define realloc(addr, osize, nsize) realloc_impl(addr, osize, nsize) macro
183 #define realloc(addr, osize, nsize) realloc_impl(addr, osize, nsize) macro
195 nmem = (realloc)(addr, nsize); in realloc_impl()
827 tmpbuf = (unsigned char *)realloc(tmpbuf, oldsize, tmpbuflen); in getCFEncodedData()
893 start = (unsigned char *)realloc(start, oldsize, buflen); in getHexData()
H A DOSUnserialize.y134 #define realloc(addr, osize, nsize) realloc_impl(addr, osize, nsize) macro
452 start = (unsigned char *)realloc(start, oldsize, buflen); in yylex()
H A DOSUnserialize.cpp219 #define realloc(addr, osize, nsize) realloc_impl(addr, osize, nsize) macro
2102 start = (unsigned char *)realloc(start, oldsize, buflen); in yylex()
/xnu-11215/iokit/System/
H A DOSUnserializeXMLSharedImplementation.h258 #define realloc(addr, osize, nsize) realloc_impl(addr, osize, nsize) macro
278 #define realloc(addr, osize, nsize) realloc_impl(addr, osize, nsize) macro
290 nmem = (realloc)(addr, nsize); in realloc_impl()
2438 tmpbuf = (unsigned char *)realloc(tmpbuf, oldsize, tmpbuflen); in getCFEncodedData()
2504 start = (unsigned char *)realloc(start, oldsize, buflen); in getHexData()
/xnu-11215/libkern/libkern/c++/
H A DOSUnserializeXMLSharedImplementation.h258 #define realloc(addr, osize, nsize) realloc_impl(addr, osize, nsize) macro
278 #define realloc(addr, osize, nsize) realloc_impl(addr, osize, nsize) macro
290 nmem = (realloc)(addr, nsize); in realloc_impl()
2438 tmpbuf = (unsigned char *)realloc(tmpbuf, oldsize, tmpbuflen); in getCFEncodedData()
2504 start = (unsigned char *)realloc(start, oldsize, buflen); in getHexData()
/xnu-11215/bsd/netinet/
H A Ddhcp_options.c70 realloc(ptr, new_n * sizeof(type)))
/xnu-11215/bsd/nfs/
H A Dxdr_subs.h306 buf = realloc(oldbuf, new_size); in xb_realloc()
/xnu-11215/iokit/IOKit/
H A DIOMemoryDescriptor.h1121 IOMemoryReference * realloc);
/xnu-11215/libsyscall/wrappers/spawn/
H A Dposix_spawn.c1001 acts = realloc(acts, newsize); in posix_spawn_growportactions_np()
1586 if ((new_psacts = (_posix_spawn_file_actions_t)realloc((*psactsp), newsize)) == NULL) { in _posix_spawn_file_actions_grow()
/xnu-11215/iokit/Kernel/
H A DIOMemoryDescriptor.cpp438 IOGeneralMemoryDescriptor::memoryReferenceAlloc(uint32_t capacity, IOMemoryReference * realloc) in memoryReferenceAlloc() argument
443 if (realloc) { in memoryReferenceAlloc()
444 oldCapacity = realloc->capacity; in memoryReferenceAlloc()
451 oldCapacity, capacity, realloc, Z_WAITOK_ZERO); in memoryReferenceAlloc()