/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/ |
D | bluetooth_SDP_ServiceSearchAttributeRequest.py | 99 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): argument 128 [attr_id], 132 'should not!' % (class_id, attr_id)) 135 def get_attribute(self, class_id, attr_id, size): argument 149 [class_id], self.MAX_ATTR_BYTE_CNT, [attr_id], size) 153 res[0][0] == attr_id): [all …]
|
/external/autotest/server/site_tests/bluetooth_SDP_ServiceBrowse/ |
D | bluetooth_SDP_ServiceBrowse.py | 22 def get_attribute_ssr_sar(self, class_id, attr_id, size): argument 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): argument 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): argument 88 result_16 = get_attribute(class_id, attr_id, 16) 91 result_cur = get_attribute(class_id, attr_id, size)
|
/external/autotest/server/site_tests/bluetooth_SDP_ServiceAttributeRequest/ |
D | bluetooth_SDP_ServiceAttributeRequest.py | 140 def get_attribute(self, class_id, attr_id): argument 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): argument 166 self.assert_equal(self.get_attribute(class_id, attr_id), 308 for attr_id in self.FAKE_GENERAL_ATTRIBUTE_IDS: 310 attr_id, self.FAKE_ATTRIBUTE_VALUE) 318 attr_id = lang_base[1] + offset 321 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id]) 322 self.assert_equal(response, [attr_id, self.FAKE_ATTRIBUTE_VALUE]) [all …]
|
/external/u-boot/drivers/ddr/marvell/a38x/ |
D | ddr3_training_db.c | 795 u32 attr_id; in ddr3_tip_dev_attr_init() local 797 for (attr_id = 0; attr_id < MV_ATTR_LAST; attr_id++) in ddr3_tip_dev_attr_init() 798 ddr_dev_attributes[dev_num][attr_id] = 0xFF; in ddr3_tip_dev_attr_init() 803 u32 ddr3_tip_dev_attr_get(u32 dev_num, enum mv_ddr_dev_attribute attr_id) in ddr3_tip_dev_attr_get() argument 808 return ddr_dev_attributes[dev_num][attr_id]; in ddr3_tip_dev_attr_get() 811 void ddr3_tip_dev_attr_set(u32 dev_num, enum mv_ddr_dev_attribute attr_id, u32 value) in ddr3_tip_dev_attr_set() argument 816 ddr_dev_attributes[dev_num][attr_id] = value; in ddr3_tip_dev_attr_set()
|
D | ddr3_training_ip_db.h | 91 u32 ddr3_tip_dev_attr_get(u32 dev_num, enum mv_ddr_dev_attribute attr_id); 92 void ddr3_tip_dev_attr_set(u32 dev_num, enum mv_ddr_dev_attribute attr_id, u32 value);
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sake_common.c | 19 u8 attr_id, u8 len, const u8 *data) in eap_sake_parse_add_attr() argument 23 switch (attr_id) { in eap_sake_parse_add_attr() 133 if (attr_id < 128) { in eap_sake_parse_add_attr() 135 " attribute %d", attr_id); in eap_sake_parse_add_attr() 139 "attribute %d", attr_id); in eap_sake_parse_add_attr()
|
/external/autotest/client/common_lib/cros/bluetooth/ |
D | bluetooth_sdp_socket.py | 356 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/wpa_supplicant/doc/docbook/ |
D | eapol_test.sgml | 155 attr_id:syntax:value, or attr_id alone. attr_id should be the numeric 158 to send. When attr_id is given alone, NULL is used as the attribute
|
/external/kernel-headers/original/uapi/rdma/ |
D | rdma_user_ioctl_cmds.h | 55 __u16 attr_id; /* command specific type attribute */ member
|
/external/python/cpython3/Python/ |
D | _warnings.c | 54 get_warnings_attr(_Py_Identifier *attr_id, int try_import) in get_warnings_attr() argument 90 (void)_PyObject_LookupAttrId(warnings_module, attr_id, &obj); in get_warnings_attr()
|
D | ast.c | 2365 PyObject *attr_id = NEW_IDENTIFIER(CHILD(n, 1)); in ast_for_trailer() local 2366 if (!attr_id) in ast_for_trailer() 2368 return Attribute(left_expr, attr_id, Load, in ast_for_trailer()
|
/external/wpa_supplicant_8/src/common/ |
D | dpp.c | 7135 static int dpp_pkex_identifier_match(const u8 *attr_id, u16 attr_id_len, in dpp_pkex_identifier_match() argument 7138 if (!attr_id && identifier) { in dpp_pkex_identifier_match() 7144 if (attr_id && !identifier) { in dpp_pkex_identifier_match() 7150 if (attr_id && identifier && in dpp_pkex_identifier_match() 7152 os_memcmp(identifier, attr_id, attr_id_len) != 0)) { in dpp_pkex_identifier_match() 7169 const u8 *attr_group, *attr_id, *attr_key; in dpp_pkex_rx_exchange_req() local 7206 attr_id = dpp_get_attr(buf, len, DPP_ATTR_CODE_IDENTIFIER, in dpp_pkex_rx_exchange_req() 7208 if (!dpp_pkex_identifier_match(attr_id, attr_id_len, identifier)) in dpp_pkex_rx_exchange_req() 7519 const u8 *attr_status, *attr_id, *attr_key, *attr_group; in dpp_pkex_rx_exchange_resp() local 7582 attr_id = dpp_get_attr(buf, buflen, DPP_ATTR_CODE_IDENTIFIER, in dpp_pkex_rx_exchange_resp() [all …]
|
/external/python/cpython2/Python/ |
D | ast.c | 1666 PyObject *attr_id = NEW_IDENTIFIER(CHILD(n, 1)); in ast_for_trailer() local 1667 if (!attr_id) in ast_for_trailer() 1669 return Attribute(left_expr, attr_id, Load, in ast_for_trailer()
|