Lines Matching refs:SafeReadLink
35 using google_breakpad::SafeReadLink;
39 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, 0)); in TEST()
44 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, 1)); in TEST()
49 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer, sizeof(buffer))); in TEST()
56 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer2, path_length + 1)); in TEST()
61 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, path_length)); in TEST()
66 EXPECT_FALSE(SafeReadLink("nonexistent_path", buffer, sizeof(buffer))); in TEST()
71 EXPECT_TRUE(SafeReadLink("/proc/self/exe", actual_path, sizeof(actual_path))); in TEST()
74 EXPECT_FALSE(SafeReadLink(actual_path, buffer, sizeof(buffer))); in TEST()
80 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer_pointer, sizeof(buffer))); in TEST()
86 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer2)); in TEST()