• Home
  • Raw
  • Download

Lines Matching refs:case_name

325                 while(strncmp(ctrl_list[index].case_name, ident2,  in snd_use_case_get()
327 if (!strncmp(ctrl_list[index].case_name, in snd_use_case_get()
388 while(strncmp(ctrl_list[index].case_name, ident2, in snd_use_case_get()
389 MAX_LEN(ctrl_list[index].case_name,ident2))) { in snd_use_case_get()
390 if (!strncmp(ctrl_list[index].case_name, SND_UCM_END_OF_LIST, in snd_use_case_get()
424 while(strncmp(ctrl_list[index].case_name, ident2, strlen(ident2)+1)) { in snd_use_case_get()
425 if (!strncmp(ctrl_list[index].case_name, SND_UCM_END_OF_LIST, in snd_use_case_get()
632 if (strncmp(ident_value, ctrl_list[use_case_index].case_name, in snd_use_case_apply_voice_acdb()
633 (strlen(ctrl_list[use_case_index].case_name)+1))) { in snd_use_case_apply_voice_acdb()
642 while(strncmp(ctrl_list[index].case_name, ident_value, in snd_use_case_apply_voice_acdb()
644 if (!strncmp(ctrl_list[index].case_name, SND_UCM_END_OF_LIST, in snd_use_case_apply_voice_acdb()
725 (ctrl_list == NULL) || (ctrl_list[index].case_name == NULL)) { in get_use_case_index()
730 while(strncmp(ctrl_list[index].case_name, use_case, (strlen(use_case)+1))) { in get_use_case_index()
731 if (!strncmp(ctrl_list[index].case_name, SND_UCM_END_OF_LIST, in get_use_case_index()
737 if (ctrl_list[index].case_name == NULL) { in get_use_case_index()
2467 list->case_name = (char *) in parse_single_config_format()
2469 if(list->case_name == NULL) { in parse_single_config_format()
2473 strlcpy(list->case_name, SND_UCM_END_OF_LIST, in parse_single_config_format()
2552 malloc((strlen(list->case_name)+1)*sizeof(char)); in parse_single_config_format()
2557 strlcpy(verb_ptr, list->case_name, in parse_single_config_format()
2558 ((strlen(list->case_name)+1)*sizeof(char))); in parse_single_config_format()
2585 malloc((strlen(list->case_name)+1)*sizeof(char)); in parse_single_config_format()
2590 strlcpy(verb_ptr, list->case_name, in parse_single_config_format()
2591 ((strlen(list->case_name)+1)*sizeof(char))); in parse_single_config_format()
2601 list->case_name = in parse_single_config_format()
2603 if(list->case_name == NULL) { in parse_single_config_format()
2607 strlcpy(list->case_name, SND_UCM_END_OF_LIST, in parse_single_config_format()
2648 list->case_name = in parse_single_config_format()
2650 if(list->case_name == NULL) { in parse_single_config_format()
2654 strlcpy(list->case_name, SND_UCM_END_OF_LIST, in parse_single_config_format()
2667 list->case_name = in parse_single_config_format()
2669 if(list->case_name == NULL) { in parse_single_config_format()
2673 strlcpy(list->case_name, SND_UCM_END_OF_LIST, in parse_single_config_format()
2942 malloc((strlen(list->case_name)+1)*sizeof(char)); in snd_ucm_parse_verb()
2947 strlcpy(verb_ptr, list->case_name, in snd_ucm_parse_verb()
2948 ((strlen(list->case_name)+1)*sizeof(char))); in snd_ucm_parse_verb()
2966 malloc((strlen(list->case_name)+1)*sizeof(char)); in snd_ucm_parse_verb()
2971 strlcpy(verb_ptr, list->case_name, in snd_ucm_parse_verb()
2972 ((strlen(list->case_name)+1)*sizeof(char))); in snd_ucm_parse_verb()
3037 list->case_name = in snd_ucm_parse_verb()
3039 if(list->case_name == NULL) { in snd_ucm_parse_verb()
3043 strlcpy(list->case_name, SND_UCM_END_OF_LIST, in snd_ucm_parse_verb()
3055 list->case_name = in snd_ucm_parse_verb()
3057 if(list->case_name == NULL) { in snd_ucm_parse_verb()
3061 strlcpy(list->case_name, SND_UCM_END_OF_LIST, in snd_ucm_parse_verb()
3073 list->case_name = in snd_ucm_parse_verb()
3075 if(list->case_name == NULL) { in snd_ucm_parse_verb()
3079 strlcpy(list->case_name, SND_UCM_END_OF_LIST, in snd_ucm_parse_verb()
3107 ALOGD("\tcase name: %s\n", list[i].case_name); in print_list()
3236 list->case_name = NULL; in snd_ucm_parse_section()
3274 ret = snd_ucm_extract_name(current_str, &list->case_name); in snd_ucm_parse_section()
3277 ALOGV("Name of section is %s\n", list->case_name); in snd_ucm_parse_section()
3351 static int snd_ucm_extract_name(char *buf, char **case_name) in snd_ucm_extract_name() argument
3354 char *p, *name = *case_name, *temp_ptr; in snd_ucm_extract_name()
3367 *case_name = name; in snd_ucm_extract_name()
3624 if(list[case_index].case_name) { in free_list()
3625 free(list[case_index].case_name); in free_list()