Lines Matching refs:nvalues
145 for (i = 0; i < value->u.list.nvalues; i++) in xlu__cfg_value_free()
246 if (entry < 0 || entry >= list->nvalues) return NULL; in xlu_cfg_get_listitem2()
358 if (entries_r) *entries_r= set->value->u.list.nvalues; in xlu_cfg_get_list()
386 if (entry < 0 || entry >= list->nvalues) return 0; in xlu_cfg_get_listitem()
431 value->u.list.nvalues = !!val; in xlu__cfg_list_mk()
456 if (list->u.list.nvalues >= list->u.list.avalues) { in xlu__cfg_list_append()
479 list->u.list.values[list->u.list.nvalues] = val; in xlu__cfg_list_append()
480 list->u.list.nvalues++; in xlu__cfg_list_append()
511 int nvalues; in xlu__cfg_concat_vals() local
513 if (prev->u.list.nvalues > INT_MAX - to_add->u.list.nvalues) { in xlu__cfg_concat_vals()
516 nvalues = prev->u.list.nvalues + to_add->u.list.nvalues; in xlu__cfg_concat_vals()
518 if (nvalues >= cur_list->avalues) { in xlu__cfg_concat_vals()
521 nvalues * sizeof(*new_vals)); in xlu__cfg_concat_vals()
525 cur_list->avalues = nvalues; in xlu__cfg_concat_vals()
530 memmove(cur_list->values + prev_list->nvalues, in xlu__cfg_concat_vals()
532 cur_list->nvalues * sizeof(XLU_ConfigValue *)); in xlu__cfg_concat_vals()
537 prev_list->nvalues * sizeof(XLU_ConfigValue *)); in xlu__cfg_concat_vals()
538 cur_list->nvalues = nvalues; in xlu__cfg_concat_vals()
539 prev_list->nvalues = 0; in xlu__cfg_concat_vals()
541 prev_list->nvalues * sizeof(XLU_ConfigValue *)); in xlu__cfg_concat_vals()