Searched refs:dir (Results 1 – 6 of 6) sorted by relevance
165 auto dir = observed_file_list_.watchedDirectoryForFile( file_name ); in addFile() local166 if ( ! dir ) { in addFile()170 dir = observed_file_list_.addWatchedDirectoryForFile( file_name, in addFile()171 [this, weakHeartBeat] (ObservedDir<Driver>* dir) { in addFile()173 driver_.removeDir( dir->dir_id_ ); in addFile()176 dir->dir_id_ = driver_.addDir( dir->path ); in addFile()178 if ( ! dir->dir_id_.valid() ) { in addFile()180 dir = nullptr; in addFile()188 if ( dir ) in addFile()189 new_file->dir_ = dir; in addFile()
254 auto dir = find_if( observed_dirs_.begin(), observed_dirs_.end(), in searchByDirWdAndName() local256 if ( auto dir = d.second.lock() ) { in searchByDirWdAndName()257 return ( id == dir->dir_id_ ); in searchByDirWdAndName()262 if ( dir != observed_dirs_.end() ) { in searchByDirWdAndName()263 std::string path = dir->first + "/" + name; in searchByDirWdAndName()281 auto dir = find_if( observed_dirs_.begin(), observed_dirs_.end(), in searchByDirWd() local283 if ( auto dir = d.second.lock() ) { in searchByDirWd()284 return ( id == dir->dir_id_ ); in searchByDirWd()289 if ( dir != observed_dirs_.end() ) { in searchByDirWd()291 if ( auto d = dir->second.lock() ) { in searchByDirWd()[all …]
369 string createTempEmptyFileInDir( const string& dir ) { in createTempEmptyFileInDir() argument371 return createTempEmptyFile( dir + std::string { "/temp" } + to_string( counter++ ) ); in createTempEmptyFileInDir()