Home
last modified time | relevance | path

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

/picolibc-latest/test/
Dtest-funopen.c56 static SEEK_T test_pos; variable
66 n = min(n, test_end - test_pos); in test_read()
67 memcpy(buf, test_buf + test_pos, n); in test_read()
68 test_pos += n; in test_read()
76 n = min(n, sizeof(test_buf) - test_pos); in test_write()
77 memcpy(test_buf + test_pos, buf, n); in test_write()
78 test_pos += n; in test_write()
79 test_end = max(test_end, test_pos); in test_write()
86 SEEK_T new_pos = test_pos; in test_seek()
90 new_pos = test_pos + off; in test_seek()
[all …]