Home
last modified time | relevance | path

Searched refs:data_ptr (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dleb128_test.cc99 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST() local
103 EXPECT_EQ(data_ptr[j], encoded_data_ptr[j]) << " i = " << i << " j = " << j; in TEST()
105 EXPECT_EQ(data_ptr[j], 0U) << " i = " << i << " j = " << j; in TEST()
108 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()
119 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST() local
122 EXPECT_EQ(data_ptr[j], encoded_data[j]) << " i = " << i << " j = " << j; in TEST()
124 EXPECT_EQ(data_ptr[j], 0U) << " i = " << i << " j = " << j; in TEST()
127 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; in TEST()
139 const uint8_t* data_ptr = &uleb128_tests[i].leb128_data[0]; in TEST() local
141 EXPECT_EQ(data_ptr[j], encoded_data_ptr[j]) << " i = " << i << " j = " << j; in TEST()
[all …]
Doat.cc480 char* data_ptr = reinterpret_cast<char*>(&key_value_store_); in Flatten() local
485 strcpy(data_ptr, it->first.c_str()); in Flatten()
486 data_ptr += it->first.length() + 1; in Flatten()
487 strcpy(data_ptr, it->second.c_str()); in Flatten()
488 data_ptr += it->second.length() + 1; in Flatten()
491 key_value_store_size_ = data_ptr - reinterpret_cast<char*>(&key_value_store_); in Flatten()
/art/compiler/optimizing/
Dcode_generator.cc322 uint8_t* data_ptr = &(*data)[0]; in BuildMappingTable() local
323 uint8_t* write_pos = data_ptr; in BuildMappingTable()
326 DCHECK_EQ(static_cast<size_t>(write_pos - data_ptr), hdr_data_size); in BuildMappingTable()
339 DCHECK_EQ(static_cast<size_t>(write_pos - data_ptr), hdr_data_size + pc2dex_data_size); in BuildMappingTable()
340 DCHECK_EQ(static_cast<size_t>(write_pos2 - data_ptr), data_size); in BuildMappingTable()
344 MappingTable table(data_ptr); in BuildMappingTable()