Lines Matching refs:tmpstr
118 char *tmpstr, *tmpstr2;
137 tmpstr = newpath;
142 if (*tmpstr == '/') {
143 tmpstr2 = tmpstr;
144 tmpstr = strrchr(tmpstr2, '/');
146 assert(tmpstr != NULL && *tmpstr != '\0');
147 tmpstr++;
150 if (*tmpstr == '\0') {
161 if (*tmpstr == 'n' || *tmpstr == 'e') {
164 if (strncmp(tmpstr + 1, nonrewind_devs[i], len) == 0) {
165 if (isdigit(tmpstr[len + 1])) {
166 tmpstr++;
178 if (strlen(tmpstr) < 2) {
190 if (isdigit(*tmpstr)) {
203 if (!isdigit(tmpstr[strlen(tmpstr) - 1])) {
221 (unit_offset < (strlen(tmpstr)))
222 && (isdigit(tmpstr[strlen(tmpstr) - unit_offset])); unit_offset++);
229 *unit = atoi(&tmpstr[strlen(tmpstr) - unit_offset]);
235 tmpstr[strlen(tmpstr) - unit_offset] = '\0';
237 strlcpy(dev_name, tmpstr, devnamelen);
449 char tmpstr[256];
458 snprintf(tmpstr, sizeof(tmpstr),
466 (errno == ENOENT) ? tmpstr : "");