/external/dtc/tests/ |
D | path_offset.c | 23 verbose_printf("Checking subnode \"%s\" of %d...", name, parent); in check_subnode() 31 FAIL("NULL retrieving subnode \"%s\"", name); in check_subnode() 38 FAIL("Subnode name mismatch \"%s\" instead of \"%s\"", in check_subnode() 90 subnode1_offset = check_subnode(fdt, 0, "subnode@1"); in main() 91 subnode2_offset = check_subnode(fdt, 0, "subnode@2"); in main() 93 check_path_offset(fdt, "/subnode@1", subnode1_offset); in main() 94 check_path_offset(fdt, "/subnode@2", subnode2_offset); in main() 100 check_path_offset(fdt, "/subnode@1/subsubnode", subsubnode1_offset); in main() 101 check_path_offset(fdt, "/subnode@2/subsubnode@0", subsubnode2_offset); in main() 102 check_path_offset(fdt, "/subnode@2/subsubnode", subsubnode2_offset2); in main() [all …]
|
D | del_node.c | 33 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main() 35 FAIL("Couldn't find \"/subnode@1\": %s", in main() 39 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main() 41 FAIL("Couldn't find \"/subnode@2\": %s", in main() 45 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main() 47 FAIL("Couldn't find \"/subnode@2/subsubnode\": %s", in main() 55 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main() 61 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main() 67 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main() 69 FAIL("Couldn't find \"/subnode@2/subsubnode\": %s", in main() [all …]
|
D | nop_node.c | 28 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main() 34 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main() 40 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main() 42 FAIL("Couldn't find \"/subnode@2/subsubnode\": %s", in main() 50 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main() 56 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main() 62 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode"); in main() 64 FAIL("Couldn't find \"/subnode@2/subsubnode\": %s", in main() 72 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main() 78 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main() [all …]
|
D | pylibfdt_tests.py | 87 node_path: Full path to node, e.g. '/subnode@1/subsubnode' 105 node_path: Full path to node, e.g. '/subnode@1/subsubnode' 108 List of subnode names for that node, e.g. ['subsubnode', 'ss1'] 130 """check that we can locate a subnode by name""" 131 node1 = self.fdt.path_offset('/subnode@1') 132 self.assertEqual(self.fdt.subnode_offset(0, 'subnode@1'), node1) 138 node2 = self.fdt.path_offset('/subnode@1/subsubnode') 144 self.assertTrue(self.fdt.path_offset('/subnode@1') > 0) 178 node = self.fdt.path_offset('/subnode@1/ss1') 188 node = self.fdt.path_offset('/subnode@1/subsubnode') [all …]
|
D | test_tree1_delete.dts | 8 nonexistant-subnode { 16 subnode@1 { 25 /delete-node/ nonexistant-subnode; 27 subnode@1 { 43 subnode@1 { 49 subnode@1 {
|
D | path_offset_aliases.c | 37 check_alias(fdt, "/subnode@1", "s1"); in main() 38 check_alias(fdt, "/subnode@1/subsubnode", "ss1"); in main() 39 check_alias(fdt, "/subnode@1/subsubnode", "s1/subsubnode"); in main() 40 check_alias(fdt, "/subnode@1/subsubnode/subsubsubnode", "sss1"); in main() 41 check_alias(fdt, "/subnode@1/subsubnode/subsubsubnode", "ss1/subsubsubnode"); in main() 42 check_alias(fdt, "/subnode@1/subsubnode/subsubsubnode", "s1/subsubnode/subsubsubnode"); in main()
|
D | node_check_compatible.c | 60 check_compatible(fdt, "/subnode@1/subsubnode", "subsubnode1"); in main() 61 check_compatible(fdt, "/subnode@1/subsubnode", "subsubnode"); in main() 62 check_not_compatible(fdt, "/subnode@1/subsubnode", "subsubnode2"); in main() 63 check_compatible(fdt, "/subnode@2/subsubnode", "subsubnode2"); in main() 64 check_compatible(fdt, "/subnode@2/subsubnode", "subsubnode"); in main() 65 check_not_compatible(fdt, "/subnode@2/subsubnode", "subsubnode1"); in main()
|
D | notfound.c | 40 subnode1_offset = fdt_subnode_offset(fdt, 0, "subnode@1"); in main() 47 offset = fdt_subnode_offset(fdt, 0, "nonexistant-subnode"); in main() 48 check_error("fdt_subnode_offset(\"nonexistant-subnode\")", offset); in main() 53 offset = fdt_path_offset(fdt, "/nonexistant-subnode"); in main() 54 check_error("fdt_path_offset(\"/nonexistant-subnode\")", offset); in main()
|
D | subnode_offset.c | 23 verbose_printf("Checking subnode \"%s\" of %d...", name, parent); in check_subnode() 31 FAIL("NULL retrieving subnode \"%s\"", name); in check_subnode() 38 FAIL("Subnode name mismatch \"%s\" instead of \"%s\"", in check_subnode() 54 subnode1_offset = check_subnode(fdt, 0, "subnode@1"); in main() 55 subnode2_offset = check_subnode(fdt, 0, "subnode@2"); in main()
|
D | test_tree1_merge.dts | 12 subnode@1 { 25 subnode@2 { 40 subnode@1 { 43 subnode@2 {
|
D | parent_offset.c | 67 check_path(fdt, "/subnode@1"); in main() 68 check_path(fdt, "/subnode@2"); in main() 69 check_path(fdt, "/subnode@1/subsubnode"); in main() 70 check_path(fdt, "/subnode@2/subsubnode@0"); in main()
|
D | node_offset_by_compatible.c | 48 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main() 49 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main() 50 subsubnode1_offset = fdt_path_offset(fdt, "/subnode@1/subsubnode"); in main() 51 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode@0"); in main()
|
D | get_name.c | 63 check_name(fdt, "/subnode@1"); in main() 64 check_name(fdt, "/subnode@2"); in main() 65 check_name(fdt, "/subnode@1/subsubnode"); in main() 66 check_name(fdt, "/subnode@2/subsubnode@0"); in main()
|
D | get_path.c | 74 check_path(fdt, "/subnode@1"); in main() 75 check_path(fdt, "/subnode@2"); in main() 76 check_path(fdt, "/subnode@1/subsubnode"); in main() 77 check_path(fdt, "/subnode@2/subsubnode@0"); in main()
|
D | set_name.c | 72 check_set_name(fdt, "/subnode@1", "subnode@17"); in main() 73 check_set_name(fdt, "/subnode@2/subsubnode@0", "fred@0"); in main() 74 check_set_name(fdt, "/subnode@17/subsubnode", "something@0"); in main()
|
D | node_offset_by_prop_value.c | 73 subnode1_offset = fdt_path_offset(fdt, "/subnode@1"); in main() 74 subnode2_offset = fdt_path_offset(fdt, "/subnode@2"); in main() 75 subsubnode1_offset = fdt_path_offset(fdt, "/subnode@1/subsubnode"); in main() 76 subsubnode2_offset = fdt_path_offset(fdt, "/subnode@2/subsubnode@0"); in main()
|
D | test_tree1_merge_path.dts | 14 subnode@1 { 28 subnode@2 { 46 &{/subnode@2/subsubnode@0} {
|
D | get_alias.c | 39 check_alias(fdt, "/subnode@1", "s1"); in main() 40 check_alias(fdt, "/subnode@1/subsubnode", "ss1"); in main() 41 check_alias(fdt, "/subnode@1/subsubnode/subsubsubnode", "sss1"); in main()
|
/external/arm-trusted-firmware/drivers/st/clk/ |
D | stm32mp_clkfunc.c | 25 int node, subnode; in fdt_osc_read_freq() local 37 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_freq() 41 cchar = fdt_get_name(fdt, subnode, &ret); in fdt_osc_read_freq() 49 cuint = fdt_getprop(fdt, subnode, "clock-frequency", in fdt_osc_read_freq() 74 int node, subnode; in fdt_osc_read_bool() local 90 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_bool() 94 cchar = fdt_get_name(fdt, subnode, &ret); in fdt_osc_read_bool() 104 if (fdt_getprop(fdt, subnode, prop_name, NULL) != NULL) { in fdt_osc_read_bool() 122 int node, subnode; in fdt_osc_read_uint32_default() local 138 fdt_for_each_subnode(subnode, fdt, node) { in fdt_osc_read_uint32_default() [all …]
|
/external/markdown/markdown/ |
D | treeprocessors.py | 100 def __processElementText(self, node, subnode, isText=True): argument 108 * subnode: processing node 115 text = subnode.text 116 subnode.text = None 118 text = subnode.tail 119 subnode.tail = None 121 childResult = self.__processPlaceholders(text, subnode) 123 if not isText and node is not subnode: 124 pos = node.getchildren().index(subnode) 125 node.remove(subnode)
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
D | SafeConstructor.java | 111 for (Node subnode : vals) { in mergeNode() 112 if (!(subnode instanceof MappingNode)) { in mergeNode() 116 + subnode.getNodeId(), subnode.getStartMark()); in mergeNode() 118 MappingNode mnode = (MappingNode) subnode; in mergeNode() 384 for (Node subnode : snode.getValue()) { in construct() 385 if (!(subnode instanceof MappingNode)) { in construct() 388 + subnode.getNodeId(), subnode.getStartMark()); in construct() 390 MappingNode mnode = (MappingNode) subnode; in construct() 417 for (Node subnode : snode.getValue()) { in construct() 418 if (!(subnode instanceof MappingNode)) { in construct() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DiscreteComparator.java | 242 for (Node<T> subNode : all.values()) { in get() 243 if (!subNode.visited) { in get() 245 subNode.visit(ordering); in get() 322 for (Node<T> subNode : currentNode.less) { in visit() 323 if (subNode.chained) { in visit() 324 throw new CycleException("Cycle in input data: " + subNode.toString()); in visit() 326 if (subNode.visited) { in visit() 329 subNode.visit(resultOrdering); in visit()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/ |
D | AncestorDescendantTests.java | 65 Expression subNode = superNode.getVariable(0).getInitializer().get(); // 42 in nodeInSameFileIsDescendantOfAncestor() local 67 assertTrue(superNode.isAncestorOf(subNode)); in nodeInSameFileIsDescendantOfAncestor() 68 assertFalse(subNode.isAncestorOf(superNode)); in nodeInSameFileIsDescendantOfAncestor() 69 assertTrue(subNode.isDescendantOf(superNode)); in nodeInSameFileIsDescendantOfAncestor() 70 assertFalse(superNode.isDescendantOf(subNode)); in nodeInSameFileIsDescendantOfAncestor()
|
/external/python/cpython2/Lib/lib2to3/ |
D | btm_matcher.py | 149 subnode = node.transition_table[subnode_key] 151 (node.id, subnode.id, type_repr(subnode_key), str(subnode.fixers))) 153 print(subnode.content) 154 print_node(subnode)
|
/external/python/cpython3/Lib/lib2to3/ |
D | btm_matcher.py | 144 subnode = node.transition_table[subnode_key] 146 (node.id, subnode.id, type_repr(subnode_key), str(subnode.fixers))) 148 print(subnode.content) 149 print_node(subnode)
|