OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HasOpenDirectory
(Results
1 - 4
of
4
) sorted by null
/external/libchrome/sandbox/linux/services/
proc_util.h
25
// Sometimes it's useful to call
HasOpenDirectory
() after file system access
28
//
HasOpenDirectory
() and remains owned by the caller. It is very important
30
static bool
HasOpenDirectory
(int proc_fd) WARN_UNUSED_RESULT;
31
static bool
HasOpenDirectory
() WARN_UNUSED_RESULT;
proc_util_unittest.cc
27
TEST(ProcUtil,
HasOpenDirectory
) {
29
EXPECT_FALSE(ProcUtil::
HasOpenDirectory
());
34
EXPECT_TRUE(ProcUtil::
HasOpenDirectory
());
36
EXPECT_FALSE(ProcUtil::
HasOpenDirectory
());
46
EXPECT_TRUE(ProcUtil::
HasOpenDirectory
());
48
EXPECT_FALSE(ProcUtil::
HasOpenDirectory
(proc_fd));
54
EXPECT_TRUE(ProcUtil::
HasOpenDirectory
(proc_fd));
59
EXPECT_FALSE(ProcUtil::
HasOpenDirectory
(proc_fd));
proc_util.cc
72
bool ProcUtil::
HasOpenDirectory
(int proc_fd) {
109
bool ProcUtil::
HasOpenDirectory
() {
112
return
HasOpenDirectory
(proc_fd.get());
credentials.cc
319
CHECK(!ProcUtil::
HasOpenDirectory
(proc_fd));
Completed in 79 milliseconds