Home
last modified time | relevance | path

Searched refs:num_fences (Results 1 – 2 of 2) sorted by relevance

/system/core/libsync/
Dsync.c217 local_info.num_fences * sizeof(struct sync_fence_info)); in modern_sync_file_info()
237 const uint32_t num_fences = info->num_fences; in sync_file_info_to_legacy_fence_info() local
243 num_fences * sizeof(struct sync_pt_info); in sync_file_info_to_legacy_fence_info()
248 for (uint32_t i = 0; i < num_fences; i++) { in sync_file_info_to_legacy_fence_info()
267 size_t num_fences; in legacy_fence_info_to_sync_file_info() local
271 num_fences = 0; in legacy_fence_info_to_sync_file_info()
273 num_fences++; in legacy_fence_info_to_sync_file_info()
276 num_fences * sizeof(struct sync_fence_info)); in legacy_fence_info_to_sync_file_info()
285 info->num_fences = num_fences; in legacy_fence_info_to_sync_file_info()
/system/core/libsync/tests/
Dsync_test.cpp181 for (uint32_t i = 0; i < info->num_fences; i++) { in getInfo()
228 while (fenceIdx < modern->num_fences && pt != NULL) { in CheckModernLegacyInfoMatch()
237 EXPECT_EQ(fenceIdx, modern->num_fences); in CheckModernLegacyInfoMatch()