Home
last modified time | relevance | path

Searched refs:iteration_cookie (Results 1 – 3 of 3) sorted by relevance

/system/core/libziparchive/
Dzip_archive_benchmark.cpp72 void* iteration_cookie; in Iterate_all_files() local
78 StartIteration(handle, &iteration_cookie, nullptr, nullptr); in Iterate_all_files()
79 while (Next(iteration_cookie, &data, &name) == 0) { in Iterate_all_files()
81 EndIteration(iteration_cookie); in Iterate_all_files()
Dzip_archive_test.cc119 void* iteration_cookie; in AssertIterationOrder() local
120 ASSERT_EQ(0, StartIteration(handle, &iteration_cookie, prefix, suffix)); in AssertIterationOrder()
127 ASSERT_EQ(0, Next(iteration_cookie, &data, &name)); in AssertIterationOrder()
132 ASSERT_EQ(-1, Next(iteration_cookie, &data, &name)); in AssertIterationOrder()
174 void* iteration_cookie; in TEST() local
177 ASSERT_EQ(0, StartIteration(handle, &iteration_cookie, &prefix, &suffix)); in TEST()
183 ASSERT_EQ(-1, Next(iteration_cookie, &data, &name)); in TEST()
217 void* iteration_cookie; in TEST() local
218 ASSERT_EQ(0, StartIteration(handle, &iteration_cookie, nullptr, nullptr)); in TEST()
223 ASSERT_EQ(Next(iteration_cookie, &data, &name), 0); in TEST()
[all …]
/system/extras/simpleperf/
Dutils.cpp108 void* iteration_cookie; in IterateEntries() local
109 if (StartIteration(handle_, &iteration_cookie, nullptr, nullptr) < 0) { in IterateEntries()
116 while ((result = Next(iteration_cookie, &zentry, &zname)) == 0) { in IterateEntries()
122 EndIteration(iteration_cookie); in IterateEntries()