/netbsd/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/ |
H A D | truncate1.c | 17 const char tsttxt1[] in main() local 20 char buf[sizeof (tsttxt1) + sizeof (tsttxt2) - 1] = ""; in main() 24 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1) in main() 31 if (truncate (fname, strlen(tsttxt1) - 10) != 0) in main() 39 || fread (buf, 1, sizeof (buf), f) != strlen (tsttxt1) - 10 in main() 40 || strncmp (buf, tsttxt1, strlen (tsttxt1) - 10) != 0 in main()
|
H A D | ftruncate1.c | 21 const char tsttxt1[] in main() local 24 char buf[sizeof (tsttxt1) + sizeof (tsttxt2) - 1] = ""; in main() 28 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1)) in main() 34 if (ftruncate (fileno (f), strlen(tsttxt1) - 20) != 0) in main() 42 || fread (buf, 1, sizeof (buf), f) != strlen (tsttxt1) - 20 in main() 43 || strncmp (buf, tsttxt1, strlen (tsttxt1) - 20) != 0 in main()
|
H A D | append1.c | 15 const char tsttxt1[] in main() local 18 char buf[sizeof (tsttxt1) + sizeof (tsttxt2) - 1] = ""; in main() 22 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1) in main() 41 || strncmp (buf, tsttxt1, strlen (tsttxt1)) != 0 in main() 42 || strncmp (buf + strlen (tsttxt1), tsttxt2, strlen (tsttxt2)) != 0 in main()
|
H A D | fdopen1.c | 22 const char tsttxt1[] in main() local 24 char buf[sizeof (tsttxt1)] = ""; in main() 32 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1)) in main() 44 || fread (buf, 1, sizeof (buf), f) != strlen (tsttxt1) in main() 45 || strcmp (buf, tsttxt1) != 0 in main()
|
H A D | fdopen2.c | 24 const char tsttxt1[] in main() local 26 char buf[sizeof (tsttxt1)] = ""; in main() 31 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1)) in main()
|
/netbsd/external/gpl3/gdb.old/dist/sim/testsuite/sim/cris/c/ |
H A D | truncate1.c | 17 const char tsttxt1[] in main() local 20 char buf[sizeof (tsttxt1) + sizeof (tsttxt2) - 1] = ""; in main() 24 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1) in main() 31 if (truncate (fname, strlen(tsttxt1) - 10) != 0) in main() 39 || fread (buf, 1, sizeof (buf), f) != strlen (tsttxt1) - 10 in main() 40 || strncmp (buf, tsttxt1, strlen (tsttxt1) - 10) != 0 in main()
|
H A D | ftruncate1.c | 21 const char tsttxt1[] in main() local 24 char buf[sizeof (tsttxt1) + sizeof (tsttxt2) - 1] = ""; in main() 28 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1)) in main() 34 if (ftruncate (fileno (f), strlen(tsttxt1) - 20) != 0) in main() 42 || fread (buf, 1, sizeof (buf), f) != strlen (tsttxt1) - 20 in main() 43 || strncmp (buf, tsttxt1, strlen (tsttxt1) - 20) != 0 in main()
|
H A D | append1.c | 15 const char tsttxt1[] in main() local 18 char buf[sizeof (tsttxt1) + sizeof (tsttxt2) - 1] = ""; in main() 22 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1) in main() 41 || strncmp (buf, tsttxt1, strlen (tsttxt1)) != 0 in main() 42 || strncmp (buf + strlen (tsttxt1), tsttxt2, strlen (tsttxt2)) != 0 in main()
|
H A D | fdopen1.c | 22 const char tsttxt1[] in main() local 24 char buf[sizeof (tsttxt1)] = ""; in main() 32 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1)) in main() 44 || fread (buf, 1, sizeof (buf), f) != strlen (tsttxt1) in main() 45 || strcmp (buf, tsttxt1) != 0 in main()
|
H A D | fdopen2.c | 24 const char tsttxt1[] in main() local 26 char buf[sizeof (tsttxt1)] = ""; in main() 31 || fwrite (tsttxt1, 1, strlen (tsttxt1), f) != strlen (tsttxt1)) in main()
|