• Home
  • Raw
  • Download

Lines Matching refs:count

20     int* count = (int*)ctx;  in testing_finished_proc()  local
21 *count += 1; in testing_finished_proc()
24 static void busy_wait_for_callback(int* count, int expectedValue, GrDirectContext* dContext, in busy_wait_for_callback() argument
32 } while (*count != expectedValue && (end - begin) < std::chrono::seconds(1)); in busy_wait_for_callback()
33 if (*count != expectedValue) { in busy_wait_for_callback()
53 int count = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
57 flushInfoFinishedProc.fFinishedContext = (void*)&count; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
61 REPORTER_ASSERT(reporter, count == 0 || count == 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
63 busy_wait_for_callback(&count, 1, dContext, reporter); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
80 REPORTER_ASSERT(reporter, count == 1 || count == 2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
82 REPORTER_ASSERT(reporter, count == 2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
86 REPORTER_ASSERT(reporter, count == 2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
95 REPORTER_ASSERT(reporter, count == 2 || count == 3); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
97 REPORTER_ASSERT(reporter, count == 3); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 REPORTER_ASSERT(reporter, count == 3); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
110 REPORTER_ASSERT(reporter, count == 3 || count == 4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
112 REPORTER_ASSERT(reporter, count == 4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
116 REPORTER_ASSERT(reporter, count == 4); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
121 REPORTER_ASSERT(reporter, count == 4 || count == 5); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
122 busy_wait_for_callback(&count, 5, dContext, reporter); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
124 count = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
134 REPORTER_ASSERT(reporter, count <= 1 && count2 <= count); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
139 REPORTER_ASSERT(reporter, count == 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
140 REPORTER_ASSERT(reporter, count == count2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()