Home
last modified time | relevance | path

Searched refs:new_tree (Results 1 – 9 of 9) 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/bcc/scripts/
Dgit-clang-format145 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/llvm-project/clang/tools/clang-format/
Dgit-clang-format159 new_tree = run_clang_format_and_save_to_tree(changed_lines,
165 new_tree = run_clang_format_and_save_to_tree(changed_lines,
170 print('new tree: %s' % new_tree)
171 if old_tree == new_tree:
175 print_diff(old_tree, new_tree)
177 changed_files = apply_changes(old_tree, new_tree, force=opts.force,
486 def print_diff(old_tree, new_tree): argument
495 subprocess.check_call(['git', 'diff', '--diff-filter=M', old_tree, new_tree,
499 def apply_changes(old_tree, new_tree, force=False, patch_mode=False): argument
506 new_tree).rstrip('\0').split('\0')
[all …]
/external/antlr/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/libchrome/libchrome_tools/uprev/
Ddirty_uprev.py55 new_tree = utils.git_mktree(new_files)
57 squashed = utils.git_commit(new_tree, [newroot])
Dgenerate_filtered_tree.py117 def verify_commit(original_commit, new_tree): argument
125 assert utils.git_mktree(expected_file_list) == 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()
/external/python/cpython3/Doc/library/
Dast.rst1735 new_tree = fix_missing_locations(RewriteName().visit(tree))