Home
last modified time | relevance | path

Searched refs:new_addr (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dnode.cc145 void* new_addr = addr; in MMap() local
147 &new_addr, length, prot | PROT_WRITE, flags | MAP_ANONYMOUS, -1, 0); in MMap()
148 if (new_addr == MAP_FAILED) { in MMap()
149 _real_munmap(new_addr, length); in MMap()
157 Error read_error = Read(data, new_addr, length, &bytes_read); in MMap()
159 _real_munmap(new_addr, length); in MMap()
163 *out_addr = new_addr; in MMap()
/external/qemu/hw/pci/
Dpci.c359 uint32_t last_addr, new_addr, config_ofs; in pci_update_mappings() local
372 new_addr = pci_get_long(d->config + config_ofs); in pci_update_mappings()
373 new_addr = new_addr & ~(r->size - 1); in pci_update_mappings()
374 last_addr = new_addr + r->size - 1; in pci_update_mappings()
376 if (last_addr <= new_addr || new_addr == 0 || in pci_update_mappings()
378 new_addr = -1; in pci_update_mappings()
381 new_addr = -1; in pci_update_mappings()
385 new_addr = pci_get_long(d->config + config_ofs); in pci_update_mappings()
387 if (i == PCI_ROM_SLOT && !(new_addr & 1)) in pci_update_mappings()
389 new_addr = new_addr & ~(r->size - 1); in pci_update_mappings()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/
Dvpx_mem.c155 * new_addr = NULL; in vpx_realloc() local
167 new_addr = vpx_malloc(size); in vpx_realloc()
175 new_addr = vpx_mm_realloc(addr, size + align + ADDRESS_STORAGE_SIZE); in vpx_realloc()
177 new_addr = VPX_REALLOC_L(addr, size + align + ADDRESS_STORAGE_SIZE); in vpx_realloc()
180 if (new_addr) { in vpx_realloc()
181 addr = new_addr; in vpx_realloc()
182 new_addr = (void *)(((size_t) in vpx_realloc()
183 ((unsigned char *)new_addr + ADDRESS_STORAGE_SIZE) + (align - 1)) & in vpx_realloc()
186 ((size_t *)new_addr)[-1] = (size_t)addr; in vpx_realloc()
190 return new_addr; in vpx_realloc()
/external/libvpx/libvpx/vpx_mem/
Dvpx_mem.c154 * new_addr = NULL; in vpx_realloc() local
166 new_addr = vpx_malloc(size); in vpx_realloc()
174 new_addr = vpx_mm_realloc(addr, size + align + ADDRESS_STORAGE_SIZE); in vpx_realloc()
176 new_addr = VPX_REALLOC_L(addr, size + align + ADDRESS_STORAGE_SIZE); in vpx_realloc()
179 if (new_addr) { in vpx_realloc()
180 addr = new_addr; in vpx_realloc()
181 new_addr = (void *)(((size_t) in vpx_realloc()
182 ((unsigned char *)new_addr + ADDRESS_STORAGE_SIZE) + (align - 1)) & in vpx_realloc()
185 ((size_t *)new_addr)[-1] = (size_t)addr; in vpx_realloc()
189 return new_addr; in vpx_realloc()
/external/ipsec-tools/src/racoon/
Dnattraversal.c373 struct natt_ka_addrs *ka = NULL, *new_addr; in natt_keepalive_add() local
387 new_addr = (struct natt_ka_addrs *)racoon_malloc(sizeof(*new_addr)); in natt_keepalive_add()
388 if (! new_addr) { in natt_keepalive_add()
393 if ((new_addr->src = dupsaddr(src)) == NULL) { in natt_keepalive_add()
394 racoon_free(new_addr); in natt_keepalive_add()
398 if ((new_addr->dst = dupsaddr(dst)) == NULL) { in natt_keepalive_add()
399 racoon_free(new_addr); in natt_keepalive_add()
403 new_addr->in_use = 1; in natt_keepalive_add()
404 TAILQ_INSERT_TAIL(&ka_tree, new_addr, chain); in natt_keepalive_add()
/external/jemalloc/src/
Dchunk_mmap.c113 void *new_addr; in pages_trim() local
116 new_addr = pages_map(ret, size); in pages_trim()
117 if (new_addr == ret) in pages_trim()
119 if (new_addr) in pages_trim()
120 pages_unmap(new_addr, size); in pages_trim()
/external/clang/test/CodeGenCXX/
Dlvalue-bitcasts.cpp147 void copy( const struct in_addr &new_addr ) { in copy() argument
148 int addr = (int&)new_addr; in copy()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dmalloc_hook-inl.h279 const void* new_addr) { in InvokeMremapHook() argument
281 InvokeMremapHookSlow(result, old_addr, old_size, new_size, flags, new_addr); in InvokeMremapHook()
287 new_size, flags, new_addr); in InvokeMremapHook()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dmalloc_hook-inl.h279 const void* new_addr) { in InvokeMremapHook() argument
281 InvokeMremapHookSlow(result, old_addr, old_size, new_size, flags, new_addr); in InvokeMremapHook()
287 new_size, flags, new_addr); in InvokeMremapHook()
Dheap-profiler.cc361 int flags, const void* new_addr) { in MremapHook() argument
371 (uintptr_t) new_addr, (uintptr_t) result); in MremapHook()
/external/iproute2/tc/
Dm_nat.c71 sel->new_addr = addr.data[0]; in parse_nat_args()
195 format_host(AF_INET, 4, &sel->new_addr, buf2, sizeof(buf2)), in print_nat()
/external/iproute2/include/linux/tc_act/
Dtc_nat.h22 __be32 new_addr; member
/external/kernel-headers/original/uapi/linux/tc_act/
Dtc_nat.h22 __be32 new_addr; member
/external/pcre/dist/sljit/
DsljitNativeSPARC_32.c148 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr() argument
152 inst[0] = (inst[0] & 0xffc00000) | ((new_addr >> 10) & 0x3fffff); in sljit_set_jump_addr()
153 inst[1] = (inst[1] & 0xfffffc00) | (new_addr & 0x3ff); in sljit_set_jump_addr()
DsljitNativePPC_64.c401 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr() argument
405 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 48) & 0xffff); in sljit_set_jump_addr()
406 inst[1] = (inst[1] & 0xffff0000) | ((new_addr >> 32) & 0xffff); in sljit_set_jump_addr()
407 inst[3] = (inst[3] & 0xffff0000) | ((new_addr >> 16) & 0xffff); in sljit_set_jump_addr()
408 inst[4] = (inst[4] & 0xffff0000) | (new_addr & 0xffff); in sljit_set_jump_addr()
DsljitNativePPC_32.c253 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr() argument
257 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 16) & 0xffff); in sljit_set_jump_addr()
258 inst[1] = (inst[1] & 0xffff0000) | (new_addr & 0xffff); in sljit_set_jump_addr()
DsljitNativeMIPS_64.c449 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) in sljit_set_jump_addr() argument
453 inst[0] = (inst[0] & 0xffff0000) | ((new_addr >> 48) & 0xffff); in sljit_set_jump_addr()
454 inst[1] = (inst[1] & 0xffff0000) | ((new_addr >> 32) & 0xffff); in sljit_set_jump_addr()
455 inst[3] = (inst[3] & 0xffff0000) | ((new_addr >> 16) & 0xffff); in sljit_set_jump_addr()
456 inst[5] = (inst[5] & 0xffff0000) | (new_addr & 0xffff); in sljit_set_jump_addr()
/external/chromium_org/third_party/tcmalloc/vendor/src/gperftools/
Dmalloc_hook.h225 const void* new_addr);
348 const void* new_addr);
Dmalloc_hook_c.h132 const void* new_addr);
/external/chromium_org/third_party/tcmalloc/chromium/src/gperftools/
Dmalloc_hook.h225 const void* new_addr);
348 const void* new_addr);
Dmalloc_hook_c.h132 const void* new_addr);
/external/valgrind/main/coregrind/m_aspacemgr/
Dpriv_aspacemgr.h102 Addr new_addr, Addr new_len
/external/qemu/slirp-android/
Dbootp.c201 new_addr: in bootp_reply()
222 goto new_addr; in bootp_reply()
/external/qemu/slirp/
Dbootp.c196 new_addr: in bootp_reply()
217 goto new_addr; in bootp_reply()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-generic.c245 Addr new_addr, SizeT new_len, in do_mremap() argument
258 old_addr,old_len,new_addr,new_len, in do_mremap()
283 if (f_fixed == True && new_addr + new_len < new_len) in do_mremap()
357 if (!VG_IS_PAGE_ALIGNED(new_addr)) in do_mremap()
359 if (new_addr+new_len-1 < old_addr || new_addr > old_addr+old_len-1) { in do_mremap()
364 if (new_addr == 0) in do_mremap()
368 advised = VG_(am_get_advisory_client_simple)(new_addr, new_len, &ok); in do_mremap()
369 if (!ok || advised != new_addr) in do_mremap()
372 ( &d, old_addr, old_len, new_addr, new_len ); in do_mremap()
374 VG_TRACK( copy_mem_remap, old_addr, new_addr, in do_mremap()
[all …]

123