Lines Matching refs:str1
637 char str1[10] = "aabbcc", ncat[10] = "ddee"; in ZTEST() local
643 zassert_not_null(strcat(str1, str3), "strcat false"); in ZTEST()
644 zassert_str_equal(str1, "aabbccd", "test strcat failed"); in ZTEST()
646 ret = strcspn(str1, str2); in ZTEST()
648 ret = strcspn(str1, str3); in ZTEST()
651 zassert_true(strncat(ncat, str1, 2), "strncat failed"); in ZTEST()
652 zassert_not_null(strncat(str1, str3, 2), "strncat failed"); in ZTEST()
657 zassert_not_null(strncat(str1, str3, 1), "strncat failed"); in ZTEST()
668 zassert_is_null(strstr(str1, "ayz"), "strstr aabbccd with ayz failed"); in ZTEST()
669 zassert_not_null(strstr(str1, str2), "strstr aabbccd with b succeed"); in ZTEST()
670 zassert_not_null(strstr(str1, "bb"), "strstr aabbccd with bb succeed"); in ZTEST()
671 zassert_not_null(strstr(str1, ""), "strstr aabbccd with \0 failed"); in ZTEST()