Lines Matching refs:tmpFilePattern
61 static sal_Char tmpFilePattern[512]; variable
148 OSL_ASSERT( sizeof(tmpFilePattern) > ( tmpPath.getLength() in makeTempName()
155 tmpFilePattern[ sizeof(tmpFilePattern)-1 ] = '\0'; in makeTempName()
156 strncpy(tmpFilePattern, tmpPath.getStr(), sizeof(tmpFilePattern)-1); in makeTempName()
157 strncat(tmpFilePattern, PATH_SEPARATOR, sizeof(tmpFilePattern)-1-strlen(tmpFilePattern)); in makeTempName()
158 strncat(tmpFilePattern, prefix.getStr(), sizeof(tmpFilePattern)-1-strlen(tmpFilePattern)); in makeTempName()
159 strncat(tmpFilePattern, "XXXXXX", sizeof(tmpFilePattern)-1-strlen(tmpFilePattern)); in makeTempName()
162 int nDescriptor = mkstemp(tmpFilePattern); in makeTempName()
165 fprintf( stderr,"idlc: couldn't create temporary file %s\n", tmpFilePattern ); in makeTempName()
171 (void) mktemp(tmpFilePattern); in makeTempName()
175 return OString(tmpFilePattern); in makeTempName()