Searched refs:state_ (Results 1 - 13 of 13) sorted by relevance

/freebsd-current/contrib/lutok/
H A Dc_gate.cpp35 /// \param state_ The state to connect to. This object must remain alive while
37 lutok::state_c_gate::state_c_gate(state& state_) : argument
38 _state(state_)
H A Dstack_cleaner.cpp61 /// \param state_ The Lua state.
62 lutok::stack_cleaner::stack_cleaner(state& state_) : argument
63 _pimpl(new impl(state_, state_.get_top()))
H A Dtest_utils.hpp105 /// \param state_ The Lua state to validate.
110 stack_balance_checker(lutok::state& state_, argument
112 _state(state_),
H A Dexceptions.cpp76 /// \param state_ The Lua state.
81 lutok::api_error::from_stack(state& state_, const std::string& api_function_) argument
83 lua_State* raw_state = lutok::state_c_gate(state_).c_state();
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libbacktrace.h43 explicit LibbacktraceSymbolizer(void *state) : state_(state) {}
45 void *state_; // Leaked. member in class:__sanitizer::final
H A Dsanitizer_mutex.h26 atomic_store(&state_, 0, memory_order_relaxed);
36 return atomic_exchange(&state_, 1, memory_order_acquire) == 0;
40 atomic_store(&state_, 0, memory_order_release);
44 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), 1);
48 atomic_uint8_t state_; member in class:__sanitizer::StaticSpinMutex
76 atomic_uint32_t state_ = {0}; member in class:__sanitizer::Semaphore
169 u64 state = atomic_load_relaxed(&state_);
186 state = atomic_load(&state_, memory_order_relaxed);
189 if (UNLIKELY(!atomic_compare_exchange_weak(&state_, &state, new_state,
206 state = atomic_load(&state_, memory_order_relaxe
327 atomic_uint64_t state_ = {0}; member in class:__sanitizer::Mutex
[all...]
H A Dsanitizer_mutex.cpp25 if (atomic_load(&state_, memory_order_relaxed) == 0 &&
26 atomic_exchange(&state_, 1, memory_order_acquire) == 0)
32 u32 count = atomic_load(&state_, memory_order_relaxed);
35 FutexWait(&state_, 0);
36 count = atomic_load(&state_, memory_order_relaxed);
39 if (atomic_compare_exchange_weak(&state_, &count, count - 1,
47 atomic_fetch_add(&state_, count, memory_order_release);
48 FutexWake(&state_, count);
H A Dsanitizer_stackdepot.cpp119 State state_ SANITIZER_GUARDED_BY(mutex_) = State::NotStarted;
132 if (state_ == State::NotStarted) {
141 state_ = thread_ ? State::Started : State::Failed;
143 if (state_ == State::Started) {
161 if (state_ != State::Started)
163 state_ = State::Stopped;
175 if (state_ != State::Started)
183 state_ = State::NotStarted;
H A Dsanitizer_symbolizer_libbacktrace.cpp163 backtrace_pcinfo((backtrace_state *)state_, addr, SymbolizeCodePCInfoCallback,
167 backtrace_syminfo((backtrace_state *)state_, addr, SymbolizeCodeCallback,
173 backtrace_syminfo((backtrace_state *)state_, addr, SymbolizeDataCallback,
185 (void)state_;
/freebsd-current/contrib/googletest/googletest/test/
H A Dgtest-typed-test_test.cc203 state_.AddTestName("foo.cc", 0, "FooTest", "A");
204 state_.AddTestName("foo.cc", 0, "FooTest", "B");
205 state_.AddTestName("foo.cc", 0, "FooTest", "C");
208 TypedTestSuitePState state_; member in class:TypedTestSuitePStateTest
214 state_.VerifyRegisteredTestNames("Suite", "foo.cc", 1, tests));
222 state_.VerifyRegisteredTestNames("Suite", "foo.cc", 1, tests));
229 state_.VerifyRegisteredTestNames("Suite", "foo.cc", 1, "A, B, A, C"),
235 state_.VerifyRegisteredTestNames("Suite", "foo.cc", 1, "A, B, C, D"),
241 state_.VerifyRegisteredTestNames("Suite", "foo.cc", 1, "A, C"),
248 state_
[all...]
/freebsd-current/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h955 : state_(new State(std::move(input_value))) {}
959 explicit Impl(const R& input_value) : state_(new State(input_value)) {}
961 U operator()() && { return std::move(state_->value); }
962 U operator()() const& { return state_->value; }
1075 const std::shared_ptr<State> state_; member in class:testing::internal::final::final
1090 : state_(new State(std::move(wrapper.payload))) {}
1093 GTEST_CHECK_(!state_->called)
1096 state_->called = true;
1097 return std::move(state_->value);
1110 const std::shared_ptr<State> state_; member in class:testing::internal::final
1245 std::shared_ptr<State> state_ = std::make_shared<State>(); member in class:testing::internal::ReturnRoundRobinAction
[all...]
/freebsd-current/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h859 explicit Random(uint32_t seed) : state_(seed) {}
861 void Reseed(uint32_t seed) { state_ = seed; }
868 uint32_t state_; member in class:testing::internal::Random
/freebsd-current/contrib/googletest/googletest/src/
H A Dgtest.cc403 state_ = static_cast<uint32_t>(1103515245ULL * state_ + 12345U) % kMaxRange;
413 return state_ % range;

Completed in 244 milliseconds