Lines Matching refs:n

119 		int i, n = RTL_MEMORY_CACHED_SIZES;  in rtl_memory_once_init()  local
121 for (i = 0; i < n; i++) in rtl_memory_once_init()
129 for (i = 0; i < n; i++) in rtl_memory_once_init()
171 int i, n; in rtl_memory_fini() local
177 for (i = 0, n = RTL_MEMORY_CACHED_SIZES; i < n; i++) in rtl_memory_fini()
201 SAL_CALL rtl_allocateMemory (sal_Size n) SAL_THROW_EXTERN_C() in rtl_allocateMemory() argument
204 if (n > 0) in rtl_allocateMemory()
207 sal_Size size = RTL_MEMORY_ALIGN(n + RTL_MEMALIGN, RTL_MEMALIGN); in rtl_allocateMemory()
210 if (n >= SAL_MAX_SIZE - (RTL_MEMALIGN + RTL_MEMALIGN - 1)) in rtl_allocateMemory()
257 void * SAL_CALL rtl_reallocateMemory (void * p, sal_Size n) SAL_THROW_EXTERN_C() in rtl_reallocateMemory() argument
259 if (n > 0) in rtl_reallocateMemory()
266 p = rtl_allocateMemory (n); in rtl_reallocateMemory()
269 memcpy (p, p_old, SAL_MIN(n, n_old)); in rtl_reallocateMemory()
275 p = rtl_allocateMemory (n); in rtl_reallocateMemory()
304 void * SAL_CALL rtl_allocateMemory (sal_Size n) in rtl_allocateMemory() argument
306 return malloc (n); in rtl_allocateMemory()
318 void * SAL_CALL rtl_reallocateMemory (void * p, sal_Size n) in rtl_reallocateMemory() argument
320 return realloc (p, n); in rtl_reallocateMemory()
339 void * SAL_CALL rtl_allocateZeroMemory (sal_Size n) SAL_THROW_EXTERN_C() in rtl_allocateZeroMemory() argument
341 void * p = rtl_allocateMemory (n); in rtl_allocateZeroMemory()
343 memset (p, 0, n); in rtl_allocateZeroMemory()
349 void SAL_CALL rtl_freeZeroMemory (void * p, sal_Size n) SAL_THROW_EXTERN_C() in rtl_freeZeroMemory() argument
353 memset (p, 0, n); in rtl_freeZeroMemory()