Home
last modified time | relevance | path

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

/third_party/lwip/src/apps/snmp/
Dsnmp_asn1.h76 u8_t type_len; /* encoded length of 'type' field (normally 1) */ member
80 #define SNMP_ASN1_TLV_HDR_LENGTH(tlv) ((tlv).type_len + (tlv).length_len)
81 #define SNMP_ASN1_TLV_LENGTH(tlv) ((tlv).type_len + (tlv).length_len + (tlv).value_len)
82 …S(tlv, type_, length_len_, value_len_) do { (tlv).type = (type_); (tlv).type_len = 0; (tlv).length…
Dsnmp_asn1.c67 if (tlv->type_len != 0) { in snmp_ans1_enc_tlv()
73 tlv->type_len = 1; in snmp_ans1_enc_tlv()
368 tlv->type_len = 1; in snmp_asn1_dec_tlv()
/third_party/lwip/src/core/distributed_net/
Ddistributed_net_core.c112 socklen_t type_len = sizeof(type); in distributed_net_sendto() local
113 if (lwip_getsockopt(sock, SOL_SOCKET, SO_TYPE, (void *)&type, &type_len) < 0) { in distributed_net_sendto()
154 socklen_t type_len = sizeof(type); in distributed_net_sendmsg() local
155 if (lwip_getsockopt(sock, SOL_SOCKET, SO_TYPE, (void *)&type, &type_len) < 0) { in distributed_net_sendmsg()
199 socklen_t type_len = sizeof(type); in distributed_net_recvfrom() local
200 if (lwip_getsockopt(sock, SOL_SOCKET, SO_TYPE, (void *)&type, &type_len) < 0) { in distributed_net_recvfrom()
/third_party/elfutils/libdw/
Dmemory-access.h42 __libdw_max_len_leb128 (const size_t type_len, in __libdw_max_len_leb128() argument
46 return likely (type_len <= pointer_len) ? type_len : pointer_len; in __libdw_max_len_leb128()
52 const size_t type_len = len_leb128 (uint64_t); in __libdw_max_len_uleb128() local
53 return __libdw_max_len_leb128 (type_len, addr, end); in __libdw_max_len_uleb128()
60 const size_t type_len = len_leb128 (int64_t) - 1; in __libdw_max_len_sleb128() local
61 return __libdw_max_len_leb128 (type_len, addr, end); in __libdw_max_len_sleb128()
DChangeLog1422 * memory-access.h (__libdw_max_len_leb128): Take type_len as argument.
/third_party/libbpf/src/
Dlibbpf_probes.c142 .type_len = types_len, in libbpf__load_raw_btf()
149 btf_len = hdr.hdr_len + hdr.type_len + hdr.str_len; in libbpf__load_raw_btf()
155 memcpy(raw_btf + hdr.hdr_len, raw_types, hdr.type_len); in libbpf__load_raw_btf()
156 memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); in libbpf__load_raw_btf()
Dbtf.c230 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr()
270 if ((long long)hdr->type_off + hdr->type_len > hdr->str_off) { in btf_parse_hdr()
272 hdr->type_off, hdr->type_len, hdr->str_off, hdr->str_len); in btf_parse_hdr()
432 void *end_type = next_type + hdr->type_len; in btf_parse_type_sec()
1382 data_sz = hdr->hdr_len + hdr->type_len + hdr->str_len;
1393 memcpy(p, btf->types_data, hdr->type_len);
1406 p += hdr->type_len;
1559 types = malloc(btf->hdr->type_len);
1564 memcpy(types, btf->types_data, btf->hdr->type_len);
1576 btf->types_data_cap = btf->hdr->type_len;
[all …]
/third_party/libwebsockets/plugins/ssh-base/
Dkex-25519.c120 ed25519_key_parse(uint8_t *p, size_t len, char *type, size_t type_len, in ed25519_key_parse() argument
160 if (m >= type_len) in ed25519_key_parse()
161 m = (uint32_t)type_len -1 ; in ed25519_key_parse()
/third_party/mbedtls/library/
Dnet_sockets.c365 socklen_t type_len = (socklen_t) sizeof( type ); in mbedtls_net_accept() local
368 int type_len = (int) sizeof( type ); in mbedtls_net_accept() local
373 (void *) &type, &type_len ) != 0 || in mbedtls_net_accept()
/third_party/libbpf/include/uapi/linux/
Dbtf.h19 __u32 type_len; /* length of type section */ member
/third_party/libwebsockets/plugins/ssh-base/include/
Dlws-ssh.h562 ed25519_key_parse(uint8_t *p, size_t len, char *type, size_t type_len,
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface.c8235 size_t type_len; in wpas_ctrl_radio_work_add() local
8247 type_len = pos - cmd; in wpas_ctrl_radio_work_add()
8258 type_len = os_strlen(cmd); in wpas_ctrl_radio_work_add()
8260 if (4 + type_len >= sizeof(ework->type)) in wpas_ctrl_radio_work_add()
8261 type_len = sizeof(ework->type) - 4 - 1; in wpas_ctrl_radio_work_add()
8263 os_memcpy(ework->type + 4, cmd, type_len); in wpas_ctrl_radio_work_add()
8264 ework->type[4 + type_len] = '\0'; in wpas_ctrl_radio_work_add()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface.c8744 size_t type_len; in wpas_ctrl_radio_work_add() local
8756 type_len = pos - cmd; in wpas_ctrl_radio_work_add()
8767 type_len = os_strlen(cmd); in wpas_ctrl_radio_work_add()
8769 if (4 + type_len >= sizeof(ework->type)) in wpas_ctrl_radio_work_add()
8770 type_len = sizeof(ework->type) - 4 - 1; in wpas_ctrl_radio_work_add()
8772 os_memcpy(ework->type + 4, cmd, type_len); in wpas_ctrl_radio_work_add()
8773 ework->type[4 + type_len] = '\0'; in wpas_ctrl_radio_work_add()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h9027 u32 type_len: 5; member
25821 __u32 type_len; member