Home
last modified time | relevance | path

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

12345678910>>...12

/art/tools/checker/file_format/checker/
Dtest.py29 def try_parse(self, string): argument
33 def assertParses(self, string): argument
38 def assertIgnored(self, string): argument
43 def assertInvalid(self, string): argument
47 def test_ValidFormat(self): argument
51 def test_InvalidFormat(self): argument
60 def test_InvalidPrefix(self): argument
64 def test_NotFirstOnTheLine(self): argument
70 def test_WhitespaceAgnostic(self): argument
78 def parse_statement(self, string, variant=""): argument
[all …]
Dstruct.py25 def __init__(self, filename): argument
29 def add_test_case(self, new_test_case): argument
32 def test_cases_for_arch(self, target_arch): argument
35 def __eq__(self, other): argument
41 def __init__(self, parent, name, start_line_no, test_arch=None, for_debuggable=False): argument
57 def filename(self): argument
60 def add_statement(self, new_statement): argument
63 def __eq__(self, other): argument
74 def __init__(self, parent, variant, original_text, line_no): argument
86 def filename(self): argument
[all …]
/art/tools/checker/match/
Dtest.py30 def create_test_statement(self, checker_string): argument
35 def try_match(self, checker_string, c1_string, var_state={}): argument
40 def assertMatches(self, checker_string, c1_string, var_state={}): argument
43 def assertDoesNotMatch(self, checker_string, c1_string, var_state={}): argument
46 def test_TextAndWhitespace(self): argument
60 def test_Pattern(self): argument
65 def test_VariableReference(self): argument
74 def test_VariableDefinition(self): argument
88 def test_NoVariableRedefinition(self): argument
92 def test_EnvNotChangedOnPartialMatch(self): argument
[all …]
Dfile.py27 def __init__(self, statement, line_no, variables): argument
34 def __init__(self, msg, line_no): argument
69 def __init__(self): argument
72 def can_execute(self): argument
81 def handle(self, statement, variables): argument
97 def eof(self): argument
104 def _is_empty(self): argument
107 def _if(self, statement, variables): argument
116 def _elif(self, statement, variables): argument
132 def _else(self, statement): argument
[all …]
/art/build/apex/
Dart_apex_test.py73 def __init__(self, name, is_dir, is_exec, is_symlink, size): argument
80 def __str__(self): argument
86 def __init__(self, apex): argument
90 def get(self, path): argument
97 def read_dir(self, apex_dir): argument
119 def __init__(self, apex, tmpdir): argument
127 def __del__(self): argument
132 def get(self, path): argument
139 def read_dir(self, apex_dir): argument
148 def parse_zip(self): argument
[all …]
/art/tools/jfuzz/
Drun_jfuzz_test.py81 def description(self): argument
85 def id(self): argument
89 def output_file(self): argument
93 def GetBisectionSearchArgs(self): argument
102 def CompileAndRunTest(self): argument
120 def __init__(self, dexer, debug_info): argument
130 def CompileOnHost(self): argument
148 def __init__(self, debug_info): argument
157 def description(self): argument
161 def id(self): argument
[all …]
Drun_dex_fuzz_test.py43 def __init__(self, num_tests, num_inputs, device, dexer, debug_info): argument
64 def __enter__(self): argument
90 def __exit__(self, etype, evalue, etraceback): argument
95 def Run(self): argument
107 def CompileOnHost(self): argument
133 def GenerateJFuzzPrograms(self): argument
148 def RunDexFuzz(self): argument
/art/test/968-default-partial-compile-gen/util-src/
Dgenerate_smali.py87 def __init__(self): argument
93 def get_expected(self): argument
100 def add_test(self, ty): argument
106 def get_name(self): argument
112 def __str__(self): argument
216 def __init__(self, farg): argument
222 def get_expected(self): argument
238 def get_name(self): argument
244 def __str__(self): argument
276 def __init__(self, iface): argument
[all …]
/art/test/971-iface-super/util-src/
Dgenerate_smali.py87 def __init__(self): argument
93 def get_expected(self): argument
100 def add_test(self, ty): argument
106 def get_name(self): argument
112 def __str__(self): argument
181 def __init__(self, farg): argument
187 def get_expected(self): argument
193 def get_name(self): argument
199 def __str__(self): argument
215 def get_output_format(self): argument
[all …]
/art/test/970-iface-super-resolution-gen/util-src/
Dgenerate_smali.py86 def __init__(self): argument
92 def add_test(self, ty): argument
98 def get_expected(self): argument
105 def initial_build_different(self): argument
108 def get_name(self): argument
114 def __str__(self): argument
186 def __init__(self, farg): argument
192 def __str__(self): argument
200 def get_name(self): argument
206 def get_expected(self): argument
[all …]
/art/test/964-default-iface-init-gen/util-src/
Dgenerate_java.py66 def __init__(self): argument
72 def add_test(self, ty): argument
78 def get_expected(self): argument
85 def get_name(self): argument
91 def __str__(self): argument
138 def __init__(self, farg): argument
144 def __str__(self): argument
152 def get_name(self): argument
158 def get_expected(self): argument
194 def __init__(self, ifaces): argument
[all …]
/art/test/961-default-iface-resolution-gen/util-src/
Dgenerate_java.py69 def __init__(self): argument
75 def get_expected(self): argument
82 def add_test(self, ty): argument
88 def get_name(self): argument
94 def __str__(self): argument
132 def __init__(self, farg): argument
138 def get_expected(self): argument
145 def get_name(self): argument
151 def __str__(self): argument
170 def __init__(self, iface): argument
[all …]
/art/test/utils/python/testgen/
Dmixins.py31 def get_name(self): argument
43 def get_file_name(self): argument
48 def get_file_extension(self): argument
64 def get_file_name(self): argument
67 def get_file_extension(self): argument
94 def __lt__(self, other): argument
97 def __gt__(self, other): argument
100 def __eq__(self, other): argument
103 def __le__(self, other): argument
106 def __ge__(self, other): argument
[all …]
/art/tools/
Dpylibdexfile.py55 def __init__(self, name): argument
61 def __repr__(self): argument
65 def descriptor(self): argument
93 def __init__(self, mi): argument
98 def __repr__(self): argument
102 def descriptor(self): argument
119 def name_only(self): argument
127 def klass(self): argument
138 def __init__(self): argument
143 def methods(self): argument
[all …]
/art/runtime/base/
Dmutex-inl.h51 static inline pid_t SafeGetTid(const Thread* self) { in SafeGetTid()
91 inline void BaseMutex::RegisterAsLocked(Thread* self) { in RegisterAsLocked()
157 inline void BaseMutex::RegisterAsUnlocked(Thread* self) { in RegisterAsUnlocked()
177 inline void ReaderWriterMutex::SharedLock(Thread* self) { in SharedLock()
198 inline void ReaderWriterMutex::SharedUnlock(Thread* self) { in SharedUnlock()
226 inline bool Mutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld()
246 inline void Mutex::AssertExclusiveHeld(const Thread* self) const { in AssertExclusiveHeld()
252 inline void Mutex::AssertHeld(const Thread* self) const { in AssertHeld()
256 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld()
283 inline void ReaderWriterMutex::AssertExclusiveHeld(const Thread* self) const { in AssertExclusiveHeld()
[all …]
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc63 extern uint32_t JniMethodFastStart(Thread* self) { in JniMethodFastStart()
78 extern uint32_t JniMethodStart(Thread* self) { in JniMethodStart()
94 extern uint32_t JniMethodStartSynchronized(jobject to_lock, Thread* self) { in JniMethodStartSynchronized()
100 static void GoToRunnable(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in GoToRunnable()
109 ALWAYS_INLINE static inline void GoToRunnableFast(Thread* self) { in GoToRunnableFast()
126 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self) in PopLocalReferences()
137 static inline void UnlockJniSynchronizedMethod(jobject locked, Thread* self) in UnlockJniSynchronizedMethod()
162 extern void JniMethodEnd(uint32_t saved_local_ref_cookie, Thread* self) { in JniMethodEnd()
167 extern void JniMethodFastEnd(uint32_t saved_local_ref_cookie, Thread* self) { in JniMethodFastEnd()
174 Thread* self) { in JniMethodEndSynchronized()
[all …]
Dquick_throw_entrypoints.cc30 extern "C" NO_RETURN void artDeliverPendingExceptionFromCode(Thread* self) in artDeliverPendingExceptionFromCode()
36 extern "C" NO_RETURN uint64_t artInvokeObsoleteMethod(ArtMethod* method, Thread* self) in artInvokeObsoleteMethod()
46 extern "C" NO_RETURN void artDeliverExceptionFromCode(mirror::Throwable* exception, Thread* self) in artDeliverExceptionFromCode()
65 extern "C" NO_RETURN void artThrowNullPointerExceptionFromCode(Thread* self) in artThrowNullPointerExceptionFromCode()
75 extern "C" NO_RETURN void artThrowNullPointerExceptionFromSignal(uintptr_t addr, Thread* self) in artThrowNullPointerExceptionFromSignal()
83 extern "C" NO_RETURN void artThrowDivZeroFromCode(Thread* self) in artThrowDivZeroFromCode()
91 extern "C" NO_RETURN void artThrowArrayBoundsFromCode(int index, int length, Thread* self) in artThrowArrayBoundsFromCode()
99 extern "C" NO_RETURN void artThrowStringBoundsFromCode(int index, int length, Thread* self) in artThrowStringBoundsFromCode()
106 extern "C" NO_RETURN void artThrowStackOverflowFromCode(Thread* self) in artThrowStackOverflowFromCode()
115 Thread* self) in artThrowClassCastException()
[all …]
/art/tools/common/
Dcommon.py67 def symbol(self): argument
77 def __ge__(self, other): argument
82 def __gt__(self, other): argument
87 def __le__(self, other): argument
92 def __lt__(self, other): argument
231 def CreateFile(self, name=None): argument
244 def WriteLines(self, file_path, lines): argument
255 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument
266 def logfile(self): argument
279 def __init__(self, directory_prefix, cleanup=True, logfile_path=None, argument
[all …]
/art/tools/checker/file_format/c1visualizer/
Dstruct.py23 def __init__(self, filename): argument
29 def set_isa_features(self, features): argument
32 def add_pass(self, new_pass): argument
35 def find_pass(self, name): argument
41 def __eq__(self, other): argument
48 def __init__(self, parent, name, body, start_line_no): argument
62 def filename(self): argument
65 def __eq__(self, other): argument
Dtest.py27 def create_file(self, data): argument
42 def assertParsesTo(self, c1_text, expected_data): argument
47 def test_EmptyFile(self): argument
50 def test_SingleGroup(self): argument
66 def test_MultipleGroups(self): argument
117 def test_InstructionSetFeatures(self): argument
/art/tools/bisection_search/
Dbisection_test.py52 def setUp(self): argument
57 def MethodFailsForAllPasses(self, compiled_methods, run_passes=None): argument
60 def MethodFailsForAPass(self, compiled_methods, run_passes=None): argument
64 def testNeverFails(self): argument
69 def testAlwaysFails(self): argument
74 def testAMethodFailsForAllPasses(self): argument
79 def testAMethodFailsForAPass(self): argument
84 def testMandatoryPassPresent(self): argument
/art/test/utils/
Dregen-test-files505 def __init__(self, top_dir): argument
517 def enumerate_run_tests(self): argument
524 def is_buildable(self, run_test): argument
556 def regen_bp_files(self, run_tests, buildable_tests): argument
567 def regen_bp_file(self, run_test): argument
632 def regen_test_mapping_file(self, art_run_tests, num_presubmit_run_tests, argument
680 def create_mts_test_shard(self, description, tests, shard_num, copyright_year, comments = []): argument
688 def __init__(self, mts_config_dir, description, tests, shard_num, copyright_year, comments): argument
696 def shard_id(self): argument
699 def test_plan_name(self): argument
[all …]
/art/test/712-varhandle-invocations/util-src/
Dgenerate_java.py31 def __init__(self, name, examples, supports_bitwise=False, supports_numeric=False): argument
37 def is_value_type(self): argument
40 def __repr__(self): argument
43 def __str__(self): argument
47 …def __init__(self, name, boxed_type, examples, ordinal=-1, width=-1, supports_bitwise=True, suppor… argument
53 def boxing_method(self): argument
56 def unboxing_method(self): argument
59 def is_value_type(self): argument
62 def __eq__(self, other): argument
65 def __hash__(self): argument
[all …]
/art/test/648-many-direct-methods/util-src/
Dgenerate_java.py54 def __init__(self): argument
60 def add_test_method(self, num): argument
66 def get_name(self): argument
72 def __str__(self): argument
95 def __init__(self, farg): argument
101 def get_name(self): argument
107 def __str__(self): argument
/art/test/utils/python/
Dgenerate_java_main.py64 def __init__(self): argument
71 def add_instance(self, it): argument
77 def add_func(self, f): argument
83 def get_name(self): argument
89 def __str__(self): argument
132 def __init__(self, main, ty): argument
141 def get_name(self): argument
147 def add_func(self, f): argument
154 def __str__(self): argument
187 def __init__(self, func, farg, invoke): argument
[all …]

12345678910>>...12