Lines Matching refs:ret_val
2105 char *ret_val; in TempName() local
2149 ret_val = new char[i + TMPNAME_SIZE ]; in TempName()
2150 if (ret_val) in TempName()
2152 strcpy(ret_val,dir); in TempName()
2156 if ( i>0 && ret_val[i-1] != '\\' && ret_val[i-1] != '/' && in TempName()
2157 ret_val[i-1] != ':') in TempName()
2158 ret_val[i++] = '\\'; in TempName()
2160 if (i>0 && ret_val[i-1] != '/') in TempName()
2161 ret_val[i++] = '/'; in TempName()
2166 strncpy(ret_val + i, pfx, 5); in TempName()
2167 ret_val[i + 5] = '\0'; /* strncpy doesn't put a 0 if more */ in TempName()
2168 i = strlen(ret_val); /* than 'n' chars. */ in TempName()
2186 snprintf(ret_val+i, TMPNAME_SIZE, "%05lu%lu", u, mypid); in TempName()
2188 strcat(ret_val,ext); in TempName()
2192 SvFileStream aStream( String( ret_val, osl_getThreadTextEncoding()), in TempName()
2199 … aRet = DirEntry( String( ret_val, osl_getThreadTextEncoding())); in TempName()
2208 String aRetVal(ret_val, osl_getThreadTextEncoding()); in TempName()
2241 delete[] ret_val; in TempName()
2242 ret_val = 0; in TempName()