Home
last modified time | relevance | path

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

/system/bt/osi/test/
Dallocator_test.cpp36 copy_str = osi_strndup(str, 0); in TEST_F()
41 copy_str = osi_strndup(str, len); in TEST_F()
46 copy_str = osi_strndup(str, len - 5); in TEST_F()
51 copy_str = osi_strndup(str, len + 5); in TEST_F()
/system/bt/osi/include/
Dallocator.h38 char *osi_strndup(const char *str, size_t len);
/system/bt/osi/src/
Dallocator.c44 char *osi_strndup(const char *str, size_t len) { in osi_strndup() function
Dhash_map_utils.c63 key = osi_strndup(kvpair, eq - kvpair); in hash_map_utils_new_from_string_params()
Dwakelock.c226 wake_lock_path = osi_strndup(lock_path, PATH_MAX); in wakelock_set_paths()
232 wake_unlock_path = osi_strndup(unlock_path, PATH_MAX); in wakelock_set_paths()