/third_party/musl/porting/uniproton/kernel/src/regex/ |
H A D | regexec.c | 146 more paths reach the same state, exactly one is chosen according to 159 tre_tnfa_transition_t *state; member 277 while (trans_i->state != NULL) in tre_tnfa_run_parallel() 288 reach_next_i->state = trans_i->state; in tre_tnfa_run_parallel() 299 if (reach_next_i->state == tnfa->final) in tre_tnfa_run_parallel() 312 reach_next_i->state = NULL; in tre_tnfa_run_parallel() 331 /* For each state in `reach', weed out states that don't fulfill the in tre_tnfa_run_parallel() 337 for (reach_i = reach; reach_i->state; reach_i++) in tre_tnfa_run_parallel() 358 reach_next_i->state in tre_tnfa_run_parallel() 495 tre_tnfa_transition_t *state; global() member 624 tre_tnfa_transition_t *state; tre_tnfa_run_backtrack() local [all...] |
/third_party/musl/src/regex/ |
H A D | regexec.c | 146 more paths reach the same state, exactly one is chosen according to 159 tre_tnfa_transition_t *state; member 277 while (trans_i->state != NULL) in tre_tnfa_run_parallel() 288 reach_next_i->state = trans_i->state; in tre_tnfa_run_parallel() 299 if (reach_next_i->state == tnfa->final) in tre_tnfa_run_parallel() 312 reach_next_i->state = NULL; in tre_tnfa_run_parallel() 331 /* For each state in `reach', weed out states that don't fulfill the in tre_tnfa_run_parallel() 337 for (reach_i = reach; reach_i->state; reach_i++) in tre_tnfa_run_parallel() 358 reach_next_i->state in tre_tnfa_run_parallel() 495 tre_tnfa_transition_t *state; global() member 624 tre_tnfa_transition_t *state; tre_tnfa_run_backtrack() local [all...] |
/base/powermgr/display_manager/state_manager/service/native/src/ |
H A D | screen_controller.cpp | 86 DISPLAY_HILOGI(COMP_SVC, "Set the dispaly state is DELAY OFF when overriding display off delay"); in SetDelayOffState() 93 DISPLAY_HILOGI(COMP_SVC, "Set the dispaly state is ON after overriding display on delay"); in SetOnState() 98 bool ScreenController::UpdateState(DisplayState state, uint32_t reason) in UpdateState() argument 100 DISPLAY_HILOGI(FEAT_STATE, "[UL_POWER] UpdateState, state=%{public}u, current state=%{public}u, reason=%{public}u", in UpdateState() 101 static_cast<uint32_t>(state), static_cast<uint32_t>(state_), reason); in UpdateState() 104 RETURN_IF_WITH_RET(state == state_, true); in UpdateState() 106 if (state == DisplayState::DISPLAY_DIM && state_ == DisplayState::DISPLAY_OFF) { in UpdateState() 107 DISPLAY_HILOGI(FEAT_STATE, "Not allowed to set DIM state."); in UpdateState() 110 switch (state) { in UpdateState() 275 OnStateChanged(DisplayState state, uint32_t reason) OnStateChanged() argument [all...] |
/base/location/test/location_locator/source/ |
H A D | location_without_permission_test.cpp | 132 bool state = false; in HWTEST_F() local 133 EXPECT_EQ(ERRCODE_SUCCESS, locatorImpl->IsLocationEnabledV9(state)); in HWTEST_F() 150 if (state) { in HWTEST_F() 202 bool state = false; in HWTEST_F() local 203 EXPECT_EQ(ERRCODE_SUCCESS, locatorImpl->IsLocationEnabledV9(state)); in HWTEST_F() 208 if (state) { in HWTEST_F() 214 if (state) { in HWTEST_F() 228 bool state = false; in HWTEST_F() local 229 EXPECT_EQ(ERRCODE_SUCCESS, locatorImpl->IsLocationEnabledV9(state)); in HWTEST_F() 234 if (state) { in HWTEST_F() 266 bool state = false; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | observer_handler.h | 48 NavDestinationState state; member 55 NavDestinationInfo(std::string id, std::string name, NavDestinationState state) in NavDestinationInfo() 56 : navigationId(std::move(id)), name(std::move(name)), state(state) in NavDestinationInfo() 59 NavDestinationInfo(std::string id, std::string name, NavDestinationState state, in NavDestinationInfo() 61 : navigationId(std::move(id)), name(std::move(name)), state(state), in NavDestinationInfo() 101 RouterPageState state; member 104 RouterPageInfoNG(napi_value context, int32_t index, std::string name, std::string path, RouterPageState state, in RouterPageInfoNG() 106 : context(context), index(index), name(std::move(name)), path(std::move(path)), state(stat in RouterPageInfoNG() 130 TabContentState state; global() member [all...] |
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gap.cpp | 44 * @brief Adapter state change function. 46 * @param transport Transport type when state change. 49 * @param state Change to the new state. 71 * @brief Discovery state changed observer. 162 * @brief Acl state changed observer. 165 * @param state Remote device acl state. 169 void OnAclStateChanged(const BluetoothRemoteDevice &device, int state, unsigned int reason) override 176 GetAclStateName(device.GetTransportType(), state, stateSt 321 int state; EnableBt() local 344 int state; DisableBt() local 367 int state; GetBtState() local [all...] |
/test/xts/acts/communication/wifi_standard/entry/src/ohosTest/ets/test/ |
H A D | WifiStationFunctions.test.js | 252 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 D | nir_group_loads.c | 170 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 D | virgl_encode.h | 57 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...] |
H A D | virgl_encode.c | 433 const struct pipe_rasterizer_state *state) in virgl_encode_rasterizer_state() 440 tmp = VIRGL_OBJ_RS_S0_FLATSHADE(state->flatshade) | in virgl_encode_rasterizer_state() 441 VIRGL_OBJ_RS_S0_DEPTH_CLIP(state->depth_clip_near) | in virgl_encode_rasterizer_state() 442 VIRGL_OBJ_RS_S0_CLIP_HALFZ(state->clip_halfz) | in virgl_encode_rasterizer_state() 443 VIRGL_OBJ_RS_S0_RASTERIZER_DISCARD(state->rasterizer_discard) | in virgl_encode_rasterizer_state() 444 VIRGL_OBJ_RS_S0_FLATSHADE_FIRST(state->flatshade_first) | in virgl_encode_rasterizer_state() 445 VIRGL_OBJ_RS_S0_LIGHT_TWOSIZE(state->light_twoside) | in virgl_encode_rasterizer_state() 446 VIRGL_OBJ_RS_S0_SPRITE_COORD_MODE(state->sprite_coord_mode) | in virgl_encode_rasterizer_state() 447 VIRGL_OBJ_RS_S0_POINT_QUAD_RASTERIZATION(state->point_quad_rasterization) | in virgl_encode_rasterizer_state() 448 VIRGL_OBJ_RS_S0_CULL_FACE(state in virgl_encode_rasterizer_state() 431 virgl_encode_rasterizer_state(struct virgl_context *ctx, uint32_t handle, const struct pipe_rasterizer_state *state) virgl_encode_rasterizer_state() argument 667 virgl_encoder_set_framebuffer_state(struct virgl_context *ctx, const struct pipe_framebuffer_state *state) virgl_encoder_set_framebuffer_state() argument 952 virgl_encode_sampler_state(struct virgl_context *ctx, uint32_t handle, const struct pipe_sampler_state *state) virgl_encode_sampler_state() argument 982 virgl_encode_sampler_view(struct virgl_context *ctx, uint32_t handle, struct virgl_resource *res, const struct pipe_sampler_view *state) virgl_encode_sampler_view() argument [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_lower_cs_intrinsics.c | 35 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 D | draw_vs_exec.c | 75 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 D | nim.py | 33 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...] |
/third_party/python/Python/ |
H A D | ast_opt.c | 57 fold_unaryop(expr_ty node, PyArena *arena, _PyASTOptimizeState *state) in fold_unaryop() argument 445 fold_binop(expr_ty node, PyArena *arena, _PyASTOptimizeState *state) in fold_binop() argument 542 fold_tuple(expr_ty node, PyArena *arena, _PyASTOptimizeState *state) in fold_tuple() argument 554 fold_subscr(expr_ty node, PyArena *arena, _PyASTOptimizeState *state) in fold_subscr() argument 579 fold_iter(expr_ty arg, PyArena *arena, _PyASTOptimizeState *state) in fold_iter() argument 608 fold_compare(expr_ty node, PyArena *arena, _PyASTOptimizeState *state) in fold_compare() argument 621 if (!fold_iter((expr_ty)asdl_seq_GET(args, i), arena, state)) { in fold_compare() 628 static int astfold_mod(mod_ty node_, PyArena *ctx_, _PyASTOptimizeState *state); 629 static int astfold_stmt(stmt_ty node_, PyArena *ctx_, _PyASTOptimizeState *state); 630 static int astfold_expr(expr_ty node_, PyArena *ctx_, _PyASTOptimizeState *state); 660 astfold_body(asdl_stmt_seq *stmts, PyArena *ctx_, _PyASTOptimizeState *state) astfold_body() argument 683 astfold_mod(mod_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_mod() argument 705 astfold_expr(expr_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_expr() argument 828 astfold_keyword(keyword_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_keyword() argument 835 astfold_comprehension(comprehension_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_comprehension() argument 846 astfold_arguments(arguments_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_arguments() argument 859 astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_arg() argument 868 astfold_stmt(stmt_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_stmt() argument 995 astfold_excepthandler(excepthandler_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_excepthandler() argument 1009 astfold_withitem(withitem_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_withitem() argument 1017 astfold_pattern(pattern_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_pattern() argument 1063 astfold_match_case(match_case_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) astfold_match_case() argument 1079 _PyAST_Optimize(mod_ty mod, PyArena *arena, _PyASTOptimizeState *state) _PyAST_Optimize() argument [all...] |
/drivers/hdf_core/framework/core/shared/include/ |
H A D | hdf_power_state.h | 20 static inline bool IsPowerWakeState(uint32_t state) in IsPowerWakeState() argument 22 return state == POWER_STATE_DOZE_RESUME || state == POWER_STATE_RESUME; in IsPowerWakeState() 25 static inline bool IsValidPowerState(uint32_t state) in IsValidPowerState() argument 27 return state < POWER_STATE_MAX; in IsValidPowerState()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/threading/ |
H A D | parallel_task_queue.cpp | 46 explicit Task(TaskState& state, IThreadPool::ITask& task, uint64_t id); 59 ParallelTaskQueue::Task::Task(TaskState& state, IThreadPool::ITask& task, uint64_t id) in Task() argument 60 : state_(state), task_(task), id_(id) in Task() 142 void ParallelTaskQueue::QueueTasks(vector<size_t>& waiting, TaskState& state) in QueueTasks() argument 156 if (!state.finished.contains(dep)) { in QueueTasks() 169 threadPool_->PushNoWait(IThreadPool::ITask::Ptr { new Task(state, *entry.task, entry.identifier) }); in QueueTasks() 187 TaskState state; in Execute() local 188 state.finished.reserve(tasks_.size()); in Execute() 192 std::unique_lock lock(state.mutex); in Execute() 193 state in Execute() [all...] |
/test/xts/acts/telephony/telephone/telephonyNDKTest/entry/src/main/cpp/ |
H A D | telephony_ndk_test.cpp | 117 static napi_value Conv2JsObject(napi_env env, Telephony_NetworkState *state)
in Conv2JsObject() argument 123 napi_create_string_utf8(env, state->longOperatorName_, strlen(state->longOperatorName_), &propertyValue);
in Conv2JsObject() 126 napi_create_string_utf8(env, state->shortOperatorName_, strlen(state->shortOperatorName_), &propertyValue);
in Conv2JsObject() 129 napi_create_string_utf8(env, state->plmnNumeric_, strlen(state->plmnNumeric_), &propertyValue);
in Conv2JsObject() 132 napi_get_boolean(env, state->isRoaming_, &propertyValue);
in Conv2JsObject() 135 napi_create_int32(env, state->regState_, &propertyValue);
in Conv2JsObject() 138 napi_create_int32(env, state in Conv2JsObject() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dirac_parser.c | 44 int state; member 59 uint32_t state = pc->state; in find_frame_end() local 64 state = (state << 8) | buf[i]; in find_frame_end() 65 if (state == DIRAC_PARSE_INFO_PREFIX) { in find_frame_end() 66 state = -1; in find_frame_end() 78 if (state == DIRAC_PARSE_INFO_PREFIX) { in find_frame_end() 80 pc->state = -1; in find_frame_end() 87 state in find_frame_end() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jdhuff.h | 146 typedef struct { /* Bitreading state saved across MCUs */ 151 typedef struct { /* Bitreading working state within an MCU */ 189 * but the state struct might not be (jpeg_huff_decode needs this). 190 * CHECK_BIT_BUFFER(state, n, action); 202 #define CHECK_BIT_BUFFER(state, nbits, action) { \ 204 if (!jpeg_fill_bit_buffer(&(state), get_buffer, bits_left, nbits)) \ 206 get_buffer = (state).get_buffer; bits_left = (state).bits_left; \ 220 EXTERN(boolean) jpeg_fill_bit_buffer(bitread_working_state *state, 242 #define HUFF_DECODE(result, state, htb [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_program.c | 98 * the surface state, there is no shader w/a required. in gfx6_gather_workaround() 162 struct crocus_sampler_view *texture = ice->state.shaders[stage].textures[s]; in crocus_populate_sampler_prog_key_data() 174 screen->vtbl.fill_clamp_mask(ice->state.shaders[stage].samplers[s], s, key->gl_clamp_mask); in crocus_populate_sampler_prog_key_data() 1292 struct crocus_shader_state *shs = &ice->state.shaders[MESA_SHADER_VERTEX]; in crocus_update_compiled_vs() 1317 ice->state.dirty |= CROCUS_DIRTY_GEN8_VF_SGVS; in crocus_update_compiled_vs() 1318 ice->state.stage_dirty |= CROCUS_STAGE_DIRTY_VS | in crocus_update_compiled_vs() 1333 if (ice->state.vs_uses_draw_params != uses_draw_params || in crocus_update_compiled_vs() 1334 ice->state.vs_uses_derived_draw_params != uses_derived_draw_params || in crocus_update_compiled_vs() 1335 ice->state.vs_needs_edge_flag != ish->needs_edge_flag || in crocus_update_compiled_vs() 1336 ice->state in crocus_update_compiled_vs() 2744 crocus_create_shader_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_shader_state() argument 2758 crocus_create_vs_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_vs_state() argument 2785 crocus_create_tcs_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_tcs_state() argument 2815 crocus_create_tes_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_tes_state() argument 2844 crocus_create_gs_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_gs_state() argument 2867 crocus_create_fs_state(struct pipe_context *ctx, const struct pipe_shader_state *state) crocus_create_fs_state() argument 2920 crocus_create_compute_state(struct pipe_context *ctx, const struct pipe_compute_state *state) crocus_create_compute_state() argument 2949 crocus_delete_shader_state(struct pipe_context *ctx, void *state, gl_shader_stage stage) crocus_delete_shader_state() argument 2969 crocus_delete_vs_state(struct pipe_context *ctx, void *state) crocus_delete_vs_state() argument 2975 crocus_delete_tcs_state(struct pipe_context *ctx, void *state) crocus_delete_tcs_state() argument 2981 crocus_delete_tes_state(struct pipe_context *ctx, void *state) crocus_delete_tes_state() argument 2987 crocus_delete_gs_state(struct pipe_context *ctx, void *state) crocus_delete_gs_state() argument 2993 crocus_delete_fs_state(struct pipe_context *ctx, void *state) crocus_delete_fs_state() argument 2999 crocus_delete_cs_state(struct pipe_context *ctx, void *state) crocus_delete_cs_state() argument 3041 crocus_bind_vs_state(struct pipe_context *ctx, void *state) crocus_bind_vs_state() argument 3067 crocus_bind_tcs_state(struct pipe_context *ctx, void *state) crocus_bind_tcs_state() argument 3073 crocus_bind_tes_state(struct pipe_context *ctx, void *state) crocus_bind_tes_state() argument 3085 crocus_bind_gs_state(struct pipe_context *ctx, void *state) crocus_bind_gs_state() argument 3097 crocus_bind_fs_state(struct pipe_context *ctx, void *state) crocus_bind_fs_state() argument 3126 crocus_bind_cs_state(struct pipe_context *ctx, void *state) crocus_bind_cs_state() argument [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderStateQueryTests.cpp | 21 * \brief Rbo state query tests. 104 StateQueryMemoryWriteGuard<GLint> state; in verifyShaderParam() local 105 gl.glGetShaderiv(shader, pname, &state); in verifyShaderParam() 107 if (state.verifyValidity(testCtx)) in verifyShaderParam() 108 checkIntEquals(testCtx, state, reference); in verifyShaderParam() 113 StateQueryMemoryWriteGuard<GLint> state; in verifyProgramParam() local 114 gl.glGetProgramiv(program, pname, &state); in verifyProgramParam() 116 return state.verifyValidity(testCtx) && checkIntEquals(testCtx, state, reference); in verifyProgramParam() 121 StateQueryMemoryWriteGuard<GLint> state; in verifyActiveUniformParam() local 130 StateQueryMemoryWriteGuard<GLint> state; verifyActiveUniformBlockParam() local 250 StateQueryMemoryWriteGuard<GLint> state; verifyVertexAttrib() local 2945 StateQueryMemoryWriteGuard<GLvoid*> state; test() local 2979 StateQueryMemoryWriteGuard<GLvoid*> state; test() local 2989 StateQueryMemoryWriteGuard<GLvoid*> state; test() local [all...] |
H A D | es3fRandomFragmentOpTests.cpp | 153 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/mesa3d/src/freedreno/ir3/ |
H A D | ir3_postsched.c | 369 #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/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_pax.c | 26 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 D | es2fRandomFragmentOpTests.cpp | 153 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...] |