Lines Matching defs:state_count
159 mach_msg_type_number_t state_count;
193 state_count = x86_THREAD_STATE64_COUNT;
195 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
200 state_count = x86_AVX_STATE64_COUNT;
204 state_count = x86_FLOAT_STATE64_COUNT;
207 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
211 state_count = x86_EXCEPTION_STATE64_COUNT;
213 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
306 state_count = x86_THREAD_STATE32_COUNT;
308 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
313 state_count = x86_AVX_STATE32_COUNT;
317 state_count = x86_FLOAT_STATE32_COUNT;
321 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
325 state_count = x86_EXCEPTION_STATE32_COUNT;
327 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
556 state_count = x86_THREAD_STATE64_COUNT;
607 state_count = x86_THREAD_STATE32_COUNT;
610 if (thread_setstatus(thread, flavor, (thread_state_t)state, state_count) != KERN_SUCCESS)