/third_party/node/deps/v8/src/ic/ |
H A D | ic-stats.cc | 110 state.clear(); in Reset() 131 if (!state.empty()) value->SetString("state", state); in AppendToTracedValue()
|
/third_party/node/deps/v8/src/libplatform/ |
H A D | default-job.h | 106 explicit DefaultJobHandle(std::shared_ptr<DefaultJobState> state); 132 DefaultJobWorker(std::weak_ptr<DefaultJobState> state, JobTask* job_task) in DefaultJobWorker() argument 133 : state_(std::move(state)), job_task_(job_task) {} in DefaultJobWorker() 145 // state is freed before the worker becomes inactive.
|
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-generator.cc | 134 int state = generator.continuation(); in RUNTIME_FUNCTION() local 135 DCHECK_NE(state, JSAsyncGeneratorObject::kGeneratorExecuting); in RUNTIME_FUNCTION() 137 // If state is 0 ("suspendedStart"), there is guaranteed to be no catch in RUNTIME_FUNCTION() 138 // handler. Otherwise, if state is below 0, the generator is closed and will in RUNTIME_FUNCTION() 140 if (state < 1) return ReadOnlyRoots(isolate).false_value(); in RUNTIME_FUNCTION()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state_immediate.c | 38 /* Convinience function to check immediate state. 42 set_immediate(struct i915_context *i915, unsigned offset, const unsigned state) in set_immediate() argument 44 if (i915->current.immediate[offset] == state) in set_immediate() 47 i915->current.immediate[offset] = state; in set_immediate() 53 * S0,S1: Vertex buffer state. 86 * S4: Vertex format, rasterization state 224 ~0 /* all state atoms, because we do internal checking */
|
/third_party/rust/crates/libc/src/unix/bsd/apple/b32/ |
H A D | mod.rs | 80 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 81 self.__sig.hash(state); in hash() 82 self.__opaque.hash(state); in hash()
|
/third_party/rust/crates/libc/src/unix/bsd/apple/b64/ |
H A D | mod.rs | 80 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 81 self.__sig.hash(state); in hash() 82 self.__opaque.hash(state); in hash()
|
/third_party/popt/tests/ |
H A D | test2.c | 36 static char *state = NULL; variable 65 { "state", 's', POPT_ARG_STRING, &state, 0, in main() 66 "state or province", "state" }, in main() 144 addr1,addr2, city, state, postal, in main()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
H A D | esextcDrawBuffersIndexedBase.hpp | 92 std::vector<BlendMaskState> state; member in glcts::DrawBuffersIndexedBase::BlendMaskStateMachine 94 bool CheckEnumGeneral(glw::GLenum e, glw::GLenum state); 95 bool CheckEnumForBuffer(int idx, glw::GLenum e, glw::GLenum state);
|
/third_party/vk-gl-cts/executor/ |
H A D | xeTcpIpLink.hpp | 51 void setState (CommLinkState state, const char* error = ""); 74 TcpIpSendThread (de::Socket& socket, TcpIpLinkState& state); 97 TcpIpRecvThread (de::Socket& socket, TcpIpLinkState& state);
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
H A D | AudioStreamBase.java | 40 status.state = getState(); in getStreamStatus() 53 public int state; field in AudioStreamBase.StreamStatus 73 convertStateToString(state) in dump() 93 * Converts ints from Oboe index to human-readable stream state
|
/third_party/skia/modules/audioplayer/ |
H A D | SkAudioPlayer_oboe.cpp | 85 State onSetState(State state) override { 86 switch (state) { 92 return state;
|
/third_party/selinux/libsepol/tests/ |
H A D | test-linker-cond-map.c | 35 * - boolean copied correctly (state is correct) 79 static void test_bool_state(policydb_t * p, const char *bool, int state) in test_bool_state() argument 85 CU_ASSERT(b->state == state); in test_bool_state() 97 /* bool existence and state, global scope */ in base_cond_tests() 107 /* bool existence and state, optional scope */ in base_cond_tests() 125 /* bool existence and state, module 1 global scope */ in module_cond_tests() 135 /* bool existence and state, module 1 optional scope */ in module_cond_tests() 145 /* bool existence and state, module 2 global scope */ in module_cond_tests()
|
/third_party/rust/crates/syn/src/ |
H A D | tt.rs | 100 fn hash<H: Hasher>(&self, state: &mut H) { in hash() 102 tts.len().hash(state); in hash() 104 TokenTreeHelper(&tt).hash(state); in hash()
|
/foundation/ability/form_fwk/test/unittest/fms_form_task_mgr_test/ |
H A D | fms_form_task_mgr_test.cpp | 327 std::string state = "aa"; in HWTEST_F() local 330 formTaskMgr->PostAcquireStateTask(wantArg, state, want, remoteObject); in HWTEST_F() 346 std::string state = "aa"; in HWTEST_F() local 349 formTaskMgr->PostAcquireStateTask(wantArg, state, want, remoteObject); in HWTEST_F() 381 AppExecFwk::FormState state = AppExecFwk::FormState::UNKNOWN; in HWTEST_F() local 384 formTaskMgr->PostAcquireStateTaskToHost(state, want, remoteObject); in HWTEST_F() 399 AppExecFwk::FormState state = AppExecFwk::FormState::UNKNOWN; in HWTEST_F() local 402 formTaskMgr->PostAcquireStateTaskToHost(state, want, remoteObject); in HWTEST_F() 736 AppExecFwk::FormState state = AppExecFwk::FormState::UNKNOWN; in HWTEST_F() local 739 formTaskMgr.AcquireStateBack(state, wan in HWTEST_F() 752 AppExecFwk::FormState state = AppExecFwk::FormState::UNKNOWN; HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/services/services/codec/server/ |
H A D | codec_server.cpp | 241 CHECK_AND_RETURN_RET_LOG(status_ == INITIALIZED, AVCS_ERR_INVALID_STATE, "In invalid state, %{public}s", in Configure() 278 CHECK_AND_RETURN_RET_LOG(status_ == CONFIGURED, AVCS_ERR_INVALID_STATE, "In invalid state, %{public}s", in SetCustomBuffer() 318 "In invalid state, %{public}s", GetStatusDescription(status_).data()); in CodecScenarioInit() 344 AVCS_ERR_INVALID_STATE, "In invalid state, %{public}s", in Stop() 363 "In invalid state, %{public}s", GetStatusDescription(status_).data()); in Flush() 379 CHECK_AND_RETURN_RET_LOG(status_ == RUNNING, AVCS_ERR_INVALID_STATE, "In invalid state, %{public}s", in NotifyEos() 452 CHECK_AND_RETURN_RET_LOG(status_ == CONFIGURED, nullptr, "In invalid state, %{public}s", in Reset() 466 CHECK_AND_RETURN_RET_LOG(status_ == CONFIGURED, AVCS_ERR_INVALID_STATE, "In invalid state, %{public}s", in SetInputSurface() 484 CHECK_AND_RETURN_RET_LOG(isValidState, AVCS_ERR_INVALID_STATE, "In invalid state, %{public}s", in SetOutputSurface() 534 AVCODEC_LOGE("In invalid state, fre in DrmVideoCencDecrypt() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hwseq.c | 114 stream->lut3d_func->state.bits.initialized == 1 && in dcn30_set_mpc_shaper_3dlut() 115 stream->lut3d_func->state.bits.rmu_idx_valid == 1) { in dcn30_set_mpc_shaper_3dlut() 116 if (stream->lut3d_func->state.bits.rmu_mux_num == 0) in dcn30_set_mpc_shaper_3dlut() 117 mpcc_id_projected = stream->lut3d_func->state.bits.mpc_rmu0_mux; in dcn30_set_mpc_shaper_3dlut() 118 else if (stream->lut3d_func->state.bits.rmu_mux_num == 1) in dcn30_set_mpc_shaper_3dlut() 119 mpcc_id_projected = stream->lut3d_func->state.bits.mpc_rmu1_mux; in dcn30_set_mpc_shaper_3dlut() 120 else if (stream->lut3d_func->state.bits.rmu_mux_num == 2) in dcn30_set_mpc_shaper_3dlut() 121 mpcc_id_projected = stream->lut3d_func->state.bits.mpc_rmu2_mux; in dcn30_set_mpc_shaper_3dlut() 126 stream->lut3d_func->state.bits.rmu_mux_num); in dcn30_set_mpc_shaper_3dlut() 127 if (acquired_rmu != stream->lut3d_func->state in dcn30_set_mpc_shaper_3dlut() [all...] |
/kernel/linux/linux-5.10/drivers/net/can/usb/ |
H A D | gs_usb.c | 101 __le32 state; member 278 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_update_state() 281 dev->can.state = CAN_STATE_BUS_OFF; in gs_update_state() 286 dev->can.state = CAN_STATE_ERROR_WARNING; in gs_update_state() 290 dev->can.state = CAN_STATE_ERROR_PASSIVE; in gs_update_state() 293 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_update_state() 682 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_can_open() 699 dev->can.state = CAN_STATE_STOPPED; in gs_can_open() 736 dev->can.state = CAN_STATE_STOPPED; in gs_can_close() 797 enum ethtool_phys_id_state state) in gs_usb_set_phys_id() 796 gs_usb_set_phys_id(struct net_device *dev, enum ethtool_phys_id_state state) gs_usb_set_phys_id() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_framebuffer.c | 957 struct drm_atomic_state *state; in atomic_remove_fb() local 968 state = drm_atomic_state_alloc(dev); in atomic_remove_fb() 969 if (!state) { in atomic_remove_fb() 973 state->acquire_ctx = &ctx; in atomic_remove_fb() 984 if (plane->state->fb != fb) in atomic_remove_fb() 987 plane_state = drm_atomic_get_plane_state(state, plane); in atomic_remove_fb() 996 crtc_state = drm_atomic_get_existing_crtc_state(state, plane_state->crtc); in atomic_remove_fb() 998 ret = drm_atomic_add_affected_connectors(state, plane_state->crtc); in atomic_remove_fb() 1017 for_each_new_connector_in_state(state, conn, conn_state, i) { in atomic_remove_fb() 1025 ret = drm_atomic_commit(state); in atomic_remove_fb() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | dvb-bt8xx.c | 584 struct dst_state* state = NULL; in frontend_init() local 656 state = kmalloc(sizeof (struct dst_state), GFP_KERNEL); in frontend_init() 657 if (!state) { in frontend_init() 662 state->config = &dst_config; in frontend_init() 663 state->i2c = card->i2c_adapter; in frontend_init() 664 state->bt = card->bt; in frontend_init() 665 state->dst_ca = NULL; in frontend_init() 667 if (dvb_attach(dst_attach, state, &card->dvb_adapter) == NULL) { in frontend_init() 669 kfree(state); in frontend_init() 674 card->fe = &state in frontend_init() [all...] |
/kernel/linux/linux-5.10/drivers/iio/light/ |
H A D | us5182d.c | 335 static int us5182d_shutdown_en(struct us5182d_data *data, u8 state) in us5182d_shutdown_en() argument 347 ret = ret | state; in us5182d_shutdown_en() 353 if (state & US5182D_CFG0_SHUTDOWN_EN) { in us5182d_shutdown_en() 632 enum iio_event_direction dir, int state) in us5182d_write_event_config() 642 if (data->rising_en == state) { in us5182d_write_event_config() 647 if (state) { in us5182d_write_event_config() 660 data->rising_en = state; in us5182d_write_event_config() 663 if (data->falling_en == state) { in us5182d_write_event_config() 668 if (state) { in us5182d_write_event_config() 681 data->falling_en = state; in us5182d_write_event_config() 630 us5182d_write_event_config(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, enum iio_event_type type, enum iio_event_direction dir, int state) us5182d_write_event_config() argument [all...] |
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-rk3x.c | 190 * @state: state of i2c transfer 220 /* I2C state machine */ 221 enum rk3x_i2c_state state; member 280 i2c->state = STATE_STOP; in rk3x_i2c_stop() 288 i2c->state = STATE_IDLE; in rk3x_i2c_stop() 292 * get the intended effect by resetting its internal state in rk3x_i2c_stop() 391 i2c->state = STATE_WRITE; in rk3x_i2c_handle_start() 396 i2c->state = STATE_READ; in rk3x_i2c_handle_start() 474 i2c->state in rk3x_i2c_handle_stop() [all...] |
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | mdio_bus.c | 159 bus->state = MDIOBUS_ALLOCATED; in mdiobus_alloc_size() 183 BUG_ON(bus->state != MDIOBUS_RELEASED && in mdiobus_release() 185 bus->state != MDIOBUS_ALLOCATED); in mdiobus_release() 533 BUG_ON(bus->state != MDIOBUS_ALLOCATED && in __mdiobus_register() 534 bus->state != MDIOBUS_UNREGISTERED); in __mdiobus_register() 542 /* We need to set state to MDIOBUS_UNREGISTERED to correctly release in __mdiobus_register() 547 bus->state = MDIOBUS_UNREGISTERED; in __mdiobus_register() 595 bus->state = MDIOBUS_REGISTERED; in __mdiobus_register() 623 if (WARN_ON_ONCE(bus->state != MDIOBUS_REGISTERED)) in mdiobus_unregister() 625 bus->state in mdiobus_unregister() [all...] |
/kernel/linux/linux-5.10/drivers/net/wan/lmc/ |
H A D | lmc_media.c | 97 .defaults = lmc_ds3_default, /* reset to default state */ 98 .set_status = lmc_ds3_set_status, /* reset status to state provided */ 112 .defaults = lmc_hssi_default, /* reset to default state */ 113 .set_status = lmc_hssi_set_status, /* reset status to state provided */ 127 .defaults = lmc_ssi_default, /* reset to default state */ 128 .set_status = lmc_ssi_set_status, /* reset status to state provided */ 142 .defaults = lmc_t1_default, /* reset to default state */ 143 .set_status = lmc_t1_set_status, /* reset status to state provided */ 188 * Given a user provided state, set ourselves up to match it. This will 260 lmc_hssi_set_link_status (lmc_softc_t * const sc, int state) in lmc_hssi_set_link_status() argument 274 lmc_hssi_set_crc_length(lmc_softc_t * const sc, int state) lmc_hssi_set_crc_length() argument 509 lmc_ds3_set_crc_length(lmc_softc_t * const sc, int state) lmc_ds3_set_crc_length() argument 764 lmc_ssi_set_link_status(lmc_softc_t * const sc, int state) lmc_ssi_set_link_status() argument 785 lmc_ssi_set_crc_length(lmc_softc_t * const sc, int state) lmc_ssi_set_crc_length() argument 1149 lmc_t1_set_crc_length(lmc_softc_t * const sc, int state) lmc_t1_set_crc_length() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 109 if (test_bit(SAS_HA_FROZEN, &ha->state)) in sas_scsi_task_done() 171 if (test_bit(SAS_DEV_GONE, &dev->state)) { in sas_queuecommand() 401 while (test_bit(SAS_DEV_EH_PENDING, &dev->state)) { in sas_wait_eh() 434 if (!test_bit(SAS_DEV_EH_PENDING, &dev->state) && in sas_queue_reset() 435 !test_bit(reset_type, &dev->state)) { in sas_queue_reset() 439 set_bit(SAS_DEV_EH_PENDING, &dev->state); in sas_queue_reset() 440 set_bit(reset_type, &dev->state); in sas_queue_reset() 708 if (test_and_clear_bit(SAS_DEV_LU_RESET, &dev->state)) in sas_eh_handle_resets() 711 if (test_and_clear_bit(SAS_DEV_RESET, &dev->state)) in sas_eh_handle_resets() 716 clear_bit(SAS_DEV_EH_PENDING, &dev->state); in sas_eh_handle_resets() [all...] |
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | rtmutex.c | 26 * lock->owner state tracking: 29 * is used to keep track of the "lock has waiters" state. 41 * (*) It also can be a transitional state when grabbing the lock 44 * NULL in this small time, hence this can be a transitional state. 140 * We can speed up the acquire/release, if there's no debugging state to be 514 * reached or the state of the chain has changed while we in rt_mutex_adjust_prio_chain() 521 * Check the orig_waiter state. After we dropped the locks, in rt_mutex_adjust_prio_chain() 816 * The RT_MUTEX_HAS_WAITERS bit can have a transitional state in try_to_take_rt_mutex() 820 * transient state if it does a trylock or leaves the lock in try_to_take_rt_mutex() 1157 * @state 1165 __rt_mutex_slowlock(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, struct rt_mutex_waiter *waiter) __rt_mutex_slowlock() argument 1228 rt_mutex_slowlock(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk) rt_mutex_slowlock() argument 1404 rt_mutex_fastlock(struct rt_mutex *lock, int state, int (*slowfn)(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk)) rt_mutex_fastlock() argument 1416 rt_mutex_timed_fastlock(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk, int (*slowfn)(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk)) rt_mutex_timed_fastlock() argument [all...] |