Lines Matching defs:str

130 	char *str, *res;
134 str = malloc(size);
135 if (str == NULL)
138 vsnprintf(str, size, fmt, args);
140 str[size-1] = '\0';
141 res = realloc(str, strlen(str) + 1);
144 return str;
1078 char *ptr, *str;
1082 str = *((char **)(ptr + soffset));
1083 if (strcmp(str, match) == 0)
1724 char *str;
1732 str = strchr(name, '/');
1733 if (str) {
1734 *str = '\0';
1735 verb = find_verb(uc_mgr, str + 1);
1939 char *str, **res;
1945 str = strchr(name, '/');
1946 if (str) {
1947 *str = '\0';
1948 verb = find_verb(uc_mgr, str + 1);
2081 char *str, *str1;
2096 str = strdup(str1 + 1);
2097 if (str == NULL) {
2102 str = NULL;
2105 err = get_device_list(uc_mgr, list, str);
2107 err = get_modifier_list(uc_mgr, list, str);
2109 err = get_identifiers_list(uc_mgr, list, str);
2111 err = get_supported_device_list(uc_mgr, list, str);
2113 err = get_conflicting_device_list(uc_mgr, list, str);
2117 err = get_value_list(uc_mgr, identifier, list, str);
2118 if (str)
2119 free(str);
2246 * \param str Returned value string
2249 static int get_alibcfg(snd_use_case_mgr_t *uc_mgr, char **str)
2260 size = snd_output_buffer_steal(out, str);
2261 if (*str)
2262 (*str)[size] = '\0';
2271 * \param str Returned value string
2274 static int get_alibpref(snd_use_case_mgr_t *uc_mgr, char **str)
2283 *str = s;
2383 #define geti(uc_mgr, status, ifind, str, value) ({ \
2385 if (str) { \
2386 val = (status)((uc_mgr), (str)); \
2388 if ((ifind)((uc_mgr), (uc_mgr)->active_verb, (str), 0)) { \
2403 char *str, *str1;
2412 str = strdup(str1 + 1);
2413 if (str == NULL) {
2418 str = NULL;
2421 err = geti(uc_mgr, device_status, find_device, str, value);
2423 err = geti(uc_mgr, modifier_status, find_modifier, str, value);
2434 if (str)
2435 free(str);
2695 char *str, *str1;
2718 str = strdup(str1 + 1);
2719 if (str == NULL) {
2728 err = switch_device(uc_mgr, str, value);
2730 err = switch_modifier(uc_mgr, str, value);
2733 if (str)
2734 free(str);