Home
last modified time | relevance | path

Searched refs:VCDiffCodeTableData (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/sdch/open-vcdiff/src/
Dinstruction_map.cc31 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()
Dcodetable_test.cc29 : 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;
Ddecodetable.h52 bool UseCodeTable(const VCDiffCodeTableData& code_table_data,
128 const VCDiffCodeTableData* code_table_data_;
137 std::auto_ptr<VCDiffCodeTableData> non_default_code_table_data_;
Ddecodetable.cc29 : 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()
Ddecodetable_test.cc57 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()
Dcodetable.h74 struct VCDiffCodeTableData { struct
77 static const VCDiffCodeTableData kDefaultCodeTableData; argument
Dvcdecoder4_test.cc838 (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 …]
Dencodetable.cc61 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()
Dcodetable.cc54 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()
Dinstruction_map.h49 VCDiffInstructionMap(const VCDiffCodeTableData& code_table_data,
191 OpcodeOrNone** second_opcodes_[VCDiffCodeTableData::kCodeTableSize];
Dencodetable.h71 const VCDiffCodeTableData& code_table_data,
195 const VCDiffCodeTableData* code_table_data_;
Dencodetable_test.cc65 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_;
Dvcdecoder.cc104 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()
Dinstruction_map_test.cc65 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()