/art/tools/checker/file_format/checker/ |
D | test.py | 29 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 …]
|
D | struct.py | 22 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/ |
D | test.py | 31 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/build/apex/ |
D | art_apex_test.py | 31 def __init__(self, name, is_dir, is_exec, is_symlink): argument 37 def __str__(self): argument 42 def __init__(self, apex, tmpdir, debugfs): argument 51 def __del__(self): argument 56 def get(self, path): argument 63 def read_dir(self, apex_dir): argument 116 def __init__(self, apex, tmpdir): argument 124 def __del__(self): argument 129 def get(self, path): argument 136 def read_dir(self, apex_dir): argument [all …]
|
/art/tools/jfuzz/ |
D | run_jfuzz_test.py | 81 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 …]
|
D | run_dex_fuzz_test.py | 43 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/ |
D | generate_smali.py | 87 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/ |
D | generate_smali.py | 87 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/ |
D | generate_smali.py | 86 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/ |
D | generate_java.py | 66 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/ |
D | generate_java.py | 69 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/ |
D | mixins.py | 31 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/ |
D | mutex-inl.h | 51 static inline pid_t SafeGetTid(const Thread* self) { in SafeGetTid() 89 inline void BaseMutex::RegisterAsLocked(Thread* self) { in RegisterAsLocked() 155 inline void BaseMutex::RegisterAsUnlocked(Thread* self) { in RegisterAsUnlocked() 175 inline void ReaderWriterMutex::SharedLock(Thread* self) { in SharedLock() 196 inline void ReaderWriterMutex::SharedUnlock(Thread* self) { in SharedUnlock() 227 inline bool Mutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() 247 inline void Mutex::AssertExclusiveHeld(const Thread* self) const { in AssertExclusiveHeld() 253 inline void Mutex::AssertHeld(const Thread* self) const { in AssertHeld() 257 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() 284 inline void ReaderWriterMutex::AssertExclusiveHeld(const Thread* self) const { in AssertExclusiveHeld() [all …]
|
D | mutex.h | 171 void Lock(Thread* self) ACQUIRE() { ExclusiveLock(self); } in Lock() 175 bool TryLock(Thread* self) TRY_ACQUIRE(true) { return ExclusiveTryLock(self); } in TryLock() 179 void Unlock(Thread* self) RELEASE() { ExclusiveUnlock(self); } in Unlock() 189 void AssertNotHeldExclusive(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeldExclusive() 194 void AssertNotHeld(const Thread* self) ASSERT_CAPABILITY(!*this) { in AssertNotHeld() 282 void WriterLock(Thread* self) ACQUIRE() { ExclusiveLock(self); } in WriterLock() 286 void WriterUnlock(Thread* self) RELEASE() { ExclusiveUnlock(self); } in WriterUnlock() 297 void ReaderLock(Thread* self) ACQUIRE_SHARED() { SharedLock(self); } in ReaderLock() 304 void ReaderUnlock(Thread* self) RELEASE_SHARED() { SharedUnlock(self); } in ReaderUnlock() 314 void AssertNotExclusiveHeld(const Thread* self) ASSERT_CAPABILITY(!this) { in AssertNotExclusiveHeld() [all …]
|
/art/tools/common/ |
D | common.py | 67 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/test/712-varhandle-invocations/util-src/ |
D | generate_java.py | 31 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/runtime/entrypoints/quick/ |
D | quick_throw_entrypoints.cc | 30 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 …]
|
D | quick_jni_entrypoints.cc | 51 extern uint32_t JniMethodFastStart(Thread* self) { in JniMethodFastStart() 66 extern uint32_t JniMethodStart(Thread* self) { in JniMethodStart() 82 extern uint32_t JniMethodStartSynchronized(jobject to_lock, Thread* self) { in JniMethodStartSynchronized() 88 static void GoToRunnable(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in GoToRunnable() 98 ALWAYS_INLINE static inline void GoToRunnableFast(Thread* self) { in GoToRunnableFast() 115 static void PopLocalReferences(uint32_t saved_local_ref_cookie, Thread* self) in PopLocalReferences() 129 extern void JniMethodEnd(uint32_t saved_local_ref_cookie, Thread* self) { in JniMethodEnd() 134 extern void JniMethodFastEnd(uint32_t saved_local_ref_cookie, Thread* self) { in JniMethodFastEnd() 141 Thread* self) { in JniMethodEndSynchronized() 150 Thread* self) in JniMethodEndWithReferenceHandleResult() [all …]
|
/art/tools/bisection_search/ |
D | bisection_test.py | 52 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/tools/checker/file_format/c1visualizer/ |
D | struct.py | 20 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
|
D | test.py | 26 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/ |
D | generate_java.py | 54 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/ |
D | generate_java_main.py | 64 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/openjdkjvmti/ |
D | ti_monitor.cc | 62 static bool Destroy(art::Thread* self, JvmtiMonitor* monitor) NO_THREAD_SAFETY_ANALYSIS { in Destroy() 79 void MonitorEnter(art::Thread* self, bool suspend) NO_THREAD_SAFETY_ANALYSIS { in MonitorEnter() 124 bool MonitorExit(art::Thread* self) NO_THREAD_SAFETY_ANALYSIS { in MonitorExit() 138 bool Wait(art::Thread* self) { in Wait() 145 bool Wait(art::Thread* self, uint64_t timeout_in_ms) { in Wait() 152 bool Notify(art::Thread* self) { in Notify() 156 bool NotifyAll(art::Thread* self) { in NotifyAll() 170 bool Wait(art::Thread* self, T how_to_wait) { in Wait() 204 bool Notify(art::Thread* self, T how_to_notify) { in Notify() 247 art::Thread* self = art::Thread::Current(); in DestroyRawMonitor() local [all …]
|
/art/tools/ |
D | stream-trace-converter.py | 71 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
|