Home
last modified time | relevance | path

Searched refs:max_string_size (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sdm845/vr/
Dvr.c41 static int max_string_size = 36; variable
189 config->cfg_desc = (char *)malloc(sizeof(char) * max_string_size); in allocate_config_instance()
195 memset(config->cfg_desc, 0, sizeof(char)*max_string_size); in allocate_config_instance()
197 config->algo_type = (char *)malloc(sizeof(char) * max_string_size); in allocate_config_instance()
203 memset(config->algo_type, 0, sizeof(char) * max_string_size); in allocate_config_instance()
213 config->fields[0].field_name = (char*)malloc(sizeof(char) * max_string_size); in allocate_config_instance()
219 memset(config->fields[0].field_name, 0, sizeof(char) * max_string_size); in allocate_config_instance()
245 strlcpy(config->cfg_desc, config_name, max_string_size); in disable_config()
246 strlcpy(config->algo_type, algo_type, max_string_size); in disable_config()
247 strlcpy(config->fields[0].field_name, "disable", max_string_size); in disable_config()
[all …]
/hardware/qcom/sm8150/vr/
Dvr.c41 static int max_string_size = 36; variable
189 config->cfg_desc = (char *)malloc(sizeof(char) * max_string_size); in allocate_config_instance()
195 memset(config->cfg_desc, 0, sizeof(char)*max_string_size); in allocate_config_instance()
197 config->algo_type = (char *)malloc(sizeof(char) * max_string_size); in allocate_config_instance()
203 memset(config->algo_type, 0, sizeof(char) * max_string_size); in allocate_config_instance()
213 config->fields[0].field_name = (char*)malloc(sizeof(char) * max_string_size); in allocate_config_instance()
219 memset(config->fields[0].field_name, 0, sizeof(char) * max_string_size); in allocate_config_instance()
245 strlcpy(config->cfg_desc, config_name, max_string_size); in disable_config()
246 strlcpy(config->algo_type, algo_type, max_string_size); in disable_config()
247 strlcpy(config->fields[0].field_name, "disable", max_string_size); in disable_config()
[all …]