Searched refs:child_index (Results 1 – 8 of 8) sorted by relevance
/external/antlr/runtime/Ruby/test/unit/ |
D | test-tree-wizard.rb | 254 @wizard.visit( tree, B ) do |node, parent, child_index, labels| 266 @wizard.visit( tree, C ) do |node, parent, child_index, labels| 278 @wizard.visit( tree, B ) do |node, parent, child_index, labels| 290 @wizard.visit( tree, A ) do |node, parent, child_index, labels| 305 @wizard.visit( tree, B ) do |node, parent, child_index, labels| 306 elements << context(node, parent, child_index) 317 @wizard.visit( tree, A ) do |node, parent, child_index, labels| 318 elements << context(node, parent, child_index) 328 @wizard.visit(tree, '(A B)') do |node, parent, child_index, labels| 340 @wizard.visit(tree, '(A B)') do |node, parent, child_index, labels| [all …]
|
D | test-trees.rb | 53 root_0.child_index.should == -1 54 t.child_index.should == 0 55 u.child_index.should == 1 469 t.child_index.should == -1 480 r0.child_index.should == -1 494 r0.child_index.should == -1 496 c0.child_index.should == 0 498 c1.child_index.should == 1 500 c2.child_index.should == 2 517 root.child_index.should == -1 [all …]
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | glX_server_table.py | 180 child_index = base_entry 221 print ' %u,' % (child_index) 222 child_index += child[2] 228 child_index = base_entry 231 self.dump_tree(child, base_opcode, remaining_bits - M, child_index, depth + 1) 232 child_index += child[2]
|
/external/antlr/runtime/Ruby/lib/antlr3/tree/ |
D | wizard.rb | 387 index = @adaptor.child_index( tree ) 396 index = @adaptor.child_index( tree ) 410 visit( tree, pattern.type ) do | tree, parent, child_index, labels | 412 yield( tree, parent, child_index, labels )
|
/external/antlr/runtime/Ruby/lib/antlr3/ |
D | tree.rb | 339 child.child_index = length + index 343 child_tree.child_index = length 363 tree.child_index = index 393 node.child_index = i 698 def child_index( tree ) method 699 tree.child_index rescue 0 713 set_child_index( new_tree, child_index( tree ) ) 772 tree.child_index = index
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | AST.stg | 110 @adaptor.child_index( return_value.start ), 111 @adaptor.child_index( _last ),
|
/external/python/cpython3/Modules/ |
D | _elementtree.c | 2094 Py_ssize_t child_index; member 2156 item->child_index = 0; in parent_stack_push_new() 2197 Py_ssize_t child_index = item->child_index; in elementiter_next() local 2201 if (!extra || child_index >= extra->length) { in elementiter_next() 2215 if (!Element_Check(extra->children[child_index])) { in elementiter_next() 2218 Py_TYPE(extra->children[child_index])->tp_name); in elementiter_next() 2221 elem = (ElementObject *)extra->children[child_index]; in elementiter_next() 2222 item->child_index++; in elementiter_next()
|
/external/v8/src/ |
D | objects.cc | 10759 int child_index = 2 * parent_index + 1; in Sort() local 10760 uint32_t child_hash = GetSortedKey(child_index)->Hash(); in Sort() 10761 if (child_index + 1 < len) { in Sort() 10762 uint32_t right_child_hash = GetSortedKey(child_index + 1)->Hash(); in Sort() 10764 child_index++; in Sort() 10769 SwapSortedKeys(parent_index, child_index); in Sort() 10771 parent_index = child_index; // parent_hash remains correct. in Sort() 10784 int child_index = parent_index * 2 + 1; in Sort() local 10785 uint32_t child_hash = GetSortedKey(child_index)->Hash(); in Sort() 10786 if (child_index + 1 < i) { in Sort() [all …]
|