Searched refs:payload_len (Results 1 – 11 of 11) sorted by relevance
/system/nfc/src/nfc/ndef/ |
D | ndef_utils.cc | 81 uint32_t payload_len; in NDEF_MsgValidate() local 118 payload_len = *p_rec++; in NDEF_MsgValidate() 123 BE_STREAM_TO_UINT32(payload_len, p_rec); in NDEF_MsgValidate() 173 if ((type_len != 0) || (id_len != 0) || (payload_len != 0)) in NDEF_MsgValidate() 201 if (payload_len + type_len + id_len < payload_len || in NDEF_MsgValidate() 202 payload_len + type_len + id_len > msg_len) { in NDEF_MsgValidate() 205 p_new = p_rec + (payload_len + type_len + id_len); in NDEF_MsgValidate() 212 p_rec += (payload_len + type_len + id_len); in NDEF_MsgValidate() 242 uint32_t payload_len; in NDEF_MsgGetNumRecs() local 256 payload_len = *p_rec++; in NDEF_MsgGetNumRecs() [all …]
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_ndef.cc | 242 uint32_t payload_len) { in nfa_dm_ndef_find_next_handler() argument 266 if ((payload_len > 1) && in nfa_dm_ndef_find_next_handler() 273 ((payload_len > p_cb->p_ndef_handler[i]->name_len) && in nfa_dm_ndef_find_next_handler() 307 payload_len > strlen((const char*)nfa_dm_ndef_wkt_uri_str_tbl in nfa_dm_ndef_find_next_handler() 374 uint32_t payload_len; in nfa_dm_ndef_handle_message() local 450 p_payload = NDEF_RecGetPayload(p_rec, &payload_len); in nfa_dm_ndef_handle_message() 454 p_payload, payload_len); in nfa_dm_ndef_handle_message() 470 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message() 483 ndef_data.len = payload_len + (uint32_t)(p_payload - p_rec); in nfa_dm_ndef_handle_message() 536 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
|
/system/connectivity/wifilogd/ |
D | message_buffer.cpp | 72 read_pos_ += header.payload_len; in ConsumeNextMessage() 75 return {payload_start, header.payload_len}; in ConsumeNextMessage() 84 header.payload_len = message_len; in AppendHeader()
|
D | protocol.h | 60 payload_len = new_payload_len; in set_payload_len() 70 uint16_t payload_len; member
|
D | message_buffer.h | 88 uint16_t payload_len; member
|
/system/connectivity/wifilogd/tests/ |
D | protocol_unittest.cpp | 86 EXPECT_EQ(12U, offsetof(Command, payload_len)); in TEST() 87 EXPECT_EQ(2U, sizeof(Command::payload_len)); in TEST()
|
D | command_processor_unittest.cpp | 103 const size_t payload_len = sizeof(ascii_message_header) + tag.length() + in BuildAsciiMessageCommandWithAdjustments() local 110 payload_len, uint16_t, 0, in BuildAsciiMessageCommandWithAdjustments() 111 GetMaxVal<decltype(protocol::Command::payload_len)>())); in BuildAsciiMessageCommandWithAdjustments() 112 EXPECT_EQ(payload_len, command.payload_len); in BuildAsciiMessageCommandWithAdjustments()
|
/system/netd/bpf_progs/ |
D | clatd.c | 62 if (ntohs(ip6->payload_len) > 0xFFFF - sizeof(struct iphdr)) return TC_ACT_OK; in nat64() 100 .tot_len = htons(ntohs(ip6->payload_len) + sizeof(struct iphdr)), // u16 in nat64() 270 .payload_len = htons(ntohs(ip4->tot_len) - 20), // __be16 in sched_cls_egress_clat_rawip()
|
/system/chre/platform/slpi/see/ |
D | sns_qmi_client.c | 82 client->ind_cb(client, ind->payload, ind->payload_len, client->ind_cb_data); in client_ind_cb() 237 req_msg->payload_len = stream.bytes_written; in sns_client_send()
|
/system/nfc/src/nfc/include/ |
D | ndef_utils.h | 266 uint8_t* p_payload, uint32_t payload_len);
|
/system/netd/tests/ |
D | binder_test.cpp | 3662 .payload_len = htons(kPayloadLen), in TEST_F()
|