Lines Matching refs:value_sz

282     size_t value_sz = sizeof_ctl_type(setting->type);  in path_add_setting()  local
284 path->setting[path_index].value.ptr = calloc(setting->num_values, value_sz); in path_add_setting()
287 setting->num_values * value_sz); in path_add_setting()
327 size_t value_sz = sizeof_ctl_type(type); in path_add_value() local
328 path->setting[path_index].value.ptr = calloc(num_values, value_sz); in path_add_value()
387 size_t value_sz = sizeof_ctl_type(type); in path_apply() local
389 path->setting[i].num_values * value_sz); in path_apply()
408 size_t value_sz = sizeof_ctl_type(type); in path_reset() local
412 ar->mixer_state[ctl_index].num_values * value_sz); in path_reset()
598 size_t value_sz = sizeof_ctl_type(type); in alloc_mixer_state() local
599 ar->mixer_state[i].old_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
600 ar->mixer_state[i].new_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
601 ar->mixer_state[i].reset_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
609 num_values * value_sz); in alloc_mixer_state()
683 size_t value_sz = sizeof_ctl_type(type); in audio_route_update_mixer() local
685 num_values * value_sz); in audio_route_update_mixer()
703 size_t value_sz = sizeof_ctl_type(type); in save_mixer_state() local
705 ar->mixer_state[i].num_values * value_sz); in save_mixer_state()
721 size_t value_sz = sizeof_ctl_type(type); in audio_route_reset() local
723 ar->mixer_state[i].num_values * value_sz); in audio_route_reset()
806 size_t value_sz = sizeof_ctl_type(type); in audio_route_update_path() local
812 memcpy(ms->old_value.bytes, ms->new_value.bytes, ms->num_values * value_sz); in audio_route_update_path()
819 ms->num_values * value_sz); in audio_route_update_path()
824 memcpy(ms->old_value.integer, ms->new_value.integer, ms->num_values * value_sz); in audio_route_update_path()