Searched refs:VCDiffCodeTableData (Results 1 - 14 of 14) sorted by relevance
/external/chromium/sdch/open-vcdiff/src/ |
H A D | codetable.h | 52 // struct VCDiffCodeTableData: 74 struct VCDiffCodeTableData { struct in namespace:open_vcdiff 77 static const VCDiffCodeTableData kDefaultCodeTableData; 79 // Validates that the data contained in the VCDiffCodeTableData structure
|
H A D | decodetable.cc | 17 // as VCDIFF instruction types, based on a VCDiffCodeTableData structure. 29 : code_table_data_(&VCDiffCodeTableData::kDefaultCodeTableData), 39 const VCDiffCodeTableData& code_table_data, unsigned char max_mode) { 42 non_default_code_table_data_.reset(new VCDiffCodeTableData);
|
H A 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_;
|
H A D | instruction_map.cc | 31 VCDiffCodeTableData::kDefaultCodeTableData, 38 const unsigned char size_array[VCDiffCodeTableData::kCodeTableSize]) { 40 for (int i = 1; i < VCDiffCodeTableData::kCodeTableSize; ++i) { 90 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { 152 const VCDiffCodeTableData& code_table_data, 159 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { 179 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) {
|
H A D | instruction_map.h | 17 // VCDiffCodeTableData is the same as the format given in section 7 22 // using a VCDiffCodeTableData. For a custom code table, it is recommended 23 // that the VCDiffCodeTableData be defined as a static struct and that the 35 // An alternate representation of the data in a VCDiffCodeTableData that 49 VCDiffInstructionMap(const VCDiffCodeTableData& code_table_data, 191 OpcodeOrNone** second_opcodes_[VCDiffCodeTableData::kCodeTableSize];
|
H A D | codetable_test.cc | 16 // Unit tests for struct VCDiffCodeTableData, found in codetable.h. 29 : code_table_data_(VCDiffCodeTableData::kDefaultCodeTableData) { } 54 g_exercise_code_table_ = new VCDiffCodeTableData; 82 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); 84 EXPECT_TRUE(VCDiffCodeTableData::kDefaultCodeTableData.Validate()); 120 static VCDiffCodeTableData* g_exercise_code_table_; 123 VCDiffCodeTableData code_table_data_; 126 VCDiffCodeTableData* CodeTableTest::g_exercise_code_table_ = NULL;
|
H A D | encodetable.h | 72 const VCDiffCodeTableData& code_table_data, 194 const VCDiffCodeTableData* code_table_data_;
|
H A D | decodetable_test.cc | 57 g_exercise_code_table_ = new VCDiffCodeTableData; 83 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); 84 EXPECT_TRUE(VCDiffCodeTableData::kDefaultCodeTableData.Validate()); 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) { 448 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode);
|
H A D | encodetable.cc | 44 code_table_data_(&VCDiffCodeTableData::kDefaultCodeTableData), 57 const VCDiffCodeTableData& code_table_data, 72 if (code_table_data_ != &VCDiffCodeTableData::kDefaultCodeTableData) { 90 if (code_table_data_ == &VCDiffCodeTableData::kDefaultCodeTableData) {
|
H A D | codetable.cc | 51 // struct VCDiffCodeTableData), which allows for a compact 54 const VCDiffCodeTableData VCDiffCodeTableData::kDefaultCodeTableData = 188 bool VCDiffCodeTableData::ValidateOpcode(int opcode, 233 bool VCDiffCodeTableData::Validate(unsigned char max_mode) const { 275 bool VCDiffCodeTableData::Validate() const {
|
H A D | vcdecoder4_test.cc | 837 (sizeof(VCDiffCodeTableData) >> 7) | 0x80, // First byte of table length 838 sizeof(VCDiffCodeTableData) & 0x7F, // Second byte of table length 841 (sizeof(VCDiffCodeTableData) >> 7) | 0x80, // First byte of table length 842 sizeof(VCDiffCodeTableData) & 0x7F, // Second byte of table length 937 VCDiffCodeTableData custom_code_table( 938 VCDiffCodeTableData::kDefaultCodeTableData); 947 &VCDiffCodeTableData::kDefaultCodeTableData), 948 sizeof(VCDiffCodeTableData::kDefaultCodeTableData)); 954 const VCDiffCodeTableData* decoded_table = 955 reinterpret_cast<const VCDiffCodeTableData*>(output [all...] |
H A D | encodetable_test.cc | 66 g_exercise_code_table_ = new VCDiffCodeTableData; 94 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); 145 static VCDiffCodeTableData* g_exercise_code_table_; 163 VCDiffCodeTableData* CodeTableWriterTest::g_exercise_code_table_;
|
H A 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; 109 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); 111 EXPECT_TRUE(VCDiffCodeTableData::kDefaultCodeTableData.Validate()); 623 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode);
|
H A D | vcdecoder.cc | 103 bool UseCodeTable(const VCDiffCodeTableData& code_table_data, 553 std::auto_ptr<VCDiffCodeTableData> custom_code_table_; 758 custom_code_table_.reset(new struct VCDiffCodeTableData); 759 memset(custom_code_table_.get(), 0, sizeof(struct VCDiffCodeTableData)); 774 &VCDiffCodeTableData::kDefaultCodeTableData), 775 sizeof(VCDiffCodeTableData::kDefaultCodeTableData));
|
Completed in 95 milliseconds