Searched refs:arg_len (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-latest/components/bt/common/btc/core/ |
D | btc_task.c | 235 bt_status_t btc_transfer_context(btc_msg_t *msg, void *arg, int arg_len, btc_arg_deep_copy_t copy_f… in btc_transfer_context() argument 241 if ((msg == NULL) || ((arg == NULL) == !(arg_len == 0))) { in btc_transfer_context() 248 lmsg = (btc_msg_t *)osi_malloc(sizeof(btc_msg_t) + arg_len); in btc_transfer_context() 256 memset(lmsg->arg, 0x00, arg_len); //important, avoid arg which have no length in btc_transfer_context() 257 memcpy(lmsg->arg, arg, arg_len); in btc_transfer_context()
|
/hal_espressif-latest/components/bt/common/btc/include/btc/ |
D | btc_task.h | 113 bt_status_t btc_transfer_context(btc_msg_t *msg, void *arg, int arg_len, btc_arg_deep_copy_t copy_f…
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/hf_client/ |
D | btc_hf_client.c | 742 int arg_len = BTA_HfClientGetCbDataSize(event); in bte_hf_client_evt() local 743 void *arg = (p_data != NULL && arg_len > 0) ? p_data : NULL; in bte_hf_client_evt() 749 stat = btc_transfer_context(&msg, arg, arg_len, NULL, NULL); in bte_hf_client_evt()
|