Home
last modified time | relevance | path

Searched refs:p_old (Results 1 – 10 of 10) sorted by relevance

/external/valgrind/drd/
Ddrd_malloc_wrappers.c178 static void* drd_realloc(ThreadId tid, void* p_old, SizeT new_size) in drd_realloc() argument
184 if (! p_old) in drd_realloc()
189 drd_free(tid, p_old); in drd_realloc()
197 mc = VG_(HT_lookup)(s_malloc_list, (UWord)p_old); in drd_realloc()
210 p_new = p_old; in drd_realloc()
218 p_new = p_old; in drd_realloc()
228 VG_(memcpy)(p_new, p_old, mc->size); in drd_realloc()
233 VG_(cli_free)(p_old); in drd_realloc()
234 VG_(HT_remove)(s_malloc_list, (UWord)p_old); in drd_realloc()
/external/libnfc-nci/src/nfc/nci/
Dnci_hrcv.c51 UINT8 *p_old = nfc_cb.last_cmd; in nci_proc_core_rsp() local
81 nfc_ncif_proc_conn_create_rsp (p, p_msg->len, *p_old); in nci_proc_core_rsp()
85 nfc_ncif_report_conn_close_evt (*p_old, *pp); in nci_proc_core_rsp()
161 UINT8 *p_old = nfc_cb.last_cmd; in nci_proc_rf_management_rsp() local
187 nfc_ncif_proc_deactivate (*pp, *p_old, FALSE); in nci_proc_rf_management_rsp()
301 UINT8 *p_old = nfc_cb.last_cmd; in nci_proc_ee_management_rsp() local
328 mode_set.nfcee_id = *p_old++; in nci_proc_ee_management_rsp()
329 mode_set.mode = *p_old++; in nci_proc_ee_management_rsp()
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DMINRES.h66 VectorType p_old(VectorType::Zero(N)); // initialize p_old=0 in minres()
67 VectorType p(p_old); // initialize p=0 in minres()
111 … const VectorType p_oold(p_old); // NOT SURE IF CREATING p_oold EVERY ITERATION IS EFFICIENT in minres()
112 p_old = p; in minres()
113 p.noalias()=(w-r2*p_old-r3*p_oold) /r1; // IS NOALIAS REQUIRED? in minres()
/external/valgrind/exp-dhat/
Ddh_main.c538 void* renew_block ( ThreadId tid, void* p_old, SizeT new_req_szB ) in renew_block() argument
540 if (0) VG_(printf)("REALL %p %ld\n", p_old, new_req_szB); in renew_block()
546 Block* bk = find_Block_containing( (Addr)p_old ); in renew_block()
553 tl_assert(bk->payload <= (Addr)p_old); in renew_block()
554 tl_assert( (Addr)p_old < bk->payload + bk->req_szB ); in renew_block()
556 if (bk->payload != (Addr)p_old) { in renew_block()
574 return p_old; in renew_block()
585 tl_assert(p_new != p_old); in renew_block()
587 VG_(memcpy)(p_new, p_old, bk->req_szB); in renew_block()
588 VG_(cli_free)(p_old); in renew_block()
[all …]
/external/valgrind/exp-sgcheck/
Dh_main.c408 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size ) in h_replace_realloc() argument
413 seg = find_Seg_by_addr( (Addr)p_old ); in h_replace_realloc()
417 tl_assert(seg->addr == (Addr)p_old); in h_replace_realloc()
422 VG_(memcpy)((void*)p_new, p_old, new_size); in h_replace_realloc()
436 VG_(memcpy)((void*)p_new, p_old, seg->szB); in h_replace_realloc()
Dh_main.h67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size );
/external/valgrind/memcheck/
Dmc_malloc_wrappers.c512 void* MC_(realloc) ( ThreadId tid, void* p_old, SizeT new_szB ) in MC_()
527 old_mc = VG_(HT_remove) ( MC_(malloc_list), (UWord)p_old ); in MC_()
529 MC_(record_free_error) ( tid, (Addr)p_old ); in MC_()
537 tl_assert((Addr)p_old == old_mc->data); in MC_()
573 MC_(copy_address_range_state) ( (Addr)p_old, a_new, new_szB ); in MC_()
574 VG_(memcpy)((void*)a_new, p_old, new_szB); in MC_()
580 MC_(copy_address_range_state) ( (Addr)p_old, a_new, old_szB ); in MC_()
581 VG_(memcpy)((void*)a_new, p_old, old_szB); in MC_()
607 VG_(memset)((void*)p_old, MC_(clo_free_fill), old_szB); in MC_()
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_dm.c577 UINT8 *p_old, old_gid, old_oid, old_mt; in nfc_hal_dm_proc_msg_during_init() local
597 p_old = nfc_hal_cb.ncit_cb.last_hdr; in nfc_hal_dm_proc_msg_during_init()
598 NCI_MSG_PRS_HDR0 (p_old, old_mt, pbf, old_gid); in nfc_hal_dm_proc_msg_during_init()
599 old_oid = ((*p_old) & NCI_OID_MASK); in nfc_hal_dm_proc_msg_during_init()
/external/valgrind/massif/
Dms_main.c1622 void* realloc_block ( ThreadId tid, void* p_old, SizeT new_req_szB ) in realloc_block() argument
1631 hc = VG_(HT_remove)(malloc_list, (UWord)p_old); in realloc_block()
1661 p_new = p_old; in realloc_block()
1672 VG_(memcpy)(p_new, p_old, old_req_szB + old_slop_szB); in realloc_block()
1673 VG_(cli_free)(p_old); in realloc_block()
1779 static void* ms_realloc ( ThreadId tid, void* p_old, SizeT new_szB ) in ms_realloc() argument
1781 return realloc_block(tid, p_old, new_szB); in ms_realloc()
/external/libnfc-nci/src/nfc/nfc/
Dnfc_ncif.c373 UINT8 *p_old, old_gid, old_oid, old_mt; in nfc_ncif_process_event() local
391 p_old = nfc_cb.last_hdr; in nfc_ncif_process_event()
392 NCI_MSG_PRS_HDR0(p_old, old_mt, pbf, old_gid); in nfc_ncif_process_event()
393 old_oid = ((*p_old) & NCI_OID_MASK); in nfc_ncif_process_event()