Home
last modified time | relevance | path

Searched full:values (Results 1 – 25 of 4897) sorted by relevance

12345678910>>...196

/openbmc/linux/tools/perf/util/
Dvalues.c
Dcounts.c
/openbmc/linux/drivers/iio/test/
Diio-test-format.c
/openbmc/phosphor-virtual-sensor/src/
H A Dcalculate.cpp10 double calculateModifiedMedianValue(std::vector<double>& values) in calculateModifiedMedianValue() argument
12 size_t size = values.size(); in calculateModifiedMedianValue()
13 std::sort(values.begin(), values.end()); in calculateModifiedMedianValue()
18 return values.at(1); in calculateModifiedMedianValue()
25 // Average of the two middle values in calculateModifiedMedianValue()
26 return (values.at(size / 2) + values.at(size / 2 - 1)) / 2; in calculateModifiedMedianValue()
30 return values.at((size - 1) / 2); in calculateModifiedMedianValue()
35 double calculateMaximumValue(std::vector<double>& values) in calculateMaximumValue() argument
37 auto maxIt = std::max_element(values.begin(), values.end()); in calculateMaximumValue()
38 if (maxIt == values.end()) in calculateMaximumValue()
[all …]
/openbmc/u-boot/Documentation/devicetree/bindings/ram/
H A Dfsl,mpc83xx-mem-controller.txt20 values:
27 values:
33 - odt_termination_value: ODT termination value for I/Os; possible values:
37 values:
41 possible values:
45 values:
48 - clock_adjust: Clock adjust; possible values:
53 - ext_refresh_rec: Extended refresh recovery time; possible values:
55 - read_to_write: Read-to-write turnaround; possible values:
57 - write_to_read: Write-to-read turnaround; possible values:
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dutility.cpp15 int64_t getMedian(std::vector<int64_t>& values) in getMedian() argument
17 if (values.empty()) in getMedian()
19 throw std::out_of_range("getMedian(): Empty list of values"); in getMedian()
21 const auto oddIt = values.begin() + values.size() / 2; in getMedian()
22 std::nth_element(values.begin(), oddIt, values.end()); in getMedian()
24 // Determine median for even number of values in getMedian()
25 if (values.size() % 2 == 0) in getMedian()
27 // Use average of middle 2 values for median in getMedian()
28 const auto evenIt = values.begin() + values.size() / 2 - 1; in getMedian()
29 std::nth_element(values.begin(), evenIt, values.end()); in getMedian()
H A Dutility.hpp18 * @details A median value is determined from a set of values where the middle
19 * value is returned from an odd set of values and an average of the middle
20 * two values for an even set of values.
22 * @param[in] values - Set of values to determine the median from
26 * @throw std::out_of_range Empty list of values given
28 * Note: The set of values will be partially re-ordered
31 int64_t getMedian(std::vector<int64_t>& values);
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Di2c_compare_bytes_action.hpp32 * Compares device register bytes to a list of expected values. Communicates
55 * @param values One or more expected byte values. The bytes must be
60 const std::vector<uint8_t>& values) : in I2CCompareBytesAction() argument
61 I2CCompareBytesAction(reg, values, in I2CCompareBytesAction()
62 std::vector<uint8_t>(values.size(), 0xFF)) in I2CCompareBytesAction()
72 * @param values One or more expected byte values. The bytes must be
76 * the number of expected byte values. Each mask specifies
82 const std::vector<uint8_t>& values, in I2CCompareBytesAction() argument
84 reg{reg}, values{values}, masks{masks} in I2CCompareBytesAction()
86 // Values vector must not be empty
[all …]
H A Di2c_write_bytes_action.hpp55 * @param values One or more byte values to write. The bytes must be
60 const std::vector<uint8_t>& values) : in I2CWriteBytesAction() argument
61 reg{reg}, values{values}, masks{} in I2CWriteBytesAction()
63 // Values vector must not be empty
64 if (values.size() < 1)
66 throw std::invalid_argument{"Values vector is empty"};
77 * @param values One or more byte values to write. The bytes must be
81 * the number of byte values to write. Each mask specifies
86 const std::vector<uint8_t>& values, in I2CWriteBytesAction() argument
88 reg{reg}, values{values}, masks{masks} in I2CWriteBytesAction()
[all …]
H A Di2c_write_bytes_action.cpp37 for (unsigned int i = 0; i < values.size(); ++i) in execute()
39 valuesToWrite[i] = values[i]; in execute()
44 // Read current device register values. Use I2C mode where the in execute()
46 uint8_t size = values.size(); in execute()
51 // Combine values to write with current values in execute()
52 for (unsigned int i = 0; i < values.size(); ++i) in execute()
54 valuesToWrite[i] = (values[i] & masks[i]) | in execute()
59 // Write values to device register in execute()
60 interface.write(reg, values.size(), valuesToWrite, in execute()
76 << static_cast<uint16_t>(reg) << ", values: [ "; in toString()
[all …]
/openbmc/phosphor-dbus-monitor/src/
H A Dmedian.hpp27 * Where no property values configured are found to determine a median from,
54 // if no property values are found to produce a median. in operator ()()
56 std::vector<T> values; in operator ()() local
65 values.emplace_back( in operator ()()
69 if (!values.empty()) in operator ()()
71 auto median = values.front(); in operator ()()
73 if (values.size() == 2) in operator ()()
75 // For 2 values, use the highest instead of the average in operator ()()
77 median = *std::max_element(values.begin(), values.end()); in operator ()()
79 else if (values.size() > 2) in operator ()()
[all …]
/openbmc/ibm-logging/test/
H A Dtest_policy.cpp283 auto values = policy::find(policy, testProperties); in TEST_F() local
284 ASSERT_EQ(std::get<policy::EIDField>(values), "ABCD1234"); in TEST_F()
285 ASSERT_EQ(std::get<policy::MsgField>(values), "Error ABCD1234"); in TEST_F()
295 auto values = policy::find(policy, testProperties); in TEST_F() local
296 ASSERT_EQ(std::get<policy::EIDField>(values), "BBBBBB"); in TEST_F()
297 ASSERT_EQ(std::get<policy::MsgField>(values), "Error BBBBBB"); in TEST_F()
308 auto values = policy::find(policy, testProperties); in TEST_F() local
309 ASSERT_EQ(std::get<policy::EIDField>(values), "DDDDDDDD"); in TEST_F()
310 ASSERT_EQ(std::get<policy::MsgField>(values), "Error DDDDDDDD"); in TEST_F()
321 auto values = policy::find(policy, testProperties); in TEST_F() local
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Di2c_compare_bytes_action_tests.cpp44 // const std::vector<uint8_t>& values)
50 std::vector<uint8_t> values{0x56, 0x14, 0xDA}; in TEST() local
51 I2CCompareBytesAction action{0x7C, values}; in TEST()
70 // Test where fails: Values vector is empty in TEST()
73 std::vector<uint8_t> values{}; in TEST() local
74 I2CCompareBytesAction action{0x7C, values}; in TEST()
79 EXPECT_STREQ(e.what(), "Values vector is empty"); in TEST()
88 // const std::vector<uint8_t>& values,
95 std::vector<uint8_t> values{0x56, 0x14}; in TEST() local
97 I2CCompareBytesAction action{0xA0, values, masks}; in TEST()
[all …]
H A Di2c_write_bytes_action_tests.cpp47 // const std::vector<uint8_t>& values)
53 std::vector<uint8_t> values{0x56, 0x14, 0xDA}; in TEST() local
54 I2CWriteBytesAction action{0x7C, values}; in TEST()
70 // Test where fails: Values vector is empty in TEST()
73 std::vector<uint8_t> values{}; in TEST() local
74 I2CWriteBytesAction action{0x7C, values}; in TEST()
79 EXPECT_STREQ(e.what(), "Values vector is empty"); in TEST()
88 // const std::vector<uint8_t>& values,
95 std::vector<uint8_t> values{0x56, 0x14}; in TEST() local
97 I2CWriteBytesAction action{0xA0, values, masks}; in TEST()
[all …]
/openbmc/linux/Documentation/ABI/stable/
Dsysfs-devices-system-cpu
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.h
/openbmc/phosphor-webui/app/configuration/controllers/
H A Dnetwork-controller.js49 $scope.interface.ipv4.values.push(
56 if ($scope.interface.ipv4.values[index].id) {
57 $scope.ipv4sToDelete.push($scope.interface.ipv4.values[index]);
59 $scope.interface.ipv4.values.splice(index, 1);
99 for (var i in $scope.interface.ipv4.values) {
101 $scope.interface.ipv4.values[i].Address)) {
103 $scope.interface.ipv4.values[i].Address +
108 if ($scope.interface.ipv4.values[i].Gateway &&
110 $scope.interface.ipv4.values[i].Gateway)) {
112 $scope.interface.ipv4.values[i].Address +
[all …]
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
Dhtab_map_batch_ops.c
Darray_map_batch_ops.c
Dlpm_trie_map_batch_ops.c
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/builds/
H A Dtest_core_image_min.py35 distinct_builds = Build.objects.values('id').distinct().count()
42 distinct_path = Build.objects.values(
44 total_builds = Build.objects.values('id').count()
56 ).values('id', 'order').order_by("order")
73 tasks = Task.objects.filter(outcome=2).values('id', 'sstate_result')
88 Task.OUTCOME_PREBUILT)).values('id',
107 outcome__in=(0, 4)).values('id', 'sstate_result')
122 task_executed=1).values('id', 'script_type')
135 tasks = Task.objects.filter(task_executed=1).values('id', 'outcome')
149 task_executed=0).values('id', 'script_type')
[all …]
/openbmc/u-boot/arch/x86/include/asm/acpi/
H A Dstatdef.asl32 /* Device Object Notification Values */
46 /* Battery Device Notification Values */
51 /* Power Source Object Notification Values */
55 /* Thermal Zone Object Notification Values */
61 /* Power Button Notification Values */
64 /* Sleep Button Notification Values */
67 /* Lid Notification Values */
70 /* Processor Device Notification Values */
75 /* User Presence Device Notification Values */
78 /* Ambient Light Sensor Notification Values */
/openbmc/linux/drivers/media/usb/cx231xx/
Dcx231xx-dif.h
/openbmc/linux/include/acpi/
Dacrestyp.h
/openbmc/qemu/docs/system/
H A Dgeneric-loader.rst10 The 'loader' device allows the user to load multiple images or values into
13 Loading Data into Memory Values
15 The loader device allows memory values to be set from the command line. This
40 All values are parsed using the standard QemuOps parsing. This allows the user
41 to specify any values in any format supported. By default the values
42 will be parsed as decimal. To use hex values the user should prefix the number
63 All values are parsed using the standard QemuOpts parsing. This allows the user
64 to specify any values in any format supported. By default the values
65 will be parsed as decimal. To use hex values the user should prefix the number
102 All values are parsed using the standard QemuOpts parsing. This allows the user
[all …]

12345678910>>...196