Lines Matching defs:st
73 struct stat st;
74 CPPUNIT_ASSERT( lstat(entryName.c_str(), &st) == 0 );
75 CPPUNIT_ASSERT( statable->IsDirectory() == S_ISDIR(st.st_mode) );
76 CPPUNIT_ASSERT( statable->IsFile() == S_ISREG(st.st_mode) );
77 CPPUNIT_ASSERT( statable->IsSymLink() == S_ISLNK(st.st_mode) );
102 struct stat st;
115 CPPUNIT_ASSERT( lstat(entryName.c_str(), &st) == 0 );
127 CPPUNIT_ASSERT( ref.device == st.st_dev && ref.node == st.st_ino );
128 CPPUNIT_ASSERT( owner == st.st_uid );
129 CPPUNIT_ASSERT( group == st.st_gid );
131 // CPPUNIT_ASSERT( perms == (st.st_mode & S_IUMSK) );
132 CPPUNIT_ASSERT( (perms & S_IUMSK) == (st.st_mode & S_IUMSK) );
133 CPPUNIT_ASSERT( size == st.st_size );
134 CPPUNIT_ASSERT( mtime == st.st_mtime );
135 CPPUNIT_ASSERT( ctime == st.st_crtime );
137 CPPUNIT_ASSERT( atime == st.st_atime );
139 CPPUNIT_ASSERT( volume == BVolume(st.st_dev) );
197 struct stat st;
215 CPPUNIT_ASSERT( lstat(entryName.c_str(), &st) == 0 );
216 CPPUNIT_ASSERT( owner == st.st_uid );
217 CPPUNIT_ASSERT( group == st.st_gid );
218 CPPUNIT_ASSERT( perms == (st.st_mode & S_IUMSK) );
219 CPPUNIT_ASSERT( mtime == st.st_mtime );
220 CPPUNIT_ASSERT( ctime == st.st_crtime );
222 CPPUNIT_ASSERT( atime == st.st_atime );