Home
last modified time | relevance | path

Searched refs:has_attr (Results 1 – 25 of 33) sorted by relevance

12

/third_party/boost/libs/log/test/run/
Dfilt_has_attr.cpp50 filter f = expr::has_attr(data::attr1()); in BOOST_AUTO_TEST_CASE()
53 f = expr::has_attr(data::attr4()); in BOOST_AUTO_TEST_CASE()
56 f = expr::has_attr< double >(data::attr2()); in BOOST_AUTO_TEST_CASE()
59 f = expr::has_attr< double >(data::attr3()); in BOOST_AUTO_TEST_CASE()
63 f = expr::has_attr< value_types >(data::attr3()); in BOOST_AUTO_TEST_CASE()
66 f = expr::has_attr< value_types >(data::attr1()); in BOOST_AUTO_TEST_CASE()
93 filter f = expr::has_attr(data::attr1()) || expr::has_attr< double >(data::attr2()); in BOOST_AUTO_TEST_CASE()
98 f = expr::has_attr(data::attr1()) && expr::has_attr< double >(data::attr2()); in BOOST_AUTO_TEST_CASE()
Dform_if.cpp56 expr::if_(expr::has_attr< int >(data::attr1())) in BOOST_AUTO_TEST_CASE_TEMPLATE()
68 expr::if_(expr::has_attr< int >(data::attr2())) in BOOST_AUTO_TEST_CASE_TEMPLATE()
79 expr::if_(expr::has_attr< int >(data::attr1())) in BOOST_AUTO_TEST_CASE_TEMPLATE()
95 expr::if_(expr::has_attr< int >(data::attr2())) in BOOST_AUTO_TEST_CASE_TEMPLATE()
Dcore.cpp75 pCore->set_filter(expr::has_attr(data::attr3())); in BOOST_AUTO_TEST_CASE()
86 pCore->set_filter(expr::has_attr(data::attr2())); in BOOST_AUTO_TEST_CASE()
101 pSink->set_filter(expr::has_attr(data::attr2())); in BOOST_AUTO_TEST_CASE()
113 pSink->set_filter(expr::has_attr(data::attr3())); in BOOST_AUTO_TEST_CASE()
126 pSink->set_filter(expr::has_attr(data::attr2())); in BOOST_AUTO_TEST_CASE()
130 pSink2->set_filter(expr::has_attr(data::attr3())); in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/log/expressions/predicates/
Dhas_attr.hpp134 …tor< aux::unary_function_terminal< has_attribute< AttributeValueT > > > has_attr(attribute_name co… in has_attr() function
145 BOOST_FORCEINLINE phoenix::actor< aux::unary_function_terminal< has_attribute< void > > > has_attr(… in has_attr() function
157 …unction_terminal< has_attribute< typename DescriptorT::value_type > > > has_attr(attribute_keyword… in has_attr() function
/third_party/boost/libs/log/example/doc/
Dtutorial_filtering.cpp78 << expr::if_(expr::has_attr(tag_attr)) in init()
102 …sink->set_filter(severity >= warning || (expr::has_attr(tag_attr) && tag_attr == "IMPORTANT_MESSAG… in init()
128 << expr::if_(expr::has_attr(tag_attr))
Dextension_app_launcher.cpp91 << expr::if_(expr::has_attr(process_name)) in init_logging()
95 << expr::if_(expr::has_attr(caption)) in init_logging()
Dsources_net_connection.cpp97 << expr::if_(expr::has_attr(received_size)) in main()
101 << expr::if_(expr::has_attr(sent_size)) in main()
Dexpressions_has_attr_stat_accum.cpp92 log_sink->set_filter(!expr::has_attr(stat_stream)); in init()
101 stat_sink->set_filter(expr::has_attr(stat_stream)); in init()
Dtutorial_attributes.cpp128 << expr::if_(expr::has_attr(tag_attr)) in init()
132 << expr::if_(expr::has_attr(timeline)) in init()
Dsources_net_connection_dynamic_chan.cpp113 << expr::if_(expr::has_attr(received_size)) in main()
117 << expr::if_(expr::has_attr(sent_size)) in main()
Dsources_net_connection_chan.cpp115 << expr::if_(expr::has_attr(received_size)) in main()
119 << expr::if_(expr::has_attr(sent_size)) in main()
Dextension_filter_parser.cpp108 return expr::has_attr< point >(name); in on_exists_test()
Dextension_filter_parser_custom_rel.cpp140 return expr::has_attr< point >(name); in on_exists_test()
/third_party/boost/boost/log/utility/setup/
Dfilter_parser.hpp71 return filter(expressions::has_attr(name)); in on_exists_test()
160 return filter(expressions::has_attr< value_type >(name)); in on_exists_test()
/third_party/mindspore/mindspore/core/api/ir/
Dfunc_graph.h49 virtual bool has_attr(const std::string &key) const = 0;
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/model/
Dop_node.cc92 bool has_attr = false; in Dump() local
96 if (has_attr) { in Dump()
99 has_attr = true; in Dump()
104 if (has_attr) { in Dump()
/third_party/boost/libs/log/example/event_log/
Dmain.cpp119 sink->set_filter(expr::has_attr< int >("EventID")); in init_logging()
/third_party/boost/libs/log/example/advanced_usage/
Dmain.cpp146 << expr::if_(expr::has_attr("Tag")) in main()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dnode_pass.cc98 if (!const_func_graph->has_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)) { in Run()
/third_party/mindspore/mindspore/ccsrc/vm/
Dsegment_runner.cc119 …inps[0]->cast<ValueNodePtr>()->value()->cast<FuncGraphPtr>()->has_attr(FUNC_GRAPH_ATTR_GRAPH_KERNE… in TransformSegmentToAnfGraph()
/third_party/boost/libs/log/doc/
Dexpressions.qbk69 [tip You can also use the [link log.detailed.expressions.predicates.has_attr `has_attr`] predicate …
151 [section:has_attr Attribute presence filter]
155 The filter [funcref boost::log::expressions::has_attr `has_attr`] checks if an attribute value with…
165 …ckend `my_stat_accumulator` and a new macro `PUT_STAT`. Also note that `has_attr` can accept attri…
461 << expr::if_ (expr::has_attr< int >("ID"))
/third_party/boost/libs/log/doc/tmp/
Dexpressions_reference.qbk124 …log_expressions_predicates_has_attr_hpp[][headerref boost/log/expressions/predicates/has_attr.hpp]]
/third_party/glib/gio/tests/
Dlive-g-file.c387 gboolean has_attr; in test_attributes() local
393 has_attr = g_file_info_has_attribute (info, G_FILE_ATTRIBUTE_STANDARD_TYPE); in test_attributes()
394 g_assert_true (has_attr); in test_attributes()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc474 if (func_graph->has_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)) { in GetCNodeName()
572 return fg->has_attr(key); in HasNodeAttr()
1447 return func_graph->has_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL); in IsGraphKernel()
1452 …return node->func_graph() != nullptr && node->func_graph()->has_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL); in IsNodeInGraphKernel()
1967 auto has_attr = AnfAlgo::HasNodeAttr(attr, cnode); in GetBooleanAttr() local
1968 if (!has_attr) { in GetBooleanAttr()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dresolve.cc158 if (!resolved_graph->has_attr("is_load")) { in ConvertLoadedGraph()

12