Lines Matching refs:file_name
2125 char *p = NULL, *verb_name = NULL, *file_name = NULL, *temp_ptr = NULL; in second_stage_parsing_thread() local
2198 file_name = (char *)malloc((strlen(p)+1)*sizeof(char)); in second_stage_parsing_thread()
2199 if(file_name == NULL) { in second_stage_parsing_thread()
2203 strlcpy(file_name, p, (strlen(p)+1)*sizeof(char)); in second_stage_parsing_thread()
2207 if (file_name != NULL) { in second_stage_parsing_thread()
2208 ret = snd_ucm_parse_verb(uc_mgr, file_name, index); in second_stage_parsing_thread()
2228 free(file_name); in second_stage_parsing_thread()
2229 file_name = NULL; in second_stage_parsing_thread()
2245 if (file_name != NULL) { in second_stage_parsing_thread()
2246 free(file_name); in second_stage_parsing_thread()
2247 file_name = NULL; in second_stage_parsing_thread()
2284 char *file_name = NULL, *temp_ptr; in snd_ucm_parse() local
2388 file_name = (char *)malloc((strlen(p)+1)*sizeof(char)); in snd_ucm_parse()
2389 if(file_name == NULL) { in snd_ucm_parse()
2393 strlcpy(file_name, p, (strlen(p)+1)*sizeof(char)); in snd_ucm_parse()
2396 if (file_name != NULL) { in snd_ucm_parse()
2397 ret = snd_ucm_parse_verb(uc_mgr, file_name, index); in snd_ucm_parse()
2399 ALOGE("Failed to parse config file %s\n", file_name); in snd_ucm_parse()
2402 free(file_name); in snd_ucm_parse()
2403 file_name = NULL; in snd_ucm_parse()
2438 if (file_name) in snd_ucm_parse()
2439 free(file_name); in snd_ucm_parse()
2871 const char *file_name, int index) in snd_ucm_parse_verb() argument
2882 strlcat(path, file_name, sizeof(path)); in snd_ucm_parse_verb()