• Home
  • Raw
  • Download

Lines Matching refs:value_sz

289     size_t value_sz = sizeof_ctl_type(setting->type);  in path_add_setting()  local
291 path->setting[path_index].value.ptr = calloc(setting->num_values, value_sz); in path_add_setting()
294 setting->num_values * value_sz); in path_add_setting()
334 size_t value_sz = sizeof_ctl_type(type); in path_add_value() local
335 path->setting[path_index].value.ptr = calloc(num_values, value_sz); in path_add_value()
395 size_t value_sz = sizeof_ctl_type(type); in path_apply() local
397 path->setting[i].num_values * value_sz); in path_apply()
417 size_t value_sz = sizeof_ctl_type(type); in path_reset() local
421 ar->mixer_state[ctl_index].num_values * value_sz); in path_reset()
611 size_t value_sz = sizeof_ctl_type(type); in alloc_mixer_state() local
612 ar->mixer_state[i].old_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
613 ar->mixer_state[i].new_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
614 ar->mixer_state[i].reset_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
622 num_values * value_sz); in alloc_mixer_state()
696 size_t value_sz = sizeof_ctl_type(type); in audio_route_update_mixer() local
698 num_values * value_sz); in audio_route_update_mixer()
716 size_t value_sz = sizeof_ctl_type(type); in save_mixer_state() local
718 ar->mixer_state[i].num_values * value_sz); in save_mixer_state()
734 size_t value_sz = sizeof_ctl_type(type); in audio_route_reset() local
736 ar->mixer_state[i].num_values * value_sz); in audio_route_reset()
821 size_t value_sz = sizeof_ctl_type(type); in audio_route_update_path() local
831 ms->num_values * value_sz); in audio_route_update_path()
835 memcpy(ms->old_value.bytes, ms->new_value.bytes, ms->num_values * value_sz); in audio_route_update_path()
845 ms->num_values * value_sz); in audio_route_update_path()
850 ms->num_values * value_sz); in audio_route_update_path()
859 ms->num_values * value_sz); in audio_route_update_path()
863 memcpy(ms->old_value.integer, ms->new_value.integer, ms->num_values * value_sz); in audio_route_update_path()