Searched refs:atf_dynstr_npos (Results 1 - 4 of 4) sorted by relevance

/freebsd-12-stable/contrib/atf/atf-c/detail/
H A Ddynstr.h47 extern const size_t atf_dynstr_npos;
H A Ddynstr_test.c231 RE(atf_dynstr_init_substr(&str, &src, 0, atf_dynstr_npos));
243 RE(atf_dynstr_init_substr(&str, &src, 100, atf_dynstr_npos));
247 RE(atf_dynstr_init_substr(&str, &src, 7, atf_dynstr_npos));
353 ATF_REQUIRE_EQ(atf_dynstr_rfind_ch(&str, '\0'), atf_dynstr_npos); local
355 ATF_REQUIRE_EQ(atf_dynstr_rfind_ch(&str, '0'), atf_dynstr_npos); local
356 ATF_REQUIRE_EQ(atf_dynstr_rfind_ch(&str, 'b'), atf_dynstr_npos); local
H A Ddynstr.c111 const size_t atf_dynstr_npos = SIZE_MAX; variable
252 if (end == atf_dynstr_npos || end > src->m_length)
314 return pos == 0 ? atf_dynstr_npos : pos - 1;
H A Dfs.c395 if (endpos == atf_dynstr_npos)
422 if (begpos == atf_dynstr_npos)
427 err = atf_dynstr_init_substr(ln, &p->m_data, begpos, atf_dynstr_npos);

Completed in 53 milliseconds