Lines Matching refs:result
31 char *result = strsep(&p, sep);
32 if (strcmp(result, "hello") != 0) {
33 t_error("%s strsep get result is '%s' are not 'hello'\n", __func__, result);
42 * @tc.desc : Test strsep result when marker character appears multiple times in truncated string
51 char *result = strsep(&p, sep);
52 if (strcmp(result, "he") != 0) {
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);
72 if (strcmp(result, "helloworld") != 0) {
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);