Home
last modified time | relevance | path

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

/base/hiviewdfx/hiview/base/logstore/test/unittest/common/
Dlog_store_unit_test.cpp94 LogFile file2(testLogFile);
95 ASSERT_EQ(true, file2.isValid_);
96 ASSERT_EQ(false, file2.isDir_);
97 ASSERT_EQ(std::string(LOG_CONTENT).size(), file2.size_);
98 ASSERT_EQ(testLogFile, file2.path_);
99 ASSERT_EQ(FileUtil::ExtractFileName(testLogFile), file2.name_);
/base/update/sys_installer/services/module_update/util/include/
Dmodule_file.h53 static bool CompareVersion(const ModuleFile &file1, const ModuleFile &file2);
/base/update/sys_installer/services/module_update/util/src/
Dmodule_file.cpp220 bool ModuleFile::CompareVersion(const ModuleFile &file1, const ModuleFile &file2) in CompareVersion() argument
223 ModuleVersion version2 = file2.GetVersionInfo(); in CompareVersion()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_read.cpp214 [] (const string& file1, const string& file2)->bool { in AllMatchedLogFiles() argument
215 return file1 > file2; in AllMatchedLogFiles()
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dload_policy.cpp72 static bool CompareHash(const std::string &file1, const std::string &file2) in CompareHash() argument
76 if (!ReadFileFirstLine(file1, line1) || !ReadFileFirstLine(file2, line2)) { in CompareHash()
/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ets/test/
DRequestSystemQuery.test.ets235 let file2 = fs.openSync(cacheDir + '/test2.txt', fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE);
237 fs.closeSync(file2);
243 {name: 'file2', value: {path: `./test2.txt`, filename: 'test2.txt'}},
/base/request/request/test/unittest/js_test/requestQueryTaskTest/entry/src/main/ets/test/
DRequestQuery.test.ets364 let file2 = fs.openSync(cacheDir + '/test2.txt', fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE);
366 fs.closeSync(file2);
372 {name: 'file2', value: {path: `./test2.txt`, filename: 'test2.txt'}},
/base/request/request/
DREADME.md456 let file2 = { filename: "test", name: "test", uri: "internal://cache/test.zip", type: "zip" };
464 let files = [file1, file2, file3, file4, file5, file6, largeFile, dataabilityFile];