/external/valgrind/main/drd/ |
D | drd_malloc_wrappers.c | 178 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/ |
D | nci_hrcv.c | 51 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/bluetooth/bluedroid/stack/gatt/ |
D | gatt_utils.c | 499 tGATT_SRV_LIST_ELEM *p_old; in gatt_add_a_srv_to_list() local 517 p_old = p_list->p_first; in gatt_add_a_srv_to_list() 520 if (p_old == NULL) in gatt_add_a_srv_to_list() 530 if (p_new->s_hdl < p_old->s_hdl) in gatt_add_a_srv_to_list() 533 if (p_old->p_prev != NULL) in gatt_add_a_srv_to_list() 534 p_old->p_prev->p_next = p_new; in gatt_add_a_srv_to_list() 538 p_new->p_prev = p_old->p_prev; in gatt_add_a_srv_to_list() 539 p_new->p_next = p_old; in gatt_add_a_srv_to_list() 540 p_old->p_prev = p_new; in gatt_add_a_srv_to_list() 544 p_old = p_old->p_next; in gatt_add_a_srv_to_list() [all …]
|
/external/valgrind/main/exp-dhat/ |
D | dh_main.c | 538 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/main/memcheck/ |
D | mc_malloc_wrappers.c | 407 void* MC_(realloc) ( ThreadId tid, void* p_old, SizeT new_szB ) in MC_() 421 mc = VG_(HT_remove) ( MC_(malloc_list), (UWord)p_old ); in MC_() 423 MC_(record_free_error) ( tid, (Addr)p_old ); in MC_() 431 tl_assert((Addr)p_old == mc->data); in MC_() 461 MC_(copy_address_range_state) ( (Addr)p_old, a_new, new_szB ); in MC_() 465 VG_(memcpy)((void*)a_new, p_old, new_szB); in MC_() 470 VG_(memset)((void*)p_old, MC_(clo_free_fill), old_szB); in MC_() 504 MC_(copy_address_range_state) ( (Addr)p_old, a_new, mc->szB ); in MC_() 518 VG_(memcpy)((void*)a_new, p_old, mc->szB); in MC_() 523 VG_(memset)((void*)p_old, MC_(clo_free_fill), old_szB); in MC_()
|
/external/valgrind/main/exp-sgcheck/ |
D | h_main.c | 408 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()
|
D | h_main.h | 67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size );
|
/external/stlport/test/unit/ |
D | money_facets_test.cpp | 106 string::size_type p_old = strlen( rl.money_int_prefix_old ); in _money_put_get2() local 108 ((p_old != 0) && in _money_put_get2() 109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) ); in _money_put_get2() 113 index += p_old; in _money_put_get2()
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_dm.c | 460 UINT8 *p_old, old_gid, old_oid, old_mt; in nfc_hal_dm_proc_msg_during_init() local 480 p_old = nfc_hal_cb.ncit_cb.last_hdr; in nfc_hal_dm_proc_msg_during_init() 481 NCI_MSG_PRS_HDR0 (p_old, old_mt, pbf, old_gid); in nfc_hal_dm_proc_msg_during_init() 482 old_oid = ((*p_old) & NCI_OID_MASK); in nfc_hal_dm_proc_msg_during_init()
|
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_inq.c | 1670 tINQ_DB_ENT *p_old = btm_cb.btm_inq_vars.inq_db; in btm_inq_db_new() local 1690 p_old = p_ent; in btm_inq_db_new() 1700 (*btm_cb.btm_inq_vars.p_inq_change_cb) (&p_old->inq_info, FALSE); in btm_inq_db_new() 1702 memset (p_old, 0, sizeof (tINQ_DB_ENT)); in btm_inq_db_new() 1703 memcpy (p_old->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN); in btm_inq_db_new() 1704 p_old->in_use = TRUE; in btm_inq_db_new() 1707 p_old->inq_info.remote_name_state = BTM_INQ_RMT_NAME_EMPTY; in btm_inq_db_new() 1710 return (p_old); in btm_inq_db_new()
|
/external/valgrind/main/massif/ |
D | ms_main.c | 1661 void* realloc_block ( ThreadId tid, void* p_old, SizeT new_req_szB ) in realloc_block() argument 1670 hc = VG_(HT_remove)(malloc_list, (UWord)p_old); in realloc_block() 1700 p_new = p_old; in realloc_block() 1711 VG_(memcpy)(p_new, p_old, old_req_szB + old_slop_szB); in realloc_block() 1712 VG_(cli_free)(p_old); in realloc_block() 1818 static void* ms_realloc ( ThreadId tid, void* p_old, SizeT new_szB ) in ms_realloc() argument 1820 return realloc_block(tid, p_old, new_szB); in ms_realloc()
|
/external/bluetooth/bluedroid/stack/avrc/ |
D | avrc_api.c | 166 UINT8 *p_old, *p_data; in avrc_send_continue_frag() local 184 p_old = (UINT8 *)(p_pkt_old+1) + p_pkt_old->offset; in avrc_send_continue_frag() 186 memcpy (p_data, p_old, AVRC_MAX_CTRL_DATA_LEN); in avrc_send_continue_frag()
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_ncif.c | 369 UINT8 *p_old, old_gid, old_oid, old_mt; in nfc_ncif_process_event() local 387 p_old = nfc_cb.last_hdr; in nfc_ncif_process_event() 388 NCI_MSG_PRS_HDR0(p_old, old_mt, pbf, old_gid); in nfc_ncif_process_event() 389 old_oid = ((*p_old) & NCI_OID_MASK); in nfc_ncif_process_event()
|