Home
last modified time | relevance | path

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

/system/logging/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp47 int write_log_messages(const uint8_t** pdata, size_t* data_left, LogBuffer* log_buffer, in write_log_messages() argument
49 const uint8_t* data = *pdata; in write_log_messages()
66 *pdata = data; in write_log_messages()
84 *pdata = data; in write_log_messages()
115 const uint8_t** pdata = &data; in LLVMFuzzerTestOneInput() local
122 if (!write_log_messages(pdata, &data_left, log_buffer.get(), &stats)) { in LLVMFuzzerTestOneInput()
/system/vold/
Dcryptfs.cpp738 static void init_empty_persist_data(struct crypt_persist_data* pdata, int len) { in init_empty_persist_data() argument
739 memset(pdata, 0, len); in init_empty_persist_data()
740 pdata->persist_magic = PERSIST_DATA_MAGIC; in init_empty_persist_data()
741 pdata->persist_valid_entries = 0; in init_empty_persist_data()
754 struct crypt_persist_data* pdata; in upgrade_crypt_ftr() local
759 pdata = (crypt_persist_data*)malloc(CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
760 if (pdata == NULL) { in upgrade_crypt_ftr()
764 memset(pdata, 0, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
769 free(pdata); in upgrade_crypt_ftr()
773 unix_write(fd, pdata, CRYPT_PERSIST_DATA_SIZE); in upgrade_crypt_ftr()
[all …]
/system/bt/bta/hh/
Dbta_hh_act.cc59 uint8_t event, uint32_t data, BT_HDR* pdata);
615 BT_HDR* pdata = p_data->hid_cback.p_data; in bta_hh_data_act() local
616 uint8_t* p_rpt = (uint8_t*)(pdata + 1) + pdata->offset; in bta_hh_data_act()
619 pdata->len, p_cb->mode, p_cb->sub_class, in bta_hh_data_act()
622 osi_free_and_reset((void**)&pdata); in bta_hh_data_act()
707 BT_HDR* pdata = p_data->hid_cback.p_data; in bta_hh_ctrl_dat_act() local
708 uint8_t* data = (uint8_t*)(pdata + 1) + pdata->offset; in bta_hh_ctrl_dat_act()
713 if (pdata->len == 0) { in bta_hh_ctrl_dat_act()
716 osi_free_and_reset((void**)&pdata); in bta_hh_ctrl_dat_act()
727 hs_data.rsp_data.p_rpt_data = pdata; in bta_hh_ctrl_dat_act()
[all …]
/system/bt/bta/hd/
Dbta_hd_act.cc41 uint32_t data, BT_HDR* pdata);
719 uint32_t data, BT_HDR* pdata) { in bta_hd_cback() argument
769 p_buf->p_data = pdata; in bta_hd_cback()