Searched refs:ts_buf (Results 1 - 7 of 7) sorted by relevance

/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_read.c47 char *ts_buf; member in struct:__anon1366
109 if (ts->ts_buf == NULL) {
110 ts->ts_buf = malloc(opts);
136 if (read(ts->ts_fd, ts->ts_buf, opts) != opts) {
141 ts->ts_buf[j] = 0;
H A Dlmbench_write.c46 char *ts_buf; member in struct:__anon1369
111 if (ts->ts_buf == NULL) {
112 ts->ts_buf = malloc(opts);
125 ts->ts_buf[i] = 0;
150 if (write(ts->ts_fd, ts->ts_buf, opts) != opts) {
H A Dlmbench_fstat.c45 char *ts_buf; member in struct:__anon1360
93 if (ts->ts_buf == NULL) {
94 /* ts->ts_buf = malloc(opts); */
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dpread.c43 char *ts_buf; member in struct:__anon1408
106 if (ts->ts_buf == NULL) {
107 ts->ts_buf = malloc(opts);
121 if (pread(fd, ts->ts_buf, opts, 0) != opts) {
126 ts->ts_buf[j] = 0;
H A Dpwrite.c43 char *ts_buf; member in struct:__anon1410
115 if (ts->ts_buf == NULL) {
116 ts->ts_buf = malloc(opts);
124 ts->ts_buf[i] = 0;
137 if (pwrite(fd, ts->ts_buf, opts, 0) != opts) {
H A Dread.c44 char *ts_buf; member in struct:__anon1411
106 if (ts->ts_buf == NULL) {
107 ts->ts_buf = malloc(opts);
123 if (read(ts->ts_fd, ts->ts_buf, opts) != opts) {
128 ts->ts_buf[j] = 0;
H A Dwrite.c43 char *ts_buf; member in struct:__anon1424
108 if (ts->ts_buf == NULL) {
109 ts->ts_buf = malloc(opts);
122 ts->ts_buf[i] = 0;
137 if (write(ts->ts_fd, ts->ts_buf, opts) != opts) {

Completed in 76 milliseconds