Lines Matching refs:delta_file_
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(),
93 delta_file_.size(),
102 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
103 delta_file_.size(),
111 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
112 delta_file_.size(),
124 if (decoder_.DecodeChunk(delta_file_.data(),
125 delta_file_.size(),
138 delta_file_[delta_file_header_.size()] = VCD_SOURCE + VCD_TARGET;
140 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
141 delta_file_.size(),
149 delta_file_[delta_file_header_.size()] = 0xFD;
151 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
152 delta_file_.size(),
164 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
165 delta_file_.size(),
172 ++delta_file_[delta_file_header_.size() + 2]; // increment size
174 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
175 delta_file_.size(),
183 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
184 delta_file_.size(),
192 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
193 delta_file_.size(),
201 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
202 delta_file_.size(),
208 ++delta_file_[delta_file_header_.size() + 3]; // increment start pos
210 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
211 delta_file_.size(),
219 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
220 delta_file_.size(),
228 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
229 delta_file_.size(),
237 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
238 delta_file_.size(),
244 delta_file_[delta_file_header_.size() + 4] = 0;
246 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
247 delta_file_.size(),
253 ++delta_file_[delta_file_header_.size() + 4];
255 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
256 delta_file_.size(),
262 --delta_file_[delta_file_header_.size() + 4];
264 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
265 delta_file_.size(),
273 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
274 delta_file_.size(),
282 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
283 delta_file_.size(),
291 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
292 delta_file_.size(),
299 delta_file_.replace(delta_file_header_.size() + 5, 2, zero_size, 1);
301 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
302 delta_file_.size(),
308 ++delta_file_[delta_file_header_.size() + 6];
310 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
311 delta_file_.size(),
317 --delta_file_[delta_file_header_.size() + 6];
319 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
320 delta_file_.size(),
328 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
329 delta_file_.size(),
337 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
338 delta_file_.size(),
346 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
347 delta_file_.size(),
353 delta_file_[delta_file_header_.size() + 7] = 0xF8;
355 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
356 delta_file_.size(),
363 delta_file_[delta_file_header_.size() + 7] = 0x01;
365 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
366 delta_file_.size(),
372 delta_file_[delta_file_header_.size() + 7] = 0x02;
374 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
375 delta_file_.size(),
381 delta_file_[delta_file_header_.size() + 7] = 0x04;
383 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
384 delta_file_.size(),
390 delta_file_[delta_file_header_.size() + 8] = 0;
392 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
393 delta_file_.size(),
399 ++delta_file_[delta_file_header_.size() + 8];
401 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
402 delta_file_.size(),
408 --delta_file_[delta_file_header_.size() + 8];
410 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
411 delta_file_.size(),
419 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
420 delta_file_.size(),
428 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
429 delta_file_.size(),
437 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
438 delta_file_.size(),
444 delta_file_[delta_file_header_.size() + 9] = 0;
446 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
447 delta_file_.size(),
453 ++delta_file_[delta_file_header_.size() + 9];
455 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
456 delta_file_.size(),
462 --delta_file_[delta_file_header_.size() + 9];
464 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
465 delta_file_.size(),
473 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
474 delta_file_.size(),
482 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
483 delta_file_.size(),
491 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
492 delta_file_.size(),
498 delta_file_[delta_file_header_.size() + 10] = 0;
500 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
501 delta_file_.size(),
507 ++delta_file_[delta_file_header_.size() + 10];
509 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
510 delta_file_.size(),
516 --delta_file_[delta_file_header_.size() + 10];
518 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
519 delta_file_.size(),
527 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
528 delta_file_.size(),
536 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
537 delta_file_.size(),
545 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
546 delta_file_.size(),
552 --delta_file_[delta_file_header_.size() + 9];
553 ++delta_file_[delta_file_header_.size() + 10];
555 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
556 delta_file_.size(),
565 delta_file_[delta_file_header_.size() + 0x70] =
567 delta_file_[delta_file_header_.size() + 0x71] =
570 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
571 delta_file_.size(),
577 delta_file_[delta_file_header_.size() + 0x70] = 0;
579 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
580 delta_file_.size(),
586 ++delta_file_[delta_file_header_.size() + 0x70];
588 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
589 delta_file_.size(),
595 --delta_file_[delta_file_header_.size() + 0x70];
597 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
598 delta_file_.size(),
606 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
607 delta_file_.size(),
615 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
616 delta_file_.size(),
624 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
625 delta_file_.size(),
631 delta_file_[delta_file_header_.size() + 0x7B] =
633 delta_file_[delta_file_header_.size() + 0x7C] =
636 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
637 delta_file_.size(),
645 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
646 delta_file_.size(),
654 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
655 delta_file_.size(),
663 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
664 delta_file_.size(),
670 delta_file_[delta_file_header_.size() + 0x72] =
672 delta_file_[delta_file_header_.size() + 0x73] =
675 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
676 delta_file_.size(),
682 delta_file_[delta_file_header_.size() + 0x72] = 0;
684 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
685 delta_file_.size(),
691 ++delta_file_[delta_file_header_.size() + 0x72];
693 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
694 delta_file_.size(),
700 --delta_file_[delta_file_header_.size() + 0x72];
702 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
703 delta_file_.size(),
711 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
712 delta_file_.size(),
720 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
721 delta_file_.size(),
729 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
730 delta_file_.size(),
736 delta_file_[delta_file_header_.size() + 0x78] =
738 delta_file_[delta_file_header_.size() + 0x79] =
741 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
742 delta_file_.size(),
748 delta_file_[delta_file_header_.size() + 0x78] = 0;
750 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
751 delta_file_.size(),
757 ++delta_file_[delta_file_header_.size() + 0x78];
759 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
760 delta_file_.size(),
766 --delta_file_[delta_file_header_.size() + 0x78];
768 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
769 delta_file_.size(),
777 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
778 delta_file_.size(),
786 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
787 delta_file_.size(),
795 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
796 delta_file_.size(),