Searched refs:SafeReadLink (Results 1 – 11 of 11) sorted by relevance
/external/google-breakpad/src/common/linux/ |
D | safe_readlink_unittest.cc | 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() [all …]
|
D | safe_readlink.h | 54 bool SafeReadLink(const char* path, char* buffer, size_t buffer_size); 59 bool SafeReadLink(const char* path, char (&buffer)[N]) { in SafeReadLink() function 60 return SafeReadLink(path, buffer, sizeof(buffer)); in SafeReadLink()
|
D | safe_readlink.cc | 39 bool SafeReadLink(const char* path, char* buffer, size_t buffer_size) { in SafeReadLink() function
|
D | file_id_unittest.cc | 78 ASSERT_TRUE(SafeReadLink("/proc/self/exe", exe_name)); in TEST()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer_unittest_utils.cc | 50 if (!SafeReadLink("/proc/self/exe", self_path)) { in GetHelperBinary()
|
D | linux_ptrace_dumper_unittest.cc | 395 ASSERT_TRUE(SafeReadLink("/proc/self/exe", exe_name)); in TEST_F()
|
D | linux_dumper.cc | 947 if (!SafeReadLink(exe_link, new_mapping.name)) in HandleDeletedFileInMapping()
|
/external/google-breakpad/src/processor/testdata/symbols/null_read_av/7B7D1968FF0D47AE4366E9C3A7E1B6750/ |
D | null_read_av.sym | 5356 FUNC eee0 3a 0 google_breakpad::SafeReadLink(char const*, char*, unsigned long)
|
/external/google-breakpad/src/processor/testdata/symbols/overflow/B0E1FC01EF48E39CAF5C881D2DF0C3840/ |
D | overflow.sym | 5426 FUNC f440 3a 0 google_breakpad::SafeReadLink(char const*, char*, unsigned long)
|
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/DA7778FB66018A4E9B4110ED06E730D00/ |
D | breakpad_unittests.sym | 31976 FUNC 48af2 32 0 google_breakpad::SafeReadLink
|
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/D6D1FEC9A15DE7F38A236898871A2E770/ |
D | breakpad_unittests.sym | 33610 FUNC 6d054 7c 0 google_breakpad::SafeReadLink
|