Home
last modified time | relevance | path

Searched refs:oldp (Results 1 – 11 of 11) sorted by relevance

/glibc-2.36/malloc/
Dmalloc-check.c272 const mchunkptr oldp = mem2chunk_check (oldmem, &magic_p); in realloc_check() local
274 if (!oldp) in realloc_check()
276 const INTERNAL_SIZE_T oldsize = chunksize (oldp); in realloc_check()
287 if (chunk_is_mmapped (oldp)) in realloc_check()
290 mchunkptr newp = mremap_chunk (oldp, chnb); in realloc_check()
307 munmap_chunk (oldp); in realloc_check()
315 newmem = _int_realloc (&main_arena, oldp, oldsize, chnb); in realloc_check()
Dmalloc.c3420 const mchunkptr oldp = mem2chunk (oldmem); in libc_hidden_def() local
3422 const INTERNAL_SIZE_T oldsize = chunksize (oldp); in libc_hidden_def()
3424 if (chunk_is_mmapped (oldp)) in libc_hidden_def()
3429 ar_ptr = arena_for_chunk (oldp); in libc_hidden_def()
3436 if ((__builtin_expect ((uintptr_t) oldp > (uintptr_t) -oldsize, 0) in libc_hidden_def()
3437 || __builtin_expect (misaligned_chunk (oldp), 0))) in libc_hidden_def()
3447 if (chunk_is_mmapped (oldp)) in libc_hidden_def()
3452 newp = mremap_chunk (oldp, nb); in libc_hidden_def()
3474 munmap_chunk (oldp); in libc_hidden_def()
3480 newp = _int_realloc (ar_ptr, oldp, oldsize, nb); in libc_hidden_def()
[all …]
Dmalloc-debug.c230 mchunkptr oldp = mem2chunk (oldmem); in strong_alias() local
234 if (DUMPED_MAIN_ARENA_CHUNK (oldp)) in strong_alias()
240 const INTERNAL_SIZE_T osize = chunksize (oldp); in strong_alias()
/glibc-2.36/sysdeps/pthread/
Dtst-cond12.c135 void *oldp = p; in do_test() local
138 if (p == oldp) in do_test()
145 munmap (oldp, sizeof (*p)); in do_test()
/glibc-2.36/nptl/
Dunwind.c69 struct _pthread_cleanup_buffer *oldp = buf->priv.data.cleanup; in unwind_stop() local
72 if (curp != oldp && (do_longjump || FRAME_LEFT (cfa, curp, adj))) in unwind_stop()
85 while (curp != oldp in unwind_stop()
/glibc-2.36/timezone/
Dzdump.c686 delta_nonneg(struct tm *newp, struct tm *oldp) in delta_nonneg() argument
692 for (tmy = oldp->tm_year; tmy < newp->tm_year; ++tmy) in delta_nonneg()
694 result += newp->tm_yday - oldp->tm_yday; in delta_nonneg()
696 result += newp->tm_hour - oldp->tm_hour; in delta_nonneg()
698 result += newp->tm_min - oldp->tm_min; in delta_nonneg()
700 result += newp->tm_sec - oldp->tm_sec; in delta_nonneg()
705 delta(struct tm *newp, struct tm *oldp) in delta() argument
707 return (newp->tm_year < oldp->tm_year in delta()
708 ? -delta_nonneg(oldp, newp) in delta()
709 : delta_nonneg(newp, oldp)); in delta()
/glibc-2.36/iconv/
Dgconv_conf.c368 char *oldp; in __gconv_get_path() local
400 oldp = NULL; in __gconv_get_path()
405 if (cp != oldp + 1) in __gconv_get_path()
407 oldp = cp; in __gconv_get_path()
/glibc-2.36/stdio-common/
Dreg-modifier.c195 struct printf_modifier_record *oldp = runp; in libc_freeres_fn() local
197 free (oldp); in libc_freeres_fn()
/glibc-2.36/intl/
Ddcigettext.c1680 struct binding *oldp = _nl_domain_bindings; in libc_freeres_fn() local
1682 if (oldp->dirname != _nl_default_dirname) in libc_freeres_fn()
1684 free (oldp->dirname); in libc_freeres_fn()
1685 free (oldp->codeset); in libc_freeres_fn()
1686 free (oldp); in libc_freeres_fn()
/glibc-2.36/sysdeps/posix/
Dgetaddrinfo.c1808 struct prefixlist *oldp = list; in free_prefixlist() local
1810 free (oldp); in free_prefixlist()
1820 struct scopelist *oldp = list; in free_scopelist() local
1822 free (oldp); in free_scopelist()
/glibc-2.36/elf/
Drtld.c1339 char *oldp = (char *) (p + 1); in _dl_start_args_adjust() local
1343 memcpy (&ax, oldp, sizeof (ax)); in _dl_start_args_adjust()
1345 oldp += sizeof (ax); in _dl_start_args_adjust()