Lines Matching refs:pBuf
77 char *pBuf = new char[ strlen( pDir->p ) + 5 ]; in readdir() local
78 if ( pBuf ) in readdir()
81 strcpy( pBuf, pDir->p ); in readdir()
82 strcat( pBuf, "\\*.*" + ( *(pBuf + strlen( pBuf ) - 1 ) == '\\' ) ); in readdir()
83 CharUpperBuff( pBuf, strlen(pBuf) ); in readdir()
84 pDir->h = FindFirstFile( pBuf, &pDir->aDirEnt ); in readdir()
87 delete [] pBuf; in readdir()
1030 const char* TempDirImpl( char *pBuf ) in TempDirImpl() argument
1032 if ( !GetTempPath( MAX_PATH, pBuf ) && in TempDirImpl()
1033 !GetWindowsDirectory( pBuf, MAX_PATH ) && in TempDirImpl()
1034 !GetEnvironmentVariable( "HOMEPATH", pBuf, MAX_PATH ) ) in TempDirImpl()
1037 return pBuf; in TempDirImpl()