Lines Matching defs:values
385 int pa_format_info_get_prop_int_array(const pa_format_info *f, const char *key, int **values, int *n_values) {
393 pa_assert(values);
410 *values = pa_xnew(int, *n_values);
419 (*values)[i] = pa_json_object_get_int(o1);
462 int pa_format_info_get_prop_string_array(const pa_format_info *f, const char *key, char ***values, int *n_values) {
470 pa_assert(values);
487 *values = pa_xnew(char *, *n_values);
496 (*values)[i] = pa_xstrdup(pa_json_object_get_string(o1));
509 void pa_format_info_free_string_array(char **values, int n_values) {
513 pa_xfree(values[i]);
515 pa_xfree(values);
634 void pa_format_info_set_prop_int_array(pa_format_info *f, const char *key, const int *values, int n_values) {
645 pa_strbuf_printf(buf, "[ %d", values[0]);
648 pa_strbuf_printf(buf, ", %d", values[i]);
672 void pa_format_info_set_prop_string_array(pa_format_info *f, const char *key, const char **values, int n_values) {
682 pa_strbuf_printf(buf, "[ \"%s\"", values[0]);
685 pa_strbuf_printf(buf, ", \"%s\"", values[i]);
717 /* We don't deal with both values being non-fixed - just because there is no immediate need (FIXME) */