Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/host/
Dsettings.c26 void bt_settings_encode_key(char *path, size_t path_size, const char *subsys, in bt_settings_encode_key() argument
30 snprintk(path, path_size, in bt_settings_encode_key()
36 snprintk(path, path_size, in bt_settings_encode_key()
46 void bt_settings_encode_key(char *path, size_t path_size, const char *subsys, in bt_settings_encode_key() argument
52 if (len < path_size) { in bt_settings_encode_key()
57 strncpy(&path[len], subsys, path_size - len); in bt_settings_encode_key()
59 if (len < path_size) { in bt_settings_encode_key()
64 for (int8_t i = 5; i >= 0 && len < path_size; i--) { in bt_settings_encode_key()
66 path_size - len); in bt_settings_encode_key()
69 if (len < path_size) { in bt_settings_encode_key()
[all …]
Dsettings.h33 void bt_settings_encode_key(char *path, size_t path_size, const char *subsys,