Home
last modified time | relevance | path

Searched refs:copy_str (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Bluetooth/system/osi/test/
Dallocator_test.cc29 char* copy_str = NULL; in TEST_F() local
32 copy_str = osi_strndup(str, 0); in TEST_F()
33 EXPECT_EQ(0, strcmp(copy_str, "")); in TEST_F()
34 osi_free(copy_str); in TEST_F()
37 copy_str = osi_strndup(str, len); in TEST_F()
38 EXPECT_EQ(0, strcmp(str, copy_str)); in TEST_F()
39 osi_free(copy_str); in TEST_F()
42 copy_str = osi_strndup(str, len - 5); in TEST_F()
43 EXPECT_EQ(0, strcmp("IloveBlue", copy_str)); in TEST_F()
44 osi_free(copy_str); in TEST_F()
[all …]