Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_tests.c528 int buf_fd = screen->fence_get_fd(screen, buf_fence); in test_sync_file_fences() local
530 pass = pass && buf_fd >= 0 && tex_fd >= 0; in test_sync_file_fences()
533 int merged_fd = sync_merge("test", buf_fd, tex_fd); in test_sync_file_fences()
539 ctx->create_fence_fd(ctx, &re_buf_fence, buf_fd); in test_sync_file_fences()
558 pass = pass && sync_wait(buf_fd, 0) == 0; in test_sync_file_fences()
571 if (buf_fd >= 0) in test_sync_file_fences()
572 close(buf_fd); in test_sync_file_fences()
/external/perfetto/src/base/
Dunix_socket_unittest.cc251 int buf_fd[2] = {null_fd.get(), zero_fd.get()}; in TEST_F() local
253 ASSERT_TRUE(cli->Send(cli_str, sizeof(cli_str), buf_fd, in TEST_F()
254 base::ArraySize(buf_fd), kBlocking)); in TEST_F()
255 ASSERT_TRUE(srv_conn->Send(srv_str, sizeof(srv_str), buf_fd, in TEST_F()
256 base::ArraySize(buf_fd), kBlocking)); in TEST_F()