Home
last modified time | relevance | path

Searched refs:OffsetToPointer (Results 1 – 13 of 13) sorted by relevance

/external/protobuf/src/google/protobuf/
Ddynamic_message.cc209 inline void* OffsetToPointer(int offset) { in OffsetToPointer() function in google::protobuf::DynamicMessage
212 inline const void* OffsetToPointer(int offset) const { in OffsetToPointer() function in google::protobuf::DynamicMessage
236 new(OffsetToPointer(type_info_->unknown_fields_offset)) UnknownFieldSet; in DynamicMessage()
239 new(OffsetToPointer(type_info_->extensions_offset)) ExtensionSet; in DynamicMessage()
244 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); in DynamicMessage()
282 type_info_->prototype->OffsetToPointer( in DynamicMessage()
309 OffsetToPointer(type_info_->unknown_fields_offset))->~UnknownFieldSet(); in ~DynamicMessage()
313 OffsetToPointer(type_info_->extensions_offset))->~ExtensionSet(); in ~DynamicMessage()
324 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); in ~DynamicMessage()
391 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); in CrossLinkPrototypes()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Ddynamic_message.cc221 inline void* OffsetToPointer(int offset) { in OffsetToPointer() function in google::protobuf::DynamicMessage
224 inline const void* OffsetToPointer(int offset) const { in OffsetToPointer() function in google::protobuf::DynamicMessage
248 new(OffsetToPointer(type_info_->unknown_fields_offset)) UnknownFieldSet; in DynamicMessage()
251 new(OffsetToPointer(type_info_->extensions_offset)) ExtensionSet; in DynamicMessage()
256 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); in DynamicMessage()
294 type_info_->prototype->OffsetToPointer( in DynamicMessage()
321 OffsetToPointer(type_info_->unknown_fields_offset))->~UnknownFieldSet(); in ~DynamicMessage()
325 OffsetToPointer(type_info_->extensions_offset))->~ExtensionSet(); in ~DynamicMessage()
336 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); in ~DynamicMessage()
404 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); in CrossLinkPrototypes()
/external/chromium_org/courgette/
Ddisassembler_elf_32_x86.cc89 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset); in ParseRelocationSection()
123 const uint8* start_pointer = OffsetToPointer(start_file_offset); in ParseRel32RelocsFromSection()
124 const uint8* end_pointer = OffsetToPointer(end_file_offset); in ParseRel32RelocsFromSection()
Ddisassembler_win32_x86.cc63 const uint8* const pe_header = OffsetToPointer(offset); in ParseHeader()
322 return OffsetToPointer(file_offset); in RVAToPointer()
433 const uint8* start_pointer = OffsetToPointer(start_file_offset); in ParseRel32RelocsFromSection()
434 const uint8* end_pointer = OffsetToPointer(end_file_offset); in ParseRel32RelocsFromSection()
517 const uint8* start = OffsetToPointer(start_file_offset); in ParseNonSectionFileRegion()
518 const uint8* end = OffsetToPointer(end_file_offset); in ParseNonSectionFileRegion()
537 const uint8* start_pointer = OffsetToPointer(start_file_offset); in ParseFileRegion()
538 const uint8* end_pointer = OffsetToPointer(end_file_offset); in ParseFileRegion()
Ddisassembler_win32_x64.cc63 const uint8* const pe_header = OffsetToPointer(offset); in ParseHeader()
322 return OffsetToPointer(file_offset); in RVAToPointer()
433 const uint8* start_pointer = OffsetToPointer(start_file_offset); in ParseRel32RelocsFromSection()
434 const uint8* end_pointer = OffsetToPointer(end_file_offset); in ParseRel32RelocsFromSection()
517 const uint8* start = OffsetToPointer(start_file_offset); in ParseNonSectionFileRegion()
518 const uint8* end = OffsetToPointer(end_file_offset); in ParseNonSectionFileRegion()
537 const uint8* start_pointer = OffsetToPointer(start_file_offset); in ParseFileRegion()
538 const uint8* end_pointer = OffsetToPointer(end_file_offset); in ParseFileRegion()
Ddisassembler_elf_32.cc60 section_header_table_ = (Elf32_Shdr *)OffsetToPointer(header_->e_shoff); in ParseHeader()
69 program_header_table_ = (Elf32_Phdr *)OffsetToPointer(header_->e_phoff); in ParseHeader()
373 const uint8* p = OffsetToPointer(file_offset); in ParseProgbitsSection()
409 const uint8* start = OffsetToPointer(start_file_offset); in ParseSimpleRegion()
410 const uint8* end = OffsetToPointer(end_file_offset); in ParseSimpleRegion()
Ddisassembler_elf_32_arm.cc324 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset); in ParseRelocationSection()
373 const uint8* start_pointer = OffsetToPointer(start_file_offset); in ParseRel32RelocsFromSection()
374 const uint8* end_pointer = OffsetToPointer(end_file_offset); in ParseRel32RelocsFromSection()
Ddisassembler.h49 const uint8* OffsetToPointer(size_t offset) const;
Ddisassembler.cc112 const uint8* Disassembler::OffsetToPointer(size_t offset) const { in OffsetToPointer() function in courgette::Disassembler
Ddisassembler_elf_32_x86_unittest.cc33 const uint8* offset_p = disassembler->OffsetToPointer(0); in TestExe()
Ddisassembler_win32_x64_unittest.cc45 const uint8* offset_p = disassembler->OffsetToPointer(0); in TestExe()
Ddisassembler_win32_x86_unittest.cc45 const uint8* offset_p = disassembler->OffsetToPointer(0); in TestExe()
Ddisassembler_elf_32.h113 return OffsetToPointer(SectionHeader(id)->sh_offset); in SectionBody()