Lines Matching refs:name
49 char *name;
90 free(spec->priv.name);
91 free(spec->unpriv.name);
95 spec->priv.name = NULL;
96 spec->unpriv.name = NULL;
116 static int parse_int(const char *str, int *val, const char *name)
127 PRINT_FAIL("failed to parse %s from '%s'\n", name, str);
134 static int parse_retval(const char *str, int *val, const char *name)
137 char *name;
147 if (strcmp(str, named_values[i].name) != 0)
153 return parse_int(str, val, name);
284 spec->priv.name = strdup(description);
285 if (!spec->priv.name) {
286 PRINT_FAIL("failed to allocate memory for priv.name\n");
295 char *name;
297 name = malloc(descr_len + strlen(suffix) + 1);
298 if (!name) {
299 PRINT_FAIL("failed to allocate memory for unpriv.name\n");
304 strcpy(name, description);
305 strcpy(&name[descr_len], suffix);
306 spec->unpriv.name = name;
528 /* this function is forced noinline and has short generic name to look better
549 if (!test__start_subtest(subspec->name))