Searched refs:buf_fd (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_tests.c | 548 int buf_fd = screen->fence_get_fd(screen, buf_fence); in test_sync_file_fences() local 550 pass = pass && buf_fd >= 0 && tex_fd >= 0; in test_sync_file_fences() 553 int merged_fd = sync_merge("test", buf_fd, tex_fd); in test_sync_file_fences() 559 ctx->create_fence_fd(ctx, &re_buf_fence, buf_fd, fd_type); in test_sync_file_fences() 578 pass = pass && sync_wait(buf_fd, 0) == 0; in test_sync_file_fences() 591 if (buf_fd >= 0) in test_sync_file_fences() 592 close(buf_fd); in test_sync_file_fences()
|
/external/perfetto/src/base/ |
D | unix_socket_unittest.cc | 635 int buf_fd[2] = {null_fd.get(), zero_fd.get()}; in TEST_F() local 638 cli->Send(cli_str, sizeof(cli_str), buf_fd, base::ArraySize(buf_fd))); in TEST_F() 639 ASSERT_TRUE(srv_conn->Send(srv_str, sizeof(srv_str), buf_fd, in TEST_F() 640 base::ArraySize(buf_fd))); in TEST_F()
|