Lines Matching defs:file
3 // found in the LICENSE file.
16 #include "base/files/file.h"
66 base::File* file() { return &file_; }
262 // Open the test ZIP archive from a file descriptor, iterate through its
324 // By default, file paths in ZIPs are interpreted as UTF-8. But in this test,
325 // the ZIP archive contains file paths that are actually encoded in Shift JIS.
484 // Verifies that the ZipReader class can extract a file from a zip archive
489 // A zip archive consisting of one file "test.txt", which is a 16-byte text
490 // file that contains "This is a test.\n".
518 // Verifies that the asynchronous extraction to a file works.
581 // The extracted file contains rubbish data.
648 EXPECT_EQ("This file has been changed after its CRC was computed.\n",
653 // Verifies that the asynchronous extraction to a file works.
684 // sizes from 0 to 7 bytes respectively, being the contents of each file a
720 // sizes from 0 to 7 bytes respectively, being the contents of each file a
753 // Checks that entire file is extracted and function returns true when
754 // |max_read_bytes| is larger than file size.
860 EXPECT_EQ("This file has been changed after its CRC was computed.\n",
866 EXPECT_EQ("This file has been changed after its CRC was computed.\n",
872 EXPECT_EQ("This file has been changed after its CRC was computed.\n",
878 EXPECT_EQ("This file has been changed after its CRC was computed.", contents);