Home
last modified time | relevance | path

Searched refs:GetCompressionMethod (Results 1 - 8 of 8) sorted by relevance

/third_party/node/deps/v8/third_party/zlib/google/
H A Dzip_unittest.cc1261 // Tests zip::internal::GetCompressionMethod()
1262 TEST_F(ZipTest, GetCompressionMethod) { in TEST_F()
1263 using zip::internal::GetCompressionMethod; in TEST_F()
1267 EXPECT_EQ(GetCompressionMethod(FP("")), kDeflated); in TEST_F()
1268 EXPECT_EQ(GetCompressionMethod(FP("NoExtension")), kDeflated); in TEST_F()
1269 EXPECT_EQ(GetCompressionMethod(FP("Folder.zip").Append(FP("NoExtension"))), in TEST_F()
1271 EXPECT_EQ(GetCompressionMethod(FP("Name.txt")), kDeflated); in TEST_F()
1272 EXPECT_EQ(GetCompressionMethod(FP("Name.zip")), kStored); in TEST_F()
1273 EXPECT_EQ(GetCompressionMethod(FP("Name....zip")), kStored); in TEST_F()
1274 EXPECT_EQ(GetCompressionMethod(F in TEST_F()
[all...]
H A Dzip_internal.h80 Compression GetCompressionMethod(const base::FilePath& path);
H A Dzip_internal.cc393 Compression GetCompressionMethod(const base::FilePath& path) { in GetCompressionMethod() function
H A Dzip_writer.cc76 compression = GetCompressionMethod(path); in OpenNewFileEntry()
/third_party/node/deps/zlib/google/
H A Dzip_unittest.cc1261 // Tests zip::internal::GetCompressionMethod()
1262 TEST_F(ZipTest, GetCompressionMethod) { in TEST_F()
1263 using zip::internal::GetCompressionMethod; in TEST_F()
1267 EXPECT_EQ(GetCompressionMethod(FP("")), kDeflated); in TEST_F()
1268 EXPECT_EQ(GetCompressionMethod(FP("NoExtension")), kDeflated); in TEST_F()
1269 EXPECT_EQ(GetCompressionMethod(FP("Folder.zip").Append(FP("NoExtension"))), in TEST_F()
1271 EXPECT_EQ(GetCompressionMethod(FP("Name.txt")), kDeflated); in TEST_F()
1272 EXPECT_EQ(GetCompressionMethod(FP("Name.zip")), kStored); in TEST_F()
1273 EXPECT_EQ(GetCompressionMethod(FP("Name....zip")), kStored); in TEST_F()
1274 EXPECT_EQ(GetCompressionMethod(F in TEST_F()
[all...]
H A Dzip_internal.h80 Compression GetCompressionMethod(const base::FilePath& path);
H A Dzip_internal.cc394 Compression GetCompressionMethod(const base::FilePath& path) { in GetCompressionMethod() function
H A Dzip_writer.cc76 compression = GetCompressionMethod(path); in OpenNewFileEntry()

Completed in 8 milliseconds