Searched refs:output_buffer (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.1.9/tests/ |
| H A D | pread.c | 102 char output_buffer = 'A'; in test_pread_should_fail() local 103 ssize_t pread_result = pread(fd, &output_buffer, 1, 0); in test_pread_should_fail() 107 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged"); in test_pread_should_fail() 109 pread_result = pread(fd, &output_buffer, 1, 1); in test_pread_should_fail() 113 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged"); in test_pread_should_fail() 115 pread_result = pread(fd, &output_buffer, 0, 0); in test_pread_should_fail() 119 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged"); in test_pread_should_fail() 121 pread_result = pread(fd, &output_buffer, 0, 1); in test_pread_should_fail() 125 T_ASSERT_EQ(output_buffer, 'A', "input buffer is unchanged"); in test_pread_should_fail() 180 char output_buffer = 'A'; variable [all …]
|
| /xnu-12377.1.9/tests/vfs/ |
| H A D | getattrlist_mountextflags.c | 56 static char *output_buffer = NULL; variable 121 char *buffer = output_buffer; in do_exec() 140 pos = strrchr(output_buffer, '\n'); in do_exec() 166 if (output_buffer) { in cleanup() 167 free(output_buffer); in cleanup() 226 output_buffer = malloc(PATH_MAX); 244 …T_ASSERT_POSIX_NOTNULL((diskp = strstr(output_buffer, "disk")), "Extracting device identifier: %s"…
|