Home
last modified time | relevance | path

Searched refs:new_tree (Results 1 – 4 of 4) sorted by relevance

/external/clang/tools/clang-format/
Dgit-clang-format156 new_tree = run_clang_format_and_save_to_tree(changed_lines,
162 new_tree = run_clang_format_and_save_to_tree(changed_lines,
167 print 'new tree:', new_tree
168 if old_tree == new_tree:
172 print_diff(old_tree, new_tree)
174 changed_files = apply_changes(old_tree, new_tree, force=opts.force,
458 def print_diff(old_tree, new_tree): argument
467 subprocess.check_call(['git', 'diff', '--diff-filter=M', old_tree, new_tree,
471 def apply_changes(old_tree, new_tree, force=False, patch_mode=False): argument
478 new_tree).rstrip('\0').split('\0')
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtree.rb372 def replace_children( start, stop, new_tree ) argument
380 new_children = new_tree.flat_list? ? new_tree : [ new_tree ]
712 new_tree = copy_node( tree )
713 set_child_index( new_tree, child_index( tree ) )
714 set_parent( new_tree, parent )
716 new_sub_tree = copy_tree( child, new_tree )
717 add_child( new_tree, new_sub_tree )
719 return new_tree
/external/selinux/libsepol/cil/src/
Dcil_tree.c150 struct cil_tree *new_tree = cil_malloc(sizeof(*new_tree)); in cil_tree_init() local
152 cil_tree_node_init(&new_tree->root); in cil_tree_init()
154 *tree = new_tree; in cil_tree_init()
/external/selinux/libsepol/cil/test/unit/
DCilTest.c89 struct cil_tree *new_tree = malloc(sizeof(*new_tree)); in gen_test_tree() local
92 cil_tree_init(&new_tree); in gen_test_tree()
93 new_tree->root->flavor = CIL_ROOT; in gen_test_tree()
94 current = new_tree->root; in gen_test_tree()
129 *test_root = new_tree; in gen_test_tree()