Searched refs:attr_id (Results 1 - 21 of 21) sorted by relevance

/external/autotest/server/site_tests/bluetooth_SDP_ServiceBrowse/
H A Dbluetooth_SDP_ServiceBrowse.py22 def get_attribute_ssr_sar(self, class_id, attr_id, size):
27 @param attr_id: ID of attribute to check.
41 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id])
43 value[0] == attr_id):
50 def get_attribute_ssar(self, class_id, attr_id, size):
54 @param attr_id: ID of attribute to check.
61 [class_id], self.MAX_ATTR_BYTE_CNT, [attr_id], size)
69 elem[0] == attr_id):
76 def test_attribute(self, class_id, attr_id, get_attribute):
81 @param attr_id
[all...]
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/
H A Dbluetooth_SDP_ServiceSearchAttributeRequest.py99 for attr_id in self.FAKE_GENERAL_ATTRIBUTE_IDS:
100 attr = ET.Element('attribute', {'id': str(attr_id)})
105 attr_id = self.FAKE_ATTRIBUTE_VALUE + offset
106 attr = ET.Element('attribute', {'id': str(attr_id)})
115 def test_non_existing(self, class_id, attr_id):
119 @param attr_id: ID of attribute to check.
128 [attr_id],
132 'should not!' % (class_id, attr_id))
135 def get_attribute(self, class_id, attr_id, size):
140 @param attr_id
[all...]
/external/autotest/server/site_tests/bluetooth_SDP_ServiceAttributeRequest/
H A Dbluetooth_SDP_ServiceAttributeRequest.py140 def get_attribute(self, class_id, attr_id):
144 @param attr_id: ID of attribute to check.
150 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id])
151 if isinstance(res, list) and len(res) == 2 and res[0] == attr_id:
158 def assert_attribute_equals(self, class_id, attr_id, expected_value):
159 """Verify that |attr_id| of service with |class_id| has |expected_value|
162 @param attr_id: ID of attribute to check.
166 self.assert_equal(self.get_attribute(class_id, attr_id),
308 for attr_id in self.FAKE_GENERAL_ATTRIBUTE_IDS:
310 attr_id, sel
[all...]
/external/syslinux/gpxe/src/net/infiniband/
H A Dib_smc.c56 mad->hdr.attr_id = htons ( IB_SMP_ATTR_PORT_INFO );
86 mad->hdr.attr_id = htons ( IB_SMP_ATTR_GUID_INFO );
115 mad->hdr.attr_id = htons ( IB_SMP_ATTR_PKEY_TABLE );
H A Dib_sma.c316 .attr_id = htons ( IB_SMP_ATTR_NODE_INFO ),
322 .attr_id = htons ( IB_SMP_ATTR_NODE_DESC ),
328 .attr_id = htons ( IB_SMP_ATTR_GUID_INFO ),
334 .attr_id = htons ( IB_SMP_ATTR_PORT_INFO ),
340 .attr_id = htons ( IB_SMP_ATTR_PKEY_TABLE ),
H A Dib_mi.c95 ( agent->attr_id != hdr->attr_id ) )
150 ntohs ( hdr->attr_id ), ntohs ( hdr->status ) );
190 ntohs ( hdr->attr_id ), ntohs ( hdr->status ) );
H A Dib_cm.c65 mad.hdr.attr_id = htons ( IB_CM_ATTR_READY_TO_USE );
120 .attr_id = htons ( IB_CM_ATTR_CONNECT_REPLY ),
182 switch ( mad->hdr.attr_id ) {
221 conn, ntohs ( mad->hdr.attr_id ) );
275 mad.hdr.attr_id = htons ( IB_CM_ATTR_CONNECT_REQUEST );
H A Dib_mcast.c54 sa->mad_hdr.attr_id = htons ( IB_SA_ATTR_MC_MEMBER_REC );
H A Dib_pathrec.c119 sa->mad_hdr.attr_id = htons ( IB_SA_ATTR_PATH_REC );
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_sake_common.c19 u8 attr_id, u8 len, const u8 *data)
23 switch (attr_id) {
133 if (attr_id < 128) {
135 " attribute %d", attr_id);
139 "attribute %d", attr_id);
18 eap_sake_parse_add_attr(struct eap_sake_parse_attr *attr, u8 attr_id, u8 len, const u8 *data) argument
/external/wpa_supplicant_8/src/eap_common/
H A Deap_sake_common.c19 u8 attr_id, u8 len, const u8 *data)
23 switch (attr_id) {
133 if (attr_id < 128) {
135 " attribute %d", attr_id);
139 "attribute %d", attr_id);
18 eap_sake_parse_add_attr(struct eap_sake_parse_attr *attr, u8 attr_id, u8 len, const u8 *data) argument
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_sake_common.c19 u8 attr_id, u8 len, const u8 *data)
23 switch (attr_id) {
133 if (attr_id < 128) {
135 " attribute %d", attr_id);
139 "attribute %d", attr_id);
18 eap_sake_parse_add_attr(struct eap_sake_parse_attr *attr, u8 attr_id, u8 len, const u8 *data) argument
/external/kernel-headers/original/uapi/rdma/
H A Drdma_user_ioctl.h64 __u16 attr_id; /* command specific type attribute */ member in struct:ib_uverbs_attr
/external/syslinux/gpxe/src/include/gpxe/
H A Dib_mi.h27 uint16_t attr_id; member in struct:ib_mad_agent
H A Dib_mad.h489 uint16_t attr_id; member in struct:ib_mad_hdr
/external/autotest/client/common_lib/cros/bluetooth/
H A Dbluetooth_sdp_socket.py356 for attr_id in attr_ids:
359 if isinstance(attr_id, list):
361 attr_id[0], attr_id[1])
363 packed_attr_id = struct.pack('>BH', SDP_UINT16, attr_id)
/external/wpa_supplicant_8/hostapd/src/common/
H A Ddpp.c5137 const u8 *attr_group, *attr_id, *attr_key; local
5153 attr_id = dpp_get_attr(buf, len, DPP_ATTR_CODE_IDENTIFIER,
5155 if (!attr_id && identifier) {
5160 if (attr_id && identifier &&
5162 os_memcmp(identifier, attr_id, attr_id_len) != 0)) {
5405 const u8 *attr_status, *attr_id, *attr_key; local
5438 attr_id = dpp_get_attr(buf, buflen, DPP_ATTR_CODE_IDENTIFIER,
5440 if (!attr_id && pkex->identifier) {
5445 if (attr_id && pkex->identifier &&
5447 os_memcmp(pkex->identifier, attr_id, attr_id_le
[all...]
/external/wpa_supplicant_8/src/common/
H A Ddpp.c5137 const u8 *attr_group, *attr_id, *attr_key; local
5153 attr_id = dpp_get_attr(buf, len, DPP_ATTR_CODE_IDENTIFIER,
5155 if (!attr_id && identifier) {
5160 if (attr_id && identifier &&
5162 os_memcmp(identifier, attr_id, attr_id_len) != 0)) {
5405 const u8 *attr_status, *attr_id, *attr_key; local
5438 attr_id = dpp_get_attr(buf, buflen, DPP_ATTR_CODE_IDENTIFIER,
5440 if (!attr_id && pkex->identifier) {
5445 if (attr_id && pkex->identifier &&
5447 os_memcmp(pkex->identifier, attr_id, attr_id_le
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Ddpp.c5137 const u8 *attr_group, *attr_id, *attr_key; local
5153 attr_id = dpp_get_attr(buf, len, DPP_ATTR_CODE_IDENTIFIER,
5155 if (!attr_id && identifier) {
5160 if (attr_id && identifier &&
5162 os_memcmp(identifier, attr_id, attr_id_len) != 0)) {
5405 const u8 *attr_status, *attr_id, *attr_key; local
5438 attr_id = dpp_get_attr(buf, buflen, DPP_ATTR_CODE_IDENTIFIER,
5440 if (!attr_id && pkex->identifier) {
5445 if (attr_id && pkex->identifier &&
5447 os_memcmp(pkex->identifier, attr_id, attr_id_le
[all...]
/external/python/cpython2/Python/
H A Dast.c1666 PyObject *attr_id = NEW_IDENTIFIER(CHILD(n, 1)); local
1667 if (!attr_id)
1669 return Attribute(left_expr, attr_id, Load,
/external/python/cpython3/Python/
H A Dast.c2370 PyObject *attr_id = NEW_IDENTIFIER(CHILD(n, 1)); local
2371 if (!attr_id)
2373 return Attribute(left_expr, attr_id, Load,

Completed in 2058 milliseconds