Home
last modified time | relevance | path

Searched refs:key_value (Results 1 – 25 of 52) sorted by relevance

123

/third_party/boost/boost/icl/detail/
Dinterval_subset_comparer.hpp136 if(upper_less(key_value<LeftT>(left), key_value<RightT>(right))) in proceed()
143 else if(upper_less(key_value<RightT>(right), key_value<LeftT>(left))) in proceed()
175 else if(exclusive_less(key_value<LeftT>(left), key_value<RightT>(right))) in next_both()
183 LeftIterT joint_ = _left.lower_bound(key_value<RightT>(right)); in next_both()
196 else if(exclusive_less(key_value<RightT>(right), key_value<LeftT>(left))) in next_both()
204 RightIterT joint_ = _right.lower_bound(key_value<LeftT>(left)); in next_both()
224 if(lower_less(key_value<LeftT>(left), key_value<RightT>(right))) in next_both()
230 else if(lower_less(key_value<RightT>(right), key_value<LeftT>(left))) in next_both()
252 else if(!touches(key_value<LeftT>(_prior_left), key_value<LeftT>(left))) in next_left()
255 if(lower_less(key_value<RightT>(right), key_value<LeftT>(left))) in next_left()
[all …]
Delement_comparer.hpp62 if(upper_less(key_value<LeftT>(left), key_value<RightT>(right))) in proceed()
68 else if(upper_less(key_value<RightT>(right), key_value<LeftT>(left))) in proceed()
98 if(lower_less(key_value<LeftT>(left), key_value<RightT>(right))) in next_both()
105 if(lower_less(key_value<LeftT>(right), key_value<RightT>(left))) in next_both()
127 if(!key_value<LeftT>(_prior_left).touches(key_value<LeftT>(left))) in next_left()
149 if(!key_value<RightT>(_prior_right).touches(key_value<RightT>(right))) in next_right()
Dsubset_comparer.hpp150 else if(typename LeftT::key_compare()(key_value<LeftT>(left), key_value<RightT>(right))) in next_both()
158 LeftIterT joint_ = _left.lower_bound(key_value<RightT>(right)); in next_both()
160 … || typename LeftT::key_compare()(key_value<RightT>(right), key_value<LeftT>(joint_))) in next_both()
169 else if(typename LeftT::key_compare()(key_value<RightT>(right), key_value<LeftT>(left))) in next_both()
177 RightIterT joint_ = _right.lower_bound(key_value<LeftT>(left)); in next_both()
179 … || typename LeftT::key_compare()(key_value<LeftT>(left), key_value<RightT>(joint_))) in next_both()
Dinterval_set_algo.hpp84 if(!icl::touches(key_value<IntervalContainerT>(it_++), in is_joinable()
85 key_value<IntervalContainerT>(next_++))) in is_joinable()
213 if(!icl::touches(key_value<IntervalContainerT>(it_++), in is_dense()
214 key_value<IntervalContainerT>(next_++))) in is_dense()
229 return touches(key_value<Type>(some), key_value<Type>(next)) in joinable()
238 interval_type right_interval = key_value<Type>(right_); in join_nodes()
240 const_cast<interval_type&>(key_value<Type>(left_)) in join_nodes()
241 = hull(key_value<Type>(left_), right_interval); in join_nodes()
251 BOOST_ASSERT(exclusive_less(key_value<Type>(left_), key_value<Type>(right_))); in join_on_left()
265 BOOST_ASSERT(exclusive_less(key_value<Type>(left_), key_value<Type>(right_))); in join_on_right()
[all …]
Dset_algo.hpp48 if(key_less(icl::key_value< PureObjectT>(x1_lst_), in common_range()
49 icl::key_value<ConstObjectT>(x2_fst_))) // {x1} {x2} in common_range()
51 if(key_less(icl::key_value<ConstObjectT>(x2_lst_), in common_range()
52 icl::key_value< PureObjectT>(x1_fst_))) // {x2} {x1} in common_range()
56 lwb = x1.lower_bound(icl::key_value<ConstObjectT>(x2_fst_)); in common_range()
57 upb = x1.upper_bound(icl::key_value<ConstObjectT>(x2_lst_)); in common_range()
Dinterval_morphism.hpp28 … const typename IntervalContainerT::key_type& itv = icl::key_value<IntervalContainerT>(itv_); in atomize()
43 = key_value<ElementContainerT>(element_); in cluster()
Dinterval_map_algo.hpp48 if(!icl::touches(key_value<IntervalMapT>(it_++), in is_joinable()
49 key_value<IntervalMapT>(next_++))) in is_joinable()
/third_party/mesa3d/src/util/tests/hash_table/
Drandom_entry.c38 key_value(const void *key) in key_value() function
46 return key_value(a) == key_value(b); in uint32_t_key_equals()
52 return (key_value(entry->key) & 1) == 0; in uint32_t_key_is_even()
66 ht = _mesa_hash_table_create(NULL, key_value, uint32_t_key_equals); in main()
84 assert((key_value(entry->key) & 1) == 0); in main()
85 if (i == 0 || key_value(entry->key) != random_value) in main()
87 random_value = key_value(entry->key); in main()
Ddelete_management.c38 key_value(const void *key) in key_value() function
46 return key_value(a) == key_value(b); in uint32_t_key_equals()
60 ht = _mesa_hash_table_create(NULL, key_value, uint32_t_key_equals); in main()
78 assert(key_value(entry->key) == i); in main()
85 assert(key_value(entry->key) >= SIZE - 100 && in main()
86 key_value(entry->key) < SIZE); in main()
Dinsert_many.c38 key_value(const void *key) in key_value() function
46 return key_value(a) == key_value(b); in uint32_t_key_equals()
60 ht = _mesa_hash_table_create(NULL, key_value, uint32_t_key_equals); in main()
71 assert(key_value(entry->key) == i); in main()
/third_party/mindspore/mindspore/core/abstract/
Dprim_structures.cc48 std::vector<AbstractAttribute> key_value; in InferImplMakeDict() local
60 (void)key_value.emplace_back(key_string, value_list[index]); in InferImplMakeDict()
62 return std::make_shared<AbstractDictionary>(key_value); in InferImplMakeDict()
89 ValuePtr key_value = key->BuildValue(); in InferImplExtractKwarg() local
90 MS_EXCEPTION_IF_NULL(key_value); in InferImplExtractKwarg()
91 if (!key_value->isa<StringImm>()) { in InferImplExtractKwarg()
92 …MS_LOG(EXCEPTION) << op_name << " evaluator key should be string, but got " << key_value->ToString… in InferImplExtractKwarg()
94 auto key_input = GetValue<std::string>(key_value); in InferImplExtractKwarg()
245 ValuePtr key_value = key->BuildValue(); in InferImplDictGetItem() local
246 MS_EXCEPTION_IF_NULL(key_value); in InferImplDictGetItem()
[all …]
Dprim_statement.cc165 ValuePtr key_value = key->BuildValue(); in IsInDict() local
166 if (!key_value->isa<StringImm>()) { in IsInDict()
167 …MS_LOG(EXCEPTION) << op_name << " evaluator key should be string, but got " << key_value->ToString… in IsInDict()
169 auto key_str = GetValue<std::string>(key_value); in IsInDict()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtspmessage.c614 RTSPKeyValue key_value; in gst_rtsp_message_take_header() local
619 key_value.field = field; in gst_rtsp_message_take_header()
620 key_value.value = value; in gst_rtsp_message_take_header()
621 key_value.custom_key = NULL; in gst_rtsp_message_take_header()
623 g_array_append_val (msg->hdr_fields, key_value); in gst_rtsp_message_take_header()
668 RTSPKeyValue *key_value = &g_array_index (msg->hdr_fields, RTSPKeyValue, i); in gst_rtsp_message_remove_header() local
670 if (key_value->field == field && (indx == -1 || cnt++ == indx)) { in gst_rtsp_message_remove_header()
671 g_free (key_value->value); in gst_rtsp_message_remove_header()
710 RTSPKeyValue *key_value = &g_array_index (msg->hdr_fields, RTSPKeyValue, i); in gst_rtsp_message_get_header() local
712 if (key_value->field == field && cnt++ == indx) { in gst_rtsp_message_get_header()
[all …]
/third_party/boost/boost/spirit/home/classic/actor/
Dinsert_key_actor.hpp52 value_type key_value(key_, value_); in act() local
53 ref_.insert( key_value ); in act()
72 value_type key_value(key, value_); in act() local
73 ref_.insert( key_value ); in act()
Dinsert_at_actor.hpp75 value_type key_value(key_, value); in act() local
76 ref_.insert( key_value ); in act()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/
Dedge_costmodel.cc353 for (auto &key_value : cost_map_) { in GetNextOpStrategyByPrevOpStrategyWithZeroComm() local
354 const auto &candidate_prev_op_stra = key_value.first.first; in GetNextOpStrategyByPrevOpStrategyWithZeroComm()
355 …if (prev_op_stra->IsEqual(candidate_prev_op_stra) && (key_value.second[0]->communication_cost_ == … in GetNextOpStrategyByPrevOpStrategyWithZeroComm()
356 … (void)next_op_stras.emplace_back(key_value.first.second, key_value.second[0]->computation_cost_); in GetNextOpStrategyByPrevOpStrategyWithZeroComm()
376 for (auto &key_value : cost_map_) { in GetPrevOpStrategyByNextOpStrategyWithZeroComm() local
377 const auto &candidate_next_op_stra = key_value.first.second; in GetPrevOpStrategyByNextOpStrategyWithZeroComm()
378 …if (next_op_stra->IsEqual(candidate_next_op_stra) && (key_value.second[0]->communication_cost_ == … in GetPrevOpStrategyByNextOpStrategyWithZeroComm()
379 … (void)prev_op_stras.emplace_back(key_value.first.first, key_value.second[0]->computation_cost_); in GetPrevOpStrategyByNextOpStrategyWithZeroComm()
402 for (auto &key_value : cost_map_) { in SetCostMapAndInputOutput() local
403 auto &key_pair = key_value.first; in SetCostMapAndInputOutput()
/third_party/boost/boost/icl/concept/
Dinterval_associator_base.hpp64 || icl::contains(key_value<Type>(first_collision), key_val) ) in find()
86 || icl::contains(key_value<Type>(last_collision), key_val) ) in find()
132 const_cast<interval_type&>(key_value<Type>(it_)) in join()
133 = hull(key_value<Type>(it_), key_value<Type>(fst_mem)); in join()
Dinterval_associator.hpp129 size += icl::cardinality(key_value<Type>(it)); in cardinality()
149 interval_size = icl::cardinality(key_value<Type>(it)); in cardinality()
175 length += icl::length(key_value<Type>(it_++)); in length()
201 dist += icl::distance(key_value<Type>(pred_++), key_value<Type>(it_++)); in distance()
217 : icl::hull( key_value<Type>(object.begin()), in hull()
218 key_value<Type>(object.rbegin()) ); in hull()
230 : icl::lower( key_value<Type>(object.begin()) ); in lower()
242 : icl::upper( key_value<Type>(object.rbegin()) ); in upper()
257 : icl::first( key_value<Type>(object.begin()) ); in first()
271 : icl::last( key_value<Type>(object.rbegin()) ); in last()
[all …]
Dset_value.hpp22 key_value(Iterator it_) in key_value() function
Dmap_value.hpp23 key_value(Iterator it_) in key_value() function
/third_party/boost/libs/flyweight/example/
DJamfile.v240 exe key_value
41 : key_value.cpp
Dfibonacci.cpp32 typedef flyweight<key_value<int,compute_fibonacci>,no_tracking> fibonacci;
Dkey_value.cpp62 key_value<std::string,texture,texture_filename_extractor>
/third_party/boost/boost/flyweight/
Dkey_value_fwd.hpp23 struct key_value;
/third_party/boost/libs/flyweight/test/
Dtest_basic_template.hpp251 boost::flyweights::key_value<std::string,texture,from_texture_to_string> in test_basic_template()
256 boost::flyweights::key_value<int,factorization> in test_basic_template()
288 boost::flyweights::key_value<int,throwing_value,from_throwing_value_to_int> in test_basic_template()

123