| /openbmc/qemu/tests/unit/ |
| H A D | test-interval-tree.c | 12 static IntervalTreeNode nodes[20]; variable 41 nodes[0].start = 1; in test_find_one_point() 42 nodes[0].last = 1; in test_find_one_point() 44 interval_tree_insert(&nodes[0], &root); in test_find_one_point() 46 g_assert(interval_tree_iter_first(&root, 0, 9) == &nodes[0]); in test_find_one_point() 47 g_assert(interval_tree_iter_next(&nodes[0], 0, 9) == NULL); in test_find_one_point() 49 g_assert(interval_tree_iter_next(&nodes[0], 0, 0) == NULL); in test_find_one_point() 50 g_assert(interval_tree_iter_first(&root, 0, 1) == &nodes[0]); in test_find_one_point() 51 g_assert(interval_tree_iter_first(&root, 1, 1) == &nodes[0]); in test_find_one_point() 52 g_assert(interval_tree_iter_first(&root, 1, 2) == &nodes[0]); in test_find_one_point() [all …]
|
| H A D | test-aio-multithread.c | 295 } nodes[NUM_CONTEXTS] __attribute__((__aligned__(64))); variable 303 nodes[id].next = -1; in mcs_mutex_lock() 304 nodes[id].locked = 1; in mcs_mutex_lock() 307 qatomic_set(&nodes[prev].next, id); in mcs_mutex_lock() 308 while (qatomic_read(&nodes[id].locked) == 1) { in mcs_mutex_lock() 309 qemu_futex_wait(&nodes[id].locked, 1); in mcs_mutex_lock() 317 if (qatomic_read(&nodes[id].next) == -1) { in mcs_mutex_unlock() 323 while (qatomic_read(&nodes[id].next) == -1) { in mcs_mutex_unlock() 331 next = qatomic_read(&nodes[id].next); in mcs_mutex_unlock() 332 nodes[next].locked = 0; in mcs_mutex_unlock() [all …]
|
| /openbmc/bmcweb/http/routing/ |
| H A D | trie.hpp | 44 Trie() : nodes(1) {} in Trie() 51 optimizeNode(nodes[node.stringParamChild]); in optimizeNode() 55 optimizeNode(nodes[node.pathParamChild]); in optimizeNode() 69 ContainedType& child = nodes[kv.second]; in optimizeNode() 94 optimizeNode(nodes[kv.second]); in optimizeNode() 117 const ContainedType& child = nodes[kv.second]; in findRouteIndexesHelper() 174 reqUrl.substr(epos), nodes[node.stringParamChild], params); in findHelper() 186 FindResult ret = findHelper("", nodes[node.pathParamChild], params); in findHelper() 198 const ContainedType& child = nodes[kv.second]; in findHelper() 243 if (nodes[idx].pathParamChild == 0U) in add() [all …]
|
| /openbmc/bmcweb/redfish-core/include/ |
| H A D | sub_route_trie.hpp | 62 findHelper("", this->nodes[node.stringParamChild], params); in findHelper() 74 this->nodes[node.stringParamChild], params); in findHelper() 87 findHelper("", this->nodes[node.pathParamChild], params); in findHelper() 99 const ContainedType& child = this->nodes[kv.second]; in findHelper() 162 if (this->nodes[idx].pathParamChild == 0U) in add() 165 this->nodes[idx].pathParamChild = newNodeIdx; in add() 167 idx = this->nodes[idx].pathParamChild; in add() 171 if (this->nodes[idx].stringParamChild == 0U) in add() 174 this->nodes[idx].stringParamChild = newNodeIdx; in add() 176 idx = this->nodes[idx].stringParamChild; in add() [all …]
|
| /openbmc/u-boot/Documentation/sphinx/ |
| H A D | rstFlatTable.py | 47 from docutils import nodes 106 class rowSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321 107 class colSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321 129 nodes.literal_block(self.block_text, self.block_text), 134 node = nodes.Element() # anonymous container for parsing 168 table = nodes.table() 169 tgroup = nodes.tgroup(cols=len(colwidths)) 174 colspec = nodes.colspec(colwidth=colwidth) 188 thead = nodes.thead() 193 tbody = nodes.tbody() [all …]
|
| H A D | kfigure.py | 54 from docutils import nodes 60 from sphinx.util.nodes import clean_astext 102 node = nodes.literal_block(data, data) 340 class kernel_image(nodes.image): 359 if len(result) == 2 or isinstance(result[0], nodes.system_message): 377 class kernel_figure(nodes.figure): 396 if len(result) == 2 or isinstance(result[0], nodes.system_message): 443 img_node = nodes.image(node.rawsource, **node.attributes) 452 class kernel_render(nodes.General, nodes.Inline, nodes.Element): 499 literal_node = nodes.literal_block(code, code) [all …]
|
| H A D | kerneldoc.py | 37 from docutils import nodes, statemachine 100 return [nodes.error(None, nodes.paragraph(text = "kernel-doc missing"))] 119 node = nodes.section() 133 return [nodes.error(None, nodes.paragraph(text = "kernel-doc missing"))]
|
| H A D | kernel_include.py | 36 from docutils import io, nodes, statemachine 97 path = nodes.reprunicode(path) 154 literal_block = nodes.literal_block(rawtext, source=path, 170 literal_block += nodes.inline(value, value, 173 literal_block += nodes.Text(value, value) 175 literal_block += nodes.Text(text, text)
|
| /openbmc/qemu/docs/sphinx/ |
| H A D | qapi_domain.py | 21 from docutils import nodes 35 from sphinx.util.nodes import make_id, make_refnode 58 from docutils.nodes import Element, Node 70 field: nodes.Node, 71 ) -> Tuple[nodes.field_name, nodes.field_body]: 75 assert isinstance(field, nodes.field) 77 assert isinstance(field.children[0], nodes.field_name) 78 assert isinstance(field.children[1], nodes.field_body) 139 document: nodes.document, 143 ) -> Tuple[List[nodes.Node], List[nodes.system_message]]: [all …]
|
| H A D | dbusdomain.py | 21 from docutils import nodes 22 from docutils.nodes import Element, Node 30 from sphinx.util import nodes as node_utils 93 section = nodes.section(ids=[name + "-section"]) 94 section += nodes.title(name, "%s interface" % name) 145 if isinstance(child, nodes.field_list): 212 fieldlist = nodes.field_list() 221 content = nodes.Text(access) 222 fieldname = nodes.field_name("", _("Access")) 223 fieldbody = nodes.field_body("", nodes.paragraph("", "", content)) [all …]
|
| H A D | qapidoc.py | 40 from docutils import nodes 65 from sphinx.util.nodes import nested_parse_with_titles 455 def run(self) -> Sequence[nodes.Node]: 458 def do_parse(self, rstlist: StringList, node: nodes.Node) -> None: 483 def transmogrify(self, schema: QAPISchema) -> nodes.Element: 508 contentnode = nodes.section() 515 node: nodes.Element = nodes.section() 519 node = nodes.paragraph() 560 def run(self) -> Sequence[nodes.Node]: 629 def admonition_wrap(self, *content: nodes.Node) -> List[nodes.Node]: [all …]
|
| H A D | kerneldoc.py | 37 from docutils import nodes, statemachine 122 return [nodes.error(None, nodes.paragraph(text = "kernel-doc missing"))] 141 node = nodes.section() 149 return [nodes.error(None, nodes.paragraph(text = "kernel-doc missing"))]
|
| H A D | hxtool.py | 23 from docutils import nodes 28 from sphinx.util.nodes import nested_parse_with_titles 153 current_node = nodes.section(ids=[section_id]) 154 current_node += nodes.title(heading, heading) 164 current_node = nodes.section()
|
| H A D | compat.py | 14 from docutils import nodes 15 from docutils.nodes import Element, Node, Text 59 util.nodes.nested_parse_with_titles( 68 util.nodes.nested_parse_with_titles( 162 return nodes.inline(target, "", *result_nodes)
|
| /openbmc/u-boot/fs/btrfs/ |
| H A D | ctree.c | 90 p->nodes[i] = NULL; in clear_path() 100 if (p->nodes[i]) in btrfs_free_path() 101 free(p->nodes[i]); in btrfs_free_path() 186 p->nodes[lvl] = buf; in btrfs_search_tree() 211 if (!p.nodes[level]) in jump_leaf() 215 if ((dir > 0 && slot + dir >= p.nodes[level]->header.nritems) in jump_leaf() 233 logical = p.nodes[level + 1]->node.ptrs[slot].blockptr; in jump_leaf() 238 if (read_tree_node(physical, &p.nodes[level])) in jump_leaf() 244 p.slots[level] = p.nodes[level]->header.nritems - 1; in jump_leaf() 250 free(path->nodes[i]); in jump_leaf() [all …]
|
| /openbmc/qemu/util/ |
| H A D | fdmon-poll.c | 25 static __thread AioHandler **nodes; variable 33 g_free(nodes); in pollfds_cleanup() 49 nodes = g_renew(AioHandler *, nodes, nalloc); in add_pollfd() 51 nodes[npfd] = node; in add_pollfd() 87 aio_add_ready_handler(ready_list, nodes[i], revents); in fdmon_poll_wait()
|
| /openbmc/openbmc-test-automation/xcat/ |
| H A D | test_xcat_group.robot | 22 [Documentation] Connect and add BMC nodes. 25 # Add BMC nodes one by one and check whether it is successfully added. 52 [Documentation] Add BMC nodes into group. 55 # Add BMC nodes to group and validate. 70 ${nodes}= Get List Of Nodes In Group ${GROUP} 71 Should Not Be Empty ${nodes} msg=Group is empty. 74 # List the BMC nodes. 76 @{bmc_nodes}= Split String ${nodes} 92 ${nodes}= Get List Of Nodes In Group ${GROUP} 93 Should Not Be Empty ${nodes} msg=Group is empty. [all …]
|
| /openbmc/u-boot/arch/arm/mach-socfpga/ |
| H A D | misc_s10.c | 82 int nodes[3]; /* Max. 3 GMACs */ in socfpga_set_phymode() local 88 nodes, ARRAY_SIZE(nodes)); in socfpga_set_phymode() 90 node = nodes[i]; in socfpga_set_phymode()
|
| /openbmc/u-boot/arch/arm/mach-uniphier/ |
| H A D | fdt-fixup.c | 51 static const struct node_info nodes[] = { in ft_board_setup() local 57 fdt_fixup_mtdparts(fdt, nodes, ARRAY_SIZE(nodes)); in ft_board_setup()
|
| /openbmc/u-boot/doc/device-tree-bindings/i2c/ |
| H A D | i2c-mux.txt | 4 numbered uniquely in a device dependent manner. The nodes for an i2c bus 12 Required properties for child nodes: 17 Optional properties for child nodes: 19 - Child nodes conforming to i2c bus binding
|
| /openbmc/u-boot/board/freescale/bsc9131rdb/ |
| H A D | bsc9131rdb.c | 56 static const struct node_info nodes[] = { variable 72 fdt_fixup_mtdparts(blob, nodes, ARRAY_SIZE(nodes)); in ft_board_setup()
|
| /openbmc/u-boot/lib/ |
| H A D | fdtdec_test.c | 78 const char *nodes) in make_fdt() argument 97 for (s = nodes; *s; s++) { in make_fdt() 122 static int run_test(const char *aliases, const char *nodes, const char *expect) in run_test() argument 135 printf("aliases=%s, nodes=%s, expect=%s: ", aliases, nodes, expect); in run_test() 136 CHECKVAL(make_fdt(blob, FDT_SIZE, aliases, nodes), 0); in run_test()
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
| H A D | 0033-dt-Provide-a-way-to-remove-non-compliant-nodes-and-p.patch | 4 Subject: [PATCH] dt: Provide a way to remove non-compliant nodes and 8 and removes the non upstreamed nodes and properties from the 11 This allows removing entire nodes, or specific properties under nodes 12 from the devicetree. The required nodes and properties can be 74 + * dt_non_compliant_purge() - Remove non-upstreamed nodes and properties 79 + * Iterate through an array of DT nodes and properties, and remove them 81 + * These are nodes and properties which do not have upstream bindings
|
| /openbmc/u-boot/arch/arm/dts/ |
| H A D | exynos4412.dtsi | 7 * Samsung's Exynos4412 SoC device nodes are listed in this file. Exynos4412 11 * Note: This file does not include device nodes for all the controllers in 13 * nodes can be added to this file.
|
| /openbmc/u-boot/doc/device-tree-bindings/w1/ |
| H A D | w1-gpio.txt | 5 Child nodes are required in device tree. The driver will detect 6 the devices serial number and then search in the child nodes in the device tree 9 Also check doc/device-tree-bindings/w1-eeprom for possible child nodes drivers
|