Searched refs:null_idx (Results 1 – 1 of 1) sorted by relevance
224 int null_idx = -1; in s_test_repeat_destructor() local227 …TEST_ASSERT_EQUAL(-1, null_idx); // If more than one key has a NULL value, something has gone wrong in s_test_repeat_destructor()228 null_idx = i; in s_test_repeat_destructor()233 TEST_ASSERT_NOT_EQUAL(-1, null_idx); // One key should have a NULL value in s_test_repeat_destructor()237 TEST_ASSERT_NOT_EQUAL(null_idx, state->last_idx); in s_test_repeat_destructor()239 printf("Re-setting index %d\n", null_idx); in s_test_repeat_destructor()240 pthread_setspecific(state->keys[null_idx], state); in s_test_repeat_destructor()241 state->last_idx = null_idx; in s_test_repeat_destructor()