Searched refs:CPT_IO_SIZE (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | content_protection_test.c | 19 #define CPT_IO_SIZE 4096 macro 363 char rd_buffer[CPT_IO_SIZE]; 364 char wr_buffer[CPT_IO_SIZE]; 498 while (current_byte < CPT_IO_SIZE) 500 local_result = pwrite(fd, &wr_buffer[current_byte], CPT_IO_SIZE - current_byte, current_byte); 514 while (current_byte < CPT_IO_SIZE) 516 local_result = pread(fd, &rd_buffer[current_byte], CPT_IO_SIZE - current_byte, current_byte); 535 if (pread(fd, rd_buffer, CPT_IO_SIZE, 0) > 0) 542 if (pwrite(fd, wr_buffer, CPT_IO_SIZE, 0) > 0) 617 while (current_byte < CPT_IO_SIZE) [all...] |
Completed in 17 milliseconds