Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/settings/src/
Dsettings_line.c30 char w_buf[32]; /* write buff, must be aligned either to minimal */ in settings_line_write() local
42 memcpy(w_buf, &len_field, sizeof(len_field)); in settings_line_write()
53 memcpy(w_buf + sizeof(len_field), name, w_size); in settings_line_write()
60 rc = settings_io_cb.write_cb(cb_arg, w_loc, w_buf, w_size); in settings_line_write()
77 memcpy(w_buf, name, rem); in settings_line_write()
80 w_buf[rem] = '='; in settings_line_write()
87 while (w_size < sizeof(w_buf)) { in settings_line_write()
89 add = MIN(rem, sizeof(w_buf) - w_size); in settings_line_write()
90 memcpy(&w_buf[w_size], value, add); in settings_line_write()
98 memset(&w_buf[w_size], '\0', in settings_line_write()
[all …]