Home
last modified time | relevance | path

Searched refs:cur_state (Results 1 - 15 of 15) sorted by relevance

/third_party/ltp/lib/
H A Dtst_process_state.c18 char proc_path[128], cur_state; in tst_process_state_wait() local
25 "%*i %*s %c", &cur_state); in tst_process_state_wait()
27 if (state == cur_state) in tst_process_state_wait()
44 char proc_path[128], cur_state; in tst_process_state_wait2() local
57 if (fscanf(f, "%*i %*s %c", &cur_state) != 1) { in tst_process_state_wait2()
65 if (state == cur_state) in tst_process_state_wait2()
H A Dtst_thread_state.c17 char proc_path[128], cur_state; in tst_thread_state_wait() local
23 SAFE_FILE_SCANF(proc_path, "%*i %*s %c", &cur_state); in tst_thread_state_wait()
25 if (state == cur_state) in tst_thread_state_wait()
/third_party/ltp/testcases/open_posix_testsuite/include/
H A Dproc.h25 char proc_path[128], cur_state; in tst_process_state_wait3() local
44 if (fscanf(f, "%*i %*s %c", &cur_state) != 1) { in tst_process_state_wait3()
52 if (state == cur_state) in tst_process_state_wait3()
/third_party/mesa3d/src/mesa/main/
H A Dsamplerobj.h193 update_sampler_gl_clamp(struct gl_context *ctx, struct gl_sampler_object *samp, bool cur_state, bool new_state, gl_sampler_wrap wrap) in update_sampler_gl_clamp() argument
195 if (cur_state == new_state) in update_sampler_gl_clamp()
/third_party/selinux/libsepol/src/
H A Dconditional.c159 new_node->cur_state = cond_evaluate_expr(p, new_node->expr); in cond_node_create()
315 if (new_state != node->cur_state) { in evaluate_cond_node()
316 node->cur_state = new_state; in evaluate_cond_node()
757 node->cur_state = le32_to_cpu(buf[0]); in cond_read_node()
H A Dexpand.c2097 new_cond->cur_state, state)) in cond_node_copy()
2102 !new_cond->cur_state, state)) in cond_node_copy()
2862 int cur_state, preserve_tunables = 0; in discard_tunables() local
2924 cur_state = cond_evaluate_expr(pol, cur_node->expr); in discard_tunables()
2925 if (cur_state == -1) { in discard_tunables()
2932 to_be_appended = (cur_state == 1) ? in discard_tunables()
2942 if (cur_state == 1) in discard_tunables()
H A Dlink.c1517 new_node->cur_state = cur->cur_state; in copy_cond_list()
H A Dpolicydb_validate.c1018 switch (cond->cur_state) { in validate_cond_list()
H A Dwrite.c819 buf[0] = cpu_to_le32(node->cur_state); in cond_write_node()
/third_party/selinux/libsepol/include/sepol/policydb/
H A Dconditional.h79 int cur_state; member
/third_party/selinux/checkpolicy/test/
H A Ddismod.c580 fprintf(fp, "current state: %d\n", cur->cur_state);
627 cond->cur_state); in display_avdecl()
H A Ddispol.c235 fprintf(fp, "current state: %d\n", cur->cur_state); in display_cond_expressions()
/third_party/selinux/checkpolicy/
H A Dcheckpolicy.c350 printf("current state: %d\n", cur->cur_state); in display_cond_expressions()
/third_party/nghttp2/src/
H A Dnghttp.cc863 auto cur_state = state; in connect_fail() local
865 if (cur_state == ClientState::IDLE) { in connect_fail()
/third_party/selinux/libsepol/cil/src/
H A Dcil_binary.c4281 cur->cur_state = new_state; in __cil_set_conditional_state_and_flags()

Completed in 30 milliseconds