Searched refs:outstr (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/stdio-common/ |
D | tst-fseek.c | 36 const char outstr[] = "hello world!\n"; in do_test() local 37 char strbuf[sizeof outstr]; in do_test() 60 setbuffer (fp, strbuf, sizeof (outstr) -1); in do_test() 62 if (fwrite (outstr, sizeof (outstr) - 1, 1, fp) != 1) in do_test() 129 else if (fread (buf, sizeof (outstr) - 1, 1, fp) != 1) in do_test() 134 else if (memcmp (buf, outstr, sizeof (outstr) - 1) != 0) in do_test() 156 else if (fread (buf, sizeof (outstr) - 1, 1, fp) != 1) in do_test() 161 else if (memcmp (buf, outstr, sizeof (outstr) - 1) != 0) in do_test() 168 if (fseek (fp, -((int) sizeof (outstr) - 1), SEEK_CUR) != 0) in do_test() 183 else if (fread (buf, sizeof (outstr) - 1, 1, fp) != 1) in do_test() [all …]
|
/glibc-2.36/iconvdata/ |
D | tst-iconv7.c | 21 char outstr[32]; in do_test() local 23 size_t outlen = sizeof (outstr); in do_test() 25 char *outptr = outstr; in do_test() 29 || outlen != sizeof (outstr) - sizeof (expstr1) in do_test() 30 || memcmp (outstr, expstr1, sizeof (expstr1)) != 0) in do_test() 39 outlen = sizeof (outstr); in do_test() 41 outptr = outstr; in do_test() 45 || outlen != sizeof (outstr) - sizeof (expstr2) in do_test() 46 || memcmp (outstr, expstr2, sizeof (expstr2)) != 0) in do_test()
|