/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspInitPei/ |
FindPeiCore.c | 42 EFI_COMMON_SECTION_HEADER *Section;
97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress;
99 if (IS_SECTION2 (Section)) {
100 Size = SECTION2_SIZE (Section);
105 Size = SECTION_SIZE (Section);
119 if (Section->Type == EFI_SECTION_PE32 || Section->Type == EFI_SECTION_TE) {
121 if (IS_SECTION2 (Section)) {
122 *SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER2));
124 *SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER)); [all...] |
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspWrapperSecCore/ |
FindPeiCore.c | 42 EFI_COMMON_SECTION_HEADER *Section;
97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress;
99 if (IS_SECTION2 (Section)) {
100 Size = SECTION2_SIZE (Section);
105 Size = SECTION_SIZE (Section);
119 if (Section->Type == EFI_SECTION_PE32 || Section->Type == EFI_SECTION_TE) {
121 if (IS_SECTION2 (Section)) {
122 *SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER2));
124 *SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER)); [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/SecCore/ |
FindPeiCore.c | 42 EFI_COMMON_SECTION_HEADER *Section;
97 Section = (EFI_COMMON_SECTION_HEADER*)(UINTN) CurrentAddress;
99 if (IS_SECTION2 (Section)) {
100 Size = SECTION2_SIZE (Section);
105 Size = SECTION_SIZE (Section);
119 if (Section->Type == EFI_SECTION_PE32 || Section->Type == EFI_SECTION_TE) {
121 if (IS_SECTION2 (Section)) {
122 *SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER2));
124 *SecCoreImageBase = (PHYSICAL_ADDRESS) (UINTN) ((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER)); [all...] |
/external/icu/icu4c/source/i18n/ |
number_roundingutils.h | 17 enum Section { 34 * @param section Whether the part of the quantity to the right of the rounding magnitude is 45 getRoundingDirection(bool isEven, bool isNegative, Section section, RoundingMode roundingMode, 65 switch (section) { 78 switch (section) { 91 switch (section) {
|
/external/llvm/lib/MC/ |
ConstantPools.cpp | 50 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { 51 ConstantPoolMapTy::iterator CP = ConstantPools.find(Section); 59 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { 60 return ConstantPools[Section]; 63 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, 66 Streamer.SwitchSection(Section); 74 MCSection *Section = CPI.first; 77 emitConstantPool(Streamer, Section, CP); 82 MCSection *Section = Streamer.getCurrentSection().first; 83 if (ConstantPool *CP = getConstantPool(Section)) { [all...] |
/external/swiftshader/third_party/LLVM/lib/MC/ |
MCSymbol.cpp | 16 // Sentinel value for the absolute pseudo section. 61 // Variables should always be marked as in the same "section" as the value. 62 const MCSection *Section = Value->FindAssociatedSection(); 63 if (Section) { 64 setSection(*Section);
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
SpecialCaseList.h | 16 // entries below it apply to. Section names are regular expressions, and 17 // entries without a section header match all sections (e.g. an '[*]' header 88 /// where @Query satisfies wildcard expression <E> in a given @Section. 89 bool inSection(StringRef Section, StringRef Prefix, StringRef Query, 122 struct Section { 123 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; 129 std::vector<Section> Sections; 140 // once they have already resolved a section entry.
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
SpecialCaseList.h | 16 // entries below it apply to. Section names are regular expressions, and 17 // entries without a section header match all sections (e.g. an '[*]' header 88 /// where @Query satisfies wildcard expression <E> in a given @Section. 89 bool inSection(StringRef Section, StringRef Prefix, StringRef Query, 122 struct Section { 123 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; 129 std::vector<Section> Sections; 140 // once they have already resolved a section entry.
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
SpecialCaseList.h | 16 // entries below it apply to. Section names are regular expressions, and 17 // entries without a section header match all sections (e.g. an '[*]' header 88 /// where @Query satisfies wildcard expression <E> in a given @Section. 89 bool inSection(StringRef Section, StringRef Prefix, StringRef Query, 122 struct Section { 123 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; 129 std::vector<Section> Sections; 140 // once they have already resolved a section entry.
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
SpecialCaseList.h | 16 // entries below it apply to. Section names are regular expressions, and 17 // entries without a section header match all sections (e.g. an '[*]' header 88 /// where @Query satisfies wildcard expression <E> in a given @Section. 89 bool inSection(StringRef Section, StringRef Prefix, StringRef Query, 122 struct Section { 123 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; 129 std::vector<Section> Sections; 140 // once they have already resolved a section entry.
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
SpecialCaseList.h | 16 // entries below it apply to. Section names are regular expressions, and 17 // entries without a section header match all sections (e.g. an '[*]' header 88 /// where @Query satisfies wildcard expression <E> in a given @Section. 89 bool inSection(StringRef Section, StringRef Prefix, StringRef Query, 122 struct Section { 123 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; 129 std::vector<Section> Sections; 140 // once they have already resolved a section entry.
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
SpecialCaseList.h | 16 // entries below it apply to. Section names are regular expressions, and 17 // entries without a section header match all sections (e.g. an '[*]' header 88 /// where @Query satisfies wildcard expression <E> in a given @Section. 89 bool inSection(StringRef Section, StringRef Prefix, StringRef Query, 122 struct Section { 123 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; 129 std::vector<Section> Sections; 140 // once they have already resolved a section entry.
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/ |
SpecialCaseList.h | 16 // entries below it apply to. Section names are regular expressions, and 17 // entries without a section header match all sections (e.g. an '[*]' header 88 /// where @Query satisfies wildcard expression <E> in a given @Section. 89 bool inSection(StringRef Section, StringRef Prefix, StringRef Query, 122 struct Section { 123 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; 129 std::vector<Section> Sections; 140 // once they have already resolved a section entry.
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/ |
SpecialCaseList.h | 16 // entries below it apply to. Section names are regular expressions, and 17 // entries without a section header match all sections (e.g. an '[*]' header 88 /// where @Query satisfies wildcard expression <E> in a given @Section. 89 bool inSection(StringRef Section, StringRef Prefix, StringRef Query, 122 struct Section { 123 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; 129 std::vector<Section> Sections; 140 // once they have already resolved a section entry.
|
/prebuilts/go/darwin-x86/src/debug/plan9obj/ |
file.go | 29 Sections []*Section 33 // A SectionHeader represents a single Plan 9 a.out section header. 42 // A Section represents a single section in a Plan 9 a.out file. 43 type Section struct { 56 // Data reads and returns the contents of the Plan 9 a.out section. 57 func (s *Section) Data() ([]byte, error) { 66 // Open returns a new ReadSeeker reading the Plan 9 a.out section. 67 func (s *Section) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) } 69 // A Symbol represents an entry in a Plan 9 a.out symbol table section [all...] |
/prebuilts/go/linux-x86/src/debug/plan9obj/ |
file.go | 29 Sections []*Section 33 // A SectionHeader represents a single Plan 9 a.out section header. 42 // A Section represents a single section in a Plan 9 a.out file. 43 type Section struct { 56 // Data reads and returns the contents of the Plan 9 a.out section. 57 func (s *Section) Data() ([]byte, error) { 66 // Open returns a new ReadSeeker reading the Plan 9 a.out section. 67 func (s *Section) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) } 69 // A Symbol represents an entry in a Plan 9 a.out symbol table section [all...] |
/external/google-breakpad/src/common/ |
test_assembler.h | 74 // section. As long as all the labels a section refers to are defined 76 // labels freely in that section's construction. 247 // A section is a sequence of bytes, constructed by appending bytes 253 // If you need to append a value to a section that is not convenient 255 // label's value to the section, and then set the label's value 257 // known, the section class takes care of updating all previously 260 // Once all the labels to which a section refers have had their 261 // values determined, you can get a copy of the section's contents 264 // Note that there is no specified "start of section" label. This i [all...] |
/build/soong/cmd/symbol_inject/ |
symbol_inject.go | 185 // Find the next symbol (n the same section with a higher address 188 if file.Symbols[n].Section != symbol.Section { 203 end = symbol.Section.Size 213 offset := symbol.Section.Offset + symbol.Addr 225 Sections []*Section 230 Addr uint64 // Address of the symbol inside the section. 232 Section *Section 235 type Section struct [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
MeasureBootPeCoff.c | 112 EFI_IMAGE_SECTION_HEADER *Section;
330 // 12. Using the 'PointerToRawData' in the referenced section headers as
332 // words, sort the section headers according to the disk-file offset of
333 // the section.
335 Section = (EFI_IMAGE_SECTION_HEADER *) (
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
349 Section += 1;
353 // 13. Walk through the sorted table, bring the corresponding section
354 // into memory, and hash the entire section (using the 'SizeOfRawData' [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
MeasureBootPeCoff.c | 112 EFI_IMAGE_SECTION_HEADER *Section;
330 // 12. Using the 'PointerToRawData' in the referenced section headers as
332 // words, sort the section headers according to the disk-file offset of
333 // the section.
335 Section = (EFI_IMAGE_SECTION_HEADER *) (
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
349 Section += 1;
353 // 13. Walk through the sorted table, bring the corresponding section
354 // into memory, and hash the entire section (using the 'SizeOfRawData' [all...] |
/external/google-breakpad/src/processor/ |
synth_minidump.cc | 40 Section::Section(const Dump &dump) 41 : test_assembler::Section(dump.endianness()) { } 43 void Section::CiteLocationIn(test_assembler::Section *section) const { 45 (*section).D32(size_).D32(file_offset_); 47 (*section).D32(0).D32(0); 50 void Stream::CiteStreamIn(test_assembler::Section *section) const [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldCOFFI386.h | 56 auto Section = *SectionOrErr; 83 DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset 88 if (Section == Obj.section_end()) { 93 findOrEmitSection(Obj, *Section, Section->isText(), ObjSectionToID)) 133 const auto Section = Sections[RE.SectionID]; 134 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); 160 // NOTE: use Section[0].getLoadAddress() as an approximation of ImageBase 180 Result = Result - Section.getLoadAddress() + RE.Addend - 4 - RE.Offset; 193 // 16-bit section index of the section that contains the target [all...] |
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
HexagonMCELFStreamer.cpp | 110 MCSection &Section = *getAssembler().getContext().getELFSection( 113 SwitchSection(&Section); 119 // Update the maximum alignment of the section if necessary. 120 if (ByteAlignment > Section.getAlignment()) 121 Section.setAlignment(ByteAlignment);
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
AsmPrinterDwarf.cpp | 171 /// section. This can be done with a special directive if the target supports 173 /// of the section. 175 /// SectionLabel is a temporary label emitted at the start of the section that 186 // Get the section that we're referring to, based on SectionLabel. 187 const MCSection &Section = SectionLabel->getSection(); 189 // If Label has already been emitted, verify that it is in the same section as 190 // section label for sanity. 191 assert((!Label->isInSection() || &Label->getSection() == &Section) && 192 "Section offset using wrong section base for label") [all...] |
/prebuilts/go/darwin-x86/src/debug/pe/ |
file.go | 23 Sections []*Section 141 f.Sections = make([]*Section, f.FileHeader.NumberOfSections) 151 s := new(Section) 195 func getString(section []byte, start int) (string, bool) { 196 if start < 0 || start >= len(section) { 200 for end := start; end < len(section); end++ { 201 if section[end] == 0 { 202 return string(section[start:end]), true 208 // Section returns the first section with the given name, or nil if no suc [all...] |