Home
last modified time | relevance | path

Searched refs:g_oldRootFd (Results 1 - 1 of 1) sorted by relevance

/base/startup/init/test/unittest/ueventd/
H A Dueventd_event_unittest.cpp37 int g_oldRootFd = -1; member
74 if (g_oldRootFd < 0) { in TearDownTestCase()
79 if (fchdir(g_oldRootFd) < 0) { in TearDownTestCase()
86 close(g_oldRootFd); in TearDownTestCase()
87 g_oldRootFd = -1; in TearDownTestCase()
142 if (g_oldRootFd >= 0) { in SwitchRoot()
143 close(g_oldRootFd); in SwitchRoot()
144 g_oldRootFd = -1; in SwitchRoot()
152 g_oldRootFd = dirfd(dir); in SwitchRoot()
153 if (g_oldRootFd < in SwitchRoot()
[all...]

Completed in 1 milliseconds