/art/runtime/ |
D | runtime_linux.cc | 54 struct sigaction action; in HandleUnexpectedSignalLinux() local 55 memset(&action, 0, sizeof(action)); in HandleUnexpectedSignalLinux() 56 sigemptyset(&action.sa_mask); in HandleUnexpectedSignalLinux() 57 action.sa_handler = SIG_DFL; in HandleUnexpectedSignalLinux() 58 sigaction(signal_number, &action, nullptr); in HandleUnexpectedSignalLinux()
|
D | runtime_common.cc | 524 struct sigaction action; in InitPlatformSignalHandlersCommon() local 525 memset(&action, 0, sizeof(action)); in InitPlatformSignalHandlersCommon() 526 sigemptyset(&action.sa_mask); in InitPlatformSignalHandlersCommon() 527 action.sa_sigaction = newact; in InitPlatformSignalHandlersCommon() 529 action.sa_flags |= SA_SIGINFO; in InitPlatformSignalHandlersCommon() 531 action.sa_flags |= SA_ONSTACK; in InitPlatformSignalHandlersCommon() 534 rc += sigaction(SIGABRT, &action, oldact); in InitPlatformSignalHandlersCommon() 535 rc += sigaction(SIGBUS, &action, oldact); in InitPlatformSignalHandlersCommon() 536 rc += sigaction(SIGFPE, &action, oldact); in InitPlatformSignalHandlersCommon() 537 rc += sigaction(SIGILL, &action, oldact); in InitPlatformSignalHandlersCommon() [all …]
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 116 struct sigaction action; in Java_Main_initSignalTest() local 117 action.sa_sigaction = signalhandler; in Java_Main_initSignalTest() 118 sigfillset(&action.sa_mask); in Java_Main_initSignalTest() 119 sigdelset(&action.sa_mask, UNBLOCKED_SIGNAL); in Java_Main_initSignalTest() 120 action.sa_flags = SA_SIGINFO | SA_ONSTACK; in Java_Main_initSignalTest() 122 action.sa_restorer = nullptr; in Java_Main_initSignalTest() 125 sigaction(SIGSEGV, &action, &oldaction); in Java_Main_initSignalTest() 128 if (!compare_sigaction(&check, &action)) { in Java_Main_initSignalTest() 131 *reinterpret_cast<void**>(&action.sa_mask), in Java_Main_initSignalTest() 134 action.sa_sigaction, check.sa_sigaction); in Java_Main_initSignalTest() [all …]
|
/art/ |
D | test.py | 32 parser.add_argument('--run-test', '-r', action='store_true', dest='run_test', help='execute run tes… 33 parser.add_argument('--gtest', '-g', action='store_true', dest='gtest', help='execute gtest tests') 34 parser.add_argument('--target', action='store_true', dest='target', help='test on target system') 35 parser.add_argument('--host', action='store_true', dest='host', help='test on build host system') 36 parser.add_argument('--help-runner', action='store_true', dest='help_runner', help='show help for o…
|
/art/test/1930-monitor-info/src/art/ |
D | Monitors.java | 124 private final AtomicStampedReference<Action> action; field in Monitors.LockController 137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController() 157 int stamp = action.getStamp(); in setAction() 159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction() 160 stamp = action.getStamp(); in setAction() 196 cur_action = action.get(stamp_h); in DoLock() 220 throw new Error("Unknown action " + action); in DoLock() 224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock() 307 while (action.getReference() != Action.HOLD) { checkException(); } in waitForActionToFinish() 322 action.set(Action.HOLD, 0); in DoUnlock() [all …]
|
/art/test/1931-monitor-events/src/art/ |
D | Monitors.java | 124 private final AtomicStampedReference<Action> action; field in Monitors.LockController 137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController() 157 int stamp = action.getStamp(); in setAction() 159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction() 160 stamp = action.getStamp(); in setAction() 196 cur_action = action.get(stamp_h); in DoLock() 220 throw new Error("Unknown action " + action); in DoLock() 224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock() 307 while (action.getReference() != Action.HOLD) { checkException(); } in waitForActionToFinish() 322 action.set(Action.HOLD, 0); in DoUnlock() [all …]
|
/art/test/1933-monitor-current-contended/src/art/ |
D | Monitors.java | 124 private final AtomicStampedReference<Action> action; field in Monitors.LockController 137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController() 157 int stamp = action.getStamp(); in setAction() 159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction() 160 stamp = action.getStamp(); in setAction() 196 cur_action = action.get(stamp_h); in DoLock() 220 throw new Error("Unknown action " + action); in DoLock() 224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock() 307 while (action.getReference() != Action.HOLD) { checkException(); } in waitForActionToFinish() 322 action.set(Action.HOLD, 0); in DoUnlock() [all …]
|
/art/test/1934-jvmti-signal-thread/src/art/ |
D | Monitors.java | 124 private final AtomicStampedReference<Action> action; field in Monitors.LockController 137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController() 157 int stamp = action.getStamp(); in setAction() 159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction() 160 stamp = action.getStamp(); in setAction() 196 cur_action = action.get(stamp_h); in DoLock() 220 throw new Error("Unknown action " + action); in DoLock() 224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock() 307 while (action.getReference() != Action.HOLD) { checkException(); } in waitForActionToFinish() 322 action.set(Action.HOLD, 0); in DoUnlock() [all …]
|
/art/test/1932-monitor-events-misc/src/art/ |
D | Monitors.java | 124 private final AtomicStampedReference<Action> action; field in Monitors.LockController 137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController() 157 int stamp = action.getStamp(); in setAction() 159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction() 160 stamp = action.getStamp(); in setAction() 196 cur_action = action.get(stamp_h); in DoLock() 220 throw new Error("Unknown action " + action); in DoLock() 224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock() 307 while (action.getReference() != Action.HOLD) { checkException(); } in waitForActionToFinish() 322 action.set(Action.HOLD, 0); in DoUnlock() [all …]
|
/art/test/jvmti-common/ |
D | Monitors.java | 124 private final AtomicStampedReference<Action> action; field in Monitors.LockController 137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController() 157 int stamp = action.getStamp(); in setAction() 159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction() 160 stamp = action.getStamp(); in setAction() 196 cur_action = action.get(stamp_h); in DoLock() 220 throw new Error("Unknown action " + action); in DoLock() 224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock() 307 while (action.getReference() != Action.HOLD) { checkException(); } in waitForActionToFinish() 322 action.set(Action.HOLD, 0); in DoUnlock() [all …]
|
/art/sigchainlib/ |
D | sigchain_test.cc | 59 art::AddSpecialSignalHandlerFn(SIGSEGV, &action); in SetUp() 63 art::RemoveSpecialSignalHandlerFn(SIGSEGV, action.sc_sigaction); in TearDown() 66 art::SigchainAction action = { member in SigchainTest 218 struct sigaction action = {}; in TEST_F() local 219 action.sa_flags = SA_SIGINFO; in TEST_F() 220 action.sa_sigaction = [](int, siginfo_t*, void*) { called = 1; }; in TEST_F() 222 ASSERT_EQ(0, sigaction(SIGSEGV, &action, nullptr)); in TEST_F()
|
/art/tools/ |
D | wrap-logcat.py | 28 action='store', 31 action='store', 37 action='store',
|
D | buildbot-teardown-device.sh | 47 local action=$1 54 $action "$pid" "$cmdline"
|
/art/tools/runtime_memusage/ |
D | prune_sanitizer_output.py | 105 parser.add_argument("-d", action="store", 108 parser.add_argument("-e", action="store_true", 112 parser.add_argument("-m", action="store", 115 parser.add_argument("trace_file", action="store",
|
D | symbol_trace_info.py | 141 parser.add_argument("-d", action="store", 144 parser.add_argument("--dex-file", action="store", 148 parser.add_argument("--offsets", action="store", nargs=2, 156 parser.add_argument("--times", action="store", nargs=2, 164 parser.add_argument("sanitizer_trace", action="store", 168 parser.add_argument("symbol_trace", action="store", 172 parser.add_argument("dex_starts", action="store", 175 parser.add_argument("categories", action="store", nargs="*",
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | mkflame.py | 192 parser.add_argument("--use_size", help="Count by allocation size", action="store_true", 194 parser.add_argument("--ignore_type", help="Ignore type of allocation", action="store_true", 196 parser.add_argument("--reverse_stack", help="Reverse root and top of stacks", action="store_true", 198 parser.add_argument("--type_only", help="Only consider allocation type", action="store_true", 200 parser.add_argument("--thread_only", help="Only consider allocation thread", action="store_true",
|
/art/tools/dmtracedump/ |
D | createtesttrace.cc | 64 uint32_t action; /* 0=entry, 1=exit, 2=exception exit */ member 162 int32_t action; in parseInputFile() local 238 action = 0; in parseInputFile() 250 action = 1; in parseInputFile() 261 action = 1; in parseInputFile() 289 if (action == 0) in parseInputFile() 293 records[nextRecord].action = action; in parseInputFile() 392 uint32_t val = METHOD_COMBINE(pRecord->methodId, pRecord->action); in writeDataRecords()
|
/art/test/640-checker-boolean-simd/src/ |
D | Main.java | 123 private static void expectEquals(boolean expected, boolean result, String action) { in expectEquals() argument 125 throw new Error("Expected: " + expected + ", found: " + result + " for " + action); in expectEquals()
|
/art/tools/checker/ |
D | checker.py | 34 parser.add_argument("--list-passes", dest="list_passes", action="store_true", 40 parser.add_argument("--debuggable", action="store_true", 42 parser.add_argument("-q", "--quiet", action="store_true",
|
/art/test/testrunner/ |
D | testrunner.py | 1003 parser.add_argument('-t', '--test', action='append', dest='tests', help='name(s) of the test(s)') 1008 global_group.add_argument('--verbose', '-v', action='store_true', dest='verbose') 1009 global_group.add_argument('--dry-run', action='store_true', dest='dry_run') 1010 global_group.add_argument("--skip", action='append', dest="skips", default=[], 1012 global_group.add_argument("--no-skips", dest="ignore_skips", action='store_true', default=False, 1016 action='store_false', dest='build', 1020 action='store_true', dest='build', 1025 global_group.add_argument('--gdb', action='store_true', dest='gdb') 1027 global_group.add_argument('--run-test-option', action='append', dest='run_test_option', 1033 global_group.add_argument('--with-agent', action='append', dest='with_agent', [all …]
|
/art/tools/jvmti-agents/field-null-percent/ |
D | check-null-fields.py | 43 default=[], action="append", 57 action='store', 62 action='store',
|
/art/test/640-checker-simd/src/ |
D | SimdFloat.java | 190 private static void expectEquals(float expected, float result, String action) { in expectEquals() argument 192 throw new Error("Expected: " + expected + ", found: " + result + " for " + action); in expectEquals()
|
D | SimdDouble.java | 191 private static void expectEquals(double expected, double result, String action) { in expectEquals() argument 193 throw new Error("Expected: " + expected + ", found: " + result + " for " + action); in expectEquals()
|
/art/tools/veridex/ |
D | precise_hidden_api_finder.cc | 37 const std::function<void(VeridexResolver*, const ClassAccessor::Method&)>& action) { in RunInternal() argument 43 action(resolver.get(), method); in RunInternal()
|
/art/tools/jvmti-agents/field-counts/ |
D | count-fields.py | 44 default=[], action="append", 58 action='store', 63 action='store',
|