Home
last modified time | relevance | path

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

/external/libchrome/base/process/
Dprocess_util_unittest.cc942 int num_open_files = 0; in MULTIPROCESS_TEST_MAIN() local
956 num_open_files += 1; in MULTIPROCESS_TEST_MAIN()
961 int written = HANDLE_EINTR(write(write_pipe, &num_open_files, in MULTIPROCESS_TEST_MAIN()
962 sizeof(num_open_files))); in MULTIPROCESS_TEST_MAIN()
963 DCHECK_EQ(static_cast<size_t>(written), sizeof(num_open_files)); in MULTIPROCESS_TEST_MAIN()
984 int num_open_files = -1; in CountOpenFDsInChild() local
986 HANDLE_EINTR(read(fds[0], &num_open_files, sizeof(num_open_files))); in CountOpenFDsInChild()
987 CHECK_EQ(bytes_read, static_cast<ssize_t>(sizeof(num_open_files))); in CountOpenFDsInChild()
1000 return num_open_files; in CountOpenFDsInChild()