Home
last modified time | relevance | path

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

/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_mgr.c1623 char *new_driver = NULL; in board_load_drivers() local
1653 new_driver = amp_calloc(1, sizeof(char) * (index - driver + 16)); in board_load_drivers()
1654 if (NULL == new_driver) in board_load_drivers()
1658 memmove(new_driver, driver, index - driver + 1); in board_load_drivers()
1659 memmove(new_driver + (index - driver + 1), DRIVER_NAME, in board_load_drivers()
1663 new_driver); in board_load_drivers()
1665 json = board_get_json_buff(new_driver); in board_load_drivers()
1672 if (NULL != new_driver) in board_load_drivers()
1674 amp_free(new_driver); in board_load_drivers()
1675 new_driver = NULL; in board_load_drivers()

Completed in 5 milliseconds