Lines Matching refs:pFileStream
963 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(aInitFile.GetURL(),STREAM_WRI… in createDb()
964 (*pFileStream) << "ALTER USER \"" in createDb()
968 pFileStream->Flush(); in createDb()
988 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(sCommandFile,STREAM_STD_READW… in X_PARAM()
989 pFileStream->Seek(STREAM_SEEK_TO_END); in X_PARAM()
990 (*pFileStream) << "x_param" in X_PARAM()
1017 pFileStream->Flush(); in X_PARAM()
1071 ::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(_FileName,STREAM_WRITE)); in CreateFile()
1072 if( !pFileStream.get()) in CreateFile()
1081 (*pFileStream).SetFiller('\0'); in CreateFile()
1087 bOK = (*pFileStream).SetStreamSize(nNewSize); in CreateFile()
1088 pFileStream->Flush(); in CreateFile()
1091 bOK = bOK && static_cast<sal_Int32>(pFileStream->Seek(STREAM_SEEK_TO_END)) == nNewSize; in CreateFile()
1194 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(sCommandFile,STREAM_STD_READW… in XUTIL()
1195 pFileStream->Seek(STREAM_SEEK_TO_END); in XUTIL()
1196 (*pFileStream) << in XUTIL()
1214 pFileStream->Flush(); in XUTIL()
1247 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(sCommandFile,STREAM_STD_READW… in LoadBatch()
1248 pFileStream->Seek(STREAM_SEEK_TO_END); in LoadBatch()
1249 (*pFileStream) << "xload" in LoadBatch()
1261 (*pFileStream) << " -S adabas -b "; in LoadBatch()
1263 (*pFileStream) << " -S NATIVE -b "; in LoadBatch()
1265 (*pFileStream) << _rBatch in LoadBatch()
1271 pFileStream->Flush(); in LoadBatch()
1334 SvStream* pFileStream = aCmdFile.GetStream(STREAM_WRITE); in generateInitFile() local
1335 (*pFileStream) << "#!/bin/sh" in generateInitFile()
1340 pFileStream->Flush(); in generateInitFile()
1355 SvStream* pFileStream = aInitFile.GetStream(STREAM_WRITE); in getDatabaseInitFile() local
1356 (*pFileStream) << "* @(#)init.cmd 6.1.1 1994-11-10\n"; in getDatabaseInitFile()
1357 (*pFileStream) << "init config\n"; in getDatabaseInitFile()
1358 (*pFileStream) << "* default code:\n"; in getDatabaseInitFile()
1359 (*pFileStream) << "ascii\n"; in getDatabaseInitFile()
1360 (*pFileStream) << "* date time format\n"; in getDatabaseInitFile()
1361 (*pFileStream) << "internal\n"; in getDatabaseInitFile()
1362 (*pFileStream) << "* command timeout:\n"; in getDatabaseInitFile()
1363 (*pFileStream) << "900\n"; in getDatabaseInitFile()
1364 (*pFileStream) << "* lock timeout:\n"; in getDatabaseInitFile()
1365 (*pFileStream) << "360\n"; in getDatabaseInitFile()
1366 (*pFileStream) << "* request timeout:\n"; in getDatabaseInitFile()
1367 (*pFileStream) << "180\n"; in getDatabaseInitFile()
1368 (*pFileStream) << "* log mode:\n"; in getDatabaseInitFile()
1369 (*pFileStream) << "demo\n"; in getDatabaseInitFile()
1370 (*pFileStream) << "* log segment size:\n"; in getDatabaseInitFile()
1371 (*pFileStream) << "0\n"; in getDatabaseInitFile()
1372 (*pFileStream) << "* no of archive logs:\n"; in getDatabaseInitFile()
1373 (*pFileStream) << "0\n"; in getDatabaseInitFile()
1374 (*pFileStream) << "* no of data devspaces:\n"; in getDatabaseInitFile()
1375 (*pFileStream) << "1\n"; in getDatabaseInitFile()
1376 (*pFileStream) << "* mirror devspaces:\n"; in getDatabaseInitFile()
1377 (*pFileStream) << "n\n"; in getDatabaseInitFile()
1378 (*pFileStream) << "if $rc <> 0 then stop\n"; in getDatabaseInitFile()
1379 (*pFileStream) << "*--- device description ---\n"; in getDatabaseInitFile()
1380 (*pFileStream) << "* sys devspace name:\n"; in getDatabaseInitFile()
1384 (*pFileStream) << sTemp; in getDatabaseInitFile()
1386 (*pFileStream) << "\n* log devspace size:\n"; in getDatabaseInitFile()
1387 (*pFileStream) << ::rtl::OString::valueOf(_aDBInfo.nLogSize); in getDatabaseInitFile()
1388 (*pFileStream) << "\n* log devspace name:\n"; in getDatabaseInitFile()
1392 (*pFileStream) << sTemp; in getDatabaseInitFile()
1394 (*pFileStream) << "\n* data devspace size:\n"; in getDatabaseInitFile()
1395 (*pFileStream) << ::rtl::OString::valueOf(_aDBInfo.nDataSize); in getDatabaseInitFile()
1396 (*pFileStream) << "\n* data devspace name:\n"; in getDatabaseInitFile()
1400 (*pFileStream) << sTemp; in getDatabaseInitFile()
1403 (*pFileStream) << "\n* END INIT CONFIG\n"; in getDatabaseInitFile()
1404 (*pFileStream) << "if $rc <> 0 then stop\n"; in getDatabaseInitFile()
1407 (*pFileStream) << "RESTORE DATA QUICK FROM '"; in getDatabaseInitFile()
1411 (*pFileStream) << sTemp; in getDatabaseInitFile()
1413 (*pFileStream) << "' BLOCKSIZE 8\n"; in getDatabaseInitFile()
1414 (*pFileStream) << "if $rc <> 0 then stop\n"; in getDatabaseInitFile()
1415 (*pFileStream) << "RESTART\n"; in getDatabaseInitFile()
1420 (*pFileStream) << "ACTIVATE SERVERDB SYSDBA \""; in getDatabaseInitFile()
1421 (*pFileStream) << _aDBInfo.sSysUser; in getDatabaseInitFile()
1422 (*pFileStream) << "\" PASSWORD \""; in getDatabaseInitFile()
1423 (*pFileStream) << _aDBInfo.sSysPassword; in getDatabaseInitFile()
1424 (*pFileStream) << "\"\n"; in getDatabaseInitFile()
1426 (*pFileStream) << "if $rc <> 0 then stop\n"; in getDatabaseInitFile()
1427 (*pFileStream) << "exit\n"; in getDatabaseInitFile()
1439 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(sCommandFile,STREAM_STD_READW… in X_CONS()
1440 pFileStream->Seek(STREAM_SEEK_TO_END); in X_CONS()
1442 (*pFileStream) << "x_cons" in X_CONS()
1453 pFileStream->Flush(); in X_CONS()
1472 SvStream* pFileStream = aCmdFile.GetStream(STREAM_SHARE_DENYALL); in checkAndRestart() local
1473 if ( pFileStream ) in checkAndRestart()
1478 while(bRead && !pFileStream->IsEof()) in checkAndRestart()
1481 bRead = pFileStream->ReadLine(sStateLine); in checkAndRestart()
1522 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(sCommandFile,STREAM_STD_READW… in isVersion()
1523 pFileStream->Seek(STREAM_SEEK_TO_END); in isVersion()
1525 (*pFileStream) << "getparam" in isVersion()
1542 SvStream* pFileStream = aCmdFile.GetStream(STREAM_STD_READWRITE); in isVersion() local
1546 while ( pFileStream && bRead && !pFileStream->IsEof() ) in isVersion()
1548 bRead = pFileStream->ReadLine(sStateLine); in isVersion()
1572 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(sCommandFile,STREAM_STD_READW… in checkAndInsertNewDevSpace()
1573 pFileStream->Seek(STREAM_SEEK_TO_END); in checkAndInsertNewDevSpace()
1575 (*pFileStream) << "getparam" in checkAndInsertNewDevSpace()
1592 SvStream* pFileStream = aCmdFile.GetStream(STREAM_STD_READWRITE); in checkAndInsertNewDevSpace() local
1596 while(pFileStream && bRead && !pFileStream->IsEof()) in checkAndInsertNewDevSpace()
1598 bRead = pFileStream->ReadLine(sStateLine); in checkAndInsertNewDevSpace()
1622 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(sCommandFile,STREAM_STD_READW… in isKernelVersion()
1623 pFileStream->Seek(STREAM_SEEK_TO_END); in isKernelVersion()
1625 (*pFileStream) << "dbversion" in isKernelVersion()
1637 SvStream* pFileStream = aCmdFile.GetStream(STREAM_STD_READWRITE); in isKernelVersion() local
1641 while ( pFileStream && bRead && !pFileStream->IsEof() ) in isKernelVersion()
1643 bRead = pFileStream->ReadLine(sStateLine); in isKernelVersion()
1733 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(sCommandFile,STREAM_STD_READW… in installSystemTables()
1734 pFileStream->Seek(STREAM_SEEK_TO_END); in installSystemTables()
1735 (*pFileStream) << "x_dbinst" in installSystemTables()
1747 (*pFileStream) << "-i all"; in installSystemTables()
1748 (*pFileStream) in installSystemTables()
1756 pFileStream->Flush(); in installSystemTables()
1790 …::std::auto_ptr<SvStream> pFileStream( UcbStreamHelper::CreateStream(sCommandFile,STREAM_STD_READ)… in convertOldVersion()
1794 while ( pFileStream.get() && bRead && !pFileStream->IsEof() ) in convertOldVersion()
1796 bRead = pFileStream->ReadLine(sStateLine); in convertOldVersion()