/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_drm.c | 451 sync->state = initial_value ? TU_TIMELINE_SYNC_STATE_SIGNALED : in tu_timeline_sync_init() 481 sync->state = TU_TIMELINE_SYNC_STATE_RESET; in tu_timeline_sync_reset() 536 if (sync->state == TU_TIMELINE_SYNC_STATE_RESET) { in tu_timeline_sync_wait() 539 } else if (sync->state == TU_TIMELINE_SYNC_STATE_SIGNALED) { in tu_timeline_sync_wait() 542 } else if (sync->state == TU_TIMELINE_SYNC_STATE_SUBMITTED) { in tu_timeline_sync_wait() 558 sync->state = TU_TIMELINE_SYNC_STATE_SIGNALED; in tu_timeline_sync_wait() 572 /* It's possible that some of the fences have changed state since the in tu_timeline_sync_wait() 579 if (sync->state == TU_TIMELINE_SYNC_STATE_RESET) in tu_timeline_sync_wait() 1077 assert(sync->state != TU_TIMELINE_SYNC_STATE_RESET); in tu_queue_submit_locked() 1079 /* Set SIGNALED to the state o in tu_queue_submit_locked() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_blit2d.c | 602 struct radv_meta_state *state = &device->meta_state; in radv_device_finish_meta_blit2d_state() local 607 state->blit2d[log2_samples].p_layouts[src], &state->alloc); in radv_device_finish_meta_blit2d_state() 609 radv_device_to_handle(device), state->blit2d[log2_samples].ds_layouts[src], in radv_device_finish_meta_blit2d_state() 610 &state->alloc); in radv_device_finish_meta_blit2d_state() 614 state->blit2d[log2_samples].pipelines[src][j], &state->alloc); in radv_device_finish_meta_blit2d_state() 618 state->blit2d[log2_samples].depth_only_pipeline[src], &state->alloc); in radv_device_finish_meta_blit2d_state() 620 state in radv_device_finish_meta_blit2d_state() [all...] |
/third_party/libwebsockets/lib/secure-streams/ |
H A D | secure-streams.c | 75 * For each "current state", set bit offsets for valid "next states". 77 * Since there are complicated ways to arrive at state transitions like proxying 78 * and asynchronous destruction etc, so we monitor the state transitions we are 79 * giving the ss user code to ensure we never deliver illegal state transitions 85 /* if we was last in this state... we can legally go to these states */ 306 * we can't judge user or transient states, leave the old state in lws_ss_check_next_state() 312 /* we don't recognize this state as usable */ in lws_ss_check_next_state() 313 lwsl_err("%s: %s: bad new state %u\n", __func__, lc->gutag, cs); in lws_ss_check_next_state() 319 /* existing state is broken */ in lws_ss_check_next_state() 320 lwsl_err("%s: %s: bad existing state in lws_ss_check_next_state() 397 lws_ss_state_name(int state) lws_ss_state_name() argument 1784 lws_ss_change_handlers(struct lws_ss_handle *h, lws_ss_state_return_t (*rx)(void *userobj, const uint8_t *buf, size_t len, int flags), lws_ss_state_return_t (*tx)(void *userobj, lws_ss_tx_ordinal_t ord, uint8_t *buf, size_t *len, int *flags), lws_ss_state_return_t (*state)(void *userobj, void *h_src , lws_ss_constate_t state, lws_ss_tx_ordinal_t ack)) lws_ss_change_handlers() argument [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_ir_performance.cpp | 93 struct state { struct 94 state() : unit_ready(), dep_ready(), unit_busy(), weight(1.0) {} in state() function 1173 stall_on_dependency(state &st, enum intel_eu_dependency_id id) in stall_on_dependency() 1186 execute_instruction(state &st, const perf_desc &perf) in execute_instruction() 1211 mark_read_dependency(state &st, const perf_desc &perf, in mark_read_dependency() 1223 mark_write_dependency(state &st, const perf_desc &perf, in mark_write_dependency() 1341 issue_fs_inst(state &st, const struct brw_isa_info *isa, 1462 issue_vec4_instruction(state &st, const struct brw_isa_info *isa, in issue_vec4_instruction() 1560 calculate_thread_throughput(const state &st, float busy) in calculate_thread_throughput() 1574 state in calculate_performance() [all...] |
/third_party/python/Lib/multiprocessing/ |
H A D | managers.py | 74 def __setstate__(self, state): 75 (self.typeid, self.address, self.id) = state 470 # Class to represent state of a manager 523 "Unknown state {!r}".format(self._state.value)) 547 "Unknown state {!r}".format(self._state.value)) 653 "Unknown state {!r}".format(self._state.value)) 660 def _finalize_manager(process, address, authkey, state, _Client, 688 state.value = State.SHUTDOWN 856 state = self._manager and self._manager._state 860 args=(self._token, self._authkey, state, [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | ContextVk.h | 75 ContextVk(const gl::State &state, gl::ErrorSet *errorSet, RendererVk *renderer); 303 ShaderImpl *createShader(const gl::ShaderState &state) override; 304 ProgramImpl *createProgram(const gl::ProgramState &state) override; 307 FramebufferImpl *createFramebuffer(const gl::FramebufferState &state) override; 310 TextureImpl *createTexture(const gl::TextureState &state) override; 313 RenderbufferImpl *createRenderbuffer(const gl::RenderbufferState &state) override; 316 BufferImpl *createBuffer(const gl::BufferState &state) override; 319 VertexArrayImpl *createVertexArray(const gl::VertexArrayState &state) override; 328 const gl::TransformFeedbackState &state) override; 331 SamplerImpl *createSampler(const gl::SamplerState &state) overrid [all...] |
/third_party/python/Modules/ |
H A D | mmapmodule.c | 130 mmap_state *state = PyModule_GetState(module); in get_mmap_state() local 131 assert(state); in get_mmap_state() 132 return state; in get_mmap_state() 1588 mmap_state *state = get_mmap_state(module); in mmap_traverse() local 1589 Py_VISIT(state->mmap_object_type); in mmap_traverse() 1596 mmap_state *state = get_mmap_state(module); in mmap_clear() local 1597 Py_CLEAR(state->mmap_object_type); in mmap_clear() 1610 mmap_state *state = get_mmap_state(module); in mmap_exec() local 1618 state->mmap_object_type = (PyTypeObject *)PyType_FromModuleAndSpec(module, in mmap_exec() 1621 if (state in mmap_exec() [all...] |
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | syscalls.rs | 1568 state: copyfile_state_t, 1575 state: copyfile_state_t, in fcopyfile() 1583 state, 1603 pub(crate) unsafe fn copyfile_state_free(state: copyfile_state_t) -> io::Result<()> { 1605 fn copyfile_state_free(state: copyfile_state_t) -> c::c_int; in copyfile_state_free() 1608 nonnegative_ret(copyfile_state_free(state)) 1615 pub(crate) unsafe fn copyfile_state_get_copied(state: copyfile_state_t) -> io::Result<u64> { 1617 copyfile_state_get(state, COPYFILE_STATE_COPIED, copied.as_mut_ptr().cast())?; 1623 state: copyfile_state_t, 1628 fn copyfile_state_get(state [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_threaded_context.c | 764 type state; \ 770 pipe->func(pipe, addr(to_call(call, tc_call_##func)->state)); \ 780 p->state = deref(param); \ 1012 const struct pipe_##sname##_state *state) \ 1015 return pipe->create_##name##_state(pipe, state); \ 1098 struct pipe_framebuffer_state state; member 1104 struct pipe_framebuffer_state *p = &to_call(call, tc_framebuffer)->state; in tc_call_set_framebuffer_state() 1124 p->state.width = fb->width; in tc_set_framebuffer_state() 1125 p->state.height = fb->height; in tc_set_framebuffer_state() 1126 p->state in tc_set_framebuffer_state() 1140 float state[6]; global() member 1922 tc_create_texture_handle(struct pipe_context *_pipe, struct pipe_sampler_view *view, const struct pipe_sampler_state *state) tc_create_texture_handle() argument 3537 struct pipe_vertex_state *state; global() member 3601 struct pipe_vertex_state *state; global() member 3617 tc_draw_vertex_state(struct pipe_context *_pipe, struct pipe_vertex_state *state, uint32_t partial_velem_mask, struct pipe_draw_vertex_state_info info, const struct pipe_draw_start_count_bias *draws, unsigned num_draws) tc_draw_vertex_state() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_cmdstream.c | 96 struct panfrost_pool_ref state; member 258 struct pipe_framebuffer_state *state, in panfrost_fs_required() 274 for (unsigned i = 0; i < state->nr_cbufs; ++i) { in panfrost_fs_required() 275 if (state->cbufs[i] && !blend->info[i].no_colour) in panfrost_fs_required() 285 * to emit the blend descriptors, as well as the fragment renderer state 478 panfrost_batch_add_bo(batch, ss->state.bo, PIPE_SHADER_VERTEX); in panfrost_emit_compute_shader_meta() 480 return ss->state.gpu; in panfrost_emit_compute_shader_meta() 655 /* We need to merge several several partial renderer state descriptors, in panfrost_emit_frag_shader() 669 /* Merge with CSO state and upload */ in panfrost_emit_frag_shader() 679 /* Word 8, 9 Misc state */ in panfrost_emit_frag_shader() 255 panfrost_fs_required( struct panfrost_shader_state *fs, struct panfrost_blend_state *blend, struct pipe_framebuffer_state *state, const struct panfrost_zsa_state *zsa) panfrost_fs_required() argument 4524 prepare_shader(struct panfrost_shader_state *state, struct panfrost_pool *pool, bool upload) prepare_shader() argument [all...] |
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_running_record.h | 103 void SetState(int32_t state); 266 * @param state, the application uid. 270 // Get current state for this process 273 * @brief Obtains the application state. 275 * @return Returns the application state. 279 // Set current state for this process 282 * @brief Setting the application state. 284 * @param state, the application state. 286 void SetState(const ApplicationState state); [all...] |
/foundation/ability/form_fwk/test/mock/include/ |
H A D | mock_ability_manager.h | 84 int AbilityTransitionDone(const sptr<IRemoteObject> &token, int state, const PacMap &saveData) override 160 void DumpState(const std::string &args, std::vector<std::string> &state) override 440 int AbilityTransitionDone(const sptr<IRemoteObject> &token, int state, const PacMap &saveData) override 465 void DumpState(const std::string &args, std::vector<std::string> &state) override 471 const std::string& args, std::vector<std::string>& state, bool isClient, bool isUserID, int UserID) override 766 int ForceTimeoutForTest(const std::string &abilityName, const std::string &state) override
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | ams_mgr_scheduler.cpp | 124 void AmsMgrScheduler::UpdateAbilityState(const sptr<IRemoteObject> &token, const AbilityState state) in UpdateAbilityState() argument 134 std::function<void()> updateAbilityStateFunc = [amsMgrServiceInner = amsMgrServiceInner_, token, state] () { in UpdateAbilityState() 135 amsMgrServiceInner->UpdateAbilityState(token, state); in UpdateAbilityState() 143 void AmsMgrScheduler::UpdateExtensionState(const sptr<IRemoteObject> &token, const ExtensionState state) in UpdateExtensionState() argument 153 std::function<void()> updateExtensionStateFunc = [amsMgrServiceInner = amsMgrServiceInner_, token, state]() { in UpdateExtensionState() 154 amsMgrServiceInner->UpdateExtensionState(token, state); in UpdateExtensionState()
|
/foundation/ability/ability_runtime/test/unittest/ams_ability_running_record_test/ |
H A D | ams_ability_running_record_test.cpp | 205 * FunctionPoints: Update the state of AbilityRunningRecord using correct args. 207 * CaseDescription: Verify the function UpdateAbilityState can update the state of AbilityRunningRecord correctly. 246 * FunctionPoints: Update the state of AbilityRunningRecord using incorrect args. 270 AbilityState state = abilityRunningRecord->GetState(); in HWTEST_F() local 272 EXPECT_EQ(abilityRunningRecord->GetState(), state); in HWTEST_F() 281 * FunctionPoints: Update the state of AbilityRunningRecord using nullptr. 304 AbilityState state = abilityRunningRecord->GetState(); in HWTEST_F() local 307 EXPECT_EQ(abilityRunningRecord->GetState(), state); in HWTEST_F() 315 * FunctionPoints: Update the state of AbilityRunningRecord that does not exist. 317 * CaseDescription: Verify the function UpdateAbilityState cannot change the state o 344 AbilityState state = abilityRunningRecord->GetState(); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/ |
H A D | js_form_extension.cpp | 392 auto state = static_cast<int32_t>(FormState::DEFAULT); in OnAcquireFormState() local 404 if (!ConvertFromJsValue(env, nativeResult, state)) { in OnAcquireFormState() 409 TAG_LOGI(AAFwkTag::FORM_EXT, "state: %{public}d", state); in OnAcquireFormState() 410 if (state <= static_cast<int32_t>(AppExecFwk::FormState::UNKNOWN) || in OnAcquireFormState() 411 state > static_cast<int32_t>(AppExecFwk::FormState::READY)) { in OnAcquireFormState() 414 return static_cast<AppExecFwk::FormState>(state); in OnAcquireFormState()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | custom_paint_component.cpp | 131 double CanvasTaskPool::MeasureText(const std::string& text, const PaintState& state) in MeasureText() argument 137 return paint->MeasureText(text, state); in MeasureText() 140 double CanvasTaskPool::MeasureTextHeight(const std::string& text, const PaintState& state) in MeasureTextHeight() argument 146 return paint->MeasureTextHeight(text, state); in MeasureTextHeight() 149 TextMetrics CanvasTaskPool::MeasureTextMetrics(const std::string& text, const PaintState& state) in MeasureTextMetrics() argument 155 return paint->MeasureTextMetrics(text, state); in MeasureTextMetrics()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/ |
H A D | bms_bundle_get_overlay_module_info_test.cpp | 62 void CheckEnabledState(int32_t state);
134 std::string state = TEST_MODULE_NAME + Constants::FILE_UNDERLINE + std::to_string(OVERLAY_ENABLE);
in AddOverlayInnerBundleInfo() local 135 userInfo.bundleUserInfo.overlayModulesState.emplace_back(state);
in AddOverlayInnerBundleInfo() 186 EXPECT_EQ(info.state, OVERLAY_ENABLE);
in CheckOverlayModuleInfo() 194 EXPECT_EQ(info.state, OVERLAY_ENABLE);
in CheckOverlayBundleInfo() 204 info.state = OVERLAY_ENABLE;
in AddOverlayBundleInfo()
|
/foundation/multimodalinput/input/service/event_resample/src/ |
H A D | event_resample.cpp | 66 // Update touch state object in OnEventConsume() 478 void EventResample::RewriteMessage(TouchState& state, MotionEvent &event) in RewriteMessage() argument 482 if (state.lastResample.HasPointerId(id)) { in RewriteMessage() 483 if ((event.actionTime < state.lastResample.actionTime) || state.RecentCoordinatesAreIdentical(id)) { in RewriteMessage() 485 const Pointer& resampleCoords = state.lastResample.GetPointerById(id); in RewriteMessage() 488 state.lastResample.pointers.erase(id); in RewriteMessage()
|
/foundation/resourceschedule/ffrt/src/dfx/bbox/ |
H A D | bbox.cpp | 163 return (t->state == TaskState::RUNNING) && t->coRoutine && in SaveNormalTaskStatus() 167 return t->state == TaskState::BLOCKED; in SaveNormalTaskStatus() 170 return t->state == TaskState::PENDING; in SaveNormalTaskStatus() 529 return (t->state == TaskState::RUNNING) && t->coRoutine && in SaveNormalTaskStatusInfo() 533 return t->state == TaskState::BLOCKED; in SaveNormalTaskStatusInfo() 536 return t->state == TaskState::PENDING; in SaveNormalTaskStatusInfo()
|
/foundation/communication/netstack/test/unittest/tls_test/client/ |
H A D | TlsSocketTest.cpp | 225 testService.GetState([&TlsSocketstate](int32_t errCode, const Socket::SocketStateBase &state) {
in HWTEST_F() 227 TlsSocketstate = state;
in HWTEST_F() 306 testService.GetState([&socketStateBase](int32_t errCode, Socket::SocketStateBase state) {
in HWTEST_F() 309 socketStateBase.SetIsBound(state.IsBound());
in HWTEST_F() 310 socketStateBase.SetIsClose(state.IsClose());
in HWTEST_F() 311 socketStateBase.SetIsConnected(state.IsConnected());
in HWTEST_F()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
H A D | wifi_settings_test.cpp | 231 bool state = WifiSettings::GetInstance().IsModulePreLoad("wifitest"); in HWTEST_F() local 232 EXPECT_FALSE(state); in HWTEST_F() 241 bool state = WifiSettings::GetInstance().GetSupportHwPnoFlag(NETWORK_ID); in HWTEST_F() local 242 EXPECT_TRUE(state); in HWTEST_F() 279 int state = WifiSettings::GetInstance().GetRealMacAddress(macAddress, NETWORK_ID); in HWTEST_F() local 280 EXPECT_EQ(state, WIFI_OPT_SUCCESS); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsSocketTest.cpp | 225 testService.GetState([&TlsSocketstate](int32_t errCode, const Socket::SocketStateBase &state) { in HWTEST_F() 227 TlsSocketstate = state; in HWTEST_F() 306 testService.GetState([&socketStateBase](int32_t errCode, Socket::SocketStateBase state) { in HWTEST_F() 309 socketStateBase.SetIsBound(state.IsBound()); in HWTEST_F() 310 socketStateBase.SetIsClose(state.IsClose()); in HWTEST_F() 311 socketStateBase.SetIsConnected(state.IsConnected()); in HWTEST_F()
|
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_device_impl.cpp | 316 ErrCode WifiDeviceImpl::GetWifiState(int &state) in GetWifiState() argument 320 return client_->GetWifiState(state); in GetWifiState() 574 ErrCode WifiDeviceImpl::SetSatelliteState(const int state) in SetSatelliteState() argument 578 return client_->SetSatelliteState(state); in SetSatelliteState() 588 ErrCode WifiDeviceImpl::GetWifiDetailState(WifiDetailState &state) in GetWifiDetailState() argument 592 return client_->GetWifiDetailState(state); in GetWifiDetailState()
|
/third_party/ffmpeg/libavcodec/ |
H A D | dirac_vlc.c | 45 uint16_t state; /* Expected state for the next byte */ member 1092 lut = dirac_golomb_lut[lut.state + *buf++]; \ 1109 if (lut.state != STATE_START) in ff_dirac_golomb_read_16bit() 1110 *dst++ = -((lut.state != STATE_SIGN ? (val << 1) | 1 : val) - 1); in ff_dirac_golomb_read_16bit() 1129 if (lut.state != STATE_START) in ff_dirac_golomb_read_32bit() 1130 *dst++ = -((lut.state != STATE_SIGN ? (val << 1) | 1 : val) - 1); in ff_dirac_golomb_read_32bit()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | ucol.cpp | 221 uint32_t state[2], in ucol_nextSortKeyPart() 230 UTRACE_DATA6(UTRACE_VERBOSE, "coll=%p, iter=%p, state=%d %d, dest=%p, count=%d", in ucol_nextSortKeyPart() 231 coll, iter, state[0], state[1], dest, count); in ucol_nextSortKeyPart() 234 internalNextSortKeyPart(iter, state, dest, count, *status); in ucol_nextSortKeyPart() 237 UTRACE_DATA4(UTRACE_VERBOSE, "dest = %vb, state=%d %d", in ucol_nextSortKeyPart() 238 dest,i, state[0], state[1]); in ucol_nextSortKeyPart() 219 ucol_nextSortKeyPart(const UCollator *coll, UCharIterator *iter, uint32_t state[2], uint8_t *dest, int32_t count, UErrorCode *status) ucol_nextSortKeyPart() argument
|