/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | eap_fast_common.c | 182 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, in eap_fast_parse_tlv() argument 189 if (tlv->eap_payload_tlv) { in eap_fast_parse_tlv() 192 tlv->iresult = EAP_TLV_RESULT_FAILURE; in eap_fast_parse_tlv() 195 tlv->eap_payload_tlv = pos; in eap_fast_parse_tlv() 196 tlv->eap_payload_tlv_len = len; in eap_fast_parse_tlv() 200 if (tlv->result) { in eap_fast_parse_tlv() 203 tlv->result = EAP_TLV_RESULT_FAILURE; in eap_fast_parse_tlv() 209 tlv->result = EAP_TLV_RESULT_FAILURE; in eap_fast_parse_tlv() 212 tlv->result = WPA_GET_BE16(pos); in eap_fast_parse_tlv() 213 if (tlv->result != EAP_TLV_RESULT_SUCCESS && in eap_fast_parse_tlv() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_fast_common.c | 182 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, in eap_fast_parse_tlv() argument 189 if (tlv->eap_payload_tlv) { in eap_fast_parse_tlv() 192 tlv->iresult = EAP_TLV_RESULT_FAILURE; in eap_fast_parse_tlv() 195 tlv->eap_payload_tlv = pos; in eap_fast_parse_tlv() 196 tlv->eap_payload_tlv_len = len; in eap_fast_parse_tlv() 200 if (tlv->result) { in eap_fast_parse_tlv() 203 tlv->result = EAP_TLV_RESULT_FAILURE; in eap_fast_parse_tlv() 209 tlv->result = EAP_TLV_RESULT_FAILURE; in eap_fast_parse_tlv() 212 tlv->result = WPA_GET_BE16(pos); in eap_fast_parse_tlv() 213 if (tlv->result != EAP_TLV_RESULT_SUCCESS && in eap_fast_parse_tlv() [all …]
|
/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/wpa_supplicant/tests/ |
D | test_sha1.c | 99 u8 tlv[] = { in test_eap_fast() local 156 memset(tlv + sizeof(tlv) - 20, 0, 20); in test_eap_fast() 157 hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20); in test_eap_fast() 158 if (memcmp(tlv + sizeof(tlv) - 20, compound_mac, sizeof(compound_mac)) in test_eap_fast()
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
D | test_sha1.c | 110 u8 tlv[] = { in test_eap_fast() local 175 memset(tlv + sizeof(tlv) - 20, 0, 20); in test_eap_fast() 176 hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20); in test_eap_fast() 177 if (memcmp(tlv + sizeof(tlv) - 20, compound_mac, sizeof(compound_mac)) in test_eap_fast()
|
/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_6/wpa_supplicant/src/eap_server/ |
D | eap_fast.c | 1125 struct eap_fast_tlv_parse *tlv) in eap_fast_parse_tlvs() argument 1130 os_memset(tlv, 0, sizeof(*tlv)); in eap_fast_parse_tlvs() 1148 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_tlvs() 1229 struct eap_tlv_pac_type_tlv *tlv; in eap_fast_pac_type() local 1231 if (pac == NULL || len != sizeof(*tlv)) in eap_fast_pac_type() 1234 tlv = (struct eap_tlv_pac_type_tlv *) pac; in eap_fast_pac_type() 1236 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE && in eap_fast_pac_type() 1237 be_to_host16(tlv->length) == 2 && in eap_fast_pac_type() 1238 be_to_host16(tlv->pac_type) == type; in eap_fast_pac_type() 1246 struct eap_fast_tlv_parse tlv; in eap_fast_process_phase2_tlvs() local [all …]
|
D | eap_peap.c | 110 struct eap_tlv_hdr *tlv; in eap_peapv2_tlv_eap_payload() local 117 e = wpabuf_alloc(sizeof(*tlv) + wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload() 124 tlv = wpabuf_put(e, sizeof(*tlv)); in eap_peapv2_tlv_eap_payload() 125 tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_peapv2_tlv_eap_payload() 127 tlv->length = host_to_be16(wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload() 1110 struct eap_tlv_hdr *tlv; in eap_peap_process_phase2() local 1113 if (wpabuf_len(in_decrypted) < sizeof(*tlv) + sizeof(*hdr)) { in eap_peap_process_phase2() 1119 tlv = wpabuf_mhead(in_decrypted); in eap_peap_process_phase2() 1120 if ((be_to_host16(tlv->tlv_type) & EAP_TLV_TYPE_MASK) != in eap_peap_process_phase2() 1126 if (sizeof(*tlv) + be_to_host16(tlv->length) > in eap_peap_process_phase2() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_fast.c | 1130 struct eap_fast_tlv_parse *tlv) in eap_fast_parse_tlvs() argument 1135 os_memset(tlv, 0, sizeof(*tlv)); in eap_fast_parse_tlvs() 1153 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_tlvs() 1234 struct eap_tlv_pac_type_tlv *tlv; in eap_fast_pac_type() local 1236 if (pac == NULL || len != sizeof(*tlv)) in eap_fast_pac_type() 1239 tlv = (struct eap_tlv_pac_type_tlv *) pac; in eap_fast_pac_type() 1241 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE && in eap_fast_pac_type() 1242 be_to_host16(tlv->length) == 2 && in eap_fast_pac_type() 1243 be_to_host16(tlv->pac_type) == type; in eap_fast_pac_type() 1251 struct eap_fast_tlv_parse tlv; in eap_fast_process_phase2_tlvs() local [all …]
|
D | eap_server_peap.c | 111 struct eap_tlv_hdr *tlv; in eap_peapv2_tlv_eap_payload() local 118 e = wpabuf_alloc(sizeof(*tlv) + wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload() 125 tlv = wpabuf_put(e, sizeof(*tlv)); in eap_peapv2_tlv_eap_payload() 126 tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_peapv2_tlv_eap_payload() 128 tlv->length = host_to_be16(wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload() 1087 struct eap_tlv_hdr *tlv; in eap_peap_process_phase2() local 1090 if (wpabuf_len(in_decrypted) < sizeof(*tlv) + sizeof(*hdr)) { in eap_peap_process_phase2() 1096 tlv = wpabuf_mhead(in_decrypted); in eap_peap_process_phase2() 1097 if ((be_to_host16(tlv->tlv_type) & EAP_TLV_TYPE_MASK) != in eap_peap_process_phase2() 1103 if (sizeof(*tlv) + be_to_host16(tlv->length) > in eap_peap_process_phase2() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_fast.c | 1052 struct eap_fast_tlv_parse *tlv, in eap_fast_parse_decrypted() argument 1058 os_memset(tlv, 0, sizeof(*tlv)); in eap_fast_parse_decrypted() 1077 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_decrypted() 1148 struct eap_fast_tlv_parse tlv; in eap_fast_process_decrypted() local 1151 if (eap_fast_parse_decrypted(decrypted, &tlv, &resp) < 0) in eap_fast_process_decrypted() 1157 if (tlv.result == EAP_TLV_RESULT_FAILURE) { in eap_fast_process_decrypted() 1163 if (tlv.iresult == EAP_TLV_RESULT_FAILURE) { in eap_fast_process_decrypted() 1169 if (tlv.crypto_binding) { in eap_fast_process_decrypted() 1171 tlv.crypto_binding, in eap_fast_process_decrypted() 1172 tlv.crypto_binding_len); in eap_fast_process_decrypted() [all …]
|
D | eap_peap.c | 587 struct eap_tlv_hdr *tlv; in eap_peapv2_tlv_eap_payload() local 594 e = wpabuf_alloc(sizeof(*tlv) + wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload() 601 tlv = wpabuf_put(e, sizeof(*tlv)); in eap_peapv2_tlv_eap_payload() 602 tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_peapv2_tlv_eap_payload() 604 tlv->length = host_to_be16(wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload() 842 struct eap_tlv_hdr *tlv; in eap_peap_decrypt() local 845 if (wpabuf_len(in_decrypted) < sizeof(*tlv) + sizeof(*hdr)) { in eap_peap_decrypt() 851 tlv = wpabuf_mhead(in_decrypted); in eap_peap_decrypt() 852 if ((be_to_host16(tlv->tlv_type) & 0x3fff) != in eap_peap_decrypt() 858 if (sizeof(*tlv) + be_to_host16(tlv->length) > in eap_peap_decrypt() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_fast.c | 1052 struct eap_fast_tlv_parse *tlv, in eap_fast_parse_decrypted() argument 1058 os_memset(tlv, 0, sizeof(*tlv)); in eap_fast_parse_decrypted() 1077 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len); in eap_fast_parse_decrypted() 1148 struct eap_fast_tlv_parse tlv; in eap_fast_process_decrypted() local 1151 if (eap_fast_parse_decrypted(decrypted, &tlv, &resp) < 0) in eap_fast_process_decrypted() 1157 if (tlv.result == EAP_TLV_RESULT_FAILURE) { in eap_fast_process_decrypted() 1163 if (tlv.iresult == EAP_TLV_RESULT_FAILURE) { in eap_fast_process_decrypted() 1169 if (tlv.crypto_binding) { in eap_fast_process_decrypted() 1171 tlv.crypto_binding, in eap_fast_process_decrypted() 1172 tlv.crypto_binding_len); in eap_fast_process_decrypted() [all …]
|
D | eap_peap.c | 587 struct eap_tlv_hdr *tlv; in eap_peapv2_tlv_eap_payload() local 594 e = wpabuf_alloc(sizeof(*tlv) + wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload() 601 tlv = wpabuf_put(e, sizeof(*tlv)); in eap_peapv2_tlv_eap_payload() 602 tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_peapv2_tlv_eap_payload() 604 tlv->length = host_to_be16(wpabuf_len(buf)); in eap_peapv2_tlv_eap_payload() 842 struct eap_tlv_hdr *tlv; in eap_peap_decrypt() local 845 if (wpabuf_len(in_decrypted) < sizeof(*tlv) + sizeof(*hdr)) { in eap_peap_decrypt() 851 tlv = wpabuf_mhead(in_decrypted); in eap_peap_decrypt() 852 if ((be_to_host16(tlv->tlv_type) & 0x3fff) != in eap_peap_decrypt() 858 if (sizeof(*tlv) + be_to_host16(tlv->length) > in eap_peap_decrypt() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | tlv-1.ll | 22 ; CHECK: .tbss _a$tlv$init, 4, 2 28 ; CHECK: .quad _a$tlv$init 30 ; CHECK: .tbss _b$tlv$init, 4, 2 35 ; CHECK: .quad _b$tlv$init
|
/external/mesa3d/src/pixelflinger2/ |
D | raster.cpp | 166 VertexOutput tlv(*tl), trv(*tr), blv(*bl), brv(*br); in RasterTrapezoid() local 171 if ((int)tlv.position.y < 0) { in RasterTrapezoid() 172 InterpolateVertex(&tlv, &blv, (0 - tlv.position.y) / (blv.position.y - tlv.position.y), in RasterTrapezoid() 174 tlv = tmp; in RasterTrapezoid() 182 … InterpolateVertex(&tlv, &blv, (height - 1 - tlv.position.y) / (blv.position.y - tlv.position.y), in RasterTrapezoid() 214 const unsigned int startY = tlv.position.y; in RasterTrapezoid() 225 VertexOutput bV(tlv), cV(trv); in RasterTrapezoid() 229 bDx.varyings[i] -= tlv.varyings[i]; in RasterTrapezoid() 236 bDx.position -= tlv.position; in RasterTrapezoid() 242 bDx.frontFacingPointCoord -= tlv.frontFacingPointCoord; // gl_PointCoord in RasterTrapezoid()
|
/external/wpa_supplicant/ |
D | eap_fast.c | 1206 struct eap_tlv_hdr *tlv; in eap_fast_tlv_eap_payload() local 1209 tlv = os_malloc(sizeof(*tlv) + *len); in eap_fast_tlv_eap_payload() 1210 if (tlv == NULL) { in eap_fast_tlv_eap_payload() 1217 tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_tlv_eap_payload() 1219 tlv->length = host_to_be16(*len); in eap_fast_tlv_eap_payload() 1220 os_memcpy(tlv + 1, buf, *len); in eap_fast_tlv_eap_payload() 1222 *len += sizeof(*tlv); in eap_fast_tlv_eap_payload() 1223 return (u8 *) tlv; in eap_fast_tlv_eap_payload() 1869 u8 *tlv; in eap_fast_process() local 1874 tlv = os_malloc(tlv_len); in eap_fast_process() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers_p2p.c | 1943 struct wpabuf *tlv = NULL; in wpas_dbus_handler_p2p_service_sd_req() local 1975 tlv = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_service_sd_req() 1995 if (tlv == NULL) in wpas_dbus_handler_p2p_service_sd_req() 1997 ref = (unsigned long)wpas_p2p_sd_request(wpa_s, addr, tlv); in wpas_dbus_handler_p2p_service_sd_req() 1998 wpabuf_free(tlv); in wpas_dbus_handler_p2p_service_sd_req() 2016 if (tlv) in wpas_dbus_handler_p2p_service_sd_req() 2017 wpabuf_free(tlv); in wpas_dbus_handler_p2p_service_sd_req() 2030 struct wpabuf *tlv = NULL; in wpas_dbus_handler_p2p_service_sd_res() local 2057 tlv = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_service_sd_res() 2069 if (tlv == NULL) in wpas_dbus_handler_p2p_service_sd_res() [all …]
|
/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()
|