Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 611) sorted by relevance

12345678910>>...25

/openbmc/phosphor-power/phosphor-regulators/src/
H A Dconfig_file_parser.cpp57 verifyIsObject(element); in parseAction()
172 verifyIsArray(element); in parseActionArray()
183 verifyIsArray(element); in parseAnd()
186 if (element.size() < 2) in parseAnd()
198 verifyIsObject(element); in parseChassis()
239 verifyIsArray(element); in parseChassisArray()
288 if ((valueIt != element.end()) && (byteValuesIt == element.end())) in parseCompareVPD()
294 else if ((valueIt == element.end()) && (byteValuesIt != element.end())) in parseCompareVPD()
433 verifyIsArray(element); in parseDeviceArray()
1072 if ((actionsIt == element.end()) && (ruleIDIt != element.end())) in parseRuleIDOrActionsProperty()
[all …]
H A Dconfig_file_parser.hpp98 if (it == element.end()) in getRequiredProperty()
160 int value = element.get<int>(); in parseBitPosition()
185 int value = element.get<int>(); in parseBitValue()
206 if (!element.is_boolean()) in parseBoolean()
210 return element.get<bool>(); in parseBoolean()
315 if (!element.is_number()) in parseDouble()
319 return element.get<double>(); in parseDouble()
339 if (!element.is_string()) in parseHexByte()
785 if (!element.is_string()) in parseString()
863 if (!element.is_array()) in verifyIsArray()
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dconfig_file_parser_tests.cpp632 parseAnd(element); in TEST()
648 parseAnd(element); in TEST()
3232 parseIf(element); in TEST()
3249 parseIf(element); in TEST()
3267 parseIf(element); in TEST()
3285 parseIf(element); in TEST()
3303 parseIf(element); in TEST()
3321 parseIf(element); in TEST()
3333 parseIf(element); in TEST()
3561 parseOr(element); in TEST()
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Dconfig_file_parser_tests.cpp407 parseGPIO(element); in TEST()
423 parseGPIO(element); in TEST()
440 parseGPIO(element); in TEST()
457 parseGPIO(element); in TEST()
474 parseGPIO(element); in TEST()
534 parseRail(element); in TEST()
550 parseRail(element); in TEST()
567 parseRail(element); in TEST()
584 parseRail(element); in TEST()
601 parseRail(element); in TEST()
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dconfig_file_parser.hpp95 auto it = element.find(property); in getRequiredProperty()
96 if (it == element.end()) in getRequiredProperty()
117 if (!element.is_boolean()) in parseBoolean()
121 return element.get<bool>(); in parseBoolean()
187 if (!element.is_string()) in parseString()
212 if (!element.is_number_integer()) in parseUint8()
216 int value = element.get<int>(); in parseUint8()
237 if (!element.is_number_unsigned()) in parseUnsignedInteger()
241 return element.get<unsigned int>(); in parseUnsignedInteger()
253 if (!element.is_array()) in verifyIsArray()
[all …]
H A Dconfig_file_parser.cpp91 GPIO parseGPIO(const json& element) in parseGPIO() argument
93 verifyIsObject(element); in parseGPIO()
104 if (activeLowIt != element.end()) in parseGPIO()
118 verifyIsObject(element); in parseRail()
129 if (presenceIt != element.end()) in parseRail()
137 auto pageIt = element.find("page"); in parseRail()
138 if (pageIt != element.end()) in parseRail()
174 if (gpioIt != element.end()) in parseRail()
196 verifyIsArray(element); in parseRailArray()
198 for (auto& railElement : element) in parseRailArray()
[all …]
/openbmc/linux/mm/
H A Dmempool.c43 u8 *obj = element; in __check_element()
76 u8 *obj = element; in __poison_element()
142 return element; in remove_element()
205 void *element; in mempool_init_node() local
208 if (unlikely(!element)) { in mempool_init_node()
306 void *element; in mempool_resize() local
348 if (!element) in mempool_resize()
382 void *element; in mempool_alloc() local
400 return element; in mempool_alloc()
413 return element; in mempool_alloc()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_html5lib.py12 from bs4.element import (
25 from bs4.element import (
118 self.element = element
149 self.element = element
240 index = self.element.index(refNode.element)
241 if (node.element.__class__ == NavigableString and self.element.contents
248 self.element.insert(index, node.element)
252 node.element.extract()
259 element = self.element
306 element.contents = []
[all …]
/openbmc/bmcweb/include/
H A Devent_service_store.hpp39 for (const auto& element : j) in fromJson() local
41 if (element.first == "Id") in fromJson()
51 else if (element.first == "Destination") in fromJson()
67 else if (element.first == "Protocol") in fromJson()
96 else if (element.first == "Context") in fromJson()
126 else if (element.first == "MessageIds") in fromJson()
164 else if (element.first == "ResourceTypes") in fromJson()
183 else if (element.first == "HttpHeaders") in fromJson()
246 element.first); in fromJson()
273 for (const auto& element : j) in fromJson() local
[all …]
H A Dsessions.hpp73 for (const auto& element : j) in fromJson() local
81 element.first); in fromJson()
84 if (element.first == "unique_id") in fromJson()
92 else if (element.first == "csrf_token") in fromJson()
96 else if (element.first == "username") in fromJson()
100 else if (element.first == "client_id") in fromJson()
104 else if (element.first == "client_ip") in fromJson()
113 element.first); in fromJson()
207 for (const auto& element : j) in fromJson() local
212 if (element.first == "XToken") in fromJson()
[all …]
/openbmc/linux/drivers/acpi/acpica/
H A Duttrack.c284 if (!element) { in acpi_ut_find_allocation()
300 return (element); in acpi_ut_find_allocation()
303 element = element->next; in acpi_ut_find_allocation()
307 return (element); in acpi_ut_find_allocation()
374 if (!element) { in acpi_ut_track_allocation()
393 if (element->next) { in acpi_ut_track_allocation()
565 while (element) { in acpi_ut_dump_allocations()
578 element->module, element->line); in acpi_ut_dump_allocations()
587 element->module, element->line, in acpi_ut_dump_allocations()
597 element-> in acpi_ut_dump_allocations()
[all …]
/openbmc/linux/security/tomoyo/
H A Dgc.c50 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()
395 __list_del_entry(element); in tomoyo_try_to_gc()
412 tomoyo_del_manager(element); in tomoyo_try_to_gc()
418 tomoyo_del_group(element); in tomoyo_try_to_gc()
430 tomoyo_del_condition(element); in tomoyo_try_to_gc()
441 tomoyo_del_name(element); in tomoyo_try_to_gc()
444 tomoyo_del_acl(element); in tomoyo_try_to_gc()
461 tomoyo_del_domain(element); in tomoyo_try_to_gc()
462 tomoyo_memory_free(element); in tomoyo_try_to_gc()
[all …]
/openbmc/bmcweb/scripts/
H A Dgenerate_schema_enums.py32 def parse_schema(element, filename): argument
34 namespace = element.attrib["Namespace"]
35 for schema_element in element:
54 for element in ds:
80 for element in enum_list:
82 values = element.values
91 for element in enum_list:
92 values = element.values
109 print(element.name)
122 for element in flat_list:
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dtest_most_recent_builds_states.py48 element = self.wait_until_visible(selector)
49 self.assertRegex(element.get_attribute('innerHTML'),
64 element = self.wait_until_visible(selector)
77 element = self.wait_until_visible(selector)
98 element = self.wait_until_visible(selector)
109 element = self.wait_until_visible(selector)
125 element = self.wait_until_visible(selector)
148 element = self.wait_until_visible(selector)
166 element = self.wait_until_visible(selector)
187 element = self.wait_until_visible(selector)
[all …]
H A Dtest_project_config_page.py51 element = self.wait_until_visible('#hintError-image-fs_type')
105 self.assertTrue(("cpio" in element.get_attribute('value'),
108 self.assertTrue(("cpio" not in element.text),
128 element = self.wait_until_visible('#hintError-initialChar-dl_dir')
132 self.assertTrue((self.INVALID_PATH_START_TEXT in element.text), msg)
138 element = self.wait_until_visible('#hintError-dl_dir')
140 self.assertTrue((self.INVALID_PATH_CHAR_TEXT in element.text), msg)
146 element = self.wait_until_visible('#hintError-dl_dir')
148 self.assertTrue((self.INVALID_PATH_CHAR_TEXT in element.text), msg)
193 element = self.wait_until_visible('#hintError-sstate_dir')
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_keys.c145 enum mlxsw_afk_element element) in mlxsw_afk_picker_count_hits() argument
157 if (elinst->element == element) { in mlxsw_afk_picker_count_hits()
158 __set_bit(element, picker[i].element); in mlxsw_afk_picker_count_hits()
205 enum mlxsw_afk_element element; in mlxsw_afk_picker_key_info_add() local
210 for_each_set_bit(element, picker[block_index].element, in mlxsw_afk_picker_key_info_add()
227 enum mlxsw_afk_element element; in mlxsw_afk_picker() local
332 enum mlxsw_afk_element element) in mlxsw_afk_block_elinst_get() argument
340 if (elinst->element == element) in mlxsw_afk_block_elinst_get()
388 &mlxsw_afk_element_infos[element]; in mlxsw_afk_values_add_u32()
474 enum mlxsw_afk_element element; in mlxsw_afk_encode() local
[all …]
H A Dcore_acl_flex_keys.h49 enum mlxsw_afk_element element; /* element ID */ member
56 .element = MLXSW_AFK_ELEMENT_##_element, \
77 enum mlxsw_afk_element element; member
89 .element = MLXSW_AFK_ELEMENT_##_element, \
133 #define mlxsw_afk_element_usage_for_each(element, elusage) \ argument
134 for_each_set_bit(element, (elusage)->usage, MLXSW_AFK_ELEMENT_MAX)
138 enum mlxsw_afk_element element) in mlxsw_afk_element_usage_add() argument
140 __set_bit(element, elusage->usage); in mlxsw_afk_element_usage_add()
211 enum mlxsw_afk_element element,
214 enum mlxsw_afk_element element,
/openbmc/linux/scripts/
H A Dasn1_compiler.c681 struct element { struct
687 struct element *next; argument
708 struct element *element; argument
856 struct element *top, *element; in parse_type() local
867 element->name = name; in parse_type()
904 element->tag &= ~0x1f; in parse_type()
943 element = element->children; in parse_type()
947 element->name = name; in parse_type()
1150 struct element *children, **child_p = &children, *element; in parse_compound() local
1181 *child_p = element; in parse_compound()
[all …]
/openbmc/webui-vue/src/components/Mixins/
H A DJumpLinkMixin.js3 setFocus(element) { argument
4 element.setAttribute('tabindex', '-1');
5 element.focus();
7 element.removeAttribute('tabindex');
12 const element = this.$refs[ref].$el;
15 this.setFocus(element);
18 const offset = element.offsetTop - 50;
/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/qemu/scripts/
H A Dfeature_to_c.py45 event, element = next(events) variable
49 if element.tag != 'feature':
53 feature_name = element.attrib['name']
58 for event, element in events:
60 if element.tag != tags[len(tags) - 1]:
65 if element.tag == 'feature':
68 if len(tags) < 2 and element.tag == 'reg':
69 if 'regnum' in element.attrib:
70 regnum = int(element.attrib['regnum'])
72 regnames.append(element.attrib['name'])
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/
H A Dtest_project_config.py99 element = self.wait_until_visible('#hintError-image-fs_type', poll=2)
144 element = self.driver.find_element(By.ID, 'new-imagefs_types')
148 self.assertTrue(("cpio" in element.get_attribute('value'),
151 self.assertTrue(("cpio" not in element.text),
186 element = self.wait_until_visible('#hintError-dl_dir', poll=2)
188 self.assertTrue((self.INVALID_PATH_CHAR_TEXT in element.text), msg)
194 element = self.wait_until_visible('#hintError-dl_dir', poll=2)
196 self.assertTrue((self.INVALID_PATH_CHAR_TEXT in element.text), msg)
246 element = self.wait_until_visible('#hintError-sstate_dir', poll=2)
248 self.assertTrue((self.INVALID_PATH_CHAR_TEXT in element.text), msg)
[all …]
H A Dfunctional_helpers.py105 element = table_element.find_element(By.LINK_TEXT, link_text)
109 return element
116 element = self.driver.find_element(By.XPATH, element_xpath)
119 return element
126 element = self.driver.find_element(By.XPATH, element_xpath)
129 return element
135 element = self.driver.find_element(By.XPATH, element_xpath)
138 return element
/openbmc/linux/drivers/platform/chrome/
H A Dchromeos_acpi.c73 union acpi_object *element = obj->package.elements; in chromeos_acpi_handle_package() local
77 element += pkg_num; in chromeos_acpi_handle_package()
79 if (element->type == ACPI_TYPE_PACKAGE) { in chromeos_acpi_handle_package()
80 if (sub_pkg_num >= element->package.count) in chromeos_acpi_handle_package()
83 element = element->package.elements; in chromeos_acpi_handle_package()
84 element += sub_pkg_num; in chromeos_acpi_handle_package()
87 switch (element->type) { in chromeos_acpi_handle_package()
89 return sysfs_emit(buf, "%d\n", (int)element->integer.value); in chromeos_acpi_handle_package()
91 return sysfs_emit(buf, "%s\n", element->string.pointer); in chromeos_acpi_handle_package()
100 r = hex_dump_to_buffer(element->buffer.pointer + i, in chromeos_acpi_handle_package()
[all …]
/openbmc/qemu/docs/interop/
H A Dprl-xml.rst71 All information is placed in a single XML element
89 ``Disk_Parameters`` element
110 ``StorageData`` element
115 The ``StorageData`` element consists of the ``Storage`` child element,
124 A ``Storage`` element has the following child elements:
137 Each ``Image`` element has the following child elements:
143 * ``Type`` - image type of the element. It can be:
151 ``Snapshots`` element
159 <TopGUID> ... </TopGUID> /* Optional child element */
169 Each ``Shot`` element contains the following child elements:
[all …]

12345678910>>...25