Home
last modified time | relevance | path

Searched refs:type_len (Results 1 – 10 of 10) sorted by relevance

/external/libnfc-nci/src/nfc/ndef/
Dndef_utils.c83 UINT8 rec_hdr=0, type_len, id_len; in NDEF_MsgValidate() local
112 type_len = *p_rec++; in NDEF_MsgValidate()
147 … if ( (type_len != 0) || (id_len != 0) || ((rec_hdr & NDEF_TNF_MASK) != NDEF_TNF_UNCHANGED) ) in NDEF_MsgValidate()
164 … if ( (type_len != 0) || (id_len != 0) || ((rec_hdr & NDEF_TNF_MASK) != NDEF_TNF_UNCHANGED) ) in NDEF_MsgValidate()
180 if ( (type_len != 0) || (id_len != 0) || (payload_len != 0) ) in NDEF_MsgValidate()
186 if (type_len != 0) in NDEF_MsgValidate()
191 p_rec += (payload_len + type_len + id_len); in NDEF_MsgValidate()
223 UINT8 rec_hdr, type_len, id_len; in NDEF_MsgGetNumRecs() local
237 type_len = *p_rec++; in NDEF_MsgGetNumRecs()
252 p_rec += (payload_len + type_len + id_len); in NDEF_MsgGetNumRecs()
[all …]
Dndef_cho_utils.c568 UINT8 id_len, tnf, type_len; in ndef_get_bt_oob_record() local
577 p_type = NDEF_RecGetType (p_rec, &tnf, &type_len); in ndef_get_bt_oob_record()
582 ||(type_len != BT_OOB_REC_TYPE_LEN) in ndef_get_bt_oob_record()
/external/elfutils/libdw/
Dmemory-access.h43 __libdw_max_len_leb128 (const size_t type_len, in __libdw_max_len_leb128() argument
47 return likely (type_len <= pointer_len) ? type_len : pointer_len; in __libdw_max_len_leb128()
53 const size_t type_len = len_leb128 (uint64_t); in __libdw_max_len_uleb128() local
54 return __libdw_max_len_leb128 (type_len, addr, end); in __libdw_max_len_uleb128()
61 const size_t type_len = len_leb128 (int64_t) - 1; in __libdw_max_len_sleb128() local
62 return __libdw_max_len_leb128 (type_len, addr, end); in __libdw_max_len_sleb128()
DChangeLog197 * memory-access.h (__libdw_max_len_leb128): Take type_len as argument.
/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_ndef.c371 UINT8 tnf, type_len, rec_hdr_flags, id_len; in nfa_dm_ndef_handle_message() local
431 p_type = NDEF_RecGetType (p_rec, &tnf, &type_len); in nfa_dm_ndef_handle_message()
440 …if ((p_handler = nfa_dm_ndef_find_next_handler (NULL, tnf, p_type, type_len, p_payload, payload_le… in nfa_dm_ndef_handle_message()
455 …p_handler = nfa_dm_ndef_find_next_handler (p_handler, tnf, p_type, type_len, p_payload, payload_le… in nfa_dm_ndef_handle_message()
477 type_len = *p_rec_end++; in nfa_dm_ndef_handle_message()
519 …p_handler = nfa_dm_ndef_find_next_handler (p_handler, tnf, p_type, type_len, p_payload, payload_le… in nfa_dm_ndef_handle_message()
/external/tlsdate/src/
Dplatform-cros.c132 size_t type_len; in canonicalize_pac() local
148 type_len = space - pac_fmt; in canonicalize_pac()
155 if (!strncmp (pac_fmt, "PROXY", type_len)) in canonicalize_pac()
159 else if (!strncmp (pac_fmt, "SOCKS", type_len)) in canonicalize_pac()
163 else if (!strncmp (pac_fmt, "SOCKS5", type_len)) in canonicalize_pac()
167 else if (!strncmp (pac_fmt, "HTTPS", type_len)) in canonicalize_pac()
173 error ("pac_fmt unmatched: '%s' %zu", pac_fmt, type_len); in canonicalize_pac()
/external/libnfc-nci/src/nfc/include/
Dndef_utils.h270 UINT8 tnf, UINT8 *p_type, UINT8 type_len,
286 UINT8 tnf, UINT8 *p_type, UINT8 type_len,
/external/selinux/libsemanage/src/
Dsemanage_store.c136 int type_len; member
2437 size_t start, finish, regex_len, type_len, context_len; in semanage_fc_sort() local
2577 type_len = 2; /* defined as '--', '-d', '-f', etc. */ in semanage_fc_sort()
2579 if (i + type_len >= line_len) { in semanage_fc_sort()
2589 (char *)strndup(&line_buf[i], type_len); in semanage_fc_sort()
2597 i += type_len; in semanage_fc_sort()
2612 type_len = 0; /* inode type did not exist in the file context */ in semanage_fc_sort()
2633 temp->type_len = type_len; in semanage_fc_sort()
2692 i += current->type_len + 1; /* +1 for a tab */ in semanage_fc_sort()
/external/avahi/avahi-sharp/
DClient.cs180 IntPtr type, int type_len, in avahi_service_name_split() argument
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c7239 size_t type_len; in wpas_ctrl_radio_work_add() local
7251 type_len = pos - cmd; in wpas_ctrl_radio_work_add()
7262 type_len = os_strlen(cmd); in wpas_ctrl_radio_work_add()
7264 if (4 + type_len >= sizeof(ework->type)) in wpas_ctrl_radio_work_add()
7265 type_len = sizeof(ework->type) - 4 - 1; in wpas_ctrl_radio_work_add()
7267 os_memcpy(ework->type + 4, cmd, type_len); in wpas_ctrl_radio_work_add()
7268 ework->type[4 + type_len] = '\0'; in wpas_ctrl_radio_work_add()