Searched refs:msg_len (Results 1 – 7 of 7) sorted by relevance
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 343 size_t msg_len; in echo_test() local 361 msg_len = msgsz; in echo_test() 363 msg_len = rand() % msgsz; in echo_test() 366 memset(tx_buf, i + 1, msg_len); in echo_test() 368 rc = write(echo_fd, tx_buf, msg_len); in echo_test() 369 if ((size_t)rc != msg_len) { in echo_test() 374 rc = read(echo_fd, rx_buf, msg_len); in echo_test() 380 if ((size_t)rc != msg_len) { in echo_test() 382 rc, msg_len); in echo_test() 406 size_t msg_len; in burst_write_test() local [all …]
|
/system/core/libcutils/ |
D | debugger.c | 32 static int send_request(int sock_fd, void* msg_ptr, size_t msg_len) { in send_request() argument 34 if (TEMP_FAILURE_RETRY(write(sock_fd, msg_ptr, msg_len)) != (ssize_t) msg_len) { in send_request()
|
/system/extras/tests/net_test/ |
D | csocket.py | 102 msg_len = len(CMsgHdr) + datalen 104 msg_control += CMsgHdr((msg_len, msg_level, msg_type)).Pack()
|
/system/bt/stack/smp/ |
D | smp_keys.c | 1244 UINT8 msg_len = BT_OCTET32_LEN /* U size */ + BT_OCTET32_LEN /* V size */ + 1 /* Z size */; in smp_calculate_f4() local 1272 smp_debug_print_nbyte_little_endian (p_prnt, (const UINT8 *)"M", msg_len); in smp_calculate_f4() 1282 aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac); in smp_calculate_f4() 1359 UINT8 msg_len = BT_OCTET32_LEN /* U size */ + BT_OCTET32_LEN /* V size */ in smp_calculate_g2() local 1394 if(!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) in smp_calculate_g2() 1592 UINT8 msg_len = 1 /* Counter size */ + 4 /* keyID size */ + in smp_calculate_f5_mackey_or_long_term_key() local 1637 smp_debug_print_nbyte_little_endian (p_prnt, (const UINT8 *)"M", msg_len); in smp_calculate_f5_mackey_or_long_term_key() 1640 if (!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) in smp_calculate_f5_mackey_or_long_term_key() 1832 UINT8 msg_len = BT_OCTET16_LEN /* N1 size */ + BT_OCTET16_LEN /* N2 size */ + in smp_calculate_f6() local 1877 smp_debug_print_nbyte_little_endian (p_print, (const UINT8 *)"M", msg_len); in smp_calculate_f6() [all …]
|
D | smp_int.h | 377 extern void smp_aes_cmac_rfc4493_chk (UINT8 *key, UINT8 *msg, UINT8 msg_len,
|
/system/bt/stack/gatt/ |
D | gatt_main.c | 1002 UINT16 msg_len; in gatt_data_process() local 1007 msg_len = p_buf->len - 1; in gatt_data_process() 1023 gatt_server_handle_client_req (p_tcb, op_code, msg_len, p); in gatt_data_process() 1025 gatt_client_handle_server_rsp (p_tcb, op_code, msg_len, p); in gatt_data_process()
|
D | gatt_sr.c | 747 UINT16 msg_len = (UINT16)(sizeof(BT_HDR) + p_tcb->payload_size + L2CAP_MIN_OFFSET); in gatts_process_primary_service_req() local 763 p_msg = (BT_HDR *)osi_calloc(msg_len); in gatts_process_primary_service_req() 942 size_t msg_len = sizeof(BT_HDR) + p_tcb->payload_size + L2CAP_MIN_OFFSET; in gatts_process_read_by_type_req() local 966 p_msg = (BT_HDR *)osi_calloc(msg_len); in gatts_process_read_by_type_req()
|