Home
last modified time | relevance | path

Searched refs:state (Results 776 - 800 of 4891) sorted by relevance

1...<<31323334353637383940>>...196

/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_clear.c242 struct radv_meta_state *state = &device->meta_state; in finish_meta_clear_htile_mask_state() local
244 radv_DestroyPipeline(radv_device_to_handle(device), state->clear_htile_mask_pipeline, in finish_meta_clear_htile_mask_state()
245 &state->alloc); in finish_meta_clear_htile_mask_state()
246 radv_DestroyPipelineLayout(radv_device_to_handle(device), state->clear_htile_mask_p_layout, in finish_meta_clear_htile_mask_state()
247 &state->alloc); in finish_meta_clear_htile_mask_state()
249 radv_device_to_handle(device), state->clear_htile_mask_ds_layout, &state->alloc); in finish_meta_clear_htile_mask_state()
255 struct radv_meta_state *state = &device->meta_state; in finish_meta_clear_dcc_comp_to_single_state() local
259 state->clear_dcc_comp_to_single_pipeline[i], &state in finish_meta_clear_dcc_comp_to_single_state()
270 struct radv_meta_state *state = &device->meta_state; radv_device_finish_meta_clear_state() local
682 struct radv_meta_state *state = &device->meta_state; clear_htile_mask() local
936 struct radv_meta_state *state = &device->meta_state; init_meta_clear_htile_mask_state() local
1051 struct radv_meta_state *state = &device->meta_state; create_dcc_comp_to_single_pipeline() local
1081 struct radv_meta_state *state = &device->meta_state; init_meta_clear_dcc_comp_to_single_state() local
1134 struct radv_meta_state *state = &device->meta_state; radv_device_init_meta_clear_state() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dipu_parser.c38 uint32_t state = ipc->pc.state; in ipu_parse() local
51 state = (state << 8) | buf[i]; in ipu_parse()
52 if (state == 0x1b0) { in ipu_parse()
58 ipc->pc.state = state; in ipu_parse()
H A Dmpegaudio_parser.c50 uint32_t state= pc->state; in mpegaudio_parse() local
60 state = 0; in mpegaudio_parse()
71 state= (state<<8) + buf[i++]; in mpegaudio_parse()
73 ret = ff_mpa_decode_header(state, &sr, &channels, &frame_size, &bit_rate, &codec_id); in mpegaudio_parse()
79 if((state&SAME_HEADER_MASK) != (s->header&SAME_HEADER_MASK) && s->header) in mpegaudio_parse()
81 s->header= state; in mpegaudio_parse()
114 pc->state= state; in mpegaudio_parse()
[all...]
/third_party/ffmpeg/libavutil/
H A Dlfg.h34 unsigned int state[64]; member
41 * Seed the state of the ALFG using binary data.
50 * Please also consider a simple LCG like state= state*1664525+1013904223,
54 unsigned a = c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63]; in av_lfg_get()
65 unsigned int a= c->state[(c->index-55) & 63]; in av_mlfg_get()
66 unsigned int b= c->state[(c->index-24) & 63]; in av_mlfg_get()
67 a = c->state[ in av_mlfg_get()
[all...]
/third_party/ffmpeg/libavformat/
H A Davs3dec.c33 uint8_t state = 0; in avs3video_probe() local
39 state = code & 0xFF; in avs3video_probe()
41 if (state < AVS3_SEQ_START_CODE) { in avs3video_probe()
48 if (state == AVS3_SEQ_START_CODE) { in avs3video_probe()
52 } else if (AVS3_ISPIC(state)) { in avs3video_probe()
54 } else if ((state == AVS3_UNDEF_START_CODE) || in avs3video_probe()
55 (state > AVS3_VIDEO_EDIT_CODE)) { in avs3video_probe()
/third_party/mesa3d/src/asahi/compiler/
H A Dagx_validate.c56 enum agx_block_state state = AGX_BLOCK_STATE_PHI; in agx_validate_block_form() local
61 agx_validate_assert(state == AGX_BLOCK_STATE_PHI); in agx_validate_block_form()
65 agx_validate_assert(state != AGX_BLOCK_STATE_CF); in agx_validate_block_form()
66 state = AGX_BLOCK_STATE_BODY; in agx_validate_block_form()
70 agx_validate_assert(state != AGX_BLOCK_STATE_CF); in agx_validate_block_form()
71 state = AGX_BLOCK_STATE_CF; in agx_validate_block_form()
83 agx_validate_assert(state == AGX_BLOCK_STATE_CF); in agx_validate_block_form()
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_postsched.c369 #define dep_reg(state, idx) \
371 assert((idx) < ARRAY_SIZE((state)->regs)); \
372 &(state)->regs[(idx)]; \
376 add_dep(struct ir3_postsched_deps_state *state, in add_dep() argument
385 if (state->direction == F) { in add_dep()
393 add_single_reg_dep(struct ir3_postsched_deps_state *state, in add_single_reg_dep() argument
397 struct ir3_postsched_node *dep = dep_reg(state, num); in add_single_reg_dep()
400 if (src_n >= 0 && dep && state->direction == F) { in add_single_reg_dep()
402 unsigned dst_n = state->dst_n[num]; in add_single_reg_dep()
412 add_dep(state, de in add_single_reg_dep()
429 add_reg_dep(struct ir3_postsched_deps_state *state, struct ir3_postsched_node *node, const struct ir3_register *reg, unsigned num, int src_n, int dst_n) add_reg_dep() argument
454 calculate_deps(struct ir3_postsched_deps_state *state, struct ir3_postsched_node *node) calculate_deps() argument
500 struct ir3_postsched_deps_state state = { calculate_forward_deps() local
514 struct ir3_postsched_deps_state state = { calculate_reverse_deps() local
538 sched_dag_max_delay_cb(struct dag_node *node, void *state) sched_dag_max_delay_cb() argument
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fRandomFragmentOpTests.cpp153 static void setGLState (glu::CallLogWrapper& wrapper, const RenderState& state, int viewportX, int viewportY)
155 if (state.scissorTestEnabled)
158 wrapper.glScissor(viewportX+state.scissorRectangle.left, viewportY+state.scissorRectangle.bottom,
159 state.scissorRectangle.width, state.scissorRectangle.height);
164 if (state.stencilTestEnabled)
171 const StencilState& sParams = state.stencil[face];
181 if (state.depthTestEnabled)
184 wrapper.glDepthFunc(state
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_pax.c26 enum { PAX_STD_1, PAX_STD_3, SUCCESS, FAILURE } state; member
53 data->state = PAX_STD_1; in eap_pax_init()
83 data->state = FAILURE; in eap_pax_build_std_1()
93 data->state = FAILURE; in eap_pax_build_std_1()
114 data->state = FAILURE; in eap_pax_build_std_1()
139 data->state = FAILURE; in eap_pax_build_std_3()
156 data->state = FAILURE; in eap_pax_build_std_3()
170 data->state = FAILURE; in eap_pax_build_std_3()
184 switch (data->state) { in eap_pax_buildReq()
190 wpa_printf(MSG_DEBUG, "EAP-PAX: Unknown state in eap_pax_buildReq()
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fRandomFragmentOpTests.cpp153 static void setGLState (glu::CallLogWrapper& wrapper, const RenderState& state, int viewportX, int viewportY)
155 if (state.scissorTestEnabled)
158 wrapper.glScissor(viewportX+state.scissorRectangle.left, viewportY+state.scissorRectangle.bottom,
159 state.scissorRectangle.width, state.scissorRectangle.height);
164 if (state.stencilTestEnabled)
171 const StencilState& sParams = state.stencil[face];
181 if (state.depthTestEnabled)
184 wrapper.glDepthFunc(state
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_pax.c26 enum { PAX_STD_1, PAX_STD_3, SUCCESS, FAILURE } state; member
53 data->state = PAX_STD_1; in eap_pax_init()
83 data->state = FAILURE; in eap_pax_build_std_1()
93 data->state = FAILURE; in eap_pax_build_std_1()
114 data->state = FAILURE; in eap_pax_build_std_1()
139 data->state = FAILURE; in eap_pax_build_std_3()
156 data->state = FAILURE; in eap_pax_build_std_3()
170 data->state = FAILURE; in eap_pax_build_std_3()
184 switch (data->state) { in eap_pax_buildReq()
190 wpa_printf(MSG_DEBUG, "EAP-PAX: Unknown state in eap_pax_buildReq()
[all...]
/test/xts/acts/communication/wifi_standard/entry/src/ohosTest/ets/test/
H A DWifiStationFunctions.test.js252 let state = wifi.getLinkedInfo().ConnState;
253 if (state == wifi.ConnState.SCANNING) {
254 expect(true).assertEqual(state == 0);
256 if (state == wifi.ConnState.CONNECTING) {
257 expect(true).assertEqual(state == 1);
259 if (state == wifi.ConnState.AUTHENTICATING) {
260 expect(true).assertEqual(state == 2);
262 if (state == wifi.ConnState.OBTAINING_IPADDR) {
263 expect(true).assertEqual(state == 3);
265 if (state
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_group_loads.c170 struct check_sources_state *state = (struct check_sources_state *)data; in has_only_sources_less_than() local
173 return state->block != src->ssa->parent_instr->block || in has_only_sources_less_than()
174 src->ssa->parent_instr->index < state->first_index; in has_only_sources_less_than()
217 struct check_sources_state state; in group_loads() local
218 state.block = first->block; in group_loads()
219 state.first_index = first->index; in group_loads()
232 if (nir_foreach_src(instr, has_only_sources_less_than, &state)) { in group_loads()
329 struct indirection_state *state = (struct indirection_state *)data; in gather_indirections() local
333 if (instr->block == state->block) { in gather_indirections()
339 state in gather_indirections()
358 struct indirection_state state; get_num_indirections() local
[all...]
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_encode.h57 static inline void virgl_encoder_write_dword(struct virgl_cmd_buf *state, in virgl_encoder_write_dword() argument
60 state->buf[state->cdw++] = dword; in virgl_encoder_write_dword()
63 static inline void virgl_encoder_write_qword(struct virgl_cmd_buf *state, in virgl_encoder_write_qword() argument
66 memcpy(state->buf + state->cdw, &qword, sizeof(uint64_t)); in virgl_encoder_write_qword()
67 state->cdw += 2; in virgl_encoder_write_qword()
70 static inline void virgl_encoder_write_block(struct virgl_cmd_buf *state, in virgl_encoder_write_block() argument
74 memcpy(state->buf + state in virgl_encoder_write_block()
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir_lower_cs_intrinsics.c35 lower_cs_intrinsics_convert_block(struct lower_intrinsics_state *state, in lower_cs_intrinsics_convert_block() argument
39 nir_builder *b = &state->builder; in lower_cs_intrinsics_convert_block()
40 nir_shader *nir = state->nir; in lower_cs_intrinsics_convert_block()
92 if (state->nir->info.workgroup_size_variable) { in lower_cs_intrinsics_convert_block()
120 switch (state->nir->info.cs.derivative_group) { in lower_cs_intrinsics_convert_block()
224 if (state->nir->info.workgroup_size_variable) { in lower_cs_intrinsics_convert_block()
254 state->progress = true; in lower_cs_intrinsics_convert_block()
261 lower_cs_intrinsics_convert_impl(struct lower_intrinsics_state *state) in lower_cs_intrinsics_convert_impl() argument
263 nir_builder_init(&state->builder, state in lower_cs_intrinsics_convert_impl()
278 struct lower_intrinsics_state state = { brw_nir_lower_cs_intrinsics() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_vs_exec.c75 if (evs->machine->Tokens != shader->state.tokens) { in vs_exec_prepare()
77 shader->state.tokens, in vs_exec_prepare()
213 FREE((void*) dvs->state.tokens); in vs_exec_delete()
220 const struct pipe_shader_state *state) in draw_create_vs_exec()
227 if (state->type == PIPE_SHADER_IR_NIR) { in draw_create_vs_exec()
228 vs->base.state.type = PIPE_SHADER_IR_TGSI; in draw_create_vs_exec()
229 vs->base.state.tokens = nir_to_tgsi(state->ir.nir, draw->pipe->screen); in draw_create_vs_exec()
231 assert(state->type == PIPE_SHADER_IR_TGSI); in draw_create_vs_exec()
232 vs->base.state in draw_create_vs_exec()
219 draw_create_vs_exec(struct draw_context *draw, const struct pipe_shader_state *state) draw_create_vs_exec() argument
[all...]
/third_party/python/Lib/turtledemo/
H A Dnim.py33 def computerzug(state):
34 xored = state[0] ^ state[1] ^ state[2]
36 return randommove(state)
38 s = state[z] ^ xored
39 if s <= state[z]:
43 def randommove(state):
44 m = max(state)
47 if state[
[all...]
/drivers/hdf_core/adapter/khdf/linux/platform/pwm/
H A Dpwm_adapter.c40 pwm->cfg.period = device->state.period; in HdfPwmOpen()
41 pwm->cfg.duty = device->state.duty_cycle; in HdfPwmOpen()
42 pwm->cfg.polarity = device->state.polarity; in HdfPwmOpen()
43 pwm->cfg.status = device->state.enabled ? PWM_ENABLE_STATUS : PWM_DISABLE_STATUS; in HdfPwmOpen()
61 struct pwm_state state; in HdfPwmSetConfig() local
68 state.duty_cycle = config->duty; in HdfPwmSetConfig()
69 state.enabled = (config->status == PWM_ENABLE_STATUS) ? true : false; in HdfPwmSetConfig()
70 state.period = config->period; in HdfPwmSetConfig()
71 state.polarity = config->polarity; in HdfPwmSetConfig()
74 ret = pwm_apply_state(pwm->priv, &state); in HdfPwmSetConfig()
[all...]
/test/xts/hats/hdf/audio/idl/benchmarktest/effect/
H A Deffect_control_test.cpp43 virtual void SetUp(const ::benchmark::State &state);
44 virtual void TearDown(const ::benchmark::State &state);
49 void EffectControlBenchmarkTest::SetUp(const ::benchmark::State &state) in SetUp() argument
68 void EffectControlBenchmarkTest::TearDown(const ::benchmark::State &state) in TearDown() argument
95 BENCHMARK_F(EffectControlBenchmarkTest, HdfAudioEffectProcess)(benchmark::State &state) in BENCHMARK_F()
100 for (auto _ : state) { in BENCHMARK_F()
112 BENCHMARK_F(EffectControlBenchmarkTest, HdfAudioSendCommandInit)(benchmark::State &state) in BENCHMARK_F()
118 for (auto _ : state) { in BENCHMARK_F()
130 BENCHMARK_F(EffectControlBenchmarkTest, HdfAudioGetDescriptor)(benchmark::State &state) in BENCHMARK_F()
134 for (auto _ : state) { in BENCHMARK_F()
[all...]
/test/xts/hats/hdf/codec/benchmarktest/
H A Dcodec_benchmark_manager_test.cpp28 void SetUp(const ::benchmark::State &state) in SetUp() argument
33 void TearDown(const ::benchmark::State &state) in TearDown() argument
44 BENCHMARK_F(CodecBenchmarkManagerTest, GetComponentNum)(benchmark::State &state) in BENCHMARK_F()
49 for (auto _ : state) { in BENCHMARK_F()
59 BENCHMARK_F(CodecBenchmarkManagerTest, GetComponentCapabilityList)(benchmark::State &state) in BENCHMARK_F()
68 for (auto _ : state) { in BENCHMARK_F()
77 BENCHMARK_F(CodecBenchmarkManagerTest, CreateComponent)(benchmark::State &state) in BENCHMARK_F()
84 for (auto _ : state) { in BENCHMARK_F()
94 BENCHMARK_F(CodecBenchmarkManagerTest, DestoryComponent)(benchmark::State &state) in BENCHMARK_F()
113 for (auto _ : state) { in BENCHMARK_F()
[all...]
/third_party/elfutils/libelf/
H A Delf_getphdrnum.c44 if (unlikely (elf->state.elf64.ehdr == NULL)) in __elf_getphdrnum_rdlock()
53 ? elf->state.elf32.ehdr->e_phnum in __elf_getphdrnum_rdlock()
54 : elf->state.elf64.ehdr->e_phnum); in __elf_getphdrnum_rdlock()
59 ? &elf->state.elf32.scns in __elf_getphdrnum_rdlock()
60 : &elf->state.elf64.scns); in __elf_getphdrnum_rdlock()
69 Elf_Scn *scn = &elf->state.elf32.scns.data[0]; in __elf_getphdrnum_rdlock()
79 Elf_Scn *scn = &elf->state.elf64.scns.data[0]; in __elf_getphdrnum_rdlock()
98 if (elf->state.elf.phdr == NULL) in __elf_getphdrnum_chk_rdlock()
101 ? elf->state.elf32.ehdr->e_phoff in __elf_getphdrnum_chk_rdlock()
102 : elf->state in __elf_getphdrnum_chk_rdlock()
[all...]
/third_party/benchmark/test/
H A Dfilter_test.cc42 static void NoPrefix(benchmark::State& state) { in NoPrefix() argument
43 for (auto _ : state) { in NoPrefix()
48 static void BM_Foo(benchmark::State& state) { in BM_Foo() argument
49 for (auto _ : state) { in BM_Foo()
54 static void BM_Bar(benchmark::State& state) { in BM_Bar() argument
55 for (auto _ : state) { in BM_Bar()
60 static void BM_FooBar(benchmark::State& state) { in BM_FooBar() argument
61 for (auto _ : state) { in BM_FooBar()
66 static void BM_FooBa(benchmark::State& state) { in BM_FooBa() argument
67 for (auto _ : state) { in BM_FooBa()
[all...]
/third_party/libwebsockets/lib/drivers/display/
H A Dlws-display.c34 /* we fire both to dim and to blank... if already in dim state, blank */ in sul_autodim_cb()
36 switch (lds->state) { in sul_autodim_cb()
39 lds->state = LWSDISPS_ACTIVE; in sul_autodim_cb()
45 lds->state = LWSDISPS_AUTODIMMED; in sul_autodim_cb()
53 lds->state = LWSDISPS_GOING_OFF; in sul_autodim_cb()
83 lds->state = LWSDISPS_OFF; in lws_display_state_init()
104 if (lds->state == LWSDISPS_OFF) { in lws_display_state_active()
107 lds->state = LWSDISPS_BECOMING_ACTIVE; in lws_display_state_active()
111 if (lds->state != LWSDISPS_ACTIVE) in lws_display_state_active()
115 lds->state in lws_display_state_active()
[all...]
/third_party/node/test/abort/
H A Dtest-addon-uv-handle-leak.js46 let state = 'initial';
92 switch (state) {
95 state = 'handle-start';
99 state = 'assertion-failure';
103 state = 'close-callback';
107 state = 'data';
111 state = 'maybe-first-field';
117 state = 'handle-start';
121 state = 'done';
128 assert.strictEqual(state, 'don
[all...]
/third_party/musl/src/malloc/liteos_a/user_debug/
H A Dbacktrace.c36 struct unwind_state_t *state = (struct unwind_state_t *)arg; in unwind_callback() local
39 if (state->cur != state->end) { in unwind_callback()
40 *state->cur = (_Unwind_Word *)pc; in unwind_callback()
45 ++state->cur; in unwind_callback()
52 struct unwind_state_t state; in backtrace() local
58 state.cur = (_Unwind_Word **)buffer; in backtrace()
59 state.end = (_Unwind_Word **)(buffer + size); in backtrace()
60 _Unwind_Backtrace(&unwind_callback, &state); in backtrace()
62 return (void **)state in backtrace()
[all...]

Completed in 16 milliseconds

1...<<31323334353637383940>>...196