Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/test/semihost/
Dsemihost-write.c41 #define TEST_STRING "hello, world" macro
59 not_written = sys_semihost_write(fd, TEST_STRING, TEST_STRING_LEN); in main()
85 if (memcmp(buf, TEST_STRING, TEST_STRING_LEN) != 0) { in main()
86 printf("read bad contents %s expected %s\n", buf, TEST_STRING); in main()
Dsemihost-read.c41 #define TEST_STRING "hello, world" macro
59 not_written = sys_semihost_write(fd, TEST_STRING, TEST_STRING_LEN); in main()
85 if (memcmp(buf, TEST_STRING, TEST_STRING_LEN) != 0) { in main()
86 printf("read bad contents %s expected %s\n", buf, TEST_STRING); in main()
Dsemihost-seek.c41 #define TEST_STRING "hello, world" macro
60 not_written = sys_semihost_write(fd, TEST_STRING, TEST_STRING_LEN); in main()
96 if (memcmp(buf, &TEST_STRING[0] + TEST_SEEK_POS, TEST_STRING_LEN - TEST_SEEK_POS) != 0) { in main()
98 buf, &TEST_STRING[0] + TEST_SEEK_POS); in main()
Dsemihost-flen.c40 #define TEST_STRING "hello, world" macro
57 not_written = sys_semihost_write(fd, TEST_STRING, TEST_STRING_LEN); in main()