Searched refs:copy_str (Results 1 – 1 of 1) sorted by relevance
33 char *copy_str = NULL; in TEST_F() local36 copy_str = osi_strndup(str, 0); in TEST_F()37 EXPECT_EQ(0, strcmp(copy_str, "")); in TEST_F()38 osi_free(copy_str); in TEST_F()41 copy_str = osi_strndup(str, len); in TEST_F()42 EXPECT_EQ(0, strcmp(str, copy_str)); in TEST_F()43 osi_free(copy_str); in TEST_F()46 copy_str = osi_strndup(str, len - 5); in TEST_F()47 EXPECT_EQ(0, strcmp("IloveBlue", copy_str)); in TEST_F()48 osi_free(copy_str); in TEST_F()[all …]