HomeSort by relevance Sort by last modified time
    Searched defs:proc_fd (Results 1 - 4 of 4) sorted by null

  /external/libchrome/sandbox/linux/services/
proc_util_unittest.cc 17 base::ScopedFD proc_fd(open("/proc/", O_RDONLY | O_DIRECTORY));
18 ASSERT_TRUE(proc_fd.is_valid());
19 int fd_count = ProcUtil::CountOpenFds(proc_fd.get());
22 EXPECT_EQ(fd_count + 1, ProcUtil::CountOpenFds(proc_fd.get()));
24 EXPECT_EQ(fd_count, ProcUtil::CountOpenFds(proc_fd.get()));
32 int proc_fd = open("/proc/", O_RDONLY | O_DIRECTORY); local
33 base::ScopedFD proc_fd_closer(proc_fd);
40 int proc_fd = open("/proc/", O_RDONLY | O_DIRECTORY); local
41 base::ScopedFD proc_fd_closer(proc_fd);
42 ASSERT_LE(0, proc_fd);
    [all...]
thread_helpers_unittests.cc 57 ScopedProc proc_fd; local
58 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(proc_fd.fd()));
62 ASSERT_TRUE(ThreadHelpers::StartThreadAndWatchProcFS(proc_fd.fd(), &thread));
63 ASSERT_FALSE(ThreadHelpers::IsSingleThreaded(proc_fd.fd()));
66 ASSERT_TRUE(ThreadHelpers::StopThreadAndWatchProcFS(proc_fd.fd(), &thread));
70 ScopedProc proc_fd; local
71 SANDBOX_ASSERT(ThreadHelpers::IsSingleThreaded(proc_fd.fd()));
74 ThreadHelpers::AssertSingleThreaded(proc_fd.fd());
79 ScopedProc proc_fd; local
80 ASSERT_TRUE(ThreadHelpers::IsSingleThreaded(proc_fd.fd()))
94 ScopedProc proc_fd; local
112 ScopedProc proc_fd; local
    [all...]
  /bionic/tests/
dirent_test.cpp 90 int proc_fd = open("/proc", O_DIRECTORY); local
91 ASSERT_NE(-1, proc_fd);
94 int entry_count_at = scandirat(proc_fd, "self", &entries_at, NULL, alphasort);
98 int entry_count_at64 = scandirat64(proc_fd, "self", &entries_at64, NULL, alphasort64);
101 close(proc_fd);
  /external/v8/src/base/platform/
platform-qnx.cc 124 int proc_fd, num, i; local
134 if ((proc_fd = open(buf, O_RDONLY)) == -1) {
135 close(proc_fd);
140 if (devctl(proc_fd, DCMD_PROC_MAPINFO, NULL, 0, &num) != EOK) {
141 close(proc_fd);
148 close(proc_fd);
153 if (devctl(proc_fd, DCMD_PROC_PAGEDATA,
156 close(proc_fd);
164 if (devctl(proc_fd, DCMD_PROC_MAPDEBUG, &map, sizeof(map), 0) != EOK) {
172 close(proc_fd);
    [all...]

Completed in 395 milliseconds