Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/test/
Dt_fmemopen.c835 char buf0[BUFSIZ], buf1[BUFSIZ]; in ATF_TC_BODY() local
850 buf1[t->n] = 0x1; in ATF_TC_BODY()
857 ATF_CHECK(fread(&buf1[0], 1, sizeof(buf1), fp) == read_end); in ATF_TC_BODY()
859 ATF_CHECK(memcmp(&buf0[0], &buf1[0], read_end) == 0); in ATF_TC_BODY()
860 ATF_CHECK((unsigned char)buf1[t->n] == 0x1); in ATF_TC_BODY()
938 char buf0[BUFSIZ], buf1[BUFSIZ]; in ATF_TC_BODY() local
953 buf1[t->n - len] = 0x1; in ATF_TC_BODY()
960 ATF_CHECK(fread(&buf1[0], 1, sizeof(buf1), fp) in ATF_TC_BODY()
963 ATF_CHECK(!memcmp(&buf0[len], &buf1[0], readlen1)); in ATF_TC_BODY()
964 ATF_CHECK((unsigned char)buf1[t->n - len] == 0x1); in ATF_TC_BODY()
[all …]