Home
last modified time | relevance | path

Searched refs:aStat (Results 1 – 25 of 30) sorted by relevance

12

/aoo4110/main/sal/qa/rtl/random/
H A Drtl_random.cxx323 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()
/aoo4110/main/tools/source/fsys/
H A Dunx.cxx437 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 Dos2.cxx379 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()
/aoo4110/main/embedserv/source/embed/
H A Ded_ipersiststr.cxx81 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 …]
/aoo4110/main/vcl/unx/generic/fontmanager/
H A Dfontcache.cxx300 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 Dhelper.cxx161 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 DparseAFM.cxx129 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()
/aoo4110/main/svl/source/misc/
H A Dstrmadpt.cxx387 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()
/aoo4110/main/tools/source/stream/
H A Dstrmunx.cxx113 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 Dstream.cxx384 SvLockBytesStat aStat; in SeekPos() local
385 xLockBytes->Stat( &aStat, SVSTATFLAG_DEFAULT ); in SeekPos()
386 nActPos = aStat.nSize; in SeekPos()
/aoo4110/main/sw/source/core/doc/
H A Ddoc.cxx1775 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 …]
/aoo4110/main/svl/source/items/
H A Dlckbitem.cxx166 SvLockBytesStat aStat; in QueryValue() local
168 if ( _xVal->Stat( &aStat, SVSTATFLAG_DEFAULT ) == ERRCODE_NONE ) in QueryValue()
169 nLen = aStat.nSize; in QueryValue()
/aoo4110/main/unotools/source/streaming/
H A Dstreamhelper.cxx91 SvLockBytesStat aStat; in getLength() local
92 m_xLockBytes->Stat( &aStat, SVSTATFLAG_DEFAULT ); in getLength()
93 return aStat.nSize; in getLength()
/aoo4110/main/soldep/bootstrp/
H A Dprj.cxx2832 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()
/aoo4110/main/sw/source/ui/app/
H A Ddocsh2.cxx1062 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()
/aoo4110/main/sal/osl/unx/
H A Dfile_misc.cxx719 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()
/aoo4110/main/padmin/source/
H A Dfontentry.cxx115 struct stat aStat;
117 if( stat( aSysFile.GetBuffer(), &aStat ) || ! aStat.st_size )
/aoo4110/main/vcl/source/glyphs/
H A Dgcach_ftyp.cxx230 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()
/aoo4110/main/vcl/unx/headless/
H A Dsvppspgraphics.cxx1036 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 Dsvpprn.cxx187 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()
/aoo4110/main/vcl/unx/generic/gdi/
H A Dpspgraphics.cxx1142 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 Dsalprnpsp.cxx239 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()
/aoo4110/main/basic/source/runtime/
H A Dmethods.cxx929 FileStat aStat = DirEntry( aStr ); in RTLFUNC() local
930 nLen = aStat.GetSize(); in RTLFUNC()
2788 FileStat aStat( aEntry ); in RTLFUNC() local
2789 if(!aStat.GetError() && (aStat.GetKind() & FSYS_KIND_FILE)) in RTLFUNC()
3066 FileStat aStat( aEntry ); in RTLFUNC() local
3067 aTime = Time( aStat.TimeModified() ); in RTLFUNC()
3068 aDate = Date( aStat.DateModified() ); in RTLFUNC()
/aoo4110/main/unotools/source/ucbhelper/
H A Ducblockbytes.cxx1553 SvLockBytesStat aStat; in SetSize() local
1554 Stat( &aStat, (SvLockBytesStatFlag) 0 ); in SetSize()
1555 sal_uLong nSize = aStat.nSize; in SetSize()
/aoo4110/main/sw/source/ui/uno/
H A Dunotxdoc.cxx2193 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()

Completed in 252 milliseconds

12