Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 25 of 159) sorted by relevance

1234567

/third_party/boost/boost/thread/win32/
Dshared_mutex.hpp125 state_data new_state=old_state; in try_lock_shared() local
126 if(!new_state.exclusive && !new_state.exclusive_waiting_blocked) in try_lock_shared()
128 ++new_state.shared_count; in try_lock_shared()
129 if(!new_state.shared_count) in try_lock_shared()
135 … state_data const current_state=interlocked_compare_exchange(&state,new_state,old_state); in try_lock_shared()
152 state_data new_state=old_state; in lock_shared() local
153 if(new_state.exclusive || new_state.exclusive_waiting_blocked) in lock_shared()
155 ++new_state.shared_waiting; in lock_shared()
156 if(!new_state.shared_waiting) in lock_shared()
163 ++new_state.shared_count; in lock_shared()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dplay.c189 TestPlayerState * old_state, TestPlayerState * new_state);
198 TestPlayerState * new_state) in test_play_state_change_debug() argument
213 old_state->buffering_percent, new_state->buffering_percent, in test_play_state_change_debug()
214 GST_TIME_ARGS (old_state->position), GST_TIME_ARGS (new_state->position), in test_play_state_change_debug()
215 GST_TIME_ARGS (old_state->duration), GST_TIME_ARGS (new_state->duration), in test_play_state_change_debug()
217 GST_TIME_ARGS (new_state->seek_done_position), old_state->end_of_stream, in test_play_state_change_debug()
218 new_state->end_of_stream, old_state->is_error, new_state->is_error, in test_play_state_change_debug()
219 old_state->seek_done, new_state->seek_done, in test_play_state_change_debug()
221 gst_play_state_get_name (new_state->state), old_state->width, in test_play_state_change_debug()
222 old_state->height, new_state->width, new_state->height, in test_play_state_change_debug()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dstruct_cfg_analysis.cpp80 TraversalInfo new_state; in AddBlocksInFunction() local
81 new_state.merge_node = in AddBlocksInFunction()
83 new_state.cinfo.containing_construct = block->id(); in AddBlocksInFunction()
86 new_state.cinfo.containing_loop = block->id(); in AddBlocksInFunction()
87 new_state.cinfo.containing_switch = 0; in AddBlocksInFunction()
88 new_state.continue_node = in AddBlocksInFunction()
90 if (block->id() == new_state.continue_node) { in AddBlocksInFunction()
91 new_state.cinfo.in_continue = true; in AddBlocksInFunction()
94 new_state.cinfo.in_continue = false; in AddBlocksInFunction()
97 new_state.cinfo.containing_loop = state.back().cinfo.containing_loop; in AddBlocksInFunction()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dstruct_cfg_analysis.cpp80 TraversalInfo new_state; in AddBlocksInFunction() local
81 new_state.merge_node = in AddBlocksInFunction()
83 new_state.cinfo.containing_construct = block->id(); in AddBlocksInFunction()
86 new_state.cinfo.containing_loop = block->id(); in AddBlocksInFunction()
87 new_state.cinfo.containing_switch = 0; in AddBlocksInFunction()
88 new_state.continue_node = in AddBlocksInFunction()
90 if (block->id() == new_state.continue_node) { in AddBlocksInFunction()
91 new_state.cinfo.in_continue = true; in AddBlocksInFunction()
94 new_state.cinfo.in_continue = false; in AddBlocksInFunction()
97 new_state.cinfo.containing_loop = state.back().cinfo.containing_loop; in AddBlocksInFunction()
[all …]
/third_party/spirv-tools/source/opt/
Dstruct_cfg_analysis.cpp80 TraversalInfo new_state; in AddBlocksInFunction() local
81 new_state.merge_node = in AddBlocksInFunction()
83 new_state.cinfo.containing_construct = block->id(); in AddBlocksInFunction()
86 new_state.cinfo.containing_loop = block->id(); in AddBlocksInFunction()
87 new_state.cinfo.containing_switch = 0; in AddBlocksInFunction()
88 new_state.continue_node = in AddBlocksInFunction()
90 if (block->id() == new_state.continue_node) { in AddBlocksInFunction()
91 new_state.cinfo.in_continue = true; in AddBlocksInFunction()
94 new_state.cinfo.in_continue = false; in AddBlocksInFunction()
97 new_state.cinfo.containing_loop = state.back().cinfo.containing_loop; in AddBlocksInFunction()
[all …]
/third_party/mesa3d/src/mesa/main/
Dstate.c341 GLbitfield new_state = in update_program_constants() local
349 new_state |= in update_program_constants()
354 new_state |= in update_program_constants()
362 return new_state; in update_program_constants()
398 GLbitfield new_state = ctx->NewState; in _mesa_update_state_locked() local
409 if (!(new_state & checked_states)) in _mesa_update_state_locked()
413 _mesa_print_state("_mesa_update_state", new_state); in _mesa_update_state_locked()
415 if (new_state & _NEW_BUFFERS) in _mesa_update_state_locked()
422 if (new_state & (_NEW_MODELVIEW|_NEW_PROJECTION)) in _mesa_update_state_locked()
423 _mesa_update_modelview_project( ctx, new_state ); in _mesa_update_state_locked()
[all …]
/third_party/grpc/src/php/lib/Grpc/
DBaseStub.php148 $new_state = $this->getConnectivityState(true);
149 if ($this->_checkConnectivityState($new_state)) {
157 while ($this->channel->watchConnectivityState($new_state, $deadline)) {
159 $new_state = $this->getConnectivityState();
160 if ($this->_checkConnectivityState($new_state)) {
165 $new_state = $this->getConnectivityState();
167 return $this->_checkConnectivityState($new_state);
184 private function _checkConnectivityState($new_state) argument
186 if ($new_state == \Grpc\CHANNEL_READY) {
189 if ($new_state == \Grpc\CHANNEL_FATAL_FAILURE) {
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di915_context.c60 GLuint new_state = ctx->NewState; in i915InvalidateState() local
62 _swrast_InvalidateState(ctx, new_state); in i915InvalidateState()
63 _swsetup_InvalidateState(ctx, new_state); in i915InvalidateState()
64 _tnl_InvalidateState(ctx, new_state); in i915InvalidateState()
65 _tnl_invalidate_vertex_state(ctx, new_state); in i915InvalidateState()
66 intel_context(ctx)->NewGLState |= new_state; in i915InvalidateState()
68 if (new_state & (_NEW_SCISSOR | _NEW_BUFFERS | _NEW_VIEWPORT)) in i915InvalidateState()
82 if (new_state & (_NEW_STENCIL | _NEW_BUFFERS | _NEW_POLYGON)) in i915InvalidateState()
84 if (new_state & (_NEW_LIGHT)) in i915InvalidateState()
86 if (new_state & (_NEW_PROGRAM | _NEW_PROGRAM_CONSTANTS)) in i915InvalidateState()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_state.c458 GLbitfield new_state = ctx->NewState; in nouveau_update_state() local
461 if (new_state & (_NEW_SCISSOR | _NEW_BUFFERS | _NEW_VIEWPORT)) in nouveau_update_state()
464 if (new_state & (_NEW_PROJECTION | _NEW_MODELVIEW)) in nouveau_update_state()
467 if (new_state & _NEW_MODELVIEW) in nouveau_update_state()
470 if (new_state & _NEW_TEXTURE_MATRIX) { in nouveau_update_state()
475 if (new_state & _NEW_SCISSOR) in nouveau_update_state()
478 if (new_state & _NEW_VIEWPORT) in nouveau_update_state()
481 if (new_state & _NEW_CURRENT_ATTRIB && in nouveau_update_state()
482 new_state & _NEW_LIGHT) { in nouveau_update_state()
493 if (new_state & _NEW_TEXTURE) { in nouveau_update_state()
[all …]
/third_party/mesa3d/src/mesa/tnl/
Dt_context.c130 _tnl_InvalidateState( struct gl_context *ctx, GLuint new_state ) in _tnl_InvalidateState() argument
137 if (new_state & (_NEW_LIGHT_CONSTANTS | _NEW_MATERIAL)) in _tnl_InvalidateState()
140 if (new_state & (_NEW_HINT | _NEW_PROGRAM)) { in _tnl_InvalidateState()
146 tnl->pipeline.new_state |= new_state; in _tnl_InvalidateState()
196 if (new_state & (_NEW_VIEWPORT | _NEW_BUFFERS)) { in _tnl_InvalidateState()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/webrtc/
Dicetransport.c69 GstWebRTCICEConnectionState new_state) in gst_webrtc_ice_transport_connection_state_change() argument
72 ice->state = new_state; in gst_webrtc_ice_transport_connection_state_change()
79 GstWebRTCICEGatheringState new_state) in gst_webrtc_ice_transport_gathering_state_change() argument
82 ice->gathering_state = new_state; in gst_webrtc_ice_transport_gathering_state_change()
/third_party/grpc/src/core/lib/transport/
Dconnectivity_state.h56 virtual void Notify(grpc_connectivity_state new_state,
72 void Notify(grpc_connectivity_state new_state,
85 virtual void OnConnectivityStateChange(grpc_connectivity_state new_state,
/third_party/grpc/src/core/lib/iomgr/
Dlockfree_event.cc163 gpr_atm new_state = reinterpret_cast<gpr_atm>(shutdown_error) | kShutdownBit; in SetShutdown() local
177 if (gpr_atm_full_cas(&state_, curr, new_state)) { in SetShutdown()
196 if (gpr_atm_full_cas(&state_, curr, new_state)) { in SetShutdown()
/third_party/mesa3d/src/mesa/swrast/
Ds_context.c422 _swrast_sleep( struct gl_context *ctx, GLbitfield new_state ) in _swrast_sleep() argument
424 (void) ctx; (void) new_state; in _swrast_sleep()
429 _swrast_invalidate_state( struct gl_context *ctx, GLbitfield new_state ) in _swrast_invalidate_state() argument
434 swrast->NewState |= new_state; in _swrast_invalidate_state()
442 new_state = ~0; in _swrast_invalidate_state()
445 if (new_state & swrast->InvalidateTriangleMask) in _swrast_invalidate_state()
448 if (new_state & swrast->InvalidateLineMask) in _swrast_invalidate_state()
451 if (new_state & swrast->InvalidatePointMask) in _swrast_invalidate_state()
454 if (new_state & _SWRAST_NEW_BLEND_FUNC) in _swrast_invalidate_state()
457 if (new_state & _SWRAST_NEW_TEXTURE_SAMPLE_FUNC) in _swrast_invalidate_state()
[all …]
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
Dround_robin.cc136 grpc_connectivity_state new_state);
280 grpc_connectivity_state old_state, grpc_connectivity_state new_state) { in UpdateStateCountersLocked() argument
282 GPR_ASSERT(new_state != GRPC_CHANNEL_SHUTDOWN); in UpdateStateCountersLocked()
293 if (new_state == GRPC_CHANNEL_READY) { in UpdateStateCountersLocked()
295 } else if (new_state == GRPC_CHANNEL_CONNECTING) { in UpdateStateCountersLocked()
297 } else if (new_state == GRPC_CHANNEL_TRANSIENT_FAILURE) { in UpdateStateCountersLocked()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_context.c210 GLbitfield new_state = ctx->NewState; in st_invalidate_state() local
213 if (new_state & _NEW_BUFFERS) { in st_invalidate_state()
219 if (new_state & _NEW_PROGRAM) in st_invalidate_state()
222 if (new_state & _NEW_FOG) in st_invalidate_state()
226 if (new_state & (_NEW_LIGHT_STATE | in st_invalidate_state()
230 if ((new_state & _NEW_LIGHT_STATE) && in st_invalidate_state()
234 if (new_state & _NEW_PROJECTION && in st_invalidate_state()
238 if (new_state & _NEW_POINT && st->lower_texcoord_replace) in st_invalidate_state()
241 if (new_state & _NEW_PIXEL) in st_invalidate_state()
244 if (new_state & _NEW_CURRENT_ATTRIB && st_vp_uses_current_values(ctx)) in st_invalidate_state()
[all …]
/third_party/cef/libcef/browser/views/
Dbutton_impl.h54 views::Button::ButtonState new_state = in SetState() local
63 if (new_state == views::Button::STATE_PRESSED) { in SetState()
72 ParentClass::root_view()->SetState(new_state); in SetState()
/third_party/grpc/src/php/lib/Grpc/Internal/
DInterceptorChannel.php62 public function watchConnectivityState($new_state, $deadline) argument
64 return $this->getNext()->watchConnectivityState($new_state, $deadline);
/third_party/boost/libs/atomic/src/
Dlock_pool.cpp351 futex_operations::storage_type new_state = prev_state | mutex_bits::locked; in long_lock() local
352 …T_LIKELY(futex_operations::compare_exchange_strong(m_mutex, prev_state, new_state, boost::memory_o… in long_lock()
370 futex_operations::storage_type new_state = prev_state | mutex_bits::locked; in lock_slow_path() local
371 …OST_LIKELY(futex_operations::compare_exchange_weak(m_mutex, prev_state, new_state, boost::memory_o… in lock_slow_path()
376 futex_operations::storage_type new_state = prev_state | mutex_bits::contended; in lock_slow_path() local
377 …OST_LIKELY(futex_operations::compare_exchange_weak(m_mutex, prev_state, new_state, boost::memory_o… in lock_slow_path()
379 atomics::detail::futex_wait_private(&m_mutex, new_state); in lock_slow_path()
390 futex_operations::storage_type new_state; in unlock() local
393 new_state = (prev_state & (~mutex_bits::locked)) + mutex_bits::counter_one; in unlock()
394 …if (BOOST_LIKELY(futex_operations::compare_exchange_weak(m_mutex, prev_state, new_state, boost::me… in unlock()
[all …]
/third_party/boost/libs/thread/src/win32/
Dthread_primitives.cpp62 …uint64_t new_state = ((old_state & UINT64_C(0xffffffff00000000)) + (static_cast< uint64_t >(new_ti…
64 g_state.ticks.store(new_state, boost::memory_order_release);
66 return new_state;
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h149 void OnConnectivityStateChange(grpc_connectivity_state new_state) override;
241 OnConnectivityStateChange(grpc_connectivity_state new_state) { in OnConnectivityStateChange() argument
251 ConnectivityStateName(new_state), subchannel_list_->shutting_down(), in OnConnectivityStateChange()
256 subchannel_data_->connectivity_state_ = new_state; in OnConnectivityStateChange()
258 subchannel_data_->ProcessConnectivityChangeLocked(new_state); in OnConnectivityStateChange()
/third_party/gstreamer/gstplugins_base/tests/icles/playback/
Ddecodetest.c63 GstState old_state, new_state, pending_state; in state_cb() local
65 gst_message_parse_state_changed (msg, &old_state, &new_state, in state_cb()
67 if (new_state == GST_STATE_PLAYING) { in state_cb()
/third_party/boost/libs/uuid/test/
Dtest_tagging.cpp48 void set_state(int new_state) { state = new_state; } in set_state() argument
/third_party/boost/libs/log/src/windows/
Dipc_sync_wrappers.cpp306 uint32_t new_state; in mark_waiting_and_try_lock() local
316 new_state = old_state + 1u; in mark_waiting_and_try_lock()
320 new_state = old_state | lock_flag_value; in mark_waiting_and_try_lock()
323 …while (!m_shared_state->m_lock_state.compare_exchange_weak(old_state, new_state, boost::memory_ord… in mark_waiting_and_try_lock()
330 uint32_t new_state; in clear_waiting_and_try_lock() local
333new_state = ((old_state & lock_flag_value) ? old_state : ((old_state - 1u) | lock_flag_value)) & ~… in clear_waiting_and_try_lock()
335 …while (!m_shared_state->m_lock_state.compare_exchange_weak(old_state, new_state, boost::memory_ord… in clear_waiting_and_try_lock()
/third_party/gstreamer/gstplugins_bad/ext/sctp/
Dsctpassociation.c132 GstSctpAssociationState new_state, gboolean lock);
881 GstSctpAssociationState new_state; in handle_association_changed() local
889 new_state = GST_SCTP_ASSOCIATION_STATE_CONNECTED; in handle_association_changed()
901 new_state = GST_SCTP_ASSOCIATION_STATE_ERROR; in handle_association_changed()
909 new_state = GST_SCTP_ASSOCIATION_STATE_DISCONNECTED; in handle_association_changed()
914 new_state = GST_SCTP_ASSOCIATION_STATE_ERROR; in handle_association_changed()
919 gst_sctp_association_change_state (self, new_state, TRUE); in handle_association_changed()
963 GstSctpAssociationState new_state, gboolean lock) in gst_sctp_association_change_state() argument
967 if (self->state != new_state in gst_sctp_association_change_state()
969 self->state = new_state; in gst_sctp_association_change_state()

1234567