Home
last modified time | relevance | path

Searched full:element (Results 1 – 25 of 2454) sorted by relevance

12345678910>>...99

/openbmc/phosphor-power/phosphor-regulators/src/
H A Dconfig_file_parser.hpp83 * Returns the specified property of the specified JSON element.
87 * @param element JSON element
94 inline const nlohmann::json& getRequiredProperty(const nlohmann::json& element, in getRequiredProperty() argument
97 auto it = element.find(property); in getRequiredProperty()
98 if (it == element.end()) in getRequiredProperty()
107 * Parses a JSON element containing an action.
113 * @param element JSON element
116 std::unique_ptr<Action> parseAction(const nlohmann::json& element);
119 * Parses a JSON element containing an array of actions.
125 * @param element JSON element
[all …]
H A Dconfig_file_parser.cpp55 std::unique_ptr<Action> parseAction(const json& element) in parseAction() argument
57 verifyIsObject(element); in parseAction()
61 if (element.contains("comments")) in parseAction()
68 if (element.contains("and")) in parseAction()
70 action = parseAnd(element["and"]); in parseAction()
73 else if (element.contains("compare_presence")) in parseAction()
75 action = parseComparePresence(element["compare_presence"]); in parseAction()
78 else if (element.contains("compare_vpd")) in parseAction()
80 action = parseCompareVPD(element["compare_vpd"]); in parseAction()
83 else if (element.contains("i2c_capture_bytes")) in parseAction()
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dconfig_file_parser_tests.cpp216 const json element = R"( { "format": "linear" } )"_json; in TEST() local
217 const json& propertyElement = getRequiredProperty(element, "format"); in TEST()
224 const json element = R"( { "volts": 1.03 } )"_json; in TEST() local
225 getRequiredProperty(element, "format"); in TEST()
238 const json element = R"( in TEST() local
246 std::unique_ptr<Action> action = parseAction(element); in TEST()
252 const json element = R"( in TEST() local
259 std::unique_ptr<Action> action = parseAction(element); in TEST()
265 const json element = R"( in TEST() local
273 std::unique_ptr<Action> action = parseAction(element); in TEST()
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dconfig_file_parser.hpp81 * Returns the specified property of the specified JSON element.
85 * @param element JSON element
92 inline const nlohmann::json& getRequiredProperty(const nlohmann::json& element, in getRequiredProperty() argument
95 auto it = element.find(property); in getRequiredProperty()
96 if (it == element.end()) in getRequiredProperty()
105 * Parses a JSON element containing a boolean.
111 * @param element JSON element
114 inline bool parseBoolean(const nlohmann::json& element) in parseBoolean() argument
116 // Verify element contains a boolean in parseBoolean()
117 if (!element.is_boolean()) in parseBoolean()
[all …]
H A Dconfig_file_parser.cpp91 GPIO parseGPIO(const json& element) in parseGPIO() argument
93 verifyIsObject(element); in parseGPIO()
97 const json& lineElement = getRequiredProperty(element, "line"); in parseGPIO()
103 auto activeLowIt = element.find("active_low"); in parseGPIO()
104 if (activeLowIt != element.end()) in parseGPIO()
111 verifyPropertyCount(element, propertyCount); in parseGPIO()
116 std::unique_ptr<Rail> parseRail(const json& element) in parseRail() argument
118 verifyIsObject(element); in parseRail()
122 const json& nameElement = getRequiredProperty(element, "name"); in parseRail()
128 auto presenceIt = element.find("presence"); in parseRail()
[all …]
/openbmc/openbmc-test-automation/gui/test/gui_header/
H A Dtest_obmc_gui_server_health.robot32 Wait Until Page Contains Element event-log
42 Page Should Contain Element ${xpath_event_severity_all} limit=1
43 Page Should Contain Element ${xpath_event_severity_high} limit=1
44 Page Should Contain Element ${xpath_event_severity_medium} limit=1
45 Page Should Contain Element ${xpath_event_severity_low} limit=1
55 # It helps to click the drop down element.
56 Wait Until Page Does Not Contain Element ${xpath_refresh_circle}
57 Click Element //*[@class='dropdown__button']
61 Verify Content Search Element Appears
62 [Documentation] Check that the "event search element is available with
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Dconfig_file_parser_tests.cpp329 const json element = R"( { "name": "VDD_CPU0" } )"_json; in TEST() local
330 const json& propertyElement = getRequiredProperty(element, "name"); in TEST()
337 const json element = R"( { "foo": 23 } )"_json; in TEST() local
338 getRequiredProperty(element, "name"); in TEST()
351 const json element = R"( true )"_json; in TEST() local
352 bool value = parseBoolean(element); in TEST()
358 const json element = R"( false )"_json; in TEST() local
359 bool value = parseBoolean(element); in TEST()
363 // Test where fails: Element is not a boolean in TEST()
366 const json element = R"( 1 )"_json; in TEST() local
[all …]
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_html5lib.py17 from bs4.element import (
26 from bs4.element import (
61 # original file is the source of an element.
156 return Element(self.soup, self.soup, None)
177 return Element(tag, self.soup, namespace)
188 return Element(self.soup, self.soup, None)
192 self.soup.append(node.element)
198 return treebuilder_base.TreeBuilder.getFragment(self).element
200 def testSerializer(self, element): argument
205 def serializeElement(element, indent=0): argument
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/hardware_status_menu/
H A Dtest_sensors_sub_menu.robot29 Page Should Contain Element ${xpath_sensor_heading}
43 Page Should Contain Element ${xpath_sensors_filter}
44 Click Element ${xpath_sensors_filter}
47 Page Should Contain Element ${xpath_sensors_search}
53 [Teardown] Click Element ${xpath_clear_search_input}
55 Wait Until Page Contains Element ${xpath_sensors_search}
64 Wait Until Page Contains Element ${xpath_sensors_filter} timeout=15s
65 Click Element ${xpath_sensors_filter}
67 Page Should Contain Element ${xpath_filter_ok}
68 Page Should Contain Element ${xpath_filter_warning}
[all …]
/openbmc/linux/mm/
H A Dmempool.c24 static void poison_error(mempool_t *pool, void *element, size_t size, in poison_error() argument
32 pr_err("BUG: mempool element poison mismatch\n"); in poison_error()
34 pr_err(" nr=%d @ %p: %s0x", nr, element, start > 0 ? "... " : ""); in poison_error()
36 pr_cont("%x ", *(u8 *)(element + i)); in poison_error()
41 static void __check_element(mempool_t *pool, void *element, size_t size) in __check_element() argument
43 u8 *obj = element; in __check_element()
50 poison_error(pool, element, size, i); in __check_element()
57 static void check_element(mempool_t *pool, void *element) in check_element() argument
61 __check_element(pool, element, (size_t)pool->pool_data); in check_element()
63 __check_element(pool, element, kmem_cache_size(pool->pool_data)); in check_element()
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/operations_menu/
H A Dtest_server_power_operations_sub_menu.robot35 Page Should Contain Element ${xpath_server_power_heading}
44 Click Element At Coordinates ${xpath_shutdown_immediate_radio} 0 0
45 Click Element ${xpath_shutdown_button}
46 Wait Until Page Contains Element ${xpath_confirm_button} timeout=10
47 Click Element ${xpath_confirm_button}
48 …Wait Until Keyword Succeeds 3 min 15 sec Element Should Contain ${xpath_current_power_state} …
57 Click Element At Coordinates ${xpath_shutdown_orderly_radio} 0 0
58 Click Element ${xpath_shutdown_button}
59 Wait Until Page Contains Element ${xpath_confirm_button} timeout=10
60 Click Element ${xpath_confirm_button}
[all …]
/openbmc/phosphor-mrw-tools/
H A Dpatchxml.py6 The patch file is itself an XML file. It can have any root element name,
9 where the fix should be applied. A <targetFile> element is required in the
11 applied to, though the targetFile element is handled outside of this script.
15 top level element.
19 1) Add an element:
20 Put in the element to add, along with the type='add' attribute
21 and an xpath attribute specifying where the new element should go.
27 This will add a new enumerationType element child to the root element.
29 2) Replace an element:
30 Put in the new element, with the type='replace' attribute
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/
H A Dtest_date_and_time_sub_menu.robot33 Page Should Contain Element ${xpath_date_time_heading}
59 Page Should Contain Element ${xpath_select_manual}
60 Page Should Contain Element ${xpath_select_ntp}
61 Page Should Contain Element ${xpath_select_save_settings}
68 Click Element At Coordinates ${xpath_select_manual} 0 0
69 Page Should Contain Element ${xpath_manual_date}
70 Page Should Contain Element ${xpath_manual_time}
72 Click Element At Coordinates ${xpath_select_ntp} 0 0
73 Page Should Contain Element ${xpath_ntp_server1}
74 Page Should Contain Element ${xpath_ntp_server2}
[all …]
/openbmc/linux/security/tomoyo/
H A Dgc.c33 …* tomoyo_struct_used_by_io_buffer - Check whether the list element is used by /sys/kernel/security…
35 * @element: Pointer to "struct list_head".
37 * Returns true if @element is used by /sys/kernel/security/tomoyo/ users,
40 static bool tomoyo_struct_used_by_io_buffer(const struct list_head *element) in tomoyo_struct_used_by_io_buffer() argument
50 if (head->r.domain == element || head->r.group == element || in tomoyo_struct_used_by_io_buffer()
51 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer()
105 * @element: Pointer to "struct list_head".
109 static inline void tomoyo_del_transition_control(struct list_head *element) in tomoyo_del_transition_control() argument
112 container_of(element, typeof(*ptr), head.list); in tomoyo_del_transition_control()
121 * @element: Pointer to "struct list_head".
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/
H A Dtest_user_management_sub_menu.robot49 Page Should Contain Element ${xpath_user_management_heading}
72 Page Should Contain Element ${xpath_edit_user}
73 Page Should Contain Element ${xpath_delete_user}
79 [Teardown] Click Element ${xpath_cancel_button}
81 Click Element ${xpath_add_user}
82 Wait Until Page Contains Element ${xpath_add_user_heading}
83 Page Should Contain Element ${xpath_account_status_enabled_button}
84 Page Should Contain Element ${xpath_account_status_disabled_button}
85 Page Should Contain Element ${xpath_username_input_button}
86 Page Should Contain Element ${xpath_privilege_list_button}
[all …]
/openbmc/openbmc-test-automation/gui/lib/
H A Dgui_resource.robot98 Wait Until Element Is Enabled ${xpath_login_username_input}
101 Wait Until Element Is Enabled ${xpath_login_button}
102 Click Element ${xpath_login_button}
104 Wait Until Element Is Not Visible
122 Click Element ${xpath_root_button_menu}
123 Click Element ${xpath_logout_button}
124 Wait Until Page Contains Element ${xpath_login_button}
140 Wait Until Page Contains Element ${xpath_root_button_menu}
141 Click Element ${xpath_root_button_menu}
142 Click Element ${xpath_profile_settings}
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/overview_menu/
H A Dtest_overview_menu.robot73 Element Should Contain ${xpath_machine_model} ${redfish_machine_model}
77 Element Should Contain ${xpath_serial_number} ${redfish_serial_number}
81 Element Should Contain ${xpath_asset_tag} ${redfish_asset_tag}
85Element Should Contain ${xpath_operating_mode} ${redfish_operating_mode['pvm_system_operating_mo…
100 Click Element ${xpath_network_information_view_more_button}
101 Wait Until Page Contains Element ${xpath_network_heading}
110 Click Element ${xpath_refresh_button}
112 Click Element ${xpath_refresh_button}
113 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30
124 Click Element ${xpath_refresh_button}
[all …]
/openbmc/bmcweb/include/
H A Devent_service_store.hpp44 for (const auto& element : j) in fromJson() local
46 if (element.first == "Id") in fromJson()
49 element.second.get_ptr<const std::string*>(); in fromJson()
56 else if (element.first == "Destination") in fromJson()
59 element.second.get_ptr<const std::string*>(); in fromJson()
72 else if (element.first == "Protocol") in fromJson()
75 element.second.get_ptr<const std::string*>(); in fromJson()
82 else if (element.first == "VerifyCertificate") in fromJson()
84 const bool* value = element.second.get_ptr<const bool*>(); in fromJson()
91 else if (element.first == "DeliveryRetryPolicy") in fromJson()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dchio.h9 /* changer element types */
10 #define CHET_MT 0 /* media transport element (robot) */
11 #define CHET_ST 1 /* storage element (media slots) */
12 #define CHET_IE 2 /* import/export element */
13 #define CHET_DT 3 /* data transfer element (tape/cdrom/whatever) */
25 * query vendor-specific element types
27 * accessing elements works by specifing type and unit of the element.
33 int cp_curpicker; /* current transport element */
54 * move a medium from one element to another
57 int cm_fromtype; /* type/unit of source element */
[all …]
/openbmc/boost-dbus/include/dbus/
H A Delement.hpp54 struct element { struct
59 struct element<bool> { struct
64 struct element<byte> { struct
69 struct element<int16> { struct
74 struct element<uint16> { struct
79 struct element<int32> { struct
84 struct element<uint32> { struct
89 struct element<int64> { struct
94 struct element<uint64> { struct
99 struct element<double> { struct
[all …]
/openbmc/openbmc-test-automation/gui/test/server_config/
H A Dtest_obmc_gui_network_settings.robot43 Click Element ${xpath_network_save_settings}
44 Wait Until Page Does Not Contain Element ${xpath_refresh_circle}
45 Click Element ${xpath_continue}
46 Click Element ${xpath_select_refresh_button}
47 Wait Until Page Does Not Contain Element ${xpath_refresh_circle}
56 Page Should Contain Element ${xpath_default_gateway_input}
65 Page Should Contain Element ${xpath_mac_address_input}
73 Page Should Contain Element ${xpath_network_static_button}
74 Click Element ${xpath_network_static_button}
84 Page Should Contain Element ${xpath_network_DHCP_button}
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/rocketlake/
H A Dfloating-point.json11element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
14element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
19element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
22element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
27element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
30element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
35element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
38element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
43element. Applies to SSE* and AVX* packed single precision and packed double precision FP instruct…
46element. Applies to SSE* and AVX* packed single precision floating-point and packed double precis…
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelake/
H A Dfloating-point.json11element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
14element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
19element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
22element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
27element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
30element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
35element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
38element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
43element. Applies to SSE* and AVX* packed single precision and packed double precision FP instruct…
46element. Applies to SSE* and AVX* packed single precision floating-point and packed double precis…
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/tigerlake/
H A Dfloating-point.json11element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
14element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
19element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
22element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
27element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
30element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
35element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
38element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
43element. Applies to SSE* and AVX* packed single precision and packed double precision FP instruct…
46element. Applies to SSE* and AVX* packed single precision floating-point and packed double precis…
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelakex/
H A Dfloating-point.json11element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
14element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
19element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MU…
22element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
27element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
30element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HA…
35element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
38element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HA…
43element. Applies to SSE* and AVX* packed single precision and packed double precision FP instruct…
46element. Applies to SSE* and AVX* packed single precision floating-point and packed double precis…
[all …]

12345678910>>...99