Home
last modified time | relevance | path

Searched refs:attr_value (Results 1 - 12 of 12) sorted by relevance

/third_party/python/Lib/test/test_importlib/frozen/
H A Dtest_loader.py85 attr_value = getattr(module, attr)
86 self.assertEqual(attr_value, value,
88 name=name, attr=attr, given=attr_value,
99 attr_value = getattr(module, attr)
100 self.assertEqual(attr_value, value,
102 name=name, attr=attr, given=attr_value,
168 attr_value = getattr(module, attr, None)
169 self.assertEqual(attr_value, value,
171 (attr, attr_value, value))
184 attr_value
[all...]
/third_party/gn/src/gn/
H A Dxml_element_writer.cc12 std::string_view attr_value) { in XmlAttributes()
13 add(attr_key, attr_value); in XmlAttributes()
17 std::string_view attr_value) { in add()
18 push_back(std::make_pair(attr_key, attr_value)); in add()
11 XmlAttributes(std::string_view attr_key, std::string_view attr_value) XmlAttributes() argument
16 add(std::string_view attr_key, std::string_view attr_value) add() argument
H A Dxml_element_writer.h20 XmlAttributes(std::string_view attr_key, std::string_view attr_value);
22 XmlAttributes& add(std::string_view attr_key, std::string_view attr_value);
/third_party/elfutils/libdw/
H A Ddwarf_hasattr.c72 int64_t attr_value __attribute__ ((unused)); in dwarf_hasattr() local
73 get_sleb128_unchecked (attr_value, attrp); in dwarf_hasattr()
H A Ddwarf_child.c117 int64_t attr_value __attribute__((__unused__)); in __libdw_find_attr() local
118 get_sleb128_unchecked (attr_value, attrp); in __libdw_find_attr()
H A Ddwarf_getattrs.c126 int64_t attr_value __attribute__((__unused__)); in dwarf_getattrs() local
127 get_sleb128_unchecked (attr_value, attrp); in dwarf_getattrs()
/third_party/alsa-utils/topology/
H A Dpre-process-class.c244 const char *attr_name, *attr_value; in tplg_class_attribute_valid_tuple_value() local
251 ret = snd_config_get_string(attr, &attr_value); in tplg_class_attribute_valid_tuple_value()
284 if (!strcmp(attr_value, s)) { in tplg_class_attribute_valid_tuple_value()
/third_party/musl/libc-test/src/functional/
H A Dtest-malloc-info.c41 static xmlNodePtr find_child_node_with_attr(const char *name, const char *attr_name, const char *attr_value, xmlNodePtr parent) in find_child_node_with_attr() argument
51 if (xmlStrEqual(get_attribute(attr_name, curr_node), (const xmlChar *) attr_value)) { in find_child_node_with_attr()
/third_party/python/Lib/xml/etree/
H A DElementPath.py266 if (attr_value := elem.get(key)) is not None and attr_value != value:
/third_party/python/Lib/test/
H A Dtest_urllib2net.py55 for attr, attr_value in self.attrs.items():
58 if getattr(value, attr) != attr_value:
/third_party/python/Lib/unittest/
H A Dmock.py1340 attr_value = getattr(klass, attr)
1341 if not hasattr(attr_value, "__call__"):
1345 setattr(klass, attr, patcher(attr_value))
1849 attr_value = getattr(klass, attr)
1851 hasattr(attr_value, "__call__")):
1853 decorated = decorator(attr_value)
/third_party/backends/sanei/
H A Dsanei_usb.c935 unsigned attr_value) in sanei_xml_set_hex_attr()
939 if (attr_value > 0xffffff) in sanei_xml_set_hex_attr()
940 snprintf(buf, buf_size, "0x%x", attr_value); in sanei_xml_set_hex_attr()
941 else if (attr_value > 0xffff) in sanei_xml_set_hex_attr()
942 snprintf(buf, buf_size, "0x%06x", attr_value); in sanei_xml_set_hex_attr()
943 else if (attr_value > 0xff) in sanei_xml_set_hex_attr()
944 snprintf(buf, buf_size, "0x%04x", attr_value); in sanei_xml_set_hex_attr()
946 snprintf(buf, buf_size, "0x%02x", attr_value); in sanei_xml_set_hex_attr()
952 unsigned attr_value) in sanei_xml_set_uint_attr()
956 snprintf(buf, buf_size, "%d", attr_value); in sanei_xml_set_uint_attr()
934 sanei_xml_set_hex_attr(xmlNode* node, const char* attr_name, unsigned attr_value) sanei_xml_set_hex_attr() argument
951 sanei_xml_set_uint_attr(xmlNode* node, const char* attr_name, unsigned attr_value) sanei_xml_set_uint_attr() argument
[all...]

Completed in 12 milliseconds