Lines Matching refs:list1
82 power_state_platform_sleep_state_t *list1 =
85 ASSERT_TRUE(list1) << "power_state_platform_sleep_state_t* alloc failed";
98 list1[i].voters = (power_state_voter_t *)calloc(
100 ASSERT_TRUE(list1[i].voters) << "voter_t allocation failed";
108 ASSERT_EQ(0, module_->get_platform_low_power_stats(module_, list1))
115 EXPECT_LE(list1[i].residency_in_msec_since_boot,
118 EXPECT_LE(list1[i].total_transitions, list2[i].total_transitions)
121 for (unsigned int j = 0; j < list1[i].number_of_voters; j++) {
122 EXPECT_LE(list1[i].voters[j].total_time_in_msec_voted_for_since_boot,
125 EXPECT_LE(list1[i].voters[j].total_number_of_times_voted_since_boot,
131 free(list1[i].voters);
134 free(list1);
142 power_state_platform_sleep_state_t *list1 =
145 ASSERT_TRUE(list1) << "power_state_platform_sleep_state_t* alloc failed";
152 list1[i].voters = (power_state_voter_t *)calloc(
154 ASSERT_TRUE(list1[i].voters) << "voter_t allocation failed";
156 EXPECT_EQ(0, module_->get_platform_low_power_stats(module_, list1))
159 free(list1[i].voters);
161 free(list1);