Home
last modified time | relevance | path

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

12345678910

/art/tools/checker/file_format/checker/
Dtest.py29 def tryParse(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 parseAssertion(self, string, variant=""): argument
[all …]
Dstruct.py22 def __init__(self, fileName): argument
26 def addTestCase(self, new_test_case): argument
29 def testCasesForArch(self, targetArch): argument
32 def __eq__(self, other): argument
39 def __init__(self, parent, name, startLineNo, testArch = None, forDebuggable = False): argument
55 def fileName(self): argument
58 def addAssertion(self, new_assertion): argument
68 def __eq__(self, other): argument
80 def __init__(self, parent, variant, originalText, lineNo): argument
92 def fileName(self): argument
[all …]
/art/tools/checker/match/
Dtest.py31 def createTestAssertion(self, checkerString): argument
36 def tryMatch(self, checkerString, c1String, varState={}): argument
41 def assertMatches(self, checkerString, c1String, varState={}): argument
44 def assertDoesNotMatch(self, checkerString, c1String, varState={}): argument
47 def test_TextAndWhitespace(self): argument
61 def test_Pattern(self): argument
66 def test_VariableReference(self): argument
75 def test_VariableDefinition(self): argument
89 def test_NoVariableRedefinition(self): argument
93 def test_EnvNotChangedOnPartialMatch(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, use_dx): argument
130 def CompileOnHost(self): argument
148 def description(self): argument
152 def id(self): argument
155 def CompileAndRunTest(self): argument
[all …]
Drun_dex_fuzz_test.py43 def __init__(self, num_tests, num_inputs, device): argument
60 def __enter__(self): argument
86 def __exit__(self, etype, evalue, etraceback): argument
91 def Run(self): argument
104 def GenerateJFuzzPrograms(self): argument
124 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/runtime/base/
Dmutex-inl.h47 static inline uint64_t SafeGetTid(const Thread* self) { in SafeGetTid()
83 inline void BaseMutex::RegisterAsLocked(Thread* self) { in RegisterAsLocked()
116 inline void BaseMutex::RegisterAsUnlocked(Thread* self) { in RegisterAsUnlocked()
129 inline void ReaderWriterMutex::SharedLock(Thread* self) { in SharedLock()
150 inline void ReaderWriterMutex::SharedUnlock(Thread* self) { in SharedUnlock()
181 inline bool Mutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld()
197 inline void Mutex::AssertExclusiveHeld(const Thread* self) const { in AssertExclusiveHeld()
203 inline void Mutex::AssertHeld(const Thread* self) const { in AssertHeld()
207 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld()
234 inline void ReaderWriterMutex::AssertExclusiveHeld(const Thread* self) const { in AssertExclusiveHeld()
[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
239 def CreateFile(self, name=None): argument
252 def WriteLines(self, file_path, lines): argument
263 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): argument
274 def logfile(self): argument
287 def __init__(self, directory_prefix, cleanup=True, logfile_path=None, argument
[all …]
/art/runtime/entrypoints/quick/
Dquick_throw_entrypoints.cc26 extern "C" NO_RETURN void artDeliverPendingExceptionFromCode(Thread* self) in artDeliverPendingExceptionFromCode()
32 extern "C" NO_RETURN uint64_t artInvokeObsoleteMethod(ArtMethod* method, Thread* self) in artInvokeObsoleteMethod()
42 extern "C" NO_RETURN void artDeliverExceptionFromCode(mirror::Throwable* exception, Thread* self) in artDeliverExceptionFromCode()
61 extern "C" NO_RETURN void artThrowNullPointerExceptionFromCode(Thread* self) in artThrowNullPointerExceptionFromCode()
71 extern "C" NO_RETURN void artThrowNullPointerExceptionFromSignal(uintptr_t addr, Thread* self) in artThrowNullPointerExceptionFromSignal()
79 extern "C" NO_RETURN void artThrowDivZeroFromCode(Thread* self) in artThrowDivZeroFromCode()
87 extern "C" NO_RETURN void artThrowArrayBoundsFromCode(int index, int length, Thread* self) in artThrowArrayBoundsFromCode()
95 extern "C" NO_RETURN void artThrowStringBoundsFromCode(int index, int length, Thread* self) in artThrowStringBoundsFromCode()
102 extern "C" NO_RETURN void artThrowStackOverflowFromCode(Thread* self) in artThrowStackOverflowFromCode()
111 Thread* self) in artThrowClassCastException()
[all …]
Dquick_jni_entrypoints.cc50 extern uint32_t JniMethodFastStart(Thread* self) { in JniMethodFastStart()
65 extern uint32_t JniMethodStart(Thread* self) { in JniMethodStart()
78 extern uint32_t JniMethodStartSynchronized(jobject to_lock, Thread* self) { in JniMethodStartSynchronized()
84 static void GoToRunnable(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in GoToRunnable()
96 ALWAYS_INLINE static inline void GoToRunnableFast(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in GoToRunnableFast()
118 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self) in PopLocalReferences()
132 extern void JniMethodEnd(uint32_t saved_local_ref_cookie, Thread* self) { in JniMethodEnd()
137 extern void JniMethodFastEnd(uint32_t saved_local_ref_cookie, Thread* self) { in JniMethodFastEnd()
144 Thread* self) { in JniMethodEndSynchronized()
153 Thread* self) in JniMethodEndWithReferenceHandleResult()
[all …]
/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/runtime/openjdkjvmti/
Dti_monitor.cc57 static bool Destroy(art::Thread* self, JvmtiMonitor* monitor) NO_THREAD_SAFETY_ANALYSIS { in Destroy()
74 void MonitorEnter(art::Thread* self) NO_THREAD_SAFETY_ANALYSIS { in MonitorEnter()
89 bool MonitorExit(art::Thread* self) NO_THREAD_SAFETY_ANALYSIS { in MonitorExit()
103 bool Wait(art::Thread* self) { in Wait()
110 bool Wait(art::Thread* self, uint64_t timeout_in_ms) { in Wait()
117 bool Notify(art::Thread* self) { in Notify()
121 bool NotifyAll(art::Thread* self) { in NotifyAll()
126 bool IsOwner(art::Thread* self) { in IsOwner()
135 bool Wait(art::Thread* self, T how_to_wait) { in Wait()
160 bool Notify(art::Thread* self, T how_to_notify) { in Notify()
[all …]
/art/tools/checker/file_format/c1visualizer/
Dstruct.py20 def __init__(self, fileName): argument
24 def addPass(self, new_pass): argument
27 def findPass(self, name): argument
33 def __eq__(self, other): argument
40 def __init__(self, parent, name, body, startLineNo): argument
54 def fileName(self): argument
57 def __eq__(self, other): argument
Dtest.py26 def createFile(self, passList): argument
38 def assertParsesTo(self, c1Text, expectedData): argument
43 def test_EmptyFile(self): argument
46 def test_SingleGroup(self): argument
60 def test_MultipleGroups(self): argument
/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 …]
/art/tools/
Dstream-trace-converter.py71 def PrintHeader(self, header): argument
78 def ProcessDataHeader(self, input, body): argument
114 def ProcessMethod(self, input): argument
120 def ProcessThread(self, input): argument
127 def ProcessTraceSummary(self, input): argument
133 def ProcessSpecial(self, input): argument
144 def Process(self, input, body): argument
157 def Finalize(self, header): argument
181 def ProcessFile(self, filename): argument
/art/runtime/interpreter/mterp/
Dmterp.cc47 void InitMterpTls(Thread* self) { in InitMterpTls()
154 extern "C" size_t MterpInvokeVirtual(Thread* self, in MterpInvokeVirtual()
165 extern "C" size_t MterpInvokeSuper(Thread* self, in MterpInvokeSuper()
176 extern "C" size_t MterpInvokeInterface(Thread* self, in MterpInvokeInterface()
187 extern "C" size_t MterpInvokeDirect(Thread* self, in MterpInvokeDirect()
198 extern "C" size_t MterpInvokeStatic(Thread* self, in MterpInvokeStatic()
209 extern "C" size_t MterpInvokeVirtualRange(Thread* self, in MterpInvokeVirtualRange()
220 extern "C" size_t MterpInvokeSuperRange(Thread* self, in MterpInvokeSuperRange()
231 extern "C" size_t MterpInvokeInterfaceRange(Thread* self, in MterpInvokeInterfaceRange()
242 extern "C" size_t MterpInvokeDirectRange(Thread* self, in MterpInvokeDirectRange()
[all …]
/art/runtime/gc/
Dreference_processor.cc54 void ReferenceProcessor::DisableSlowPath(Thread* self) { in DisableSlowPath()
59 void ReferenceProcessor::BroadcastForSlowPath(Thread* self) { in BroadcastForSlowPath()
64 ObjPtr<mirror::Object> ReferenceProcessor::GetReferent(Thread* self, in GetReferent()
115 void ReferenceProcessor::StartPreservingReferences(Thread* self) { in StartPreservingReferences()
120 void ReferenceProcessor::StopPreservingReferences(Thread* self) { in StopPreservingReferences()
133 Thread* self = Thread::Current(); in ProcessReferences() local
228 Thread* self = Thread::Current(); in DelayReferenceReferent() local
268 void ReferenceProcessor::EnqueueClearedReferences(Thread* self) { in EnqueueClearedReferences()
294 Thread* self = Thread::Current(); in ClearReferent() local
308 void ReferenceProcessor::WaitUntilDoneProcessingReferences(Thread* self) { in WaitUntilDoneProcessingReferences()
[all …]
/art/runtime/
Dbarrier.cc32 void Barrier::Pass(Thread* self) { in Pass()
37 void Barrier::Wait(Thread* self) { in Wait()
41 void Barrier::Init(Thread* self, int count) { in Init()
46 void Barrier::Increment(Thread* self, int delta) { in Increment()
62 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { in Increment()
83 int Barrier::GetCount(Thread* self) { in GetCount()
88 void Barrier::SetCountLocked(Thread* self, int count) { in SetCountLocked()

12345678910