Lines Matching refs:strsep
22 * @tc.desc : Test calling strsep function to intercept string
31 char *result = strsep(&p, sep);
33 t_error("%s strsep get result is '%s' are not 'hello'\n", __func__, result);
36 t_error("%s strsep get str is '%s' are not 'hello'\n", __func__, str);
42 * @tc.desc : Test strsep result when marker character appears multiple times in truncated string
51 char *result = strsep(&p, sep);
53 t_error("%s strsep get result is '%s' are not 'he'\n", __func__, result);
56 t_error("%s strsep get result is '%s' are not 'he'\n", __func__, str);
62 * @tc.desc : test strsep result when marker character does not appear in truncated string
71 char *result = strsep(&p, sep);
73 t_error("%s strsep get result is '%s' are not 'helloworld'\n", __func__, result);
76 t_error("%s strsep get result is '%s' are not 'helloworld'\n", __func__, str);