Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/settings/src/
Dsettings_line.c366 struct settings_line_dup_check_arg *cdca; in settings_line_dup_check_cb() local
369 cdca = (struct settings_line_dup_check_arg *)cb_arg; in settings_line_dup_check_cb()
370 if (strcmp(name, cdca->name)) { in settings_line_dup_check_cb()
375 if (len_read != cdca->val_len) { in settings_line_dup_check_cb()
376 cdca->is_dup = 0; in settings_line_dup_check_cb()
378 cdca->is_dup = 1; in settings_line_dup_check_cb()
380 if (!settings_line_cmp(cdca->val, cdca->val_len, in settings_line_dup_check_cb()
382 cdca->is_dup = 1; in settings_line_dup_check_cb()
384 cdca->is_dup = 0; in settings_line_dup_check_cb()
Dsettings_fcb.c370 struct settings_line_dup_check_arg cdca; in settings_fcb_save() local
379 cdca.name = name; in settings_fcb_save()
380 cdca.val = (char *)value; in settings_fcb_save()
381 cdca.is_dup = 0; in settings_fcb_save()
382 cdca.val_len = val_len; in settings_fcb_save()
383 settings_fcb_load_priv(cs, settings_line_dup_check_cb, &cdca, false); in settings_fcb_save()
384 if (cdca.is_dup == 1) { in settings_fcb_save()
Dsettings_file.c426 struct settings_line_dup_check_arg cdca; in settings_file_save() local
435 cdca.name = name; in settings_file_save()
436 cdca.val = (char *)value; in settings_file_save()
437 cdca.is_dup = 0; in settings_file_save()
438 cdca.val_len = val_len; in settings_file_save()
439 settings_file_load_priv(cs, settings_line_dup_check_cb, &cdca, false); in settings_file_save()
440 if (cdca.is_dup == 1) { in settings_file_save()