Lines Matching refs:kBogusFD
166 const static int kBogusFD = -1; variable
477 EXPECT_FORTIFY_DEATH(recv(kBogusFD, small_buffer, sizeof(small_buffer) + 1, 0)); in FORTIFY_TEST()
479 EXPECT_FORTIFY_DEATH(recvfrom(kBogusFD, small_buffer, sizeof(small_buffer) + 1, 0, 0, 0)); in FORTIFY_TEST()
482 EXPECT_FORTIFY_DEATH(send(kBogusFD, small_buffer, sizeof(small_buffer) + 1, 0)); in FORTIFY_TEST()
484 EXPECT_FORTIFY_DEATH(sendto(kBogusFD, small_buffer, sizeof(small_buffer) + 1, 0, 0, 0)); in FORTIFY_TEST()
493 EXPECT_NO_DEATH(recv(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()
494 EXPECT_NO_DEATH(recvfrom(kBogusFD, split.tiny_buffer, sizeof(split), 0, 0, 0)); in FORTIFY_TEST()
544 EXPECT_FORTIFY_DEATH(read(kBogusFD, small_buffer, sizeof(small_buffer) + 1)); in FORTIFY_TEST()
549 EXPECT_FORTIFY_DEATH(pread(kBogusFD, small_buffer, sizeof(small_buffer) + 1, 0)); in FORTIFY_TEST()
554 EXPECT_FORTIFY_DEATH(pread64(kBogusFD, small_buffer, sizeof(small_buffer) + 1, 0)); in FORTIFY_TEST()
559 EXPECT_FORTIFY_DEATH(write(kBogusFD, small_buffer, sizeof(small_buffer) + 1)); in FORTIFY_TEST()
564 EXPECT_FORTIFY_DEATH(pwrite(kBogusFD, small_buffer, sizeof(small_buffer) + 1, 0)); in FORTIFY_TEST()
569 EXPECT_FORTIFY_DEATH(pwrite64(kBogusFD, small_buffer, sizeof(small_buffer) + 1, 0)); in FORTIFY_TEST()
590 EXPECT_NO_DEATH(read(kBogusFD, split.tiny_buffer, sizeof(split))); in FORTIFY_TEST()
591 EXPECT_NO_DEATH(pread(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()
592 EXPECT_NO_DEATH(pread64(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()
593 EXPECT_NO_DEATH(write(kBogusFD, split.tiny_buffer, sizeof(split))); in FORTIFY_TEST()
594 EXPECT_NO_DEATH(pwrite(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()
595 EXPECT_NO_DEATH(pwrite64(kBogusFD, split.tiny_buffer, sizeof(split), 0)); in FORTIFY_TEST()
610 EXPECT_FORTIFY_DEATH(read(kBogusFD, unknown, count)); in FORTIFY_TEST()
612 EXPECT_FORTIFY_DEATH(pread(kBogusFD, unknown, count, 0)); in FORTIFY_TEST()
614 EXPECT_FORTIFY_DEATH(pread64(kBogusFD, unknown, count, 0)); in FORTIFY_TEST()
616 EXPECT_FORTIFY_DEATH(write(kBogusFD, unknown, count)); in FORTIFY_TEST()
618 EXPECT_FORTIFY_DEATH(pwrite(kBogusFD, unknown, count, 0)); in FORTIFY_TEST()
620 EXPECT_FORTIFY_DEATH(pwrite64(kBogusFD, unknown, count, 0)); in FORTIFY_TEST()