Home
last modified time | relevance | path

Searched refs:protected_buffer (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile04.c102 OFF_T *protected_buffer; in do_sendfile() local
106 protected_buffer = mmap(NULL, in do_sendfile()
107 sizeof(*protected_buffer), in do_sendfile()
109 if (protected_buffer == MAP_FAILED) { in do_sendfile()
121 SAFE_MUNMAP(cleanup, protected_buffer, in do_sendfile()
122 sizeof(*protected_buffer)); in do_sendfile()
125 TEST(sendfile(out_fd, in_fd, protected_buffer, sb.st_size)); in do_sendfile()
147 munmap(protected_buffer, sizeof(*protected_buffer)); in do_sendfile()
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test_lib.cc193 unsigned char* protected_buffer = in tsi_test_frame_protector_send_message_to_peer() local
208 protector, message_bytes, &processed_message_size, protected_buffer, in tsi_test_frame_protector_send_message_to_peer()
212 send_bytes_to_peer(channel, protected_buffer, protected_buffer_size_to_send, in tsi_test_frame_protector_send_message_to_peer()
222 protector, protected_buffer, &protected_buffer_size_to_send, in tsi_test_frame_protector_send_message_to_peer()
225 send_bytes_to_peer(channel, protected_buffer, in tsi_test_frame_protector_send_message_to_peer()
232 gpr_free(protected_buffer); in tsi_test_frame_protector_send_message_to_peer()
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc78 char protected_buffer[PAGE_MAX_SIZE] __attribute__((aligned(PAGE_MAX_SIZE))); member
80 char protected_buffer[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
650 assert(((size_t)(gProtectedData.protected_buffer) & PAGE_MASK) == 0); in InstallHandler()
651 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ); in InstallHandler()
695 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, in UninstallHandler()