Searched refs:w_cnt (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.7.0/components/bt/common/osi/ |
D | config.c | 406 int w_cnt, w_cnt_total = 0; in config_save() local 409 w_cnt = snprintf(line, 1024, "[%s]\n", section->name); in config_save() 410 if(w_cnt < 0) { in config_save() 411 OSI_TRACE_ERROR("snprintf error w_cnt %d.",w_cnt); in config_save() 415 if(w_cnt_total + w_cnt > config_size) { in config_save() 416 …t_total = %d) is larger than buffer size (config_size = %d).", __func__, (w_cnt + w_cnt_total), co… in config_save() 420 …OSI_TRACE_DEBUG("section name: %s, w_cnt + w_cnt_total = %d\n", section->name, w_cnt + w_cnt_total… in config_save() 421 memcpy(buf + w_cnt_total, line, w_cnt); in config_save() 422 w_cnt_total += w_cnt; in config_save() 427 w_cnt = snprintf(line, 1024, "%s = %s\n", entry->key, entry->value); in config_save() [all …]
|