Home
last modified time | relevance | path

Searched refs:refactor (Results 1 – 25 of 58) sorted by relevance

123

/external/python/cpython2/Lib/lib2to3/tests/
Dtest_refactor.py18 from lib2to3 import refactor, pygram, fixer_base
29 _DEFAULT_FIXERS = refactor.get_fixers_from_package("myfixes")
33 _2TO3_FIXERS = refactor.get_fixers_from_package("lib2to3.fixes")
49 return refactor.RefactoringTool(fixers, options, explicit)
65 non_prefixed = refactor.get_all_fix_names("myfixes")
66 prefixed = refactor.get_all_fix_names("myfixes", False)
67 full_names = refactor.get_fixers_from_package("myfixes")
74 run = refactor._detect_future_features
131 d = refactor._get_headnode_dict([no_head, with_head, simple])
153 self.assertRaises(refactor.FixerError, self.rt, fixers=["no_fixer_cls"])
[all …]
Dtest_all_fixers.py12 from lib2to3 import refactor
19 self.refactor = support.get_refactorer()
23 self.refactor.refactor_file(filepath)
Dsupport.py13 from lib2to3 import pytree, refactor
44 fixers = refactor.get_fixers_from_package(fixer_pkg + ".fixes")
46 return refactor.RefactoringTool(fixers, options, explicit=True)
Dtest_fixers.py10 from lib2to3 import pygram, pytree, refactor, fixer_util
21 self.refactor = support.get_refactorer(fixer_pkg, fix_list, options)
25 for fixer in chain(self.refactor.pre_order,
26 self.refactor.post_order):
32 tree = self.refactor.refactor_string(before, self.filename)
389 self.refactor.driver.grammar = pygram.python_grammar_no_print_statement
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
D__init__.py6 from py_utils.refactor.annotated_symbol.class_definition import *
7 from py_utils.refactor.annotated_symbol.function_definition import *
8 from py_utils.refactor.annotated_symbol.import_statement import *
9 from py_utils.refactor.annotated_symbol.reference import *
10 from py_utils.refactor import snippet
Dreference.py9 from py_utils.refactor.annotated_symbol import base_symbol
10 from py_utils.refactor import snippet
Dbase_symbol.py5 from py_utils.refactor import snippet
Dclass_definition.py7 from py_utils.refactor.annotated_symbol import base_symbol
Dfunction_definition.py7 from py_utils.refactor.annotated_symbol import base_symbol
Dimport_statement.py10 from py_utils.refactor.annotated_symbol import base_symbol
11 from py_utils.refactor import snippet
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor_util/
Dmove.py9 from py_utils import refactor
24 refactor.Transform(functools.partial(_Update, moves), files_to_update)
32 for import_statement in module.FindAll(refactor.Import):
91 for reference in module.FindAll(refactor.Reference):
/external/python/cpython2/Lib/lib2to3/
Dmain.py14 from . import refactor
26 class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):
199 for fixname in refactor.get_all_fix_names(fixer_pkg):
221 avail_fixes = set(refactor.get_fixers_from_package(fixer_pkg))
259 rt.refactor(args, options.write, options.doctests_only,
261 except refactor.MultiprocessingUnsupported:
Drefactor.py294 def refactor(self, items, write=False, doctests_only=False): member in RefactoringTool
702 def refactor(self, items, write=False, doctests_only=False, member in MultiprocessRefactoringTool
705 return super(MultiprocessRefactoringTool, self).refactor(
720 super(MultiprocessRefactoringTool, self).refactor(items, write,
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
D__init__.py15 from py_utils.refactor.annotated_symbol import *
16 from py_utils.refactor.module import Module
Dmodule.py5 from py_utils.refactor import annotated_symbol
Dsnippet.py11 from py_utils.refactor import offset_token
/external/llvm/test/CodeGen/X86/
Dvbinop-simplify-bug.ll4 ; DAGCombiner::SimplifyVBinOp in an attempt to refactor some code
/external/markdown/docs/
DAUTHORS10 included a complete refactor of the core.
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DRewriteRuleSubtreeStream.as46 * a proper way to refactor. This needs to always call dup node
/external/autotest/utils/
Dpylintrc93 # all_failures = error + warning + refactor + convention
/external/antlr/antlr-3.4/runtime/Python/
Dpylintrc97 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMRegisterInfo.td230 // FIXME: It would be better to not use this at all and refactor the
/external/libedit/m4/
Dlibtool.m42250 version_type=linux # correct to gnu/linux during the next big refactor
2259 version_type=linux # correct to gnu/linux during the next big refactor
2324 version_type=linux # correct to gnu/linux during the next big refactor
2463 version_type=linux # correct to gnu/linux during the next big refactor
2516 version_type=linux # correct to gnu/linux during the next big refactor
2527 version_type=linux # correct to gnu/linux during the next big refactor
2588 version_type=linux # correct to gnu/linux during the next big refactor
2604 version_type=linux # correct to gnu/linux during the next big refactor
2643 version_type=linux # correct to gnu/linux during the next big refactor
2706 version_type=linux # correct to gnu/linux during the next big refactor
[all …]
/external/libcap-ng/libcap-ng-0.7/m4/
Dlibtool.m42250 version_type=linux # correct to gnu/linux during the next big refactor
2259 version_type=linux # correct to gnu/linux during the next big refactor
2324 version_type=linux # correct to gnu/linux during the next big refactor
2463 version_type=linux # correct to gnu/linux during the next big refactor
2516 version_type=linux # correct to gnu/linux during the next big refactor
2527 version_type=linux # correct to gnu/linux during the next big refactor
2588 version_type=linux # correct to gnu/linux during the next big refactor
2604 version_type=linux # correct to gnu/linux during the next big refactor
2643 version_type=linux # correct to gnu/linux during the next big refactor
2710 version_type=linux # correct to gnu/linux during the next big refactor
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/m4/
Dlibtool.m42250 version_type=linux # correct to gnu/linux during the next big refactor
2259 version_type=linux # correct to gnu/linux during the next big refactor
2324 version_type=linux # correct to gnu/linux during the next big refactor
2463 version_type=linux # correct to gnu/linux during the next big refactor
2516 version_type=linux # correct to gnu/linux during the next big refactor
2527 version_type=linux # correct to gnu/linux during the next big refactor
2588 version_type=linux # correct to gnu/linux during the next big refactor
2604 version_type=linux # correct to gnu/linux during the next big refactor
2643 version_type=linux # correct to gnu/linux during the next big refactor
2718 version_type=linux # correct to gnu/linux during the next big refactor
[all …]

123