Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 851) sorted by relevance

12345678910>>...35

/external/antlr/antlr-3.4/runtime/Python/tests/
Dt042ast.py16 def parserClass(self, base): argument
18 def recover(self, input, re): argument
25 def parse(self, text, method, rArgs=[], **kwargs): argument
39 def testR1(self): argument
47 def testR2a(self): argument
55 def testR2b(self): argument
63 def testR3a(self): argument
71 def testR3b(self): argument
79 def testR4a(self): argument
87 def testR5a(self): argument
[all …]
Dt058rewriteAST.py9 def parserClass(self, base): argument
11 def __init__(self, *args, **kwargs): argument
18 def capture(self, t): argument
22 def traceIn(self, ruleName, ruleIndex): argument
26 def traceOut(self, ruleName, ruleIndex): argument
30 def emitErrorMessage(self, msg): argument
37 def lexerClass(self, base): argument
39 def __init__(self, *args, **kwargs): argument
45 def capture(self, t): argument
49 def traceIn(self, ruleName, ruleIndex): argument
[all …]
Dt048rewrite.py11 def setUp(self): argument
15 def _parse(self, input): argument
24 def testInsertBeforeIndex0(self): argument
33 def testInsertAfterLastIndex(self): argument
42 def test2InsertBeforeAfterMiddleIndex(self): argument
52 def testReplaceIndex0(self): argument
61 def testReplaceLastIndex(self): argument
70 def testReplaceMiddleIndex(self): argument
79 def test2ReplaceMiddleIndex(self): argument
89 def test2ReplaceMiddleIndex1InsertBefore(self): argument
[all …]
Dt051treeRewriteAST.py8 def walkerClass(self, base): argument
10 def __init__(self, *args, **kwargs): argument
14 def traceIn(self, ruleName, ruleIndex): argument
18 def traceOut(self, ruleName, ruleIndex): argument
22 def recover(self, input, re): argument
29 def execTreeParser(self, grammar, grammarEntry, treeGrammar, treeEntry, input): argument
49 def testFlatList(self): argument
85 def testSimpleTree(self): argument
120 def testCombinedRewriteAndAuto(self): argument
164 def testAvoidDup(self): argument
[all …]
Dt057autoAST.py9 def parserClass(self, base): argument
11 def __init__(self, *args, **kwargs): argument
18 def capture(self, t): argument
22 def traceIn(self, ruleName, ruleIndex): argument
26 def traceOut(self, ruleName, ruleIndex): argument
30 def emitErrorMessage(self, msg): argument
37 def lexerClass(self, base): argument
39 def __init__(self, *args, **kwargs): argument
45 def capture(self, t): argument
49 def traceIn(self, ruleName, ruleIndex): argument
[all …]
Dt053hetero.py9 def parserClass(self, base): argument
11 def __init__(self, *args, **kwargs): argument
17 def capture(self, t): argument
21 def traceIn(self, ruleName, ruleIndex): argument
25 def traceOut(self, ruleName, ruleIndex): argument
29 def recover(self, input, re): argument
36 def lexerClass(self, base): argument
38 def __init__(self, *args, **kwargs): argument
44 def capture(self, t): argument
48 def traceIn(self, ruleName, ruleIndex): argument
[all …]
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py70 def __init__(self, bytes): argument
74 def ReadVarint(self): argument
83 def ReadSInt64(self): argument
88 def ReadFieldNumberAndWireType(self): argument
91 def ReadFloat(self): argument
96 def ReadDouble(self): argument
101 def EndOfStream(self): argument
107 def assertIs(self, values, others): argument
112 def testScalarConstructor(self): argument
123 def testRepeatedScalarConstructor(self): argument
[all …]
Dtext_format_test.py47 def ReadGolden(self, golden_filename): argument
53 def CompareToGoldenFile(self, text, golden_filename): argument
57 def CompareToGoldenText(self, text, golden_text): argument
60 def CompareToGoldenLines(self, text, golden_lines): argument
66 def testPrintAllFields(self): argument
73 def testPrintAllExtensions(self): argument
80 def testPrintMessageSet(self): argument
96 def testPrintExotic(self): argument
114 def testMessageToString(self): argument
119 def RemoveRedundantZeros(self, text): argument
[all …]
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
Dscm_unittest.py183 def setUp(self): argument
192 def tearDown(self): argument
197 def test_find_checkout_root(self): argument
215 def test_default_scm(self): argument
233 def setUp(self): argument
236 def tearDown(self): argument
239 def test_run_command_with_pipe(self): argument
256 def test_error_handlers(self): argument
278 def _create_patch(self, patch_contents): argument
288 def _setup_webkittools_scripts_symlink(self, local_scm): argument
[all …]
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtesttree.py15 def setUp(self): argument
19 def newStream(self, t): argument
24 def testSingleNode(self): argument
37 def testTwoChildrenOfNilRoot(self): argument
39 def __init__(self, token=None, ttype=None, x=None): argument
49 def __str__(self): argument
69 def test4Nodes(self): argument
86 def testList(self): argument
109 def testFlatList(self): argument
126 def testListWithOneNode(self): argument
[all …]
Dteststreams.py12 def testSize(self): argument
20 def testIndex(self): argument
28 def testConsume(self): argument
79 def testReset(self): argument
94 def testLA(self): argument
111 def testSubstring(self): argument
122 def testSeekForward(self): argument
150 def testMark(self): argument
167 def testReleaseLast(self): argument
186 def testReleaseNested(self): argument
[all …]
Dtesttreewizard.py17 def testNone(self): argument
25 def testList(self): argument
36 def testBegin(self): argument
46 def testEnd(self): argument
56 def testPercent(self): argument
66 def testDot(self): argument
76 def testColon(self): argument
86 def testEOF(self): argument
96 def testID(self): argument
106 def testARG(self): argument
[all …]
/external/webkit/Tools/Scripts/webkitpy/style/checkers/
Dcpp_unittest.py56 def __init__(self, assert_fn, filter=None): argument
65 def __call__(self, unused_linenum, category, confidence, message): argument
73 def results(self): argument
79 def result_list(self): argument
82 def verify_all_categories_are_seen(self): argument
100 def __init__(self, mock_file): argument
103 def open(self, unused_filename, unused_mode, unused_encoding, _): # NOLINT argument
112 def test_convert_to_lower_with_underscores(self): argument
120 def test_create_acronym(self): argument
125 def test_is_c_or_objective_c(self): argument
[all …]
/external/markdown/
Dregression-tests.py18 def setUp(self): argument
22 def testBlankInput(self): argument
26 def testWhitespaceOnly(self): argument
30 def testSimpleInput(self): argument
37 def setUp(self): argument
41 def testParseChunk(self): argument
48 def testParseDocument(self): argument
61 def setUp(self): argument
64 def testBlankState(self): argument
68 def testSetSate(self): argument
[all …]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dtest_expectations_unittest.py39 def test_result_was_expected(self): argument
68 def test_remove_pixel_failures(self): argument
85 def __init__(self, testFunc, setUp=None, tearDown=None, description=None): argument
91 def get_test(self, test_name): argument
94 def get_basic_tests(self): argument
102 def get_basic_expectations(self): argument
111 def parse_exp(self, expectations, overrides=None, is_lint_mode=False): argument
120 def assert_exp(self, test, result): argument
126 def test_basic(self): argument
135 def test_multiple_results(self): argument
[all …]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dwebkit.py53 def __init__(self, **kwargs): argument
62 def baseline_path(self): argument
65 def baseline_search_path(self): argument
68 def path_to_test_expectations_file(self): argument
72 def _build_driver(self): argument
76 def _check_driver(self): argument
83 def check_build(self, needs_http): argument
95 def _check_port_build(self): argument
99 def check_image_diff(self, override_step=None, logging=True): argument
106 def diff_image(self, expected_contents, actual_contents, argument
[all …]
Dbase_unittest.py48 def test_format_wdiff_output_as_html(self): argument
54 def test_wdiff_command(self): argument
69 def _file_with_contents(self, contents, encoding="utf-8"): argument
75 def test_pretty_patch_os_error(self): argument
87 def test_pretty_patch_script_error(self): argument
98 def test_run_wdiff(self): argument
143 def test_diff_text(self): argument
170 def test_default_configuration_notfound(self): argument
175 def test_layout_tests_skipping(self): argument
182 def test_setup_test_run(self): argument
[all …]
Dbase.py72 def __init__(self, **kwargs): argument
86 def __init__(self, port_name=None, options=None, argument
143 def wdiff_available(self): argument
146 def pretty_patch_available(self): argument
149 def default_child_processes(self): argument
154 def default_worker_model(self): argument
159 def baseline_path(self): argument
164 def baseline_search_path(self): argument
169 def check_build(self, needs_http): argument
174 def check_sys_deps(self, needs_http): argument
[all …]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/
Drun_webkit_tests_unittest.py143 def __init__(self, port, worker_number): argument
147 def poll(self): argument
151 def stop(self): argument
154 def run_test(self, test_input): argument
167 def create_driver(self, worker_number): argument
180 def test_accelerated_compositing(self): argument
185 def test_accelerated_2d_canvas(self): argument
190 def test_basic(self): argument
193 def test_batch_size(self): argument
198 def test_child_process_1(self): argument
[all …]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtree.py67 def __init__(self, elementDescription): argument
73 def getMessage(self): argument
80 def __init__(self, elementDescription=None): argument
114 def getChild(self, i): argument
118 def getChildCount(self): argument
122 def getParent(self): argument
127 def setParent(self, t): argument
133 def hasAncestor(self, ttype): argument
138 def getAncestor(self, ttype): argument
143 def getAncestors(self): argument
[all …]
Dtokens.py44 def getText(self): argument
51 def setText(self, text): argument
59 def getType(self): argument
66 def setType(self, ttype): argument
74 def getLine(self): argument
83 def setLine(self, line): argument
91 def getCharPositionInLine(self): argument
100 def setCharPositionInLine(self, pos): argument
108 def getChannel(self): argument
115 def setChannel(self, channel): argument
[all …]
/external/webkit/Tools/Scripts/webkitpy/style/
Dchecker_unittest.py79 def setUp(self): argument
99 def tearDown(self): argument
110 def assert_log_messages(self, messages): argument
121 def test_warning_message(self): argument
125 def test_below_warning_message(self): argument
133 def test_debug_message(self): argument
137 def test_two_messages(self): argument
149 def test_debug_message(self): argument
158 def _all_categories(self): argument
161 def defaults(self): argument
[all …]
/external/protobuf/python/
Dmox.py79 def __init__(self, expected_methods): argument
96 def __str__(self): argument
109 def __init__(self, unexpected_method, expected): argument
125 def __str__(self): argument
133 def __init__(self, unknown_method_name): argument
145 def __str__(self): argument
158 def __init__(self): argument
164 def CreateMock(self, class_to_mock): argument
179 def CreateMockAnything(self): argument
189 def ReplayAll(self): argument
[all …]
/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/
Dattachment.py38 def __init__(self, attachment_dictionary, bug): argument
44 def _bugzilla(self): argument
47 def id(self): argument
50 def attacher_is_committer(self): argument
54 def attacher_email(self): argument
57 def bug(self): argument
60 def bug_id(self): argument
63 def is_patch(self): argument
66 def is_obsolete(self): argument
69 def is_rollout(self): argument
[all …]
/external/chromium/net/tools/testserver/
Dtestserver.py65 def serve_forever(self): argument
75 def __init__(self, server_address, request_hander_class, cert_path, argument
97 def handshake(self, tlsConnection): argument
119 def __init__(self, server_address, request_handler_class): argument
131 def HandleCommand(self, query, raw_request): argument
134 def HandleRequestNoBlock(self): argument
150 def serve_forever(self): argument
213 def __init__(self, request, client_address, socket_server, argument
222 def log_request(self, *args, **kwargs): argument
226 def _ShouldHandleRequest(self, handler_name): argument
[all …]

12345678910>>...35