Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Ddevice_monitor_unittest.cc15 static struct cras_device_monitor_message *sent_msg; variable
47 sent_msg = (struct cras_device_monitor_message *)calloc(1, sizeof(*sent_msg)); in TEST()
51 EXPECT_EQ(sent_msg->header.type, CRAS_MAIN_MONITOR_DEVICE); in TEST()
52 EXPECT_EQ(sent_msg->header.length, sizeof(*sent_msg)); in TEST()
53 EXPECT_EQ(sent_msg->message_type, RESET_DEVICE); in TEST()
54 EXPECT_EQ(sent_msg->iodev, &dev); in TEST()
56 free(sent_msg); in TEST()
84 sent_msg = (struct cras_device_monitor_message *)calloc(1, sizeof(*sent_msg)); in TEST()
88 EXPECT_EQ(sent_msg->header.type, CRAS_MAIN_MONITOR_DEVICE); in TEST()
89 EXPECT_EQ(sent_msg->header.length, sizeof(*sent_msg)); in TEST()
[all …]
Dserver_metrics_unittest.cc14 static struct cras_server_metrics_message *sent_msg; variable
33 sent_msg = (struct cras_server_metrics_message *)calloc(1, sizeof(*sent_msg)); in TEST()
37 EXPECT_EQ(sent_msg->header.type, CRAS_MAIN_METRICS); in TEST()
38 EXPECT_EQ(sent_msg->header.length, sizeof(*sent_msg)); in TEST()
39 EXPECT_EQ(sent_msg->metrics_type, LONGEST_FETCH_DELAY); in TEST()
40 EXPECT_EQ(sent_msg->data, delay); in TEST()
42 free(sent_msg); in TEST()
60 memcpy(sent_msg, msg, sizeof(*sent_msg)); in cras_main_message_send()
/external/wpa_supplicant_8/src/radius/
Dradius.h254 size_t secret_len, struct radius_msg *sent_msg,
262 radius_msg_get_ms_keys(struct radius_msg *msg, struct radius_msg *sent_msg,
265 radius_msg_get_cisco_keys(struct radius_msg *msg, struct radius_msg *sent_msg,
287 struct radius_msg *sent_msg, size_t n);
Dradius.c848 size_t secret_len, struct radius_msg *sent_msg, int auth) in radius_msg_verify() argument
854 if (sent_msg == NULL) { in radius_msg_verify()
861 sent_msg->hdr->authenticator)) { in radius_msg_verify()
868 addr[1] = sent_msg->hdr->authenticator; in radius_msg_verify()
1106 radius_msg_get_ms_keys(struct radius_msg *msg, struct radius_msg *sent_msg, in radius_msg_get_ms_keys() argument
1113 if (msg == NULL || sent_msg == NULL) in radius_msg_get_ms_keys()
1125 sent_msg->hdr->authenticator, in radius_msg_get_ms_keys()
1140 sent_msg->hdr->authenticator, in radius_msg_get_ms_keys()
1155 radius_msg_get_cisco_keys(struct radius_msg *msg, struct radius_msg *sent_msg, in radius_msg_get_cisco_keys() argument
1162 if (msg == NULL || sent_msg == NULL) in radius_msg_get_cisco_keys()
[all …]