Searched refs:getrlimit (Results 1 – 20 of 20) sorted by relevance
21 TEST(Resource, getrlimit) { in TEST() argument23 ASSERT_EQ(getrlimit(RLIMIT_CPU, &limits), 0); in TEST()
35 if (getrlimit(RLIMIT_NOFILE, &limit_struct) == 0) { in RaiseFileNumberLimit()
31 getrlimit: 1
34 getrlimit: 1
35 getrlimit: 1
30 getrlimit: 1
20 getrlimit: 1
22 getrlimit: 1
25 getrlimit: 1
694 ASSERT_EQ(0, getrlimit(RLIMIT_NOFILE, &limit)); in TEST_F()
1359 int ret = getrlimit(RLIMIT_NOFILE, &origNofile); in TEST_F()
174 /* Define to 1 if you have the `getrlimit' function. */
627 if (getrlimit(RLIMIT_CORE, &rl) == -1) { in EnableDebugger()