Lines Matching full:add
27 size_t w_size, rem, add; in settings_line_write() local
46 add = sizeof(len_field) % wbs; in settings_line_write()
47 if (add) { in settings_line_write()
48 w_size = wbs - add; 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()
91 value += add; in settings_line_write()
92 rem -= add; in settings_line_write()
93 w_size += add; in settings_line_write()
95 add = (w_size) % wbs; in settings_line_write()
96 if (add) { in settings_line_write()
97 add = wbs - add; in settings_line_write()
99 add); in settings_line_write()
100 w_size += add; in settings_line_write()