Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive_benchmark.cpp74 void* iteration_cookie; in Iterate_all_files() local
80 StartIteration(handle, &iteration_cookie); in Iterate_all_files()
81 while (Next(iteration_cookie, &data, &name) == 0) { in Iterate_all_files()
83 EndIteration(iteration_cookie); in Iterate_all_files()
Dzip_archive_test.cc217 void* iteration_cookie; in TEST() local
218 ASSERT_EQ(0, StartIteration(handle, &iteration_cookie)); in TEST()
223 while (Next(iteration_cookie, &data, &name) == 0) names.push_back(name); in TEST()
233 static void AssertIterationNames(void* iteration_cookie, in AssertIterationNames() argument
239 ASSERT_EQ(0, Next(iteration_cookie, &data, &name)); in AssertIterationNames()
243 ASSERT_EQ(-1, Next(iteration_cookie, &data, &name)); in AssertIterationNames()
254 void* iteration_cookie; in AssertIterationOrder() local
255 ASSERT_EQ(0, StartIteration(handle, &iteration_cookie, prefix, suffix)); in AssertIterationOrder()
256 AssertIterationNames(iteration_cookie, expected_names_sorted); in AssertIterationOrder()
265 void* iteration_cookie; in AssertIterationOrderWithMatcher() local
[all …]
/system/extras/simpleperf/
Dutils.cpp116 void* iteration_cookie; in IterateEntries() local
117 if (StartIteration(handle_, &iteration_cookie) < 0) { in IterateEntries()
124 while ((result = Next(iteration_cookie, &zentry, &zname)) == 0) { in IterateEntries()
129 EndIteration(iteration_cookie); in IterateEntries()