Lines Matching defs:state_count
121 mach_msg_type_number_t state_count;
150 state_count = x86_THREAD_STATE64_COUNT;
152 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
156 state_count = x86_FLOAT_STATE64_COUNT;
158 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
162 state_count = x86_EXCEPTION_STATE64_COUNT;
164 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
257 state_count = x86_THREAD_STATE32_COUNT;
259 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
263 state_count = x86_FLOAT_STATE32_COUNT;
265 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
269 state_count = x86_EXCEPTION_STATE32_COUNT;
271 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
472 state_count = x86_THREAD_STATE64_COUNT;
508 state_count = x86_THREAD_STATE32_COUNT;
511 if (thread_setstatus(thread, flavor, (thread_state_t)state, state_count) != KERN_SUCCESS)