Lines Matching refs:n

114 		int i, n = RTL_MEMORY_CACHED_SIZES;  in rtl_memory_once_init()  local
116 for (i = 0; i < n; i++) in rtl_memory_once_init()
124 for (i = 0; i < n; i++) in rtl_memory_once_init()
166 int i, n; in rtl_memory_fini() local
172 for (i = 0, n = RTL_MEMORY_CACHED_SIZES; i < n; i++) in rtl_memory_fini()
196 SAL_CALL rtl_allocateMemory (sal_Size n) SAL_THROW_EXTERN_C() in rtl_allocateMemory() argument
199 if (n > 0) in rtl_allocateMemory()
202 sal_Size size = RTL_MEMORY_ALIGN(n + RTL_MEMALIGN, RTL_MEMALIGN); in rtl_allocateMemory()
205 if (n >= SAL_MAX_SIZE - (RTL_MEMALIGN + RTL_MEMALIGN - 1)) in rtl_allocateMemory()
252 void * SAL_CALL rtl_reallocateMemory (void * p, sal_Size n) SAL_THROW_EXTERN_C() in rtl_reallocateMemory() argument
254 if (n > 0) in rtl_reallocateMemory()
261 p = rtl_allocateMemory (n); in rtl_reallocateMemory()
264 memcpy (p, p_old, SAL_MIN(n, n_old)); in rtl_reallocateMemory()
270 p = rtl_allocateMemory (n); in rtl_reallocateMemory()
299 void * SAL_CALL rtl_allocateMemory (sal_Size n) in rtl_allocateMemory() argument
301 return malloc (n); in rtl_allocateMemory()
313 void * SAL_CALL rtl_reallocateMemory (void * p, sal_Size n) in rtl_reallocateMemory() argument
315 return realloc (p, n); in rtl_reallocateMemory()
334 void * SAL_CALL rtl_allocateZeroMemory (sal_Size n) SAL_THROW_EXTERN_C() in rtl_allocateZeroMemory() argument
336 void * p = rtl_allocateMemory (n); in rtl_allocateZeroMemory()
338 memset (p, 0, n); in rtl_allocateZeroMemory()
344 void SAL_CALL rtl_freeZeroMemory (void * p, sal_Size n) SAL_THROW_EXTERN_C() in rtl_freeZeroMemory() argument
348 memset (p, 0, n); in rtl_freeZeroMemory()