Lines Matching defs:src
144 const char *src = "String 1, String 2";
147 RE(atf_dynstr_init_raw(&str, src, 0));
151 RE(atf_dynstr_init_raw(&str, src, 8));
155 RE(atf_dynstr_init_raw(&str, src + 10, 8));
225 atf_dynstr_t src;
228 RE(atf_dynstr_init_fmt(&src, "Str 1, Str 2"));
230 RE(atf_dynstr_init_substr(&str, &src, 0, 0));
234 RE(atf_dynstr_init_substr(&str, &src, 0, atf_dynstr_npos));
238 RE(atf_dynstr_init_substr(&str, &src, 0, 100));
242 RE(atf_dynstr_init_substr(&str, &src, 0, 5));
246 RE(atf_dynstr_init_substr(&str, &src, 100, atf_dynstr_npos));
250 RE(atf_dynstr_init_substr(&str, &src, 7, atf_dynstr_npos));
254 atf_dynstr_fini(&src);