/external/wpa_supplicant_8/src/eap_common/ |
D | eap_fast_common.c | 145 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, in eap_fast_parse_tlv() argument 152 if (tlv->eap_payload_tlv) { in eap_fast_parse_tlv() 155 tlv->iresult = EAP_TLV_RESULT_FAILURE; in eap_fast_parse_tlv() 158 tlv->eap_payload_tlv = pos; in eap_fast_parse_tlv() 159 tlv->eap_payload_tlv_len = len; in eap_fast_parse_tlv() 163 if (tlv->result) { in eap_fast_parse_tlv() 166 tlv->result = EAP_TLV_RESULT_FAILURE; in eap_fast_parse_tlv() 172 tlv->result = EAP_TLV_RESULT_FAILURE; in eap_fast_parse_tlv() 175 tlv->result = WPA_GET_BE16(pos); in eap_fast_parse_tlv() 176 if (tlv->result != EAP_TLV_RESULT_SUCCESS && in eap_fast_parse_tlv() [all …]
|
D | eap_fast_common.h | 104 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv,
|
/external/llvm/test/MC/MachO/ |
D | tls.s | 5 .globl _c$tlv$init 7 _c$tlv$init: 15 .quad _c$tlv$init 18 .globl _d$tlv$init 20 _d$tlv$init: 28 .quad _d$tlv$init 30 .tbss _a$tlv$init, 4, 2 36 .quad _a$tlv$init 38 .tbss _b$tlv$init, 4, 2 44 .quad _b$tlv$init
|
D | tlv-reloc.s | 4 _a$tlv$init: 8 .tlv 13 .quad _a$tlv$init
|
D | tbss.s | 3 .tbss _a$tlv$init, 4 4 .tbss _b$tlv$init, 4, 3
|
D | tdata.s | 3 _a$tlv$init:
|
D | tlv.s | 3 .tlv
|
/external/tcpdump/ |
D | print-slow.c | 481 } tlv; in slow_oam_print() local 513 tlv.slow_oam_info = (const struct slow_oam_info_t *)tptr; in slow_oam_print() 515 if (tlv.slow_oam_info->info_length != in slow_oam_print() 523 tlv.slow_oam_info->oam_version, in slow_oam_print() 524 EXTRACT_16BITS(&tlv.slow_oam_info->revision)); in slow_oam_print() 528 tlv.slow_oam_info->state & OAM_INFO_TYPE_PARSER_MASK), in slow_oam_print() 530 tlv.slow_oam_info->state & OAM_INFO_TYPE_MUX_MASK)); in slow_oam_print() 533 tlv.slow_oam_info->oam_config), in slow_oam_print() 534 EXTRACT_16BITS(&tlv.slow_oam_info->oam_pdu_config) & in slow_oam_print() 538 EXTRACT_24BITS(&tlv.slow_oam_info->oui)), in slow_oam_print() [all …]
|
D | print-forces.c | 409 #define TLV_RDAT_LEN(tlv) ((int)(EXTRACT_16BITS(&(tlv)->length) - TLV_SET_LEN(0)) argument 411 #define GO_NXT_TLV(tlv,rlen) ((rlen) -= F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length)), \ argument 412 (struct forces_tlv*)(((char*)(tlv)) \ 413 + F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length)))) 434 static inline int tlv_valid(const struct forces_tlv *tlv, u_int rlen) in tlv_valid() argument 438 if (EXTRACT_16BITS(&tlv->length) < TLV_HDRL) in tlv_valid() 440 if (EXTRACT_16BITS(&tlv->length) > rlen) in tlv_valid() 442 if (rlen < F_ALN_LEN(EXTRACT_16BITS(&tlv->length))) in tlv_valid() 665 const struct forces_tlv *tlv = (struct forces_tlv *)pptr; in prestlv_print() local 666 register const u_char *tdp = (u_char *) TLV_DATA(tlv); in prestlv_print() [all …]
|
D | print-nflog.c | 74 const nflog_tlv_t *tlv; in nflog_if_print() local 105 tlv = (const nflog_tlv_t *) p; in nflog_if_print() 106 size = tlv->tlv_length; in nflog_if_print() 124 if (tlv->tlv_type == NFULA_PAYLOAD) { in nflog_if_print()
|
D | print-lldp.c | 1106 u_int16_t tlv; in lldp_private_dcbx_print() local 1127 while (tlen >= sizeof(tlv)) { in lldp_private_dcbx_print() 1129 TCHECK2(*tptr, sizeof(tlv)); in lldp_private_dcbx_print() 1131 tlv = EXTRACT_16BITS(tptr); in lldp_private_dcbx_print() 1133 tlv_type = LLDP_EXTRACT_TYPE(tlv); in lldp_private_dcbx_print() 1134 tlv_len = LLDP_EXTRACT_LEN(tlv); in lldp_private_dcbx_print() 1137 tlen -= sizeof(tlv); in lldp_private_dcbx_print() 1138 tptr += sizeof(tlv); in lldp_private_dcbx_print() 1371 u_int16_t tlv, cap, ena_cap; in lldp_print() local 1381 while (tlen >= sizeof(tlv)) { in lldp_print() [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | tipc_config.h | 252 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0))) argument 254 static inline int TLV_OK(const void *tlv, __u16 space) in TLV_OK() argument 266 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space); in TLV_OK() 269 static inline int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) in TLV_CHECK() argument 271 return TLV_OK(tlv, space) && in TLV_CHECK() 272 (ntohs(((struct tlv_desc *)tlv)->tlv_type) == exp_type); in TLV_CHECK() 275 static inline int TLV_SET(void *tlv, __u16 type, void *data, __u16 len) in TLV_SET() argument 281 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET()
|
/external/llvm/test/MC/AsmParser/ |
D | directive_tbss.s | 3 # CHECK: .tbss _a$tlv$init, 4 4 # CHECK: .tbss _b$tlv$init, 4, 3 6 .tbss _a$tlv$init, 4 7 .tbss _b$tlv$init, 4, 3
|
D | directive_tdata.s | 4 # CHECK: _a$tlv$init: 8 _a$tlv$init:
|
D | directive_tlv.s | 8 .tlv
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_fast.c | 1127 struct eap_fast_tlv_parse *tlv) in eap_fast_parse_tlvs() argument 1133 os_memset(tlv, 0, sizeof(*tlv)); in eap_fast_parse_tlvs() 1152 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_tlvs() 1233 struct eap_tlv_pac_type_tlv *tlv; in eap_fast_pac_type() local 1235 if (pac == NULL || len != sizeof(*tlv)) in eap_fast_pac_type() 1238 tlv = (struct eap_tlv_pac_type_tlv *) pac; in eap_fast_pac_type() 1240 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE && in eap_fast_pac_type() 1241 be_to_host16(tlv->length) == 2 && in eap_fast_pac_type() 1242 be_to_host16(tlv->pac_type) == type; in eap_fast_pac_type() 1250 struct eap_fast_tlv_parse tlv; in eap_fast_process_phase2_tlvs() local [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | StartupConfig.cpp | 150 UINT8 tlv [] = {0x04, 0xC2, 0x02, 0x61, 0x00}; in disableSecureElement() local 151 tlv [4] = tlv [4] | bitmask; in disableSecureElement() 152 found0xC2 = append (tlv, 5); in disableSecureElement()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_fast.c | 1087 struct eap_fast_tlv_parse *tlv, in eap_fast_parse_decrypted() argument 1094 os_memset(tlv, 0, sizeof(*tlv)); in eap_fast_parse_decrypted() 1114 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_decrypted() 1185 struct eap_fast_tlv_parse tlv; in eap_fast_process_decrypted() local 1188 if (eap_fast_parse_decrypted(decrypted, &tlv, &resp) < 0) in eap_fast_process_decrypted() 1194 if (tlv.result == EAP_TLV_RESULT_FAILURE) { in eap_fast_process_decrypted() 1200 if (tlv.iresult == EAP_TLV_RESULT_FAILURE) { in eap_fast_process_decrypted() 1206 if (tlv.crypto_binding) { in eap_fast_process_decrypted() 1208 tlv.crypto_binding, in eap_fast_process_decrypted() 1209 tlv.crypto_binding_len); in eap_fast_process_decrypted() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | tlv-1.ll | 39 ; CHECK: .tbss _a$tlv$init, 4, 2 45 ; CHECK: .quad _a$tlv$init 47 ; CHECK: .tbss _b$tlv$init, 4, 2 52 ; CHECK: .quad _b$tlv$init
|
D | tlv-3.ll | 5 ; CHECK: _foo$tlv$init
|
/external/libpcap/ |
D | pcap-common.c | 1226 nflog_tlv_t *tlv; in swap_nflog_header() local 1246 tlv = (nflog_tlv_t *) p; in swap_nflog_header() 1249 tlv->tlv_type = SWAPSHORT(tlv->tlv_type); in swap_nflog_header() 1250 tlv->tlv_length = SWAPSHORT(tlv->tlv_length); in swap_nflog_header() 1253 size = tlv->tlv_length; in swap_nflog_header()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_module_tests.c | 905 u8 tlv[] = { in test_eap_fast() local 972 os_memset(tlv + sizeof(tlv) - 20, 0, 20); in test_eap_fast() 973 if (hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20) < 0 || in test_eap_fast() 974 os_memcmp(tlv + sizeof(tlv) - 20, compound_mac, in test_eap_fast()
|
/external/iproute2/tc/ |
D | em_meta.c | 148 static inline void dump_value(struct nlmsghdr *n, int tlv, unsigned long val, in dump_value() argument 156 addattr_l(n, MAX_MSG, tlv, &t, sizeof(t)); in dump_value() 162 addattr_l(n, MAX_MSG, tlv, a->data, a->len); in dump_value()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers_p2p.c | 2687 struct wpabuf *tlv = NULL; in wpas_dbus_handler_p2p_service_sd_req() local 2719 tlv = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_service_sd_req() 2743 if (tlv == NULL) in wpas_dbus_handler_p2p_service_sd_req() 2745 ref = wpas_p2p_sd_request(wpa_s, addr, tlv); in wpas_dbus_handler_p2p_service_sd_req() 2746 wpabuf_free(tlv); in wpas_dbus_handler_p2p_service_sd_req() 2764 if (tlv) in wpas_dbus_handler_p2p_service_sd_req() 2765 wpabuf_free(tlv); in wpas_dbus_handler_p2p_service_sd_req() 2779 struct wpabuf *tlv = NULL; in wpas_dbus_handler_p2p_service_sd_res() local 2807 tlv = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_service_sd_res() 2816 tlv == NULL) in wpas_dbus_handler_p2p_service_sd_res() [all …]
|
/external/libnfc-nci/src/nfa/rw/ |
D | nfa_rw_act.c | 341 if (p_rw_data->tlv.status == NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 343 NFA_TRACE_DEBUG1("TLV Detection succeeded: num_bytes=%i",p_rw_data->tlv.num_bytes); in nfa_rw_handle_tlv_detect() 347 conn_evt_data.tlv_detect.protocol = p_rw_data->tlv.protocol; in nfa_rw_handle_tlv_detect() 348 conn_evt_data.tlv_detect.num_bytes = p_rw_data->tlv.num_bytes; in nfa_rw_handle_tlv_detect() 370 if (p_rw_data->tlv.status != NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 2046 static BOOLEAN nfa_rw_detect_tlv (tNFA_RW_MSG *p_data, UINT8 tlv) in nfa_rw_detect_tlv() argument 2053 if (RW_T1tLocateTlv(tlv) != NFC_STATUS_OK) in nfa_rw_detect_tlv() 2060 if (RW_T2tLocateTlv(tlv) != NFC_STATUS_OK) in nfa_rw_detect_tlv()
|