Home | History | Annotate | Download | only in libalsa-intf

Lines Matching defs:current_str

2124     char *read_buf = NULL, *next_str = NULL, *current_str = NULL, *buf = NULL;
2148 current_str = read_buf;
2150 while (*current_str != (char)EOF) {
2151 next_str = strchr(current_str, '\n');
2156 buf = strstr(current_str, "SectionUseCase");
2158 if((current_str = next_str) == NULL)
2167 if((current_str = next_str) == NULL)
2186 buf = strstr(current_str, "File");
2188 if((current_str = next_str) == NULL)
2238 if((current_str = next_str) == NULL)
2283 char *read_buf, *next_str, *current_str, *buf, *p, *verb_name;
2307 current_str = read_buf;
2308 verb_count = get_verb_count(current_str);
2325 if ((ret = is_single_config_format(current_str))) {
2327 ret = parse_single_config_format(uc_mgr, current_str, verb_count);
2332 while (*current_str != (char)EOF) {
2333 next_str = strchr(current_str, '\n');
2338 buf = strstr(current_str, "SectionUseCase");
2340 if((current_str = next_str) == NULL)
2376 buf = strstr(current_str, "File");
2378 if((current_str = next_str) == NULL)
2413 if((current_str = next_str) == NULL)
2449 char *current_str, int num_verbs)
2458 while (*current_str != (char)EOF) {
2459 next_str = strchr(current_str, '\n');
2463 if ((buf = strcasestr(current_str, "SectionUseCase")) != NULL) {
2524 } else if (!strncasecmp(current_str, "SectionVerb", 11)) {
2525 ret = snd_ucm_parse_section(uc_mgr, &current_str,
2529 } else if (!strncasecmp(current_str, "SectionDevice", 13)) {
2544 ret = snd_ucm_parse_section(uc_mgr, &current_str,
2562 } else if (!strncasecmp(current_str, "SectionModifier", 15)) {
2577 ret = snd_ucm_parse_section(uc_mgr, &current_str,
2596 if((current_str = next_str) == NULL)
2706 char *current_str, *next_str, *str_addr, *buf;
2716 current_str = next_str;
2718 next_str = strchr(current_str, '\n');
2722 buf = strcasestr(current_str, "SectionUseCase");
2725 buf = strcasestr(current_str, "SectionVerb");
2730 if((current_str = next_str) == NULL)
2740 char *current_str, *next_str, *str_addr, *buf;
2750 current_str = next_str;
2752 next_str = strchr(current_str, '\n');
2756 buf = strcasestr(current_str, "SectionDevice");
2761 if((current_str = next_str) == NULL)
2771 char *current_str, *next_str, *str_addr, *buf;
2781 current_str = next_str;
2783 next_str = strchr(current_str, '\n');
2787 buf = strcasestr(current_str, "SectionModifier");
2792 if((current_str = next_str) == NULL)
2802 char *current_str, *next_str, *str_addr, *buf, *p;
2812 current_str = next_str;
2814 next_str = strchr(current_str, '\n');
2818 buf = strstr(current_str, "SectionUseCase");
2823 if((current_str = next_str) == NULL)
2833 char *current_str, *next_str, *str_addr, *buf;
2843 current_str = next_str;
2845 next_str = strchr(current_str, '\n');
2849 buf = strstr(current_str, "SectionUseCase");
2852 buf = strstr(current_str, "File");
2857 if((current_str = next_str) == NULL)
2877 char *read_buf, *next_str, *current_str, *verb_ptr;
2914 current_str = read_buf;
2915 while (*current_str != (char)EOF) {
2916 next_str = strchr(current_str, '\n');
2920 if (!strncasecmp(current_str, "SectionVerb", 11)) {
2924 ret = snd_ucm_parse_section(uc_mgr, &current_str,
2929 } else if (!strncasecmp(current_str, "SectionDevice", 13)) {
2934 ret = snd_ucm_parse_section(uc_mgr, &current_str,
2953 } else if (!strncasecmp(current_str, "SectionModifier", 15)) {
2958 ret = snd_ucm_parse_section(uc_mgr, &current_str,
2979 if((current_str = next_str) == NULL)
3180 char *current_str, *next_str, *str_addr;
3191 current_str = next_str;
3192 next_str = strchr(current_str, '\n');
3193 if ((!next_str) || (!strncasecmp(current_str, "EndSection", 10)))
3196 if (strcasestr(current_str, "EndSequence") != NULL) {
3203 if(!strncasecmp(current_str, "EndSection", 10))
3220 char *p, *current_str, *next_str, *name;
3246 current_str = *cur_str; next_str = *nxt_str;
3247 while(strncasecmp(current_str, "EndSection", 10)) {
3248 current_str = next_str;
3249 next_str = strchr(current_str, '\n');
3250 if ((!next_str) || (!strncasecmp(current_str, "EndSection", 10)))
3253 if (strcasestr(current_str, "EndSequence") != NULL) {
3262 ret = snd_ucm_extract_controls(current_str, &list->ena_mixer_list,
3268 ret = snd_ucm_extract_controls(current_str, &list->dis_mixer_list,
3273 } else if (strcasestr(current_str, "Name") != NULL) {
3274 ret = snd_ucm_extract_name(current_str, &list->case_name);
3278 } else if (strcasestr(current_str, "PlaybackPCM") != NULL) {
3279 ret = snd_ucm_extract_dev_name(current_str,
3285 } else if (strcasestr(current_str, "CapturePCM") != NULL) {
3286 ret = snd_ucm_extract_dev_name(current_str,
3291 } else if (strcasestr(current_str, "ACDBID") != NULL) {
3292 ret = snd_ucm_extract_acdb(current_str, &list->acdb_id,
3298 } else if (strcasestr(current_str, "EffectsMixerCTL") != NULL) {
3299 ret = snd_ucm_extract_effects_mixer_ctl(current_str,
3305 if (strcasestr(current_str, "EnableSequence") != NULL) {
3318 } else if (strcasestr(current_str, "DisableSequence") != NULL) {
3336 *cur_str = current_str; *nxt_str = next_str;