/external/valgrind/main/coregrind/m_gdbserver/ |
D | server.h | 154 #define malloc(sz) VG_(arena_malloc) (VG_AR_CORE, "gdbsrv", sz) 155 #define calloc(n,sz) VG_(arena_calloc) (VG_AR_CORE, "gdbsrv", n, sz) 156 #define realloc(p,size) VG_(arena_realloc) (VG_AR_CORE, "gdbsrv", p, size) 157 #define strdup(s) (char *) VG_(arena_strdup) (VG_AR_CORE, "gdbsrv", (Char *)(s)) 158 #define free(b) VG_(arena_free) (VG_AR_CORE, b)
|
D | m_gdbserver.c | 160 void* res = VG_(arena_malloc)(VG_AR_CORE, cc, sz); in gs_alloc() 166 VG_(arena_free)(VG_AR_CORE, ptr); in gs_free() 212 p = VG_(arena_malloc)(VG_AR_CORE, from, sizeof(GS_Address)); in add_gs_address() 227 VG_(arena_free) (VG_AR_CORE, g); in remove_gs_address() 369 g = VG_(arena_malloc)(VG_AR_CORE, "gdbserver_point watchpoint", in VG_() 383 VG_(arena_free) (VG_AR_CORE, g); in VG_()
|
/external/valgrind/main/coregrind/ |
D | m_libcproc.c | 116 Char *valstr = VG_(arena_malloc)(VG_AR_CORE, "libcproc.es.1", in VG_() 130 env = VG_(arena_malloc)(VG_AR_CORE, "libcproc.es.2", sizeof(Char **) * 2); in VG_() 138 Char **newenv = VG_(arena_malloc)(VG_AR_CORE, "libcproc.es.3", in VG_() 245 envp[i] = VG_(arena_strdup)(VG_AR_CORE, "libcproc.erves.1", envp[i]); in VG_() 249 envp[i] = VG_(arena_strdup)(VG_AR_CORE, "libcproc.erves.2", envp[i]); in VG_() 253 envp[i] = VG_(arena_strdup)(VG_AR_CORE, "libcproc.erves.3", envp[i]); in VG_() 258 buf = VG_(arena_malloc)(VG_AR_CORE, "libcproc.erves.4", in VG_() 276 VG_(arena_free)(VG_AR_CORE, buf); in VG_() 311 newenv = VG_(arena_malloc)(VG_AR_CORE, "libcproc.ec.1", in VG_()
|
D | m_errormgr.c | 1131 p->name = VG_(arena_strdup)(VG_AR_CORE, in setLocationTy() 1138 p->name = VG_(arena_strdup)(VG_AR_CORE, in setLocationTy() 1210 supp = VG_(arena_malloc)(VG_AR_CORE, "errormgr.losf.1", in load_one_suppressions_file() 1225 VG_(arena_free)(VG_AR_CORE, supp); in load_one_suppressions_file() 1235 supp->sname = VG_(arena_strdup)(VG_AR_CORE, "errormgr.losf.2", buf); in load_one_suppressions_file() 1280 VG_(arena_free)(VG_AR_CORE, supp->sname); in load_one_suppressions_file() 1281 VG_(arena_free)(VG_AR_CORE, supp); in load_one_suppressions_file() 1340 supp->callers = VG_(arena_malloc)(VG_AR_CORE, "errormgr.losf.4", in load_one_suppressions_file()
|
D | m_stacks.c | 188 i = (Stack *)VG_(arena_malloc)(VG_AR_CORE, "stacks.rs.1", sizeof(Stack)); in VG_() 227 VG_(arena_free)(VG_AR_CORE, i); in VG_()
|
D | pub_core_mallocfree.h | 60 #define VG_AR_CORE 0 macro
|
D | m_signals.c | 1267 VG_(arena_free)(VG_AR_CORE, VG_(threads)[tid].sig_queue); in VG_() 1985 tst->sig_queue = VG_(arena_malloc)(VG_AR_CORE, "signals.qs.1", in queue_signal()
|
D | m_mallocfree.c | 675 arena_init ( VG_AR_CORE, "core", CORE_REDZONE_DEFAULT_SZB, in ensure_mm_init()
|
D | m_main.c | 1073 Char *buf = VG_(arena_malloc)(VG_AR_CORE, "main.mpclo.3", len); in main_process_cmd_line_options()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-generic.c | 543 VG_(arena_free) (VG_AR_CORE, i->pathname); in record_fd_close() 544 VG_(arena_free) (VG_AR_CORE, i); in record_fd_close() 569 if (i->pathname) VG_(arena_free)(VG_AR_CORE, i->pathname); in ML_() 577 i = VG_(arena_malloc)(VG_AR_CORE, "syswrap.rfdowgn.1", sizeof(OpenFd)); in ML_() 587 i->pathname = VG_(arena_strdup)(VG_AR_CORE, "syswrap.rfdowgn.2", pathname); in ML_() 819 "sendmsg", msg, VG_AR_CORE ); in pre_mem_read_sendmsg() 821 VG_(arena_free) ( VG_AR_CORE, outmsg ); in pre_mem_read_sendmsg() 829 "recvmsg", msg, VG_AR_CORE ); in pre_mem_write_recvmsg() 834 VG_(arena_free) ( VG_AR_CORE, outmsg ); in pre_mem_write_recvmsg() 859 fieldName = VG_(arena_malloc) ( VG_AR_CORE, "di.syswrap.mfef", VG_(strlen)(name) + 32 ); in msghdr_foreachfield() [all …]
|
D | syswrap-x86-linux.c | 464 return VG_(arena_calloc)(VG_AR_CORE, "di.syswrap-x86.azxG.1", nbytes, 1); in alloc_zeroed_x86_GDT() 471 return VG_(arena_calloc)(VG_AR_CORE, "di.syswrap-x86.azxL.1", nbytes, 1); in alloc_zeroed_x86_LDT() 478 VG_(arena_free)(VG_AR_CORE, (void*)dt); in free_LDT_or_GDT()
|
D | syswrap-darwin.c | 421 if (i->name) VG_(arena_free)(VG_AR_CORE, i->name); in assign_port_name() 423 VG_(arena_malloc)(VG_AR_CORE, "syswrap-darwin.mach-port-name", in assign_port_name() 490 VG_(arena_free) (VG_AR_CORE, i->name); in record_port_mod_refs() 491 VG_(arena_free) (VG_AR_CORE, i); in record_port_mod_refs() 561 i = VG_(arena_malloc)(VG_AR_CORE, "syswrap-darwin.mach-port", in record_named_port() 6751 VG_(arena_free)(VG_AR_CORE, MACH_ARG(bootstrap_look_up.service_name)); in POST() 6769 VG_(arena_strdup)(VG_AR_CORE, "syswrap-darwin.bootstrap-name", in PRE() 7680 return VG_(arena_calloc)(VG_AR_CORE, "syswrap-darwin.ldt", nbytes, 1); in alloc_zeroed_x86_LDT()
|
/external/valgrind/main/coregrind/m_coredump/ |
D | coredump-elf.c | 159 struct note *n = VG_(arena_malloc)(VG_AR_CORE, "coredump-elf.an.1", notelen); in add_note() 571 phdrs = VG_(arena_malloc)(VG_AR_CORE, "coredump-elf.mec.1", in make_elf_coredump()
|