Searched refs:tlv (Results 1 - 25 of 36) sorted by relevance

12

/external/llvm/test/MC/MachO/
H A Dtbss.s3 .tbss _a$tlv$init, 4
4 .tbss _b$tlv$init, 4, 3
70 // CHECK: ('_string_data', '\x00_a$tlv$init\x00_b$tlv$init\x00\x00\x00\x00')
78 // CHECK: ('_string', '_a$tlv$init')
86 // CHECK: ('_string', '_b$tlv$init')
H A Dtdata.s3 _a$tlv$init:
70 // CHECK: ('_string_data', '\x00_a$tlv$init\x00\x00\x00\x00')
78 // CHECK: ('_string', '_a$tlv$init')
H A Dtlv.s3 .tlv
H A Dtls.s5 .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
[all...]
H A Dtlv-reloc.s4 _a$tlv$init:
8 .tlv
13 .quad _a$tlv$init
114 // CHECK: ('_string_data', '\x00_a\x00__tlv_bootstrap\x00_foo\x00_a$tlv$init\x00\x00\x00\x00')
122 // CHECK: ('_string', '_a$tlv$init')
/external/llvm/test/MC/AsmParser/
H A Ddirective_tbss.s3 # 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
H A Ddirective_tdata.s4 # CHECK: _a$tlv$init:
8 _a$tlv$init:
H A Ddirective_tlv.s8 .tlv
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_fast_common.c176 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, argument
183 if (tlv->eap_payload_tlv) {
186 tlv->iresult = EAP_TLV_RESULT_FAILURE;
189 tlv->eap_payload_tlv = pos;
190 tlv->eap_payload_tlv_len = len;
194 if (tlv->result) {
197 tlv->result = EAP_TLV_RESULT_FAILURE;
203 tlv->result = EAP_TLV_RESULT_FAILURE;
206 tlv->result = WPA_GET_BE16(pos);
207 if (tlv
[all...]
H A Deap_fast_common.h104 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv,
/external/wpa_supplicant_8/src/eap_common/
H A Deap_fast_common.c176 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, argument
183 if (tlv->eap_payload_tlv) {
186 tlv->iresult = EAP_TLV_RESULT_FAILURE;
189 tlv->eap_payload_tlv = pos;
190 tlv->eap_payload_tlv_len = len;
194 if (tlv->result) {
197 tlv->result = EAP_TLV_RESULT_FAILURE;
203 tlv->result = EAP_TLV_RESULT_FAILURE;
206 tlv->result = WPA_GET_BE16(pos);
207 if (tlv
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_fast_common.c176 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv, argument
183 if (tlv->eap_payload_tlv) {
186 tlv->iresult = EAP_TLV_RESULT_FAILURE;
189 tlv->eap_payload_tlv = pos;
190 tlv->eap_payload_tlv_len = len;
194 if (tlv->result) {
197 tlv->result = EAP_TLV_RESULT_FAILURE;
203 tlv->result = EAP_TLV_RESULT_FAILURE;
206 tlv->result = WPA_GET_BE16(pos);
207 if (tlv
[all...]
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DStartupConfig.cpp150 UINT8 tlv [] = {0x04, 0xC2, 0x02, 0x61, 0x00}; local
151 tlv [4] = tlv [4] | bitmask;
152 found0xC2 = append (tlv, 5);
/external/tcpdump/
H A Dprint-slow.c354 /* did we capture enough for fully decoding the tlv header ? */
378 /* did we capture enough for fully decoding the tlv ? */
481 } tlv; local
513 tlv.slow_oam_info = (const struct slow_oam_info_t *)tptr;
515 if (tlv.slow_oam_info->info_length !=
523 tlv.slow_oam_info->oam_version,
524 EXTRACT_16BITS(&tlv.slow_oam_info->revision));
528 tlv.slow_oam_info->state & OAM_INFO_TYPE_PARSER_MASK),
530 tlv.slow_oam_info->state & OAM_INFO_TYPE_MUX_MASK));
533 tlv
[all...]
H A Dprint-nflog.c74 const nflog_tlv_t *tlv; local
105 tlv = (const nflog_tlv_t *) p;
106 size = tlv->tlv_length;
124 if (tlv->tlv_type == NFULA_PAYLOAD) {
H A Dprint-forces.c409 #define TLV_RDAT_LEN(tlv) ((int)(EXTRACT_16BITS(&(tlv)->length) - TLV_SET_LEN(0))
411 #define GO_NXT_TLV(tlv,rlen) ((rlen) -= F_ALN_LEN(EXTRACT_16BITS(&(tlv)->length)), \
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) argument
438 if (EXTRACT_16BITS(&tlv->length) < TLV_HDRL)
440 if (EXTRACT_16BITS(&tlv->length) > rlen)
442 if (rlen < F_ALN_LEN(EXTRACT_16BITS(&tlv
665 const struct forces_tlv *tlv = (struct forces_tlv *)pptr; local
702 const struct forces_tlv *tlv = (struct forces_tlv *)pptr; local
781 const struct forces_tlv *tlv = (struct forces_tlv *)pptr; local
809 const struct forces_tlv *tlv = (struct forces_tlv *)pptr; local
1452 const struct forces_tlv *tlv = (struct forces_tlv *)pptr; local
[all...]
H A Dprint-lldp.c1106 u_int16_t tlv; local
1127 while (tlen >= sizeof(tlv)) {
1129 TCHECK2(*tptr, sizeof(tlv));
1131 tlv = EXTRACT_16BITS(tptr);
1133 tlv_type = LLDP_EXTRACT_TYPE(tlv);
1134 tlv_len = LLDP_EXTRACT_LEN(tlv);
1137 tlen -= sizeof(tlv);
1138 tptr += sizeof(tlv);
1150 /* decode every tlv */
1371 u_int16_t tlv, ca local
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dtipc_config.h260 #define TLV_DATA(tlv) ((void *)((char *)(tlv) + TLV_LENGTH(0)))
262 static inline int TLV_OK(const void *tlv, __u16 space) argument
265 * Would also like to check that "tlv" is a multiple of 4,
267 * - Tried doing (!(tlv & (TLV_ALIGNTO-1))), but GCC compiler
269 * - Tried casting "tlv" to integer type, but causes warning about size
274 (ntohs(((struct tlv_desc *)tlv)->tlv_len) <= space);
277 static inline int TLV_CHECK(const void *tlv, __u16 space, __u16 exp_type) argument
279 return TLV_OK(tlv, space) &&
280 (ntohs(((struct tlv_desc *)tlv)
283 TLV_SET(void *tlv, __u16 type, void *data, __u16 len) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_fast.c1125 struct eap_fast_tlv_parse *tlv)
1131 os_memset(tlv, 0, sizeof(*tlv));
1150 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len);
1231 struct eap_tlv_pac_type_tlv *tlv; local
1233 if (pac == NULL || len != sizeof(*tlv))
1236 tlv = (struct eap_tlv_pac_type_tlv *) pac;
1238 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE &&
1239 be_to_host16(tlv->length) == 2 &&
1240 be_to_host16(tlv
1124 eap_fast_parse_tlvs(struct wpabuf *data, struct eap_fast_tlv_parse *tlv) argument
1248 struct eap_fast_tlv_parse tlv; local
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_fast.c1125 struct eap_fast_tlv_parse *tlv)
1131 os_memset(tlv, 0, sizeof(*tlv));
1150 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len);
1231 struct eap_tlv_pac_type_tlv *tlv; local
1233 if (pac == NULL || len != sizeof(*tlv))
1236 tlv = (struct eap_tlv_pac_type_tlv *) pac;
1238 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE &&
1239 be_to_host16(tlv->length) == 2 &&
1240 be_to_host16(tlv
1124 eap_fast_parse_tlvs(struct wpabuf *data, struct eap_fast_tlv_parse *tlv) argument
1248 struct eap_fast_tlv_parse tlv; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_fast.c1125 struct eap_fast_tlv_parse *tlv)
1131 os_memset(tlv, 0, sizeof(*tlv));
1150 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len);
1231 struct eap_tlv_pac_type_tlv *tlv; local
1233 if (pac == NULL || len != sizeof(*tlv))
1236 tlv = (struct eap_tlv_pac_type_tlv *) pac;
1238 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE &&
1239 be_to_host16(tlv->length) == 2 &&
1240 be_to_host16(tlv
1124 eap_fast_parse_tlvs(struct wpabuf *data, struct eap_fast_tlv_parse *tlv) argument
1248 struct eap_fast_tlv_parse tlv; local
[all...]
/external/libpcap/
H A Dpcap-common.c1226 nflog_tlv_t *tlv; local
1246 tlv = (nflog_tlv_t *) p;
1249 tlv->tlv_type = SWAPSHORT(tlv->tlv_type);
1250 tlv->tlv_length = SWAPSHORT(tlv->tlv_length);
1253 size = tlv->tlv_length;
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_fast.c1082 struct eap_fast_tlv_parse *tlv,
1089 os_memset(tlv, 0, sizeof(*tlv));
1109 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len);
1180 struct eap_fast_tlv_parse tlv; local
1183 if (eap_fast_parse_decrypted(decrypted, &tlv, &resp) < 0)
1189 if (tlv.result == EAP_TLV_RESULT_FAILURE) {
1195 if (tlv.iresult == EAP_TLV_RESULT_FAILURE) {
1201 if (tlv.crypto_binding) {
1203 tlv
1081 eap_fast_parse_decrypted(struct wpabuf *decrypted, struct eap_fast_tlv_parse *tlv, struct wpabuf **resp) argument
1398 u8 *tlv; local
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_fast.c1082 struct eap_fast_tlv_parse *tlv,
1089 os_memset(tlv, 0, sizeof(*tlv));
1109 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len);
1180 struct eap_fast_tlv_parse tlv; local
1183 if (eap_fast_parse_decrypted(decrypted, &tlv, &resp) < 0)
1189 if (tlv.result == EAP_TLV_RESULT_FAILURE) {
1195 if (tlv.iresult == EAP_TLV_RESULT_FAILURE) {
1201 if (tlv.crypto_binding) {
1203 tlv
1081 eap_fast_parse_decrypted(struct wpabuf *decrypted, struct eap_fast_tlv_parse *tlv, struct wpabuf **resp) argument
1398 u8 *tlv; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_fast.c1082 struct eap_fast_tlv_parse *tlv,
1089 os_memset(tlv, 0, sizeof(*tlv));
1109 res = eap_fast_parse_tlv(tlv, tlv_type, pos, len);
1180 struct eap_fast_tlv_parse tlv; local
1183 if (eap_fast_parse_decrypted(decrypted, &tlv, &resp) < 0)
1189 if (tlv.result == EAP_TLV_RESULT_FAILURE) {
1195 if (tlv.iresult == EAP_TLV_RESULT_FAILURE) {
1201 if (tlv.crypto_binding) {
1203 tlv
1081 eap_fast_parse_decrypted(struct wpabuf *decrypted, struct eap_fast_tlv_parse *tlv, struct wpabuf **resp) argument
1398 u8 *tlv; local
[all...]

Completed in 4405 milliseconds

12