Home
last modified time | relevance | path

Searched refs:FileLock (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_common_test.cpp131 EXPECT_EQ(OS::FileLock(fd, true), E_OK);
132 EXPECT_EQ(OS::FileLock(fd, true), E_OK);
138 EXPECT_EQ(OS::FileLock(fd2, true), E_OK);
139 EXPECT_EQ(OS::FileLock(fd2, true), E_OK);
168 EXPECT_EQ(OS::FileLock(fd, false), E_OK);
169 EXPECT_EQ(OS::FileLock(fd, false), E_OK);
226 EXPECT_EQ(OS::FileLock(fd, false), E_OK);
245 EXPECT_EQ(OS::FileLock(fd, false), E_OK);
265 EXPECT_EQ(OS::FileLock(fd, true), E_OK);
333 EXPECT_EQ(OS::FileLock(fd, false), E_OK);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_file_common_test.cpp298 ret = FileLock(fd, SOFTBUS_F_RDLCK, false);
301 ret = FileLock(fd, SOFTBUS_F_RDLCK, true);
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/clienttransproxyfilecommon_fuzzer/
H A Dclienttransproxyfilecommon_fuzzer.cpp66 FileLock(fd, type, isBlock); in ClientTransProxyFileCommonTest()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/include/
H A Dclient_trans_proxy_file_common.h59 int32_t FileLock(int32_t fd, int32_t type, bool isBlock);
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/
H A Dclient_trans_proxy_file_common.c287 int32_t FileLock(int32_t fd, int32_t type, bool isBlock) in FileLock() function
312 errCode = FileLock(fd, type, false); in TryFileLock()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dplatform_specific.h75 int FileLock(const FileHandle *fileHandle, bool isBlock); // be careful use block=true, may block p…
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dplatform_specific.cpp351 int FileLock(const FileHandle *fileHandle, bool isBlock) in FileLock() function
644 int FileLock(const FileHandle *fileHandle, bool isBlock)
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/
H A Dkvdb_manager.cpp237 errCode = OS::FileLock(handle, false); // not block process in TryLockDB()