Home
last modified time | relevance | path

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

12

/aoo42x/main/sal/qa/rtl/random/
H A Drtl_random.cxx289 Statistics aStat; in TEST_F() local
301 aStat.addValue(pBuffer[0], 1); in TEST_F()
304 aStat.build(nCountMax); in TEST_F()
305 aStat.print(); in TEST_F()
307 ASSERT_TRUE(aStat.getMaxDeviation() < aStat.getAverage()) << "deviation should be less average"; in TEST_F()
321 Statistics aStat; in TEST_F() local
335 aStat.addValue(pBuffer[i], 1); in TEST_F()
339 aStat.build(nCountMax * nBufLen); in TEST_F()
340 aStat.print(); in TEST_F()
342 ASSERT_TRUE(aStat.getMaxDeviation() < aStat.getAverage()) << "deviation should be less average"; in TEST_F()
/aoo42x/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()
/aoo42x/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 …]
/aoo42x/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()
H A Dfontmanager.cxx2259 struct stat aStat; in initialize() local
2263 if( ! stat( aFilePath.GetBuffer(), &aStat ) && in initialize()
2264 S_ISREG( aStat.st_mode ) ) in initialize()
2360 struct stat aStat; in initialize() local
2361 if( ! stat( aFile.GetBuffer(), &aStat ) in initialize()
2362 && S_ISREG( aStat.st_mode ) in initialize()
/aoo42x/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()
/aoo42x/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.cxx399 SvLockBytesStat aStat; in SeekPos() local
400 xLockBytes->Stat( &aStat, SVSTATFLAG_DEFAULT ); in SeekPos()
401 nActPos = aStat.nSize; in SeekPos()
/aoo42x/main/sw/source/core/doc/
H A Ddoc.cxx1758 aStat[n].Name = ::rtl::OUString::createFromAscii("TableCount"); in UpdateDocStat()
1759 aStat[n++].Value <<= (sal_Int32)rStat.nTbl; in UpdateDocStat()
1760 aStat[n].Name = ::rtl::OUString::createFromAscii("ImageCount"); in UpdateDocStat()
1761 aStat[n++].Value <<= (sal_Int32)rStat.nGrf; in UpdateDocStat()
1763 aStat[n++].Value <<= (sal_Int32)rStat.nOLE; in UpdateDocStat()
1767 aStat[n++].Value <<= (sal_Int32)rStat.nPage; in UpdateDocStat()
1770 aStat[n++].Value <<= (sal_Int32)rStat.nPara; in UpdateDocStat()
1771 aStat[n].Name = ::rtl::OUString::createFromAscii("WordCount"); in UpdateDocStat()
1772 aStat[n++].Value <<= (sal_Int32)rStat.nWord; in UpdateDocStat()
1774 aStat[n++].Value <<= (sal_Int32)rStat.nChar; in UpdateDocStat()
[all …]
/aoo42x/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()
/aoo42x/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()
/aoo42x/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()
/aoo42x/main/sal/osl/unx/
H A Dfile_misc.cxx709 struct stat aStat; in osl_psz_removeFile() local
711 nRet = lstat(pszPath,&aStat); in osl_psz_removeFile()
718 if ( S_ISDIR(aStat.st_mode) ) in osl_psz_removeFile()
/aoo42x/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()
/aoo42x/main/padmin/source/
H A Dfontentry.cxx115 struct stat aStat;
117 if( stat( aSysFile.GetBuffer(), &aStat ) || ! aStat.st_size )
/aoo42x/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()
/aoo42x/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()
/aoo42x/main/basic/source/runtime/
H A Dmethods.cxx929 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()
/aoo42x/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()
/aoo42x/main/sw/source/ui/uno/
H A Dunotxdoc.cxx2197 SwDocStat aStat(pDocShell->GetDoc()->GetDocStat()); in getPropertyValue() local
2198 if(aStat.bModified) in getPropertyValue()
2199 pDocShell->GetDoc()->UpdateDocStat( aStat ); in getPropertyValue()
2203 case WID_DOC_CHAR_COUNT :nValue = aStat.nChar;break; in getPropertyValue()
2204 case WID_DOC_PARA_COUNT :nValue = aStat.nPara;break; in getPropertyValue()
2205 case WID_DOC_WORD_COUNT :nValue = aStat.nWord;break; in getPropertyValue()

Completed in 295 milliseconds

12