Searched refs:VCDiffCodeTableData (Results 1 – 14 of 14) sorted by relevance
/external/chromium_org/sdch/open-vcdiff/src/ |
D | instruction_map.cc | 31 VCDiffCodeTableData::kDefaultCodeTableData, in GetDefaultInstructionMap() 38 const unsigned char size_array[VCDiffCodeTableData::kCodeTableSize]) { in FindMaxSize() 40 for (int i = 1; i < VCDiffCodeTableData::kCodeTableSize; ++i) { in FindMaxSize() 90 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { in ~SecondInstructionMap() 152 const VCDiffCodeTableData& code_table_data, in VCDiffInstructionMap() 159 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { in VCDiffInstructionMap() 179 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { in VCDiffInstructionMap()
|
D | codetable_test.cc | 29 : code_table_data_(VCDiffCodeTableData::kDefaultCodeTableData) { } in CodeTableTest() 54 g_exercise_code_table_ = new VCDiffCodeTableData; in SetUpTestCase() 82 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); in SetUpTestCase() 84 EXPECT_TRUE(VCDiffCodeTableData::kDefaultCodeTableData.Validate()); in SetUpTestCase() 120 static VCDiffCodeTableData* g_exercise_code_table_; 123 VCDiffCodeTableData code_table_data_; 126 VCDiffCodeTableData* CodeTableTest::g_exercise_code_table_ = NULL;
|
D | decodetable.h | 52 bool UseCodeTable(const VCDiffCodeTableData& code_table_data, 128 const VCDiffCodeTableData* code_table_data_; 137 std::auto_ptr<VCDiffCodeTableData> non_default_code_table_data_;
|
D | decodetable.cc | 29 : code_table_data_(&VCDiffCodeTableData::kDefaultCodeTableData), in VCDiffCodeTableReader() 39 const VCDiffCodeTableData& code_table_data, unsigned char max_mode) { in UseCodeTable() 42 non_default_code_table_data_.reset(new VCDiffCodeTableData); in UseCodeTable()
|
D | decodetable_test.cc | 57 g_exercise_code_table_ = new VCDiffCodeTableData; in SetUpTestCase() 83 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); in SetUpTestCase() 84 EXPECT_TRUE(VCDiffCodeTableData::kDefaultCodeTableData.Validate()); in SetUpTestCase() 148 static VCDiffCodeTableData* g_exercise_code_table_; 164 VCDiffCodeTableData* DecodeTableTest::g_exercise_code_table_ = NULL; 167 VCDiffCodeTableData::kCodeTableSize * 392 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { in TEST_F() 448 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); in TEST_F()
|
D | codetable.h | 74 struct VCDiffCodeTableData { struct 77 static const VCDiffCodeTableData kDefaultCodeTableData; argument
|
D | vcdecoder4_test.cc | 838 (sizeof(VCDiffCodeTableData) >> 7) | 0x80, // First byte of table length 839 sizeof(VCDiffCodeTableData) & 0x7F, // Second byte of table length 842 (sizeof(VCDiffCodeTableData) >> 7) | 0x80, // First byte of table length 843 sizeof(VCDiffCodeTableData) & 0x7F, // Second byte of table length 938 VCDiffCodeTableData custom_code_table( in TEST_F() 939 VCDiffCodeTableData::kDefaultCodeTableData); in TEST_F() 948 &VCDiffCodeTableData::kDefaultCodeTableData), in TEST_F() 949 sizeof(VCDiffCodeTableData::kDefaultCodeTableData)); in TEST_F() 955 const VCDiffCodeTableData* decoded_table = in TEST_F() 956 reinterpret_cast<const VCDiffCodeTableData*>(output_.data()); in TEST_F() [all …]
|
D | encodetable.cc | 61 code_table_data_(&VCDiffCodeTableData::kDefaultCodeTableData), in VCDiffCodeTableWriter() 73 const VCDiffCodeTableData& code_table_data, in VCDiffCodeTableWriter() 88 if (code_table_data_ != &VCDiffCodeTableData::kDefaultCodeTableData) { in ~VCDiffCodeTableWriter() 106 if (code_table_data_ == &VCDiffCodeTableData::kDefaultCodeTableData) { in Init()
|
D | codetable.cc | 54 const VCDiffCodeTableData VCDiffCodeTableData::kDefaultCodeTableData = 188 bool VCDiffCodeTableData::ValidateOpcode(int opcode, in ValidateOpcode() 233 bool VCDiffCodeTableData::Validate(unsigned char max_mode) const { in Validate() 275 bool VCDiffCodeTableData::Validate() const { in Validate()
|
D | instruction_map.h | 49 VCDiffInstructionMap(const VCDiffCodeTableData& code_table_data, 191 OpcodeOrNone** second_opcodes_[VCDiffCodeTableData::kCodeTableSize];
|
D | encodetable.h | 71 const VCDiffCodeTableData& code_table_data, 195 const VCDiffCodeTableData* code_table_data_;
|
D | encodetable_test.cc | 65 g_exercise_code_table_ = new VCDiffCodeTableData; in SetUpTestCase() 93 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); in SetUpTestCase() 129 static VCDiffCodeTableData* g_exercise_code_table_; 147 VCDiffCodeTableData* CodeTableWriterTest::g_exercise_code_table_;
|
D | vcdecoder.cc | 104 bool UseCodeTable(const VCDiffCodeTableData& code_table_data, in UseCodeTable() 555 std::auto_ptr<VCDiffCodeTableData> custom_code_table_; 759 custom_code_table_.reset(new struct VCDiffCodeTableData); in InitCustomCodeTable() 760 memset(custom_code_table_.get(), 0, sizeof(struct VCDiffCodeTableData)); in InitCustomCodeTable() 775 &VCDiffCodeTableData::kDefaultCodeTableData), in InitCustomCodeTable() 776 sizeof(VCDiffCodeTableData::kDefaultCodeTableData)); in InitCustomCodeTable()
|
D | instruction_map_test.cc | 65 static VCDiffCodeTableData* g_exercise_code_table_; 76 VCDiffCodeTableData* InstructionMapTest::g_exercise_code_table_ = NULL; 81 g_exercise_code_table_ = new VCDiffCodeTableData; in SetUpTestCase() 109 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); in SetUpTestCase() 111 EXPECT_TRUE(VCDiffCodeTableData::kDefaultCodeTableData.Validate()); in SetUpTestCase() 623 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); in TEST_F()
|