Home
last modified time | relevance | path

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

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dselftest.c304 assert_xstrndup_eq (const char *expected, const char *src, size_t n) in assert_xstrndup_eq() function
316 assert_xstrndup_eq ("", "test", 0); in test_xstrndup()
317 assert_xstrndup_eq ("t", "test", 1); in test_xstrndup()
318 assert_xstrndup_eq ("te", "test", 2); in test_xstrndup()
319 assert_xstrndup_eq ("tes", "test", 3); in test_xstrndup()
320 assert_xstrndup_eq ("test", "test", 4); in test_xstrndup()
321 assert_xstrndup_eq ("test", "test", 5); in test_xstrndup()
325 assert_xstrndup_eq ("", src, 0); in test_xstrndup()
326 assert_xstrndup_eq ("t", src, 1); in test_xstrndup()
327 assert_xstrndup_eq ("te", src, 2); in test_xstrndup()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dselftest.cc318 assert_xstrndup_eq (const char *expected, const char *src, size_t n) in assert_xstrndup_eq() function
330 assert_xstrndup_eq ("", "test", 0); in test_xstrndup()
331 assert_xstrndup_eq ("t", "test", 1); in test_xstrndup()
332 assert_xstrndup_eq ("te", "test", 2); in test_xstrndup()
333 assert_xstrndup_eq ("tes", "test", 3); in test_xstrndup()
334 assert_xstrndup_eq ("test", "test", 4); in test_xstrndup()
335 assert_xstrndup_eq ("test", "test", 5); in test_xstrndup()
339 assert_xstrndup_eq ("", src, 0); in test_xstrndup()
340 assert_xstrndup_eq ("t", src, 1); in test_xstrndup()
341 assert_xstrndup_eq ("te", src, 2); in test_xstrndup()
[all …]
H A DChangeLog-20162404 (selftest::assert_xstrndup_eq): ...this, and remove call to