Lines Matching refs:tmp
321 - char* tmp = strdup(s);
323 - if (tmp[strlen(tmp) - 1] == '/')
324 - tmp[strlen(tmp) - 1] = 0;
325 - if (strlen(tmp) == 0)
329 - char* idx = strrchr(tmp, '/');
333 - return tmp;
650 + char* tmp = strdup(s);
652 + if (tmp[strlen(tmp) - 1] == '/')
653 + tmp[strlen(tmp) - 1] = 0;
654 + if (strlen(tmp) == 0)
658 + char* idx = strrchr(tmp, '/');
662 + return tmp;