Lines Matching refs:res
92 status_t res = 0; in benchmarkInternal() local
127 res |= BenchmarkCreate([&](int progress) -> bool { in benchmarkInternal()
134 if (res == OK) extras->putLong(String16("create"), timer.duration().count()); in benchmarkInternal()
138 if (res == OK) { in benchmarkInternal()
143 res = -1; in benchmarkInternal()
147 if (res == OK) extras->putLong(String16("drop"), timer.duration().count()); in benchmarkInternal()
151 if (res == OK) { in benchmarkInternal()
154 res |= BenchmarkRun([&](int progress) -> bool { in benchmarkInternal()
161 if (res == OK) extras->putLong(String16("run"), timer.duration().count()); in benchmarkInternal()
168 res |= BenchmarkDestroy(); in benchmarkInternal()
170 if (res == OK) extras->putLong(String16("destroy"), timer.duration().count()); in benchmarkInternal()
178 return res; in benchmarkInternal()
189 status_t res = benchmarkInternal(path, listener, &extras); in Benchmark() local
191 listener->onFinished(res, extras); in Benchmark()