Searched refs:large_buffer (Results 1 – 2 of 2) sorted by relevance
/external/autotest/client/site_tests/platform_ToolchainTests/src/ |
D | clang-fortify-tests.cpp | 119 char large_buffer[sizeof(small_buffer) + 1] = {}; in TestString() local 121 EXPECT_DEATH(memcpy(small_buffer, large_buffer, sizeof(large_buffer))); in TestString() 123 EXPECT_DEATH(memmove(small_buffer, large_buffer, sizeof(large_buffer))); in TestString() 125 EXPECT_DEATH(mempcpy(small_buffer, large_buffer, sizeof(large_buffer))); in TestString() 127 EXPECT_DEATH(memset(small_buffer, 0, sizeof(large_buffer))); in TestString() 131 EXPECT_DEATH(bcopy(large_buffer, small_buffer, sizeof(large_buffer))); in TestString() 133 EXPECT_DEATH(bzero(small_buffer, sizeof(large_buffer))); in TestString() 362 char large_buffer[PATH_MAX * 2]; in TestUnistd() local 364 EXPECT_NO_DEATH(getwd(large_buffer)); in TestUnistd() 366 char *volatile unknown_size_buffer = large_buffer; in TestUnistd() [all …]
|
/external/libchrome/mojo/core/ |
D | trap_unittest.cc | 406 char large_buffer[512]; in TEST_F() local 412 MojoReadData(consumer, &options, large_buffer, &large_read_size)); in TEST_F()
|