/aoo41x/main/sal/osl/unx/ |
H A D | profile.c | 410 if ( !( pFile != 0 && pFile->m_Handle >= 0 ) ) in osl_flushProfile() 446 if ( !( pFile != 0 && pFile->m_Handle >= 0 ) || ( pFile->m_pWriteBuf == 0 ) ) in writeProfileImpl() 459 …BytesWritten = write(pFile->m_Handle, pFile->m_pWriteBuf, pFile->m_nWriteBufLen - pFile->m_nWriteB… in writeProfileImpl() 1337 pFile->m_pReadPtr = pFile->m_ReadBuf + sizeof(pFile->m_ReadBuf); in OslProfile_rewindFile() 1378 Bytes = sizeof(pFile->m_ReadBuf) - (pFile->m_pReadPtr - pFile->m_ReadBuf); in OslProfile_getLine() 1383 memcpy(pFile->m_ReadBuf, pFile->m_pReadPtr, Bytes); in OslProfile_getLine() 1384 pFile->m_pReadPtr = pFile->m_ReadBuf; in OslProfile_getLine() 1457 if ( pFile == 0 || pFile->m_Handle < 0 ) in OslProfile_putLine() 1482 …memset( (pFile->m_pWriteBuf) + ( pFile->m_nWriteBufLen - pFile->m_nWriteBufFree ), 0, pFile->m_nWr… in OslProfile_putLine() 1492 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len]='\n'; in OslProfile_putLine() [all …]
|
/aoo41x/main/sal/osl/os2/ |
H A D | profile.c | 392 if ( !( pFile != 0 && pFile->m_Handle >= 0 ) ) in osl_flushProfile() 1288 pFile->m_pReadPtr = pFile->m_ReadBuf + sizeof(pFile->m_ReadBuf); in rewindFile() 1313 Bytes = sizeof(pFile->m_ReadBuf) - (pFile->m_pReadPtr - pFile->m_ReadBuf); in getLine() 1318 memcpy(pFile->m_ReadBuf, pFile->m_pReadPtr, Bytes); in getLine() 1319 pFile->m_pReadPtr = pFile->m_ReadBuf; in getLine() 1363 pChr = pFile->m_ReadBuf + sizeof(pFile->m_ReadBuf); in getLine() 1386 if ( pFile == 0 || pFile->m_Handle < 0 ) in putLine() 1411 …memset( (pFile->m_pWriteBuf) + ( pFile->m_nWriteBufLen - pFile->m_nWriteBufFree ), 0, pFile->m_nWr… in putLine() 1421 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len]='\r'; in putLine() 1422 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len + 1]='\n'; in putLine() [all …]
|
H A D | diagnose.c | 70 FILE* pFile; in osl_trace__yd_os2() local 96 pFile = fopen( (const char*)pszOslTraceFile, "a+" ); in osl_trace__yd_os2() 97 fputs(_itoa( pid, szPID, 10 ), pFile ); in osl_trace__yd_os2() 98 fputs( ": ", pFile ); in osl_trace__yd_os2() 99 fputs(szBuffer, pFile); in osl_trace__yd_os2() 100 fclose( pFile ); in osl_trace__yd_os2()
|
/aoo41x/main/sal/osl/w32/ |
H A D | profile.cxx | 386 if ( !( pFile != 0 && pFile->m_Handle >= 0 ) ) in osl_flushProfile() 417 if ( !( pFile != 0 && pFile->m_Handle != INVALID_HANDLE_VALUE ) || ( pFile->m_pWriteBuf == 0 ) ) in writeProfileImpl() 430 …bRet=WriteFile(pFile->m_Handle, pFile->m_pWriteBuf, pFile->m_nWriteBufLen - pFile->m_nWriteBufFree… in writeProfileImpl() 1393 pFile->m_pReadPtr = pFile->m_ReadBuf + sizeof(pFile->m_ReadBuf); in rewindFile() 1427 Bytes = sizeof(pFile->m_ReadBuf) - (pFile->m_pReadPtr - pFile->m_ReadBuf); in getLine() 1433 pFile->m_pReadPtr = pFile->m_ReadBuf; in getLine() 1509 if ( pFile == 0 || pFile->m_Handle < 0 ) in putLine() 1534 …memset( (pFile->m_pWriteBuf) + ( pFile->m_nWriteBufLen - pFile->m_nWriteBufFree ), 0, pFile->m_nWr… in putLine() 1544 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len]='\r'; in putLine() 1545 pFile->m_pWriteBuf[pFile->m_nWriteBufLen - pFile->m_nWriteBufFree + Len + 1]='\n'; in putLine() [all …]
|
/aoo41x/main/sal/workben/ |
H A D | testfile.cxx | 132 File *pFile; in Initialize() local 259 delete pFile; in Initialize() 266 delete pFile; in Initialize() 273 delete pFile; in Initialize() 294 delete pFile; in Shutdown() 300 delete pFile; in Shutdown() 318 delete pFile; in Shutdown() 677 File *pFile; in FileOpenAndCloseTest() local 735 File *pFile; in FileCreateAndRemoveTest() local 812 File *pFile; in FileWriteAndReadTest() local [all …]
|
/aoo41x/main/rsc/source/tools/ |
H A D | rscdef.cxx | 951 RscFile * pFile; in ~RscFileTab() local 955 pFile = Last(); in ~RscFileTab() 956 while( pFile ){ in ~RscFileTab() 958 delete pFile; in ~RscFileTab() 959 pFile = Prev(); in ~RscFileTab() 1034 while( pFile ){ in Depend() 1039 pFile = Next(); in Depend() 1120 if( pFile ){ in NewDef() 1150 if( pFile ){ in NewDef() 1202 if( pFile ){ in DeleteDef() [all …]
|
/aoo41x/main/vcl/unx/generic/printergfx/ |
H A D | printerjob.cxx | 100 osl::File* pFile = NULL; in CreateSpoolFile() local 109 pFile = new osl::File (aFileURL); in CreateSpoolFile() 113 delete pFile; in CreateSpoolFile() 117 pFile->setAttributes (aFileURL, in CreateSpoolFile() 119 return pFile; in CreateSpoolFile() 876 WritePS (pFile, "%%EndPageSetup\n"); in writePageSetup() 910 WritePS (pFile, pTranslate); in writePageSetup() 941 WritePS( pFile, in writeJobPatch() 961 WritePS( pFile, "%%BeginProlog\n" ); in writeProlog() 964 writeJobPatch( pFile, rJobData ); in writeProlog() [all …]
|
H A D | psputil.cxx | 155 WritePS (osl::File* pFile, const sal_Char* pString) in WritePS() argument 160 if (nInLength > 0 && pFile) in WritePS() 161 pFile->write (pString, nInLength, nOutLength); in WritePS() 167 WritePS (osl::File* pFile, const sal_Char* pString, sal_uInt64 nInLength) in WritePS() argument 171 if (nInLength > 0 && pFile) in WritePS() 172 pFile->write (pString, nInLength, nOutLength); in WritePS() 178 WritePS (osl::File* pFile, const rtl::OString &rString) in WritePS() argument 183 if (nInLength > 0 && pFile) in WritePS() 184 pFile->write( rString.getStr(), nInLength, nOutLength); in WritePS() 190 WritePS (osl::File* pFile, const rtl::OUString &rString) in WritePS() argument [all …]
|
H A D | text_gfx.cxx | 790 PrinterGfx::writeResources( osl::File* pFile, std::list< rtl::OString >& rSuppliedFonts, std::list<… in writeResources() argument 807 WritePS (pFile, "%%BeginResource: font "); in writeResources() 808 WritePS (pFile, aPostScriptName.getStr()); in writeResources() 809 WritePS (pFile, "\n"); in writeResources() 814 convertPfbToPfa (aFontFile, *pFile); in writeResources() 817 pFile->setPos(osl_Pos_Current, -1); in writeResources() 820 pFile->read((void *)(&lastchar), uBytes, uBytes); in writeResources() 822 WritePS (pFile, "\n"); in writeResources() 824 WritePS (pFile, "%%EndResource\n"); in writeResources() 834 aIter->PSUploadFont (*pFile, *this, mbUploadPS42Fonts ? true : false, rSuppliedFonts ); in writeResources() [all …]
|
H A D | psputil.hxx | 50 sal_Bool WritePS (osl::File* pFile, const sal_Char* pString); 51 sal_Bool WritePS (osl::File* pFile, const sal_Char* pString, sal_uInt64 nInLength); 52 sal_Bool WritePS (osl::File* pFile, const rtl::OString &rString); 53 sal_Bool WritePS (osl::File* pFile, const rtl::OUString &rString);
|
/aoo41x/main/connectivity/source/drivers/hsqldb/ |
H A D | accesslog.hxx | 119 FILE* pFile = getLogFile(); in seek() local 120 fseek( pFile, 0, SEEK_END ); in seek() 121 if ( ftell( pFile ) < pos ) in seek() 124 while ( ftell( pFile ) < pos ) in seek() 125 fwrite( &filler, sizeof( sal_Int8 ), 1, pFile ); in seek() 126 fflush( pFile ); in seek() 128 fseek( pFile, pos, SEEK_SET ); in seek() 129 return ftell( pFile ); in seek()
|
/aoo41x/main/xmlhelp/source/cxxhelp/provider/ |
H A D | resultsetforquery.cxx | 140 FILE* pFile = fopen( "d:\\resultset_out.txt", "w" ); in ResultSetForQuery() local 235 if( pFile ) in ResultSetForQuery() 238 … fprintf( pFile, "Dir %d, Query %d, Item: score=%f, URL=%s\n", iDir, i, fScore, tmp.getStr() ); in ResultSetForQuery() 285 if( pFile ) in ResultSetForQuery() 288 …fprintf( pFile, "Combine: Query %d (first pass), Item %d: score=%f (%f), URL=%s\n", n, i, aItemCop… in ResultSetForQuery() 302 if( pFile ) in ResultSetForQuery() 305 fprintf( pFile, "Combine: Query %d, Item %d: score=%f + %f = %f, URL=%s\n", n, i, in ResultSetForQuery() 346 if( pFile ) in ResultSetForQuery() 353 fprintf( pFile, "Vector %d, %d elements\n", k, nItemCount ); in ResultSetForQuery() 359 …fprintf( pFile, " Item_vector%d, %d/%d: score=%f, URL=%s\n", k, i, nItemCount, rItem.m_fScore, … in ResultSetForQuery() [all …]
|
/aoo41x/main/soldep/bootstrp/ |
H A D | prj.cxx | 1373 String * pFile = pSolarFiles->First(); in CheckFileLoadList() local 1374 while (pFile) in CheckFileLoadList() 1376 if (*pFile == pLoadFile->GetName()) in CheckFileLoadList() 1381 pFile = pSolarFiles->Next(); in CheckFileLoadList() 1421 delete pFile; in GenerateFileLoadList() 1516 pStarFiles->Replace(pFile, nPos); in ReplaceFileEntry() 1519 pStarFiles->Insert( pFile, LIST_APPEND ); in ReplaceFileEntry() 1533 if ( pFile->Exists()) { in Read() 1534 DirEntry aEntry( pFile->GetName() ); in Read() 1672 if ( pFile->Exists()) { in ReadBuildlist() [all …]
|
/aoo41x/main/l10ntools/source/ |
H A D | srclex.l | 239 FILE *pFile; 240 pFile = GetNextFile(); 241 if ( pFile ) { 242 yyin = pFile; 279 FILE *pFile; 304 pFile = GetNextFile(); 305 if ( !pFile ) 308 yyin = pFile;
|
H A D | cfglex.l | 189 FILE *pFile; 214 pFile = GetCfgFile(); 216 if ( !pFile ) 219 yyin = pFile;
|
H A D | xrmlex.l | 200 FILE *pFile; 223 pFile = GetXrmFile(); 226 if ( !pFile ) 229 yyin = pFile;
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | docprev.cxx | 91 void SdDocPreviewWin::CalcSizeAndPos( GDIMetaFile* pFile, Size& rSize, Point& rPoint ) in CalcSizeAndPos() argument 93 Size aTmpSize = pFile ? pFile->GetPrefSize() : Size(1,1 ); in CalcSizeAndPos() 114 void SdDocPreviewWin::ImpPaint( GDIMetaFile* pFile, OutputDevice* pVDev ) in ImpPaint() argument 119 CalcSizeAndPos( pFile, aSize, aPoint ); in ImpPaint() 128 if( pFile ) in ImpPaint() 132 pFile->WindStart(); in ImpPaint() 133 pFile->Play( pVDev, aPoint, aSize ); in ImpPaint()
|
/aoo41x/main/sfx2/source/doc/ |
H A D | objcont.cxx | 136 ::boost::shared_ptr<GDIMetaFile> pFile(new GDIMetaFile); in CreatePreviewMetaFile_Impl() 147 pFile->SetPrefMapMode( aMode ); in CreatePreviewMetaFile_Impl() 162 pFile->SetPrefSize( aTmpSize ); in CreatePreviewMetaFile_Impl() 166 pFile->Record( &aDevice ); in CreatePreviewMetaFile_Impl() 182 pFile->Stop(); in CreatePreviewMetaFile_Impl() 184 return pFile; in CreatePreviewMetaFile_Impl() 957 SfxMedium *pFile = GetMedium(); in UpdateFromTemplate_Impl() local 958 DBG_ASSERT( pFile, "cannot UpdateFromTemplate without medium" ); in UpdateFromTemplate_Impl() 959 if ( !pFile ) in UpdateFromTemplate_Impl() 962 if ( !::utl::LocalFileHelper::IsLocalFile( pFile->GetName() ) ) in UpdateFromTemplate_Impl() [all …]
|
H A D | new.cxx | 73 ::boost::shared_ptr<GDIMetaFile> pFile = pObj in SetObjectShell() 76 pMetaFile = pFile; in SetObjectShell() 102 void SfxPreviewBase_Impl::SetGDIFile( ::boost::shared_ptr<GDIMetaFile> pFile ) in SetGDIFile() argument 104 pMetaFile = pFile; in SetGDIFile() 116 const Rectangle&, GDIMetaFile* pFile, Window* pWindow ) in ImpPaint() argument 118 Size aTmpSize = pFile ? pFile->GetPrefSize() : Size(1,1 ); in ImpPaint() 148 if ( pFile ) in ImpPaint() 158 pFile->WindStart(); in ImpPaint() 159 pFile->Play( pWindow, aPoint + Point( FRAME, FRAME ), aSize ); in ImpPaint()
|
/aoo41x/main/fpicker/source/win32/filepicker/ |
H A D | VistaFilePicker.cxx | 105 FILE* pFile = fopen(LOGFILE_VISTA, "a"); \ 106 fprintf(pFile, PARAM_MESSAGE); \ 107 fclose(pFile); \ 112 FILE* pFile = fopen(LOGFILE_VISTA, "a"); \ 113 fprintf(pFile, PARAM_MESSAGE, PARAM_1); \ 114 fclose(pFile); \ 119 FILE* pFile = fopen(LOGFILE_VISTA, "a"); \ 120 fprintf(pFile, PARAM_MESSAGE, PARAM_1, PARAM_2); \ 121 fclose(pFile); \
|
/aoo41x/main/l10ntools/source/help/ |
H A D | HelpLinker.cxx | 177 if( pFile == NULL ) in writeKeyValue_DBHelp() 182 fprintf( pFile, "%x ", nKeyLen ); in writeKeyValue_DBHelp() 185 if (fwrite( aKeyStr.c_str(), 1, nKeyLen, pFile ) != nKeyLen) in writeKeyValue_DBHelp() 188 if (fprintf( pFile, " %x ", nValueLen ) < 0) in writeKeyValue_DBHelp() 192 if (fwrite( aValueStr.c_str(), 1, nValueLen, pFile ) != nValueLen) in writeKeyValue_DBHelp() 195 if (fprintf( pFile, "%c", cLF ) < 0) in writeKeyValue_DBHelp() 215 FILE* pFile = _wfopen( rFileName.native_file_string_w(), L"wb" ); in dump_DBHelp() local 217 FILE* pFile = fopen( rFileName.native_file_string().c_str(), "wb" ); in dump_DBHelp() 219 if( pFile == NULL ) in dump_DBHelp() 224 writeKeyValue_DBHelp( pFile, aIter->first, aIter->second.getString() ); in dump_DBHelp() [all …]
|
/aoo41x/main/framework/source/application/ |
H A D | login.cxx | 234 FILE* pFile = fopen( m_sTempFile.getStr(), "w" ); in Main() local 235 LOG_ASSERT( !(pFile==NULL), "LoginApplication::Main()\nCould not open file!\n" ); in Main() 236 if( pFile != NULL ) in Main() 239 fprintf( pFile, sEncodedOut.getStr() ); in Main() 240 fclose ( pFile ); in Main()
|
/aoo41x/main/vcl/aqua/source/app/ |
H A D | vclnsapp.mm | 305 -(BOOL)application: (NSApplication*)app openFile: (NSString*)pFile 308 const rtl::OUString aFile( GetOUString( pFile ) ); 324 NSString* pFile = nil; 326 while( (pFile = [it nextObject]) != nil ) 328 const rtl::OUString aFile( GetOUString( pFile ) ); 348 -(BOOL)application: (NSApplication*)app printFile: (NSString*)pFile 351 const rtl::OUString aFile( GetOUString( pFile ) ); 366 NSString* pFile = nil; 368 while( (pFile = [it nextObject]) != nil ) 372 aFileList.append( GetOUString( pFile ) );
|
/aoo41x/main/unotools/source/ucbhelper/ |
H A D | localfilehelper.cxx | 204 ::rtl::OUString* pFile = new ::rtl::OUString( aId ); in DECLARE_LIST() 205 pFiles->Insert( pFile, LIST_APPEND ); in DECLARE_LIST() 227 ::rtl::OUString* pFile = pFiles->GetObject(i); in DECLARE_LIST() 228 pRet[i] = *( pFile ); in DECLARE_LIST() 229 delete pFile; in DECLARE_LIST()
|
/aoo41x/main/vcl/inc/ |
H A D | printerjob.hxx | 85 bool writeFeatureList( osl::File* pFile, const JobData&, bool bDocumentSetup ); 86 bool writeSetup( osl::File* pFile, const JobData& ); 87 bool writePageSetup( osl::File* pFile, const JobData&, bool bWriteFeatures = true ); 89 bool writeProlog (osl::File* pFile, const JobData& );
|