/art/tools/checker/file_format/c1visualizer/ |
D | parser.py | 28 def __parseC1Line(c1File, line, lineNo, state, fileName): argument 37 if state.currentState == C1ParserState.StartingCfgBlock: 43 state.currentState = C1ParserState.InsideCfgBlock 44 return (None, state.lastMethodName + " " + line.split("\"")[1], None) 48 elif state.currentState == C1ParserState.InsideCfgBlock: 50 state.currentState = C1ParserState.OutsideBlock 55 elif state.currentState == C1ParserState.InsideCompilationBlock: 79 state.lastMethodName = methodName 81 state.currentState = C1ParserState.OutsideBlock 85 assert state.currentState == C1ParserState.OutsideBlock [all …]
|
/art/test/123-compiler-regressions-mt/src/ |
D | Main.java | 59 private volatile int state = 0; field in B17689750TestVolatile 63 while (state != 1) { } // Busy loop. in thread1() 65 state = 2; in thread1() 70 state = 1; in thread2() 71 while (state != 2) { } // Busy loop. in thread2() 80 private int state = 0; field in B17689750TestMonitor 88 s = state; in thread1() 94 state = 2; in thread1() 102 state = 1; in thread2() 108 s = state; in thread2()
|
/art/test/991-field-trace-2/ |
D | expected.txt | 2 Initial state: xyz = 0 8 Final state: xyz = 1 10 Initial state: xyz = 0 14 Final state: xyz = 0 16 Initial state: xyz = 0 23 Final state: xyz = 0 25 Initial state: xyz = 0 31 Final state: xyz = 21 33 Initial state: xyz = 0 39 Final state: xyz = 1 [all …]
|
/art/tools/dexfuzz/src/dexfuzz/ |
D | StreamConsumer.java | 37 private State state; field in StreamConsumer 58 state = State.WAITING; in StreamConsumer() 183 return (expectedState == state); in checkState() 187 if (state != previousState) { in changeState() 188 Log.error("StreamConsumer Unexpected state: " + state + ", expected " + previousState); in changeState() 189 state = State.ERROR; in changeState() 191 state = newState; in changeState() 196 state = State.ERROR; in setErrorState() 200 return state; in getCurrentState()
|
/art/libnativebridge/ |
D | native_bridge.cc | 69 static const char* GetNativeBridgeStateString(NativeBridgeState state) { in GetNativeBridgeStateString() argument 70 switch (state) { in GetNativeBridgeStateString() 89 static NativeBridgeState state = NativeBridgeState::kNotSetup; variable 198 state = NativeBridgeState::kClosed; in CloseNativeBridge() 208 if (state != NativeBridgeState::kNotSetup) { in LoadNativeBridge() 212 GetNativeBridgeStateString(state)); in LoadNativeBridge() 251 state = NativeBridgeState::kOpened; in LoadNativeBridge() 254 return state == NativeBridgeState::kOpened; in LoadNativeBridge() 267 if (state != NativeBridgeState::kOpened) { in PreInitializeNativeBridge() 286 state = NativeBridgeState::kPreInitialized; in PreInitializeNativeBridge() [all …]
|
/art/runtime/base/ |
D | mutex_test.cc | 109 RecursiveLockWait* state = reinterpret_cast<RecursiveLockWait*>(arg); in RecursiveLockWaitCallback() local 110 state->mu.Lock(Thread::Current()); in RecursiveLockWaitCallback() 111 state->cv.Signal(Thread::Current()); in RecursiveLockWaitCallback() 112 state->mu.Unlock(Thread::Current()); in RecursiveLockWaitCallback() 118 RecursiveLockWait state; in RecursiveLockWaitTest() local 119 state.mu.Lock(Thread::Current()); in RecursiveLockWaitTest() 120 state.mu.Lock(Thread::Current()); in RecursiveLockWaitTest() 123 int pthread_create_result = pthread_create(&pthread, nullptr, RecursiveLockWaitCallback, &state); in RecursiveLockWaitTest() 126 state.cv.Wait(Thread::Current()); in RecursiveLockWaitTest() 128 state.mu.Unlock(Thread::Current()); in RecursiveLockWaitTest() [all …]
|
/art/test/063-process-manager/src/ |
D | Main.java | 48 Thread.State state = t.getState(); in checkManager() local 49 System.out.println("process manager: " + state); in checkManager() 50 if (state != Thread.State.RUNNABLE && state != Thread.State.TIMED_WAITING) { in checkManager() 74 Thread.State state = t.getState(); in waitForReaperTimedWaiting() local 75 if (state != Thread.State.TIMED_WAITING) { in waitForReaperTimedWaiting()
|
/art/runtime/ |
D | monitor_objects_stack_visitor.cc | 46 ThreadState state = Monitor::FetchState(GetThread(), in VisitFrame() local 49 switch (state) { in VisitFrame() 52 VisitWaitingObject(monitor_object, state); in VisitFrame() 60 VisitBlockedOnObject(monitor_object, state, lock_owner_tid); in VisitFrame()
|
D | thread-inl.h | 117 CHECK_NE(old_state_and_flags.as_struct.state, kRunnable) << new_state << " " << *this << " " in SetState() 119 tls32_.state_and_flags.as_struct.state = new_state; in SetState() 120 return static_cast<ThreadState>(old_state_and_flags.as_struct.state); in SetState() 203 new_state_and_flags.as_struct.state = new_state; in TransitionToSuspendedAndRunCheckpoints() 245 int16_t old_state = old_state_and_flags.as_struct.state; in TransitionFromSuspendedToRunnable() 250 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable() 256 new_state_and_flags.as_struct.state = kRunnable; in TransitionFromSuspendedToRunnable() 273 << " state=" << old_state_and_flags.as_struct.state; in TransitionFromSuspendedToRunnable() 289 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable() 294 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); in TransitionFromSuspendedToRunnable()
|
D | runtime_callbacks_test.cc | 121 if (state == CallbackState::kBase) { in ThreadStart() 122 state = CallbackState::kStarted; in ThreadStart() 125 state = CallbackState::kWrongStart; in ThreadStart() 130 if (state == CallbackState::kStarted && self == stored_self) { in ThreadDeath() 131 state = CallbackState::kDied; in ThreadDeath() 133 state = CallbackState::kWrongDeath; in ThreadDeath() 138 CallbackState state = CallbackState::kBase; member 153 cb_.state = CallbackState::kBase; // Ignore main thread attach. in TEST_F() 190 EXPECT_TRUE(cb_.state == CallbackState::kDied) << static_cast<int>(cb_.state); in TEST_F() 218 EXPECT_TRUE(cb_.state == CallbackState::kStarted) << static_cast<int>(cb_.state); in TEST_F()
|
D | monitor_objects_stack_visitor.h | 65 virtual void VisitWaitingObject(ObjPtr<mirror::Object> obj, ThreadState state) 70 ThreadState state,
|
/art/tools/ahat/src/main/com/android/ahat/dominators/ |
D | DominatorsComputation.java | 62 void setDominatorsComputationState(Object state); in setDominatorsComputationState() argument 125 public void setDominatorsComputationState(Node node, Object state) { in computeDominators() 126 node.setDominatorsComputationState(state); in computeDominators()
|
/art/openjdkjvmti/ |
D | README.md | 6 state of the program by modifying dex files in memory and performing other 7 operations on the global runtime state.
|
/art/libelffile/elf/ |
D | xz_utils.cc | 101 std::unique_ptr<CXzUnpacker> state(new CXzUnpacker()); in XzDecompress() local 105 XzUnpacker_Construct(state.get(), &alloc); in XzDecompress() 114 int return_val = XzUnpacker_Code(state.get(), in XzDecompress() 127 CHECK(XzUnpacker_IsStreamWasFinished(state.get())); in XzDecompress() 128 XzUnpacker_Free(state.get()); in XzDecompress()
|
/art/libdexfile/dex/ |
D | dex_file_layout.cc | 59 void DexLayoutSections::Madvise(const DexFile* dex_file, MadviseState state) const { in Madvise() 62 UNUSED(state); in Madvise() 67 switch (state) { in Madvise()
|
/art/test/ti-agent/ |
D | suspension_helper.cc | 30 jint state; in Java_art_Suspension_isSuspended() local 31 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetThreadState(thr, &state))) { in Java_art_Suspension_isSuspended() 34 return (state & JVMTI_THREAD_STATE_SUSPENDED) != 0; in Java_art_Suspension_isSuspended()
|
/art/test/1932-monitor-events-misc/ |
D | expected.txt | 11 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowEnter], owner: <NULL>, entryCount… 18 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowEntered], owner: <NULL>, entryCou… 26 lock state is: MonitorUsage{ monitor: NamedLock[Lock testLockThrowBoth], owner: <NULL>, entryCount:… 32 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowWait], owner: <NULL>, entryCount: 0, … 38 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowIllegalWait], owner: <NULL>, entryCou… 45 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowWaited], owner: <NULL>, entryCount: 0… 52 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowWaitedTimeout], owner: <NULL>, entryC… 59 lock state is: MonitorUsage{ monitor: NamedLock[Lock testThrowWaitedInterrupt], owner: <NULL>, entr… 89 Testing the lock state if MonitorEnter throws in a native method 95 Lock state is: MonitorUsage{ monitor: NamedLock[test testNativeLockStateThrowEnter], owner: NativeL… [all …]
|
/art/benchmark/jni-perf/ |
D | info.txt | 1 Tests for measuring performance of JNI state changes.
|
/art/runtime/mirror/ |
D | throwable.cc | 63 void Throwable::SetStackState(ObjPtr<Object> state) REQUIRES_SHARED(Locks::mutator_lock_) { in SetStackState() argument 64 CHECK(state != nullptr); in SetStackState() 66 SetFieldObjectVolatile<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, backtrace_), state); in SetStackState() 68 SetFieldObjectVolatile<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, backtrace_), state); in SetStackState()
|
/art/dex2oat/dex/ |
D | dex_to_dex_compiler.cc | 559 CompilationState state(this, unit, compilation_level, existing_quicken_data); in CompileMethod() local 560 quicken_data = state.Compile(); in CompileMethod() 561 optimized_return_void = state.optimized_return_void_; in CompileMethod() 594 CompilationState state(this, unit, compilation_level, /*quicken_data*/ nullptr); in CompileMethod() local 595 quicken_data = state.Compile(); in CompileMethod() 650 const QuickenState& state = pair.second; in UnquickenConflictingMethods() local 651 CHECK_GE(state.methods_.size(), 1u); in UnquickenConflictingMethods() 652 if (state.conflict_) { in UnquickenConflictingMethods() 655 optimizer::ArtDecompileDEX(*state.methods_[0].dex_file, in UnquickenConflictingMethods() 657 ArrayRef<const uint8_t>(state.quicken_data_), in UnquickenConflictingMethods() [all …]
|
/art/perfetto_hprof/ |
D | perfetto_hprof.h | 38 std::ostream& operator<<(std::ostream& os, State state);
|
/art/test/1990-structural-bad-verify/ |
D | info.txt | 6 state.
|
/art/test/1971-multi-force-early-return/src/art/ |
D | Test1971.java | 32 public final Thread.State state; field in Test1971.ReturnValue 38 state = thr.getState(); in ReturnValue() 46 + state in toString()
|
/art/test/1942-suspend-raw-monitor-exit/ |
D | expected.txt | 1 Initial state.
|
/art/test/924-threads/src/art/ |
D | Test924.java | 225 int state; in waitForState() local 227 while ((state = getThreadState(t)) != desired && deadline.isAfter(Instant.now())) { in waitForState() 232 printThreadState(state); in waitForState() 428 private static void printThreadState(int state) { in printThreadState() argument 432 if ((state & i) != 0) { in printThreadState() 444 System.out.println(Integer.toHexString(state) + " = " + sb.toString()); in printThreadState()
|