Lines Matching refs:tmp
58 char *tmp;63 tmp = malloc(strlen(str) + 1);64 if (!tmp) return NULL;78 tmp[i] = '\\';88 tmp[i] = *p;93 tmp[i] = '\0';102 tmp[i] = '\\';107 tmp[i] = *p;116 tmp[i] = '\\';120 tmp[i] = '\0';125 if (i > 1 && tmp[i-1] == '\0') {130 ret[num] = strdup(tmp);137 free(tmp);141 free(tmp);