HomeSort by relevance Sort by last modified time
    Searched refs:SafeReadLink (Results 1 - 7 of 7) sorted by null

  /external/google-breakpad/src/common/linux/
safe_readlink.h 30 // safe_readlink.h: Define the google_breakpad::SafeReadLink function,
54 bool SafeReadLink(const char* path, char* buffer, size_t buffer_size);
56 // Same as the three-argument version of SafeReadLink() but deduces the
59 bool SafeReadLink(const char* path, char (&buffer)[N]) {
60 return SafeReadLink(path, buffer, sizeof(buffer));
safe_readlink_unittest.cc 30 // safe_readlink_unittest.cc: Unit tests for google_breakpad::SafeReadLink.
35 using google_breakpad::SafeReadLink;
39 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, 0));
44 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, 1));
49 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer, sizeof(buffer)));
56 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer2, path_length + 1));
61 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, path_length));
66 EXPECT_FALSE(SafeReadLink("nonexistent_path", buffer, sizeof(buffer)));
71 EXPECT_TRUE(SafeReadLink("/proc/self/exe", actual_path, sizeof(actual_path)));
74 EXPECT_FALSE(SafeReadLink(actual_path, buffer, sizeof(buffer)))
    [all...]
safe_readlink.cc 30 // safe_readlink.cc: Implement google_breakpad::SafeReadLink.
39 bool SafeReadLink(const char* path, char* buffer, size_t buffer_size) {
file_id_unittest.cc 50 using google_breakpad::SafeReadLink;
77 ASSERT_TRUE(SafeReadLink("/proc/self/exe", exe_name));
  /external/google-breakpad/src/client/linux/minidump_writer/
minidump_writer_unittest_utils.cc 50 if (!SafeReadLink("/proc/self/exe", self_path)) {
linux_dumper.cc 456 if (!SafeReadLink(exe_link, new_path))
linux_ptrace_dumper_unittest.cc 330 ASSERT_TRUE(SafeReadLink("/proc/self/exe", exe_name));

Completed in 230 milliseconds