Lines Matching refs:ret_val
2102 char *ret_val; in TempName() local
2146 ret_val = new char[i + TMPNAME_SIZE ]; in TempName()
2147 if (ret_val) in TempName()
2149 strcpy(ret_val,dir); in TempName()
2153 if ( i>0 && ret_val[i-1] != '\\' && ret_val[i-1] != '/' && in TempName()
2154 ret_val[i-1] != ':') in TempName()
2155 ret_val[i++] = '\\'; in TempName()
2157 if (i>0 && ret_val[i-1] != '/') in TempName()
2158 ret_val[i++] = '/'; in TempName()
2163 strncpy(ret_val + i, pfx, 5); in TempName()
2164 ret_val[i + 5] = '\0'; /* strncpy doesn't put a 0 if more */ in TempName()
2165 i = strlen(ret_val); /* than 'n' chars. */ in TempName()
2183 snprintf(ret_val+i, TMPNAME_SIZE, "%05lu%lu", u, mypid); in TempName()
2185 strcat(ret_val,ext); in TempName()
2189 SvFileStream aStream( String( ret_val, osl_getThreadTextEncoding()), in TempName()
2196 … aRet = DirEntry( String( ret_val, osl_getThreadTextEncoding())); in TempName()
2205 String aRetVal(ret_val, osl_getThreadTextEncoding()); in TempName()
2238 delete[] ret_val; in TempName()
2239 ret_val = 0; in TempName()