Home
last modified time | relevance | path

Searched refs:new_len (Results 1 – 4 of 4) sorted by relevance

/glibc-2.36/sysdeps/mach/hurd/
Dmremap.c33 __mremap (void *addr, size_t old_len, size_t new_len, int flags, ...) in __mremap() argument
83 ((new_vm_addr + new_len > vm_addr && new_vm_addr < end))) in __mremap()
96 if (new_len == len) in __mremap()
102 if (new_len < len) in __mremap()
107 begin + new_len, len - new_len); in __mremap()
114 &end, new_len - len, 0, 0, in __mremap()
122 err = __vm_deallocate (__mach_task_self (), begin, new_len); in __mremap()
125 __vm_deallocate (__mach_task_self (), end, new_len - len); in __mremap()
130 &begin, new_len, 0, 0, in __mremap()
152 &new_vm_addr, new_len, 0, in __mremap()
[all …]
/glibc-2.36/string/
Denvz.c137 size_t new_len = strlen (envz2) + 1; in envz_merge() local
140 err = __argz_append (envz, envz_len, envz2, new_len); in envz_merge()
144 err = __argz_append (envz, envz_len, envz2, new_len); in envz_merge()
147 envz2 += new_len; in envz_merge()
148 envz2_len -= new_len; in envz_merge()
Dargz-replace.c29 size_t new_len = *to_len + buf_len; in str_append() local
30 char *new_to = realloc (*to, new_len + 1); in str_append()
36 *to_len = new_len; in str_append()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dmremap.c25 __mremap (void *addr, size_t old_len, size_t new_len, int flags, ...) in __mremap() argument
37 return (void *) INLINE_SYSCALL_CALL (mremap, addr, old_len, new_len, flags, in __mremap()