Home
last modified time | relevance | path

Searched refs:protected_buffer (Results 1 – 4 of 4) 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/google-breakpad/src/client/ios/
Dexception_handler_no_mach.cc70 char protected_buffer[PAGE_MAX_SIZE] __attribute__((aligned(PAGE_MAX_SIZE))); member
72 char protected_buffer[PAGE_SIZE] __attribute__((aligned(PAGE_SIZE)));
217 assert(((size_t)(gProtectedData.protected_buffer) & PAGE_MASK) == 0); in InstallHandlers()
218 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ); in InstallHandlers()
232 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ | PROT_WRITE); in UninstallHandlers()
/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)));
655 assert(((size_t)(gProtectedData.protected_buffer) & PAGE_MASK) == 0); in InstallHandler()
656 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, PROT_READ); in InstallHandler()
700 mprotect(gProtectedData.protected_buffer, PAGE_SIZE, in UninstallHandler()