Home
last modified time | relevance | path

Searched refs:current_value (Results 1 – 25 of 32) sorted by relevance

12

/third_party/gstreamer/gstplugins_good/tests/examples/rpicamsrc/
Dtest_color_balance.c31 #define update(name, channel, current_value) \ argument
33 if (current_value >= channel->max_value) \
35 else if (current_value <= channel->min_value) \
43 compute_value (GstColorBalanceChannel * channel, gint current_value) in compute_value() argument
46 update (SATURATION, channel, current_value); in compute_value()
49 update (BRIGHTNESS, channel, current_value); in compute_value()
52 update (CONTRAST, channel, current_value); in compute_value()
54 return current_value; in compute_value()
64 gint index, new_value, current_value; in process() local
75 current_value = gst_color_balance_get_value (balance, channel); in process()
[all …]
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Dtensor_summary.cc117 auto current_value = static_cast<double>(current_tensor_ptr_[i]); in SummarizeTensor() local
126 if (std::isinf(current_value)) { in SummarizeTensor()
129 if (std::isnan(current_value)) { in SummarizeTensor()
132 if (current_value == 0) { in SummarizeTensor()
135 max_ = std::max(max_, current_value); in SummarizeTensor()
136 min_ = std::min(min_, current_value); in SummarizeTensor()
138 current_mean_variance_.ProcessElement(current_value); in SummarizeTensor()
141 it.second->ProcessElement(current_value, previous_value); in SummarizeTensor()
144 range_count.second->ProcessElement(current_value); in SummarizeTensor()
148 mean.second->ProcessElement(std::abs(current_value - previous_value)); in SummarizeTensor()
[all …]
/third_party/boost/libs/property_tree/test/
Dprefixing_callbacks.hpp43 this->current_value().insert(0, constants::null_prefix<char_type>()); in on_null()
48 this->current_value().insert(0, constants::boolean_prefix<char_type>()); in on_boolean()
54 this->current_value().insert(0, constants::number_prefix<char_type>()); in on_number()
58 this->current_value() = constants::number_prefix<char_type>(); in on_begin_number()
64 this->current_value() = constants::string_prefix<char_type>(); in on_begin_string()
70 this->current_value() = constants::array_prefix<char_type>(); in on_begin_array()
75 this->current_value() = constants::object_prefix<char_type>(); in on_begin_object()
/third_party/grpc/src/core/lib/gpr/
Datm.cc27 gpr_atm current_value; in gpr_atm_no_barrier_clamped_add() local
30 current_value = gpr_atm_no_barrier_load(value); in gpr_atm_no_barrier_clamped_add()
31 new_value = GPR_CLAMP(current_value + delta, min, max); in gpr_atm_no_barrier_clamped_add()
32 if (new_value == current_value) break; in gpr_atm_no_barrier_clamped_add()
33 } while (!gpr_atm_no_barrier_cas(value, current_value, new_value)); in gpr_atm_no_barrier_clamped_add()
/third_party/boost/boost/archive/iterators/
Dxml_escape.hpp56 char current_value = * this->base_reference(); in fill() local
57 switch(current_value){ in fill()
79 return current_value; in fill()
89 wchar_t current_value = * this->base_reference(); in fill() local
90 switch(current_value){ in fill()
112 return current_value; in fill()
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl08.c73 unsigned long current_value; in check_inherit_timerslack() local
78 current_value = prctl(PR_GET_TIMERSLACK); in check_inherit_timerslack()
81 if (current_value == value && default_value == value) in check_inherit_timerslack()
88 message, current_value, default_value, value); in check_inherit_timerslack()
/third_party/boost/libs/range/test/
Dirange.cpp72 for (std::ptrdiff_t current_value = first_p; in test_irange_impl() local
73 step_p >= 0 ? current_value < last_p : current_value > last_p; in test_irange_impl()
74 current_value += step_p) in test_irange_impl()
75 reference.push_back(current_value); in test_irange_impl()
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
Darea_code_map.cc80 int32 current_value = storage_->GetPrefix(current); in BinarySearch() local
81 if (current_value == value) { in BinarySearch()
83 } else if (current_value > value) { in BinarySearch()
/third_party/boost/boost/property_tree/json_parser/detail/
Dstandard_callbacks.hpp50 current_value() += d; in on_digit()
59 current_value().append(code_units.begin(), code_units.end()); in on_code_units()
62 current_value() += c; in on_code_unit()
90 string& current_value() { in current_value() function in boost::property_tree::json_parser::detail::standard_callbacks
/third_party/glib/gio/tests/
Dcontexts.c203 static gint current_value;
325 g_atomic_int_set (observed_value, g_atomic_int_get (&current_value)); in changed_emitted()
344 g_atomic_int_set (observed_value, g_atomic_int_get (&current_value)); in test_emit_thread()
346 while (g_atomic_int_get (&current_value) != -1) in test_emit_thread()
376 g_atomic_int_set (&current_value, n); in test_context_specific_emit()
393 g_atomic_int_set (&current_value, -1); in test_context_specific_emit()
/third_party/boost/boost/thread/
Dtss.hpp84 T* const current_value=get(); in reset() local
85 if(current_value!=new_value) in reset()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-array-prototype.c1991 ecma_value_t current_value = ecma_op_object_find_by_uint32_index (obj_p, index); in ecma_builtin_array_prototype_object_map() local
1993 if (ECMA_IS_VALUE_ERROR (current_value)) in ecma_builtin_array_prototype_object_map()
1996 return current_value; in ecma_builtin_array_prototype_object_map()
1999 if (ecma_is_value_found (current_value)) in ecma_builtin_array_prototype_object_map()
2003 ecma_value_t call_args[] = { current_value, current_index, ecma_make_object_value (obj_p) }; in ecma_builtin_array_prototype_object_map()
2009 ecma_free_value (current_value); in ecma_builtin_array_prototype_object_map()
2021 ecma_free_value (current_value); in ecma_builtin_array_prototype_object_map()
2194 … ecma_value_t current_value = ecma_op_object_find_by_uint32_index (obj_p, start_from_left ? index : in ecma_builtin_array_reduce_from() local
2197 if (ECMA_IS_VALUE_ERROR (current_value)) in ecma_builtin_array_reduce_from()
2199 return current_value; in ecma_builtin_array_reduce_from()
[all …]
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-typedarray-object.c696 ecma_value_t current_value, /**< given value to set */ in ecma_op_typedarray_from_helper() argument
707 ecma_value_t call_args[] = { current_value, current_index }; in ecma_op_typedarray_from_helper()
712 ecma_free_value (current_value); in ecma_op_typedarray_from_helper()
723 mapped_value = current_value; in ecma_op_typedarray_from_helper()
931 ecma_value_t current_value = ecma_op_object_find_by_uint32_index (arraylike_object_p, index); in ecma_op_typedarray_from() local
933 if (ECMA_IS_VALUE_ERROR (current_value)) in ecma_op_typedarray_from()
935 ret_value = current_value; in ecma_op_typedarray_from()
939 if (ecma_is_value_found (current_value)) in ecma_op_typedarray_from()
942 current_value, in ecma_op_typedarray_from()
Decma-promise-object.c190 ecma_value_t current_value = already_resolved_p->u.class_prop.u.value; in ecma_is_resolver_already_called() local
193 return current_value == ECMA_VALUE_TRUE; in ecma_is_resolver_already_called()
/third_party/boost/libs/compute/include/boost/compute/container/
Dflat_set.hpp173 value_type current_value; in insert() local
174 ::boost::compute::copy_n(location - 1, 1, &current_value, queue); in insert()
175 if(value == current_value){ in insert()
Dflat_map.hpp184 value_type current_value; in insert() local
185 ::boost::compute::copy_n(location - 1, 1, &current_value, queue); in insert()
186 if(value.first == current_value.first){ in insert()
/third_party/boost/boost/compute/container/
Dflat_set.hpp173 value_type current_value; in insert() local
174 ::boost::compute::copy_n(location - 1, 1, &current_value, queue); in insert()
175 if(value == current_value){ in insert()
Dflat_map.hpp184 value_type current_value; in insert() local
185 ::boost::compute::copy_n(location - 1, 1, &current_value, queue); in insert()
186 if(value.first == current_value.first){ in insert()
/third_party/boost/boost/units/detail/
Dlinear_algebra.hpp362 typedef typename current_row::item current_value; typedef
363 …nt_row::size::value - 1)>::template apply<typename current_row::next, current_value>::type new_equ…
364 …in::item::size::value)>::template apply<typename IdentityBegin::item, current_value>::type transfo…
389 typedef typename current_row::item current_value; typedef
390 …nt_row::size::value - 1)>::template apply<typename current_row::next, current_value>::type new_equ…
391 …in::item::size::value)>::template apply<typename IdentityBegin::item, current_value>::type transfo…
/third_party/mesa3d/src/gallium/auxiliary/hud/
Dhud_cpu.c430 unsigned current_value = get_counter(gr, info->counter); in query_thread_counter() local
432 hud_graph_add_value(gr, current_value - info->last_value); in query_thread_counter()
433 info->last_value = current_value; in query_thread_counter()
Dhud_private.h117 double current_value; member
Dhud_context.c358 number_to_human_readable(gr->current_value, pane->type, str); in hud_pane_accumulate_vertices()
414 number_to_human_readable(gr->current_value, pane->type, str); in hud_pane_accumulate_vertices_simple()
696 if (gr->current_value < in hud_stop_queries()
697 LIST_ENTRY(struct hud_graph, next, head)->current_value) { in hud_stop_queries()
956 gr->current_value = value; in hud_graph_add_value()
/third_party/mesa3d/src/mesa/main/
Dformatquery.c1083 GLint current_value; in _mesa_GetInternalformativ() local
1095 1, &current_value); in _mesa_GetInternalformativ()
1097 if (current_value != 0) in _mesa_GetInternalformativ()
1098 combined_value *= current_value; in _mesa_GetInternalformativ()
/third_party/boost/boost/heap/detail/
Dmutable_heap.hpp379 value_type const & current_value = it->first; in update() local
381 if (cmp(v, current_value)) in update()
/third_party/libinput/src/
Devdev-tablet.h70 int current_value[LIBINPUT_TABLET_TOOL_AXIS_MAX + 1]; member

12