Lines Matching refs:EXPECT_NO_DEATH
119 #define EXPECT_NO_DEATH(expr) DIE_WITH(expr, testing::ExitedWithCode(0), "") macro
125 #define EXPECT_FORTIFY_DEATH_STRUCT EXPECT_NO_DEATH
132 #define EXPECT_NO_DEATH(expr) expr macro
156 EXPECT_NO_DEATH(memset(small_buffer, sizeof(small_buffer), 0)); in FORTIFY_TEST()
192 EXPECT_NO_DEATH(memcpy(split.tiny_buffer, &split, sizeof(split))); in FORTIFY_TEST()
193 EXPECT_NO_DEATH(memcpy(split.tiny_buffer, &split, sizeof(split))); in FORTIFY_TEST()
194 EXPECT_NO_DEATH(memmove(split.tiny_buffer, &split, sizeof(split))); in FORTIFY_TEST()
195 EXPECT_NO_DEATH(mempcpy(split.tiny_buffer, &split, sizeof(split))); in FORTIFY_TEST()
196 EXPECT_NO_DEATH(memset(split.tiny_buffer, 0, sizeof(split))); in FORTIFY_TEST()
198 EXPECT_NO_DEATH(bcopy(&split, split.tiny_buffer, sizeof(split))); in FORTIFY_TEST()
199 EXPECT_NO_DEATH(bzero(split.tiny_buffer, sizeof(split))); in FORTIFY_TEST()
282 EXPECT_NO_DEATH(open(target, O_RDONLY, 0777)); in FORTIFY_TEST()
284 EXPECT_NO_DEATH(open64(target, O_RDONLY, 0777)); in FORTIFY_TEST()
286 EXPECT_NO_DEATH(openat(dirfd, target, O_RDONLY, 0777)); in FORTIFY_TEST()
288 EXPECT_NO_DEATH(openat64(dirfd, target, O_RDONLY, 0777)); in FORTIFY_TEST()
470 EXPECT_NO_DEATH(recv(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()
471 EXPECT_NO_DEATH(recvfrom(kBogusFD, split.tiny_buffer, sizeof(split), 0, 0, 0)); in FORTIFY_TEST()
503 EXPECT_NO_DEATH(fread(small_buffer, 2, (size_t)-1, stdin)); in FORTIFY_TEST()
508 EXPECT_NO_DEATH(fwrite(small_buffer, 2, (size_t)-1, stdout)); in FORTIFY_TEST()
559 EXPECT_NO_DEATH(getcwd(nullptr, 0)); in FORTIFY_TEST()
560 EXPECT_NO_DEATH(getcwd(nullptr, 4096)); in FORTIFY_TEST()
567 EXPECT_NO_DEATH(read(kBogusFD, split.tiny_buffer, sizeof(split))); in FORTIFY_TEST()
568 EXPECT_NO_DEATH(pread(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()
569 EXPECT_NO_DEATH(pread64(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()
570 EXPECT_NO_DEATH(write(kBogusFD, split.tiny_buffer, sizeof(split))); in FORTIFY_TEST()
571 EXPECT_NO_DEATH(pwrite(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()
572 EXPECT_NO_DEATH(pwrite64(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()