Home
last modified time | relevance | path

Searched refs:attr_value (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Lib/test/test_importlib/frozen/
Dtest_loader.py42 attr_value = getattr(module, attr)
43 self.assertEqual(attr_value, value,
45 name=name, attr=attr, given=attr_value,
55 attr_value = getattr(module, attr)
56 self.assertEqual(attr_value, value,
58 name=name, attr=attr, given=attr_value,
119 attr_value = getattr(module, attr)
120 self.assertEqual(attr_value, value,
122 (attr, attr_value, value))
137 attr_value = getattr(module, attr)
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/pandora/
DSDL_pandora.c405 EGLint attr_value; in PND_gl_createcontext() local
569 &attr_value); in PND_gl_createcontext()
571 if (attr_value != 0) { in PND_gl_createcontext()
583 &attr_value); in PND_gl_createcontext()
585 if (attr_value != 0) { in PND_gl_createcontext()
667 EGL_SAMPLES, &attr_value); in PND_gl_createcontext()
669 _this->gl_config.multisamplesamples = attr_value; in PND_gl_createcontext()
674 EGL_SAMPLE_BUFFERS, &attr_value); in PND_gl_createcontext()
676 _this->gl_config.multisamplebuffers = attr_value; in PND_gl_createcontext()
683 EGL_DEPTH_SIZE, &attr_value); in PND_gl_createcontext()
[all …]
/third_party/gn/src/gn/
Dxml_element_writer.cc12 std::string_view attr_value) { in XmlAttributes() argument
13 add(attr_key, attr_value); in XmlAttributes()
17 std::string_view attr_value) { in add() argument
18 push_back(std::make_pair(attr_key, attr_value)); in add()
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/gstreamer/gstplugins_base/gst/subparse/
Dsamiparse.c494 gchar *attr_name = NULL, *attr_value = NULL; in html_context_handle_element() local
501 next = string_token (next + 1, " ", &attr_value); in html_context_handle_element()
504 if (attr_value[0] == '"' || attr_value[0] == '\'') { in html_context_handle_element()
505 gchar *tmp = g_strdup (attr_value + 1); in html_context_handle_element()
506 g_free (attr_value); in html_context_handle_element()
507 attr_value = tmp; in html_context_handle_element()
510 length = strlen (attr_value); in html_context_handle_element()
511 if (length > 0 && (attr_value[length - 1] == '"' in html_context_handle_element()
512 || attr_value[length - 1] == '\'')) { in html_context_handle_element()
513 attr_value[length - 1] = '\0'; in html_context_handle_element()
[all …]
/third_party/elfutils/libdw/
Ddwarf_hasattr.c72 int64_t attr_value __attribute__ ((unused)); in dwarf_hasattr() local
73 get_sleb128_unchecked (attr_value, attrp); in dwarf_hasattr()
Ddwarf_getattrs.c126 int64_t attr_value __attribute__((__unused__)); in dwarf_getattrs() local
127 get_sleb128_unchecked (attr_value, attrp); in dwarf_getattrs()
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()
/third_party/alsa-utils/topology/
Dpre-process-class.c243 const char *attr_name, *attr_value; in tplg_class_attribute_valid_tuple_value() local
250 ret = snd_config_get_string(attr, &attr_value); in tplg_class_attribute_valid_tuple_value()
283 if (!strcmp(attr_value, s)) { in tplg_class_attribute_valid_tuple_value()
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dttmlparse.c134 const gchar * attr_value) in ttml_style_set_add_attr() argument
137 g_strdup (attr_value)); in ttml_style_set_add_attr()
204 gpointer attr_name, attr_value; in ttml_style_set_print() local
212 while (g_hash_table_iter_next (&iter, &attr_name, &attr_value)) { in ttml_style_set_print()
214 (const gchar *) attr_value); in ttml_style_set_print()
674 gpointer attr_name, attr_value; in ttml_style_set_copy() local
678 while (g_hash_table_iter_next (&iter, &attr_name, &attr_value)) { in ttml_style_set_copy()
680 (const gchar *) attr_value); in ttml_style_set_copy()
699 gpointer attr_name, attr_value; in ttml_style_set_merge() local
702 while (g_hash_table_iter_next (&iter, &attr_name, &attr_value)) { in ttml_style_set_merge()
[all …]
/third_party/musl/libc-test/src/functional/
Dtest-malloc-info.c41 …ld_node_with_attr(const char *name, const char *attr_name, const char *attr_value, xmlNodePtr pare… 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/
DElementPath.py267 if (attr_value := elem.get(key)) is not None and attr_value != value:
/third_party/python/Lib/test/
Dtest_urllib2net.py61 for attr, attr_value in self.attrs.items():
64 if getattr(value, attr) != attr_value:
/third_party/python/Lib/unittest/
Dmock.py1334 attr_value = getattr(klass, attr)
1335 if not hasattr(attr_value, "__call__"):
1339 setattr(klass, attr, patcher(attr_value))
1826 attr_value = getattr(klass, attr)
1828 hasattr(attr_value, "__call__")):
1830 decorated = decorator(attr_value)
/third_party/mindspore/patches/
D0006-Support-converting-THIRDPARTY-model-in-MSLite.patch1159 + auto attr_value = MakeValue("third_party");
1160 + MS_CHECK_TRUE_RET(attr_value != nullptr, nullptr);
1161 + func_graph->set_attr("graph_name", attr_value);
D0036-new-dynamic-quant-algorigthm-and-init-packed.patch3740 + std::string attr_value;
3742 + attr_value.push_back(static_cast<char>(data_bytes->Get(j)));
3744 + attr_map[attr_key] = attr_value;