Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc509 int available_fds[4]; in SANDBOX_TEST_ALLOW_NOISE() local
510 SANDBOX_ASSERT(0 == pipe(available_fds)); in SANDBOX_TEST_ALLOW_NOISE()
511 SANDBOX_ASSERT(0 == pipe(available_fds + 2)); in SANDBOX_TEST_ALLOW_NOISE()
514 base::ScopedFD message_fd(available_fds[0]); in SANDBOX_TEST_ALLOW_NOISE()
515 for (size_t i = 1; i < arraysize(available_fds); i++) { in SANDBOX_TEST_ALLOW_NOISE()
516 SANDBOX_ASSERT(0 == IGNORE_EINTR(close(available_fds[i]))); in SANDBOX_TEST_ALLOW_NOISE()
525 *std::max_element(available_fds, in SANDBOX_TEST_ALLOW_NOISE()
526 available_fds + arraysize(available_fds)); in SANDBOX_TEST_ALLOW_NOISE()