Searched refs:old_ptr (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10/apr-32/apr/apr/atomic/os390/
H A Datomic.c123 void *old_ptr; local
125 old_ptr = *(void **)mem_ptr; /* old is automatically updated on cs failure */
128 } while (__cs1(&old_ptr, mem_ptr, &new_ptr));
131 } while (__csg(&old_ptr, mem_ptr, &new_ptr));
136 return old_ptr;
/macosx-10.10/apr-32/apr/apr/test/
H A Dtestatomic.c89 void *old_ptr; local
91 old_ptr = apr_atomic_xchgptr(&target_ptr, &a);
92 ABTS_PTR_EQUAL(tc, ref, old_ptr);
130 void *old_ptr; local
132 old_ptr = apr_atomic_casptr(&target_ptr, &a, NULL);
133 ABTS_PTR_EQUAL(tc, NULL, old_ptr);
141 void *old_ptr; local
143 old_ptr = apr_atomic_casptr(&target_ptr, &b, &a);
144 ABTS_PTR_EQUAL(tc, &a, old_ptr);
152 void *old_ptr; local
[all...]
/macosx-10.10/emacs-93/emacs/src/
H A Dunexmacosx.c1382 unexec_realloc (void *old_ptr, size_t new_size) argument
1388 if (ptr_in_unexec_regions (old_ptr))
1390 size_t old_size = ((unexec_malloc_header_t *) old_ptr)[-1].u.size;
1395 memcpy (p, old_ptr, size);
1399 p = realloc (old_ptr, new_size);
1411 malloc_zone_realloc (emacs_zone, (unexec_malloc_header_t *) old_ptr - 1,
H A Dbuffer.c4825 POINTER_TYPE *old_ptr = *var;
4834 *var = result = old_ptr;
4838 bcopy (old_ptr, *var, r->nbytes_specified);
4839 mmap_free_1 (MMAP_REGION (old_ptr));
4846 *var = old_ptr;
4797 POINTER_TYPE *old_ptr = *var; local
/macosx-10.10/emacs-93/
H A Dunexmacosx.c1382 unexec_realloc (void *old_ptr, size_t new_size) argument
1388 if (ptr_in_unexec_regions (old_ptr))
1390 size_t old_size = ((unexec_malloc_header_t *) old_ptr)[-1].u.size;
1395 memcpy (p, old_ptr, size);
1399 p = realloc (old_ptr, new_size);
1411 malloc_zone_realloc (emacs_zone, (unexec_malloc_header_t *) old_ptr - 1,
/macosx-10.10/WTF-7600.1.24/wtf/
H A DFastMalloc.cpp4479 void* fastRealloc(void* old_ptr, size_t new_size)
4482 fastMallocValidate(old_ptr);
4484 void* result = realloc<true>(old_ptr, new_size);
4489 dataLogF("fastMalloc reallocating %lu bytes (fastRealloc): %p -> %p.\n", new_size, old_ptr, result);
4494 TryMallocReturnValue tryFastRealloc(void* old_ptr, size_t new_size)
4497 fastMallocValidate(old_ptr);
4499 void* result = realloc<false>(old_ptr, new_size);
4504 dataLogF("fastMalloc reallocating %lu bytes (tryFastRealloc): %p -> %p.\n", new_size, old_ptr, result);
4512 void* realloc(void* old_ptr, size_t new_size) {
4513 if (old_ptr
[all...]
/macosx-10.10/libmalloc-53.1.1/src/
H A Dmalloc.c1077 void *old_ptr; local
1088 old_ptr = (new_size == 0) ? NULL : in_ptr;
1089 if (!old_ptr) {
1092 zone = find_registered_zone(old_ptr, NULL);
1095 "*** set a breakpoint in malloc_error_break to debug\n", old_ptr);
1100 _simple_sprintf(b, "*** error for object %p: pointer being realloc'd was not allocated\n", old_ptr);
1108 retval = malloc_zone_realloc(zone, old_ptr, new_size);
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libpng/
H A Dpngwutil.c279 png_charpp old_ptr; local
281 old_ptr = comp->output_ptr;
285 png_memcpy(comp->output_ptr, old_ptr, old_max
287 png_free(png_ptr, old_ptr);
330 png_charpp old_ptr; local
332 old_ptr = comp->output_ptr;
337 png_memcpy(comp->output_ptr, old_ptr,
339 png_free(png_ptr, old_ptr);

Completed in 227 milliseconds