Searched refs:string (Results 1 – 25 of 48) sorted by relevance
12
/glogg/glogg/tests/ |
H A D | watchtowerTest.cpp |
|
H A D | test_utils.h |
|
/glogg/tests/ |
H A D | watchtowerTest.cpp | 47 string createTempEmptyFile( string file_name = "" ) { in createTempEmptyFile() 61 return string( name ); in createTempEmptyFile() 64 string getNonExistingFileName() { in getNonExistingFileName() 66 return string( _tempnam( "c:\\temp", "inexistant" ) ); in getNonExistingFileName() 68 return string( tmpnam( nullptr ) ); in getNonExistingFileName() 96 string file_name; 101 Registration registerFile( const string& filename ) { in registerFile() 137 void appendDataToFile( const string& file_name ) { in appendDataToFile() 138 static const char* string = "Test line\n"; in appendDataToFile() local 140 write( fd, (void*) string, strlen( string ) ); in appendDataToFile() [all …]
|
H A D | test_utils.h | 12 …text_ += std::string {"."} + std::string {::testing::UnitTest::GetInstance()->current_test_info()-… in TestTimer() 15 TestTimer(const std::string& text) in TestTimer() 30 std::string text_;
|
/glogg/glogg/src/ |
H A D | log.h |
|
H A D | watchtowerlist.h |
|
H A D | session.h |
|
H A D | winwatchtowerdriver.h |
|
H A D | kqueuewatchtowerdriver.h |
|
H A D | winwatchtowerdriver.cpp |
|
H A D | inotifywatchtowerdriver.h |
|
H A D | watchtower.h |
|
H A D | sessioninfo.h |
|
H A D | session.cpp |
|
H A D | main.cpp |
|
/glogg/src/ |
H A D | log.h | 30 inline std::string NowTime(); 41 const std::string& sourceFile = "", int lineNumber = 0); 44 static std::string ToString(TLogLevel level); 45 static TLogLevel FromString(const std::string& level); 68 const std::string& sourceFile, int lineNumber) in Get() 73 os << std::string(level > logDEBUG ? level - logDEBUG : 0, '\t'); in Get() 85 std::string Log<T>::ToString(TLogLevel level) in ToString() 92 TLogLevel Log<T>::FromString(const std::string& level) in FromString() 118 static void Output(const std::string& msg); 127 inline void Output2FILE::Output(const std::string& msg) in Output() [all …]
|
H A D | watchtowerlist.h | 30 ObservedDir( const std::string this_path ) : path { this_path } {} in ObservedDir() 35 std::string path; 44 const std::string& file_name, in ObservedFile() 80 std::string file_name_; 115 ObservedFile<Driver>* searchByName( const std::string& file_name ); 134 std::shared_ptr<ObservedDir<Driver>> watchedDirectory( const std::string& dir_name ); 141 const std::string& dir_name, 146 … std::shared_ptr<ObservedDir<Driver>> watchedDirectoryForFile( const std::string& file_name ); 147 … std::shared_ptr<ObservedDir<Driver>> addWatchedDirectoryForFile( const std::string& file_name, 191 std::map<std::string, std::weak_ptr<ObservedDir<Driver>>> observed_dirs_; [all …]
|
H A D | session.h | 60 ViewInterface* getViewIfOpen( const std::string& file_name ) const; 65 ViewInterface* open( const std::string& file_name, 75 std::vector<std::pair<std::string, ViewInterface*>> restore( 92 std::string getFilename( const ViewInterface* view ) const; 103 std::string fileName; 110 ViewInterface* openAlways( const std::string& file_name,
|
H A D | winwatchtowerdriver.h | 117 WinWatchedDirRecord( const std::string& file_name ) in WinWatchedDirRecord() 122 std::string path_; 147 FileChangeToken( const std::string& file_name ) in FileChangeToken() 150 void readFromFile( const std::string& file_name ); 171 FileId addFile( const std::string& file_name ); 172 SymlinkId addSymlink( const std::string& file_name ); 173 DirId addDir( const std::string& file_name ); 217 const std::string& file_name,
|
H A D | kqueuewatchtowerdriver.h | 74 FileChangeToken( const std::string& ) {} in FileChangeToken() argument 76 void readFromFile( const std::string& ) {} in readFromFile() argument 100 FileId addFile( const std::string& file_name ); 101 SymlinkId addSymlink( const std::string& file_name ); 102 DirId addDir( const std::string& file_name );
|
H A D | winwatchtowerdriver.cpp | 33 std::string shortstringize( const std::wstring& long_string ); 34 std::wstring longstringize( const std::string& short_string ); 85 const std::string& file_name ) in readFromFile() 160 const std::string& file_name ) in addFile() 167 const std::string& file_name ) in addSymlink() 176 const std::string& file_name ) in addDir() 239 const std::string& dir_name, in serialisedAddDir() 346 … std::string file_path = dir_record->path_ + shortstringize( notification.fileName() ); in waitAndProcessEvents() 400 std::string shortstringize( const std::wstring& long_string ) in shortstringize() 402 std::string short_result {}; in shortstringize() [all …]
|
H A D | inotifywatchtowerdriver.h | 74 FileChangeToken( const std::string& ) {} in FileChangeToken() argument 76 void readFromFile( const std::string& ) {} in readFromFile() argument 100 FileId addFile( const std::string& file_name ); 101 SymlinkId addSymlink( const std::string& file_name ); 102 DirId addDir( const std::string& file_name );
|
H A D | watchtower.h | 62 Registration addFile( const std::string& file_name, 91 addFileToDriver( const std::string& ); 108 bool isSymLink( const std::string& file_name ); 109 std::string directory_path( const std::string& path ); 142 const std::string& file_name, in addFile() 219 WatchTower<Driver>::addFileToDriver( const std::string& file_name ) in addFileToDriver() 322 bool isSymLink( const std::string& file_name ) in isSymLink()
|
H A D | sessioninfo.h | 47 std::string fileName; 51 std::string viewContext;
|
H A D | session.cpp | 51 ViewInterface* Session::getViewIfOpen( const std::string& file_name ) const in getViewIfOpen() 63 ViewInterface* Session::open( const std::string& file_name, in open() 115 std::vector<std::pair<std::string, ViewInterface*>> Session::restore( in restore() 125 std::vector<std::pair<std::string, ViewInterface*>> result; in restore() 148 std::string Session::getFilename( const ViewInterface* view ) const in getFilename() 174 ViewInterface* Session::openAlways( const std::string& file_name, in openAlways()
|
12