/external/chromium/sdch/open-vcdiff/src/ |
vcdecoder1_test.cc | 36 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 37 delta_file_.size(), 51 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 52 delta_file_.size(), 61 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 62 delta_file_.size() - 1, 71 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 82 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 83 delta_file_.size(), 92 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data() [all...] |
vcdecoder3_test.cc | 62 delta_file_[1] = 'Q' | 0x80; 64 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 65 delta_file_.size(), 71 delta_file_[3] = 0x01; 73 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 74 delta_file_.size(), 80 delta_file_[4] = 0x01; 82 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 83 delta_file_.size(), 90 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data() [all...] |
vcdecoder2_test.cc | 42 for (size_t i = 0; i < delta_file_.size(); ++i) { 43 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 52 for (size_t i = 0; i < delta_file_.size(); ++i) { 53 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 62 delta_file_.resize(delta_file_.size() - 1); 64 for (size_t i = 0; i < delta_file_.size(); ++i) { 65 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 74 delta_file_.resize(delta_file_header_.size() 77 for (size_t i = 0; i < delta_file_.size(); ++i) [all...] |
vcdecoder4_test.cc | 39 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 40 delta_file_.size(), 50 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 51 delta_file_.size(), 62 for (size_t i = 0; i < delta_file_.size(); ++i) { 63 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 74 for (size_t i = 0; i < delta_file_.size(); ++i) { 75 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 93 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 94 delta_file_.size() [all...] |
vcdecoder_test.cc | 75 delta_file_ = delta_file_header_ + delta_window_header_ + delta_window_body_; 106 delta_file_.replace(delta_file_header_.size() + offset, 117 delta_file_.replace(delta_file_header_.size() + offset, 128 delta_file_.replace(delta_file_header_.size() + offset, 149 for (; fuzzed_byte_position_ < delta_file_.size(); 151 char fuzzed_byte = (((delta_file_[fuzzed_byte_position_] 155 if (fuzzed_byte != delta_file_[fuzzed_byte_position_]) { 156 delta_file_[fuzzed_byte_position_] = fuzzed_byte;
|
vcdecoder_test.h | 48 // This function is called by SetUp(). It populates delta_file_ with the 52 // delta_file_ and needs to restore them to their original state. 76 // attempts to corrupt a different byte in delta_file_ in a different way. If 78 // byte positions in delta_file_, it returns false. 106 // delta_file_ will be populated by InitializeDeltaFile() using the components 108 string delta_file_; member in class:open_vcdiff::VCDiffDecoderTest 120 // The components that will be used to construct delta_file_.
|
/external/open-vcdiff/src/ |
vcdecoder1_test.cc | 36 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 37 delta_file_.size(), 51 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 52 delta_file_.size(), 61 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 62 delta_file_.size() - 1, 71 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 82 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 83 delta_file_.size(), 92 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data() [all...] |
vcdecoder3_test.cc | 65 delta_file_[1] = 'Q' | 0x80; 67 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 68 delta_file_.size(), 74 delta_file_[3] = 0x01; 76 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 77 delta_file_.size(), 83 delta_file_[4] = 0x01; 85 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 86 delta_file_.size(), 93 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data() [all...] |
vcdecoder2_test.cc | 42 for (size_t i = 0; i < delta_file_.size(); ++i) { 43 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 52 for (size_t i = 0; i < delta_file_.size(); ++i) { 53 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 62 delta_file_.resize(delta_file_.size() - 1); 64 for (size_t i = 0; i < delta_file_.size(); ++i) { 65 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 74 delta_file_.resize(delta_file_header_.size() 77 for (size_t i = 0; i < delta_file_.size(); ++i) [all...] |
vcdecoder4_test.cc | 39 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 40 delta_file_.size(), 50 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), 51 delta_file_.size(), 62 for (size_t i = 0; i < delta_file_.size(); ++i) { 63 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 74 for (size_t i = 0; i < delta_file_.size(); ++i) { 75 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); 93 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), 94 delta_file_.size() [all...] |
vcdecoder_test.cc | 75 delta_file_ = delta_file_header_ + delta_window_header_ + delta_window_body_; 106 delta_file_.replace(delta_file_header_.size() + offset, 117 delta_file_.replace(delta_file_header_.size() + offset, 128 delta_file_.replace(delta_file_header_.size() + offset, 149 for (; fuzzed_byte_position_ < delta_file_.size(); 151 char fuzzed_byte = (((delta_file_[fuzzed_byte_position_] 155 if (fuzzed_byte != delta_file_[fuzzed_byte_position_]) { 156 delta_file_[fuzzed_byte_position_] = fuzzed_byte;
|
vcdecoder_test.h | 48 // This function is called by SetUp(). It populates delta_file_ with the 52 // delta_file_ and needs to restore them to their original state. 76 // attempts to corrupt a different byte in delta_file_ in a different way. If 78 // byte positions in delta_file_, it returns false. 106 // delta_file_ will be populated by InitializeDeltaFile() using the components 108 string delta_file_; member in class:open_vcdiff::VCDiffDecoderTest 120 // The components that will be used to construct delta_file_.
|