Home
last modified time | relevance | path

Searched refs:payload_len (Results 1 – 9 of 9) sorted by relevance

/system/nfc/src/nfc/ndef/
Dndef_utils.cc81 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 p_new = p_rec + (payload_len + type_len + id_len); in NDEF_MsgValidate()
208 p_rec += (payload_len + type_len + id_len); in NDEF_MsgValidate()
238 uint32_t payload_len; in NDEF_MsgGetNumRecs() local
252 payload_len = *p_rec++; in NDEF_MsgGetNumRecs()
254 BE_STREAM_TO_UINT32(payload_len, p_rec); in NDEF_MsgGetNumRecs()
263 p_rec += (payload_len + type_len + id_len); in NDEF_MsgGetNumRecs()
[all …]
/system/connectivity/wifilogd/
Dmessage_buffer.cpp72 read_pos_ += header.payload_len; in ConsumeNextMessage()
75 return {payload_start, header.payload_len}; in ConsumeNextMessage()
84 header.payload_len = message_len; in AppendHeader()
Dprotocol.h60 payload_len = new_payload_len; in set_payload_len()
70 uint16_t payload_len; member
Dmessage_buffer.h88 uint16_t payload_len; member
/system/nfc/src/nfa/dm/
Dnfa_dm_ndef.cc242 uint32_t payload_len) { in nfa_dm_ndef_find_next_handler() argument
266 if ((payload_len > 1) && in nfa_dm_ndef_find_next_handler()
368 uint32_t payload_len; in nfa_dm_ndef_handle_message() local
444 p_payload = NDEF_RecGetPayload(p_rec, &payload_len); in nfa_dm_ndef_handle_message()
448 p_payload, payload_len); in nfa_dm_ndef_handle_message()
464 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
477 ndef_data.len = payload_len + (uint32_t)(p_payload - p_rec); in nfa_dm_ndef_handle_message()
530 p_handler, tnf, p_type, type_len, p_payload, payload_len); in nfa_dm_ndef_handle_message()
/system/connectivity/wifilogd/tests/
Dprotocol_unittest.cpp86 EXPECT_EQ(12U, offsetof(Command, payload_len)); in TEST()
87 EXPECT_EQ(2U, sizeof(Command::payload_len)); in TEST()
Dcommand_processor_unittest.cpp103 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/
Dclatd.c75 if (ntohs(ip6->payload_len) > 0xFFFF - sizeof(struct iphdr)) return TC_ACT_OK; in nat64()
115 .tot_len = htons(ntohs(ip6->payload_len) + sizeof(struct iphdr)), // u16 in nat64()
/system/nfc/src/nfc/include/
Dndef_utils.h266 uint8_t* p_payload, uint32_t payload_len);