Home
last modified time | relevance | path

Searched refs:pdata (Results 1 – 5 of 5) sorted by relevance

/system/vold/
Dcryptfs.cpp584 static void init_empty_persist_data(struct crypt_persist_data* pdata, int len) { in init_empty_persist_data() argument
585 memset(pdata, 0, len); in init_empty_persist_data()
586 pdata->persist_magic = PERSIST_DATA_MAGIC; in init_empty_persist_data()
587 pdata->persist_valid_entries = 0; in init_empty_persist_data()
600 struct crypt_persist_data* pdata; in upgrade_crypt_ftr() local
605 pdata = (crypt_persist_data*)malloc(CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
606 if (pdata == NULL) { in upgrade_crypt_ftr()
610 memset(pdata, 0, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
615 free(pdata); in upgrade_crypt_ftr()
619 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
[all …]
/system/bt/bta/hh/
Dbta_hh_act.cc48 uint8_t event, uint32_t data, BT_HDR* pdata);
622 BT_HDR* pdata = p_data->hid_cback.p_data; in bta_hh_data_act() local
623 uint8_t* p_rpt = (uint8_t*)(pdata + 1) + pdata->offset; in bta_hh_data_act()
626 pdata->len, p_cb->mode, p_cb->sub_class, in bta_hh_data_act()
629 osi_free_and_reset((void**)&pdata); in bta_hh_data_act()
718 BT_HDR* pdata = p_data->hid_cback.p_data; in bta_hh_ctrl_dat_act() local
719 uint8_t* data = (uint8_t*)(pdata + 1) + pdata->offset; in bta_hh_ctrl_dat_act()
726 if (pdata->len == 0) { in bta_hh_ctrl_dat_act()
729 osi_free_and_reset((void**)&pdata); in bta_hh_ctrl_dat_act()
740 hs_data.rsp_data.p_rpt_data = pdata; in bta_hh_ctrl_dat_act()
[all …]
/system/extras/simpleperf/
DUnixSocket.h82 size_t PeekData(const char** pdata) { in PeekData() argument
83 *pdata = &data_[read_head_]; in PeekData()
215 bool GetDataFromSendBuffer(const char** pdata, size_t* pdata_size);
DUnixSocket.cpp145 bool UnixSocketConnection::GetDataFromSendBuffer(const char** pdata, in GetDataFromSendBuffer() argument
149 *pdata_size = send_buffer_.PeekData(pdata); in GetDataFromSendBuffer()
/system/bt/bta/hd/
Dbta_hd_act.cc43 uint32_t data, BT_HDR* pdata);
723 uint32_t data, BT_HDR* pdata) { in bta_hd_cback() argument
773 p_buf->p_data = pdata; in bta_hd_cback()