/external/chromium_org/third_party/webrtc/base/ |
D | filelock_unittest.cc | 33 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); in Run() 60 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); in TEST_F() 68 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); in TEST_F() 73 scoped_ptr<FileLock> lock1(FileLock::TryLock(temp_file_.pathname())); in TEST_F() 76 scoped_ptr<FileLock> lock2(FileLock::TryLock(temp_file_.pathname())); in TEST_F() 81 scoped_ptr<FileLock> lock(FileLock::TryLock(temp_file_.pathname())); in TEST_F()
|
D | filelock.cc | 20 FileLock::FileLock(const std::string& path, FileStream* file) in FileLock() function in rtc::FileLock 24 FileLock::~FileLock() { in ~FileLock() 28 void FileLock::Unlock() { in Unlock() 33 void FileLock::MaybeUnlock() { in MaybeUnlock() 42 FileLock* FileLock::TryLock(const std::string& path) { in TryLock() 52 return new FileLock(path, stream); in TryLock()
|
D | filelock.h | 30 class FileLock { 32 virtual ~FileLock(); 36 static FileLock* TryLock(const std::string& path); 40 FileLock(const std::string& path, FileStream* file); 48 DISALLOW_EVIL_CONSTRUCTORS(FileLock);
|
/external/chromium_org/net/disk_cache/blockfile/ |
D | file_lock.cc | 22 FileLock::FileLock(BlockFileHeader* header) { in FileLock() function in disk_cache::FileLock 29 FileLock::~FileLock() { in ~FileLock() 33 void FileLock::Lock() { in Lock() 40 void FileLock::Unlock() { in Unlock()
|
D | file_lock.h | 30 class NET_EXPORT_PRIVATE FileLock { 32 explicit FileLock(BlockFileHeader* header); 33 virtual ~FileLock();
|
D | block_files.cc | 84 disk_cache::FileLock lock(header_); in CreateMapBlock() 136 disk_cache::FileLock lock(header_); in DeleteMapBlock() 543 FileLock lock(header); in GrowBlockFile() 589 FileLock lock(header); in NextFile()
|
/external/qemu/android/utils/ |
D | filelock.h | 37 typedef struct FileLock FileLock; typedef 39 extern FileLock* filelock_create ( const char* path ); 40 extern void filelock_release( FileLock* lock );
|
D | filelock.c | 73 struct FileLock struct 79 FileLock* next; argument 83 static FileLock* _all_filelocks; 95 filelock_lock( FileLock* lock ) in filelock_lock() 370 filelock_release( FileLock* lock ) in filelock_release() 386 FileLock* lock; in filelock_atexit() 393 FileLock* 403 int total_len = sizeof(FileLock) + file_len + lock_len + temp_len + 3; in filelock_create() 405 FileLock* lock = malloc(total_len); in filelock_create()
|
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
D | env.h | 24 class FileLock; variable 111 virtual Status LockFile(const std::string& fname, FileLock** lock) = 0; 116 virtual Status UnlockFile(FileLock* lock) = 0; 245 class FileLock { 247 FileLock() { } in FileLock() function 248 virtual ~FileLock(); 251 FileLock(const FileLock&); 252 void operator=(const FileLock&); 305 Status LockFile(const std::string& f, FileLock** l) { in LockFile() 308 Status UnlockFile(FileLock* l) { return target_->UnlockFile(l); } in UnlockFile()
|
/external/llvm/unittests/Support/ |
D | LockFileManagerTest.cpp | 104 SmallString<64> FileLock(LockedFile); in TEST() local 105 FileLock += ".lock"; in TEST() 111 EXPECT_TRUE(sys::fs::exists(FileLock.str())); in TEST() 116 EXPECT_FALSE(sys::fs::exists(FileLock.str())); in TEST()
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
D | env.cc | 24 FileLock::~FileLock() { in ~FileLock()
|
D | env_posix.cc | 270 class PosixFileLock : public FileLock { 418 virtual Status LockFile(const std::string& fname, FileLock** lock) { in LockFile() 440 virtual Status UnlockFile(FileLock* lock) { in UnlockFile()
|
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
D | memenv.cc | 351 virtual Status LockFile(const std::string& fname, FileLock** lock) { in LockFile() 352 *lock = new FileLock; in LockFile() 356 virtual Status UnlockFile(FileLock* lock) { in UnlockFile()
|
D | memenv_test.cc | 130 FileLock* lock; in TEST()
|
/external/chromium_org/third_party/leveldatabase/ |
D | env_chromium.h | 127 leveldb::FileLock** lock); 128 virtual leveldb::Status UnlockFile(leveldb::FileLock* lock);
|
D | env_chromium.cc | 25 using leveldb::FileLock; 40 class ChromiumFileLock : public FileLock { 567 Status ChromiumEnv::LockFile(const std::string& fname, FileLock** lock) { in LockFile() 629 Status ChromiumEnv::UnlockFile(FileLock* lock) { in UnlockFile()
|
/external/chromium_org/content/browser/indexed_db/leveldb/ |
D | leveldb_database.cc | 129 explicit LockImpl(leveldb::Env* env, leveldb::FileLock* lock) in LockImpl() 134 leveldb::FileLock* lock_; 144 leveldb::FileLock* lock = NULL; in LockForTesting()
|
D | leveldb_unittest.cc | 249 leveldb::FileLock* lock; in TEST() 259 leveldb::FileLock* lock2; in TEST()
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
D | db_impl.h | 134 FileLock* db_lock_;
|
D | c.cc | 24 using leveldb::FileLock; 58 struct leveldb_filelock_t { FileLock* rep; };
|
D | db_impl.cc | 1491 FileLock* lock; in DestroyDB()
|