Lines Matching refs:cwd
28 char* cwd = getcwd(nullptr, 0); in TEST() local
29 ASSERT_TRUE(cwd != nullptr); in TEST()
31 ASSERT_GE(strlen(cwd), 1U); in TEST()
32 free(cwd); in TEST()
38 char* cwd = getcwd(nullptr, PATH_MAX); in TEST() local
39 ASSERT_TRUE(cwd != nullptr); in TEST()
41 ASSERT_GE(strlen(cwd), 1U); in TEST()
42 free(cwd); in TEST()
48 char* cwd = getcwd(nullptr, 1); in TEST() local
49 ASSERT_TRUE(cwd == nullptr); in TEST()
57 char* cwd = getcwd(nullptr, static_cast<size_t>(-1)); in TEST() local
58 ASSERT_TRUE(cwd == nullptr); in TEST()
66 char* cwd = getcwd(tiny_buf, sizeof(tiny_buf)); in TEST() local
67 ASSERT_TRUE(cwd == nullptr); in TEST()
75 char* cwd = getcwd(tiny_buf, 0); in TEST() local
76 ASSERT_TRUE(cwd == nullptr); in TEST()
83 char* cwd = getcwd(buf, PATH_MAX); in TEST() local
84 ASSERT_TRUE(cwd == buf); in TEST()
86 ASSERT_GE(strlen(cwd), 1U); in TEST()
87 delete[] cwd; in TEST()