Home
last modified time | relevance | path

Searched full:evaluate (Results 1 – 25 of 465) sorted by relevance

12345678910>>...19

/openbmc/openbmc-test-automation/pldm/
H A Dtest_pldm_bios.robot57 ${upgrade_date}= Evaluate re.sub(r'-* *:*', "", '${date}') modules=re
60 ${upgrade_time}= Evaluate re.sub(r'-* *:*', "", '${time}') modules=re
63 ${cmd_set_date}= Evaluate $CMD_SETDATETIME % '${upgrade_date}'
68 ${cmd_set_time}= Evaluate $CMD_SETDATETIME % '${upgrade_time}'
130 ${current_date_time}= Evaluate re.sub(r'-* *:*', "", '${result}') modules=re
131 ${cmd_set_date_time}= Evaluate $CMD_SETDATETIME % '${current_date_time}'
155 ${date}= Evaluate " ".join(${date})
H A Dtest_pldm_base.robot32 ${pldm_cmd}= Evaluate $CMD_GETPLDMVERSION % 'base'
40 ${pldm_cmd}= Evaluate $CMD_GETPLDMVERSION % 'platform'
49 ${pldm_cmd}= Evaluate $CMD_GETPLDMVERSION % 'bios'
58 ${pldm_cmd}= Evaluate $CMD_GETPLDMVERSION % 'fru'
67 ${pldm_cmd}= Evaluate $CMD_GETPLDMVERSION % 'oem-ibm'
H A Dtest_redfish_bios_attributes.robot44 ${enum_attr}= Evaluate random.choice(${attr_handles}) modules=random
57 ${int_attr}= Evaluate random.choice(${attr_handles}) modules=random
58 ${count}= Evaluate ${attr_val_data['${int_attr}']["UpperBound"]} + 5
72 ${str_attr}= Evaluate random.choice(${attr_handles}) modules=random
73 ${count}= Evaluate ${attr_val_data['${str_attr}']["MaximumStringLength"]} + 5
H A Dtest_pldm_bios_attributes.robot64 ${enum_attr}= Evaluate random.choice(${attr_handles}) modules=random
82 ${int_attr}= Evaluate random.choice(${attr_handles}) modules=random
83 ${count}= Evaluate ${attr_val_data['${int_attr}']["UpperBound"]} + 5
101 ${str_attr}= Evaluate random.choice(${attr_handles}) modules=random
102 ${count}= Evaluate ${attr_val_data['${str_attr}']["MaximumStringLength"]} + 5
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_sol.robot88 ${value}= Evaluate random.randint(8, 10000) modules=random
100 ${value}= Evaluate random.randint(256, 10000) modules=random
112 ${value}= Evaluate random.randint(256, 10000) modules=random
124 ${value}= Evaluate random.randint(256, 10000) modules=random
208 ${iteration_count}= Evaluate random.randint(5,10) modules=random
324 ... Evaluate random.randint(${min_value}, ${max_value}) modules=random
331 ... '${setting_name}' == 'character-accumulate-level' Evaluate ${value}*5
332 ... ELSE IF '${setting_name}' == 'retry-interval' Evaluate ${value}*10
339 ${setting_name}= Evaluate $setting_name.replace('-',' ')
H A Dtest_ipmi_sensor.robot77 ... Evaluate abs(${ambient_temp_redfish[${index}]} - ${ipmi_temp_list[${index}]})
139 …${baseboard_temp_diff}= Evaluate abs(${baseboard_temp_redfish[${index}]} - ${ipmi_temp_list[${in…
221 ${value_diff}= Evaluate abs(${redfish_value["${index}"]} - ${ipmi_value["${index}"]})
271 ${contains}= Evaluate """disabled""" in "${sensor_value}"
310 ${is_device_name_present}= Evaluate "DeviceName" in @{keys}
312 ${contains}= Evaluate "${member_id}" in """${data}[DeviceName]"""
316 ${data_source_id}= Evaluate ("${data}[DataSourceUri]").split('temperature_')
323 ${contains}= Evaluate "${member_id}" in "${data_source_id[1]}"
350 ... Evaluate abs(${redfish_power_reading} - ${ipmi_reading['instantaneous_power_reading']})
376 ... Evaluate abs(${redfish_reading} - ${power_reading_ipmi})
[all …]
H A Dtest_ipmi_device_id.robot92 ${manufacture_id}= Evaluate "".join(${manufacture_id})
99 ${product_id}= Evaluate "".join(${product_id})
106 ${auxiliary_rev_version}= Evaluate "".join(${auxiliary_rev_version})
145 ${info}= Evaluate dict(${info})
H A Dtest_ipmi_sel.robot33 ${setting_status}= Evaluate $setting_status.replace(' ','')
168 ${diff}= Evaluate int(${sel_epoch_time}) - int(${epoch_addition})
194 ${diff}= Evaluate int(${epoch_addition}) - int(${sel_epoch_time})
216 ${diff}= Evaluate int(${epoch_erase}) - int(${bmc_epoch_time})
350 ${count}= Evaluate random.randint(1, 5) modules=random
403 ${addition_timestamp}= Evaluate "".join(${addition_timestamp})
417 ${erase_timestamp}= Evaluate "".join(${erase_timestamp})
H A Dtest_ipmi_poh_counter.robot80 ${difference}= Evaluate ${poh_counter_2} - ${poh_counter_1}
123 ${difference}= Evaluate ${poh_counter_2} - ${poh_counter_1}
143 ${poh_counter_reading}= Evaluate "".join(${poh_counter_reading})
/openbmc/openbmc-test-automation/lib/
H A Dconnection_client.robot110 ${alias_match}= Evaluate '${alias}' == '${connection.alias}'
111 ${host_match}= Evaluate '${host}' == '${connection.host}'
112 ${given_alias}= Evaluate '${alias}' != 'None'
113 ${no_alias}= Evaluate '${alias}' == 'None'
114 ${given_host}= Evaluate '${host}' != '${EMPTY}'
115 ${no_host}= Evaluate '${host}' == '${EMPTY}'
H A Dos_utilities.robot229 ${cpu_temperatuture_objs} Evaluate ${cmd} modules=re
231 ${cpu_temperatures}= Evaluate
234 ${cpu_max_temp} Evaluate int(max(map(int, $cpu_temperatures))/1000)
246 ${cpu_temperatuture_objs}= Evaluate ${cmd} modules=re
248 ${cpu_temperatures}= Evaluate
251 ${cpu_min_temp} Evaluate int(min(map(int, $cpu_temperatures))/1000)
325 ${power_max}= Evaluate ${nvidia_out}+${7.00}
404 ${gpu_temperature_objs_dict}= Evaluate ${core_temperatures_list} modules=re
407 ${gpu_temperatures}= Evaluate
412 ${max_gpu_temperature}= Evaluate
[all …]
H A Dbios_attr_utils.robot28 ${type_str}= Evaluate isinstance($attr_val, str)
32 ${attr_value_length}= Evaluate len($attr_val.replace('"', ''))
65 ${new_attr}= Evaluate $attr.replace('"', '')
/openbmc/phosphor-mrw-tools/
H A Dgen_settings.pl4 #MRW XML in any file. In addition, it can evaluate mathematical
88 #If there are [[ ]] expressions, evaluate them and replace the
93 my $value = evaluate($expr);
111 #Evaluate the expression passed in. Substitute any variables with
113 sub evaluate subroutine
/openbmc/qemu/scripts/
H A Dminikconf.py61 def evaluate(self): member in KconfigData.Expr
74 def evaluate(self): member in KconfigData.AND
75 return self.lhs.evaluate() and self.rhs.evaluate()
87 def evaluate(self): member in KconfigData.OR
88 return self.lhs.evaluate() or self.rhs.evaluate()
98 def evaluate(self): member in KconfigData.NOT
99 return not self.lhs.evaluate()
133 def evaluate(self): member in KconfigData.Var
175 (self.cond is None or self.cond.evaluate()):
187 if not self.expr.evaluate():
[all …]
/openbmc/linux/drivers/thermal/
H A Dthermal_acpi.c53 * Evaluate the _ACx object for the thermal zone represented by @adev to obtain
75 * Evaluate the _PSV object for the thermal zone represented by @adev to obtain
91 * Evaluate the _HOT object for the thermal zone represented by @adev to obtain
108 * Evaluate the _CRT object for the thermal zone represented by @adev to obtain
/openbmc/openbmc-test-automation/redfish/dmtf_tools/
H A DRedfish_Usecase_Checkers.robot47 ${object}= Evaluate json.loads('''${json}''') json
54 ${rc}= evaluate 'ErrorMessages'=='${result}'
93 ${object}= Evaluate json.loads('''${json}''') json
102 ${rc}= evaluate 'ErrorMessages'=='${result}'
H A Dtest_redfishtool_general.robot35 ${json_object}= Evaluate json.loads('''${sensor_status}''') json
45 ${json_object}= Evaluate json.loads('''${chassis_data}''') json
/openbmc/entity-manager/src/
H A Dexpression.cpp51 int evaluate(int a, Operation op, int b) in evaluate() function
91 int evaluate(int substitute, std::vector<std::string>::iterator curr, in evaluate() function
112 substitute = evaluate(substitute, *next, constant); in evaluate()
H A Dexpression.hpp36 int evaluate(int a, Operation op, int b);
37 int evaluate(int substitute, std::vector<std::string>::iterator curr,
/openbmc/linux/drivers/acpi/
H A Dutils.c28 acpi_handle_debug(h, "Evaluate [%s]: %s\n", p, acpi_format_exception(s)); in acpi_util_eval_error()
349 /* Evaluate object. */ in acpi_evaluate_reference()
449 * acpi_evaluate_ost: Evaluate _OST for hotplug operations
455 * Evaluate _OST for hotplug operations. All ACPI hotplug handlers
608 * acpi_evaluate_ej0: Evaluate _EJ0 method for hotplug operations
611 * Evaluate device's _EJ0 method for hotplug operations.
627 * acpi_evaluate_lck: Evaluate _LCK method to lock/unlock device
631 * Evaluate device's _LCK method if present to lock/unlock device
651 * acpi_evaluate_reg: Evaluate _REG method to register OpRegion presence
657 * Evaluate device's _REG method to register OpRegion presence.
[all …]
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_managers_bmc_time.robot30 ${time_diff}= Evaluate abs(${time_diff})
49 ${time_diff}= Evaluate abs(${time_diff})
85 ${time_diff}= Evaluate abs(${time_diff})
/openbmc/openbmc-test-automation/redfish/task_service/
H A Dtest_tasks_service.robot69 ${time_diff}= Evaluate ${time_diff} < 5
139 ${time_diff}= Evaluate ${time_diff} < 10
165 ${time_diff}= Evaluate ${time_diff} >= 0
245 ${properties}= Evaluate json.loads('''${json}''') json
273 ${date}= Evaluate " ".join(${date})
/openbmc/openbmc-test-automation/redfish/systems/
H A Dtest_systems_inventory.robot44 ${total_num_cores}= Evaluate $total_num_cores + ${cores}
109 ${good_state}= Evaluate
112 ${total_num_supplies}= Evaluate $total_num_supplies + ${1}
191 ${good_state}= Evaluate
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/
H A Dtest_user_management_sub_menu.robot162 ${privilege_level}= Evaluate random.choice(${list_user_privilege}) random
178 ${privilege_level}= Evaluate random.choice(${list_user_privilege}) random
216 ${privilege_level}= Evaluate random.choice(${list_user_privilege}) random
217 ${initial_account_status}= Evaluate random.choice([True, False]) random
258 ${privilege_level}= Evaluate random.choice(${list_user_privilege}) random
259 ${initial_account_status}= Evaluate random.choice([True, False]) random
/openbmc/linux/include/kunit/
H A Dtest.h827 * not evaluate to true.
848 * not evaluate to false.
869 * Sets an expectation that the values that @left and @right evaluate to are
890 * Sets an expectation that the values that @left and @right evaluate to are
911 * Sets an expectation that the values that @left and @right evaluate to are not
932 * Sets an expectation that the values that @left and @right evaluate to are not
1037 * Sets an expectation that the values that @left and @right evaluate to are
1058 * Sets an expectation that the values that @left and @right evaluate to are
1080 * Sets an expectation that the values that @left and @right evaluate to are
1107 * Sets an expectation that the values that @left and @right evaluate to are
[all …]

12345678910>>...19