/aoo41x/main/sal/qa/rtl/random/ |
H A D | rtl_random.cxx | 323 Statistics aStat; in getBytes_003() local 335 aStat.addValue(pBuffer[0], 1); in getBytes_003() 338 aStat.build(nCountMax); in getBytes_003() 339 aStat.print(); in getBytes_003() 341 …CPPUNIT_ASSERT_MESSAGE("deviation should be less average", aStat.getMaxDeviation() < aStat.getAver… in getBytes_003() 355 Statistics aStat; in getBytes_003_1() local 369 aStat.addValue(pBuffer[i], 1); in getBytes_003_1() 373 aStat.build(nCountMax * nBufLen); in getBytes_003_1() 374 aStat.print(); in getBytes_003_1() 376 …CPPUNIT_ASSERT_MESSAGE("deviation should be less average", aStat.getMaxDeviation() < aStat.getAver… in getBytes_003_1()
|
/aoo41x/main/tools/source/fsys/ |
H A D | unx.cxx | 437 FileStat aStat( *pTemp ); in Read() local 439 ( aStat.IsKind( FSYS_KIND_DIR ) ) ) || in Read() 441 !( aStat.IsKind( FSYS_KIND_DIR ) ) ) ) && in Read() 517 struct stat aStat; in Update() local 519 if ( stat( (char*) aPath.GetBuffer(), &aStat ) ) in Update() 543 nSize = aStat.st_size; in Update() 546 if ( ( aStat.st_mode & S_IFDIR ) == S_IFDIR ) in Update() 548 if ( ( aStat.st_mode & S_IFREG ) == S_IFREG ) in Update() 550 if ( ( aStat.st_mode & S_IFCHR ) == S_IFCHR ) in Update() 552 if ( ( aStat.st_mode & S_IFBLK ) == S_IFBLK ) in Update() [all …]
|
H A D | os2.cxx | 379 FileStat aStat( *pTemp ); in Read() local 381 ( aStat.IsKind( FSYS_KIND_DIR ) ) ) || in Read() 383 !( aStat.IsKind( FSYS_KIND_DIR ) ) ) ) && in Read() 388 pDir->ImpSortedInsert( pTemp, new FileStat( aStat ) ); in Read()
|
/aoo41x/main/embedserv/source/embed/ |
H A D | ed_ipersiststr.cxx | 81 STATSTG aStat; in createTempXInStreamFromIStream() local 403 STATSTG aStat; in InitNew() local 404 hr = pStg->Stat( &aStat, STATFLAG_NONAME ); in InitNew() 407 DWORD nStreamMode = aStat.grfMode; in InitNew() 492 STATSTG aStat; in Load() local 493 hr = pStg->Stat( &aStat, STATFLAG_NONAME ); in Load() 496 DWORD nStreamMode = aStat.grfMode; in Load() 604 STATSTG aStat; in Save() local 608 DWORD nStreamMode = aStat.grfMode; in Save() 708 STATSTG aStat; in SaveCompleted() local [all …]
|
/aoo41x/main/vcl/unx/generic/fontmanager/ |
H A D | fontcache.cxx | 300 struct stat aStat; in read() local 301 if( stat( aDir.getStr(), &aStat ) || in read() 302 ! S_ISDIR(aStat.st_mode) ) in read() 461 struct stat aStat; in read() local 464 aStat.st_size < 16 ) in read() 502 struct stat aStat; in updateDirTimestamp() local 503 if( ! stat( rDir.getStr(), &aStat ) ) in updateDirTimestamp() 504 m_aCache[ nDirID ].m_nTimestamp = (sal_Int64)aStat.st_mtime; in updateDirTimestamp() 794 struct stat aStat; in createCacheDir() local 795 if( ! stat( rDir.getStr(), &aStat ) ) in createCacheDir() [all …]
|
H A D | helper.cxx | 161 struct stat aStat; in getPrinterPathList() local 162 if( stat( aDir.getStr(), &aStat ) || ! S_ISDIR( aStat.st_mode ) ) in getPrinterPathList() 211 struct stat aStat; in getFontPath() local 212 …StringToOString( aPathBuffer.makeStringAndClear(), osl_getThreadTextEncoding() ).getStr(), &aStat ) in getFontPath() 213 || ! S_ISDIR( aStat.st_mode ) ) in getFontPath()
|
H A D | parseAFM.cxx | 129 struct stat aStat; in FileInputStream() local 130 if( ! stat( pFilename, &aStat ) && in FileInputStream() 131 S_ISREG( aStat.st_mode ) && in FileInputStream() 132 aStat.st_size > 0 in FileInputStream() 138 m_pMemory = (char*)rtl_allocateMemory( aStat.st_size ); in FileInputStream() 139 m_nLen = (unsigned int)fread( m_pMemory, 1, aStat.st_size, fp ); in FileInputStream()
|
/aoo41x/main/svl/source/misc/ |
H A D | strmadpt.cxx | 387 SvLockBytesStat aStat; in available() local 388 if (m_xLockBytes->Stat(&aStat, SVSTATFLAG_DEFAULT) != ERRCODE_NONE) in available() 390 return aStat.nSize <= static_cast<sal_uInt64>(m_nPosition) ? in available() 392 static_cast<sal_Size>(aStat.nSize - m_nPosition) <= in available() 394 static_cast<sal_Int32>(aStat.nSize - m_nPosition) : in available() 438 SvLockBytesStat aStat; in getLength() local 439 if (m_xLockBytes->Stat(&aStat, SVSTATFLAG_DEFAULT) != ERRCODE_NONE) in getLength() 442 if (aStat.nSize > static_cast<sal_uInt64>(SAL_MAX_INT64)) in getLength() 445 return aStat.nSize; in getLength()
|
/aoo41x/main/tools/source/stream/ |
H A D | strmunx.cxx | 113 struct stat aStat; in LockFile() local 114 if( stat( aFileName.GetBuffer(), &aStat ) ) in LockFile() 117 if( S_ISDIR( aStat.st_mode ) ) in LockFile() 125 if( aStat.st_ino == pLock->m_aStat.st_ino ) in LockFile() 867 struct stat aStat; in SetSize() local 868 if (::fstat (fd, &aStat) < 0) in SetSize() 873 if ((sal::static_int_cast< sal_sSize >(nSize) <= aStat.st_size)) in SetSize()
|
H A D | stream.cxx | 384 SvLockBytesStat aStat; in SeekPos() local 385 xLockBytes->Stat( &aStat, SVSTATFLAG_DEFAULT ); in SeekPos() 386 nActPos = aStat.nSize; in SeekPos()
|
/aoo41x/main/sw/source/core/doc/ |
H A D | doc.cxx | 1775 aStat[n].Name = ::rtl::OUString::createFromAscii("TableCount"); in UpdateDocStat() 1776 aStat[n++].Value <<= (sal_Int32)rStat.nTbl; in UpdateDocStat() 1777 aStat[n].Name = ::rtl::OUString::createFromAscii("ImageCount"); in UpdateDocStat() 1778 aStat[n++].Value <<= (sal_Int32)rStat.nGrf; in UpdateDocStat() 1780 aStat[n++].Value <<= (sal_Int32)rStat.nOLE; in UpdateDocStat() 1784 aStat[n++].Value <<= (sal_Int32)rStat.nPage; in UpdateDocStat() 1787 aStat[n++].Value <<= (sal_Int32)rStat.nPara; in UpdateDocStat() 1788 aStat[n].Name = ::rtl::OUString::createFromAscii("WordCount"); in UpdateDocStat() 1789 aStat[n++].Value <<= (sal_Int32)rStat.nWord; in UpdateDocStat() 1791 aStat[n++].Value <<= (sal_Int32)rStat.nChar; in UpdateDocStat() [all …]
|
/aoo41x/main/svl/source/items/ |
H A D | lckbitem.cxx | 166 SvLockBytesStat aStat; in QueryValue() local 168 if ( _xVal->Stat( &aStat, SVSTATFLAG_DEFAULT ) == ERRCODE_NONE ) in QueryValue() 169 nLen = aStat.nSize; in QueryValue()
|
/aoo41x/main/unotools/source/streaming/ |
H A D | streamhelper.cxx | 91 SvLockBytesStat aStat; in getLength() local 92 m_xLockBytes->Stat( &aStat, SVSTATFLAG_DEFAULT ); in getLength() 93 return aStat.nSize; in getLength()
|
/aoo41x/main/soldep/bootstrp/ |
H A D | prj.cxx | 2832 FileStat aStat( aEntry ); in StarFile() local 2833 aDate = aStat.DateModified(); in StarFile() 2834 aTime = aStat.TimeModified(); in StarFile() 2835 aDateCreated = aStat.DateCreated(); in StarFile() 2836 aTimeCreated = aStat.TimeCreated(); in StarFile() 2852 FileStat aStat( aEntry ); in NeedsUpdate() local 2853 if (( aStat.DateModified() != aDate ) || ( aStat.TimeModified() != aTime ) in NeedsUpdate() 2854 || ( aStat.DateCreated() != aDateCreated ) || ( aStat.TimeCreated() != aTimeCreated )) in NeedsUpdate()
|
/aoo41x/main/sw/source/ui/app/ |
H A D | docsh2.cxx | 1062 SvLockBytesStat aStat; in Execute() local 1063 if ( aLockBytes.Stat( &aStat, SVSTATFLAG_DEFAULT ) == ERRCODE_NONE ) in Execute() 1065 sal_uInt32 nLen = aStat.nSize; in Execute() 1136 SvLockBytesStat aStat; in Execute() local 1137 if ( aLockBytes.Stat( &aStat, SVSTATFLAG_DEFAULT ) == ERRCODE_NONE ) in Execute() 1139 sal_uInt32 nLen = aStat.nSize; in Execute()
|
/aoo41x/main/sal/osl/unx/ |
H A D | file_misc.cxx | 719 struct stat aStat; in osl_psz_removeFile() local 721 nRet = lstat(pszPath,&aStat); in osl_psz_removeFile() 728 if ( S_ISDIR(aStat.st_mode) ) in osl_psz_removeFile()
|
/aoo41x/main/padmin/source/ |
H A D | fontentry.cxx | 115 struct stat aStat; 117 if( stat( aSysFile.GetBuffer(), &aStat ) || ! aStat.st_size )
|
/aoo41x/main/vcl/source/glyphs/ |
H A D | gcach_ftyp.cxx | 230 struct stat aStat; in Map() local 231 fstat( nFile, &aStat ); in Map() 232 mnFileSize = aStat.st_size; in Map() 253 struct stat aStat; in Map() local 254 stat( pFileName, &aStat ); in Map() 255 mnFileSize = aStat.st_size; in Map()
|
/aoo41x/main/vcl/unx/generic/gdi/ |
H A D | pspgraphics.cxx | 1142 struct stat aStat; in DoGetEmbedFontData() local 1143 if( stat( aSysPath.getStr(), &aStat ) ) in DoGetEmbedFontData() 1148 void* pFile = mmap( NULL, aStat.st_size, PROT_READ, MAP_SHARED, fd, 0 ); in DoGetEmbedFontData() 1153 *pDataLen = aStat.st_size; in DoGetEmbedFontData()
|
H A D | salprnpsp.cxx | 239 struct stat aStat; in passFileToCommandLine() local 240 if( stat( aFilename.GetBuffer(), &aStat ) ) in passFileToCommandLine() 242 … fprintf( stderr, "Tmp file %s has modes: 0%03lo\n", aFilename.GetBuffer(), (long)aStat.st_mode ); in passFileToCommandLine()
|
/aoo41x/main/vcl/unx/headless/ |
H A D | svppspgraphics.cxx | 1036 struct stat aStat; in DoGetEmbedFontData() local 1037 if( stat( aSysPath.getStr(), &aStat ) ) in DoGetEmbedFontData() 1042 void* pFile = mmap( NULL, aStat.st_size, PROT_READ, MAP_SHARED, fd, 0 ); in DoGetEmbedFontData() 1047 *pDataLen = aStat.st_size; in DoGetEmbedFontData()
|
H A D | svpprn.cxx | 187 struct stat aStat; in passFileToCommandLine() local 188 if( stat( aFilename.GetBuffer(), &aStat ) ) in passFileToCommandLine() 190 … fprintf( stderr, "Tmp file %s has modes: 0%03lo\n", aFilename.GetBuffer(), (long)aStat.st_mode ); in passFileToCommandLine()
|
/aoo41x/main/basic/source/runtime/ |
H A D | methods.cxx | 929 FileStat aStat = DirEntry( aStr ); in RTLFUNC() local 930 nLen = aStat.GetSize(); in RTLFUNC() 2803 FileStat aStat( aEntry ); in RTLFUNC() local 2804 if(!aStat.GetError() && (aStat.GetKind() & FSYS_KIND_FILE)) in RTLFUNC() 3081 FileStat aStat( aEntry ); in RTLFUNC() local 3082 aTime = Time( aStat.TimeModified() ); in RTLFUNC() 3083 aDate = Date( aStat.DateModified() ); in RTLFUNC()
|
/aoo41x/main/unotools/source/ucbhelper/ |
H A D | ucblockbytes.cxx | 1553 SvLockBytesStat aStat; in SetSize() local 1554 Stat( &aStat, (SvLockBytesStatFlag) 0 ); in SetSize() 1555 sal_uLong nSize = aStat.nSize; in SetSize()
|
/aoo41x/main/sw/source/ui/uno/ |
H A D | unotxdoc.cxx | 2193 SwDocStat aStat(pDocShell->GetDoc()->GetDocStat()); in getPropertyValue() local 2194 if(aStat.bModified) in getPropertyValue() 2195 pDocShell->GetDoc()->UpdateDocStat( aStat ); in getPropertyValue() 2199 case WID_DOC_CHAR_COUNT :nValue = aStat.nChar;break; in getPropertyValue() 2200 case WID_DOC_PARA_COUNT :nValue = aStat.nPara;break; in getPropertyValue() 2201 case WID_DOC_WORD_COUNT :nValue = aStat.nWord;break; in getPropertyValue()
|