Searched refs:new_tree (Results 1 – 5 of 5) sorted by relevance
/external/clang/tools/clang-format/ |
D | git-clang-format | 156 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/bcc/scripts/ |
D | git-clang-format | 145 new_tree = run_clang_format_and_save_to_tree(changed_lines, 150 print 'new tree:', new_tree 151 if old_tree == new_tree: 155 print_diff(old_tree, new_tree) 157 changed_files = apply_changes(old_tree, new_tree, force=opts.force, 416 def print_diff(old_tree, new_tree): argument 421 subprocess.check_call(['git', 'diff', old_tree, new_tree, '--']) 424 def apply_changes(old_tree, new_tree, force=False, patch_mode=False): argument 430 new_tree).rstrip('\0').split('\0') 447 subprocess.check_call(['git', 'checkout', '--patch', new_tree]) [all …]
|
/external/antlr/runtime/Ruby/lib/antlr3/ |
D | tree.rb | 372 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/ |
D | cil_tree.c | 150 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/ |
D | CilTest.c | 89 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()
|