/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFDynObjReader.cpp | 45 bool ELFDynObjReader::isMyFormat(Input& pInput, bool& pContinue) const { argument 46 assert(pInput.hasMemArea()); 51 if (pInput.memArea()->size() < hdr_size) 55 pInput.memArea()->request(pInput.fileOffset(), hdr_size); 76 bool ELFDynObjReader::readHeader(Input& pInput) { argument 77 assert(pInput.hasMemArea()); 81 pInput.memArea()->request(pInput.fileOffset(), hdr_size); 84 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hd 93 readSymbols(Input& pInput) argument [all...] |
H A D | ELFObjectReader.cpp | 62 bool ELFObjectReader::isMyFormat(Input& pInput, bool& pContinue) const { argument 63 assert(pInput.hasMemArea()); 68 if (pInput.memArea()->size() < hdr_size) 72 pInput.memArea()->request(pInput.fileOffset(), hdr_size); 93 bool ELFObjectReader::readHeader(Input& pInput) { argument 94 assert(pInput.hasMemArea()); 97 if (pInput.memArea()->size() < hdr_size) 101 pInput.memArea()->request(pInput 109 readSections(Input& pInput) argument 276 readSymbols(Input& pInput) argument 303 readRelocations(Input& pInput) argument [all...] |
H A D | ELFBinaryReader.cpp | 35 bool ELFBinaryReader::isMyFormat(Input& pInput, bool& pContinue) const { argument 40 bool ELFBinaryReader::readBinary(Input& pInput) { argument 43 pInput, "", LDFileFormat::Null, llvm::ELF::SHT_NULL, 0x0); 47 m_Builder.CreateELFHeader(pInput, 54 size_t data_size = pInput.memArea()->size(); 55 Fragment* frag = m_Builder.CreateRegion(pInput, 0x0, data_size); 60 pInput, ".shstrtab", LDFileFormat::NamePool, llvm::ELF::SHT_STRTAB, 0x1); 63 m_Builder.CreateELFHeader(pInput, 70 m_Builder.AddSymbol(pInput, 81 std::string mangled_name = pInput [all...] |
H A D | BSDArchiveReader.cpp | 27 bool BSDArchiveReader::isMyFormat(Input& pInput, bool& pContinue) const { argument
|
H A D | ELFReaderIf.cpp | 47 const Input& pInput) const { 54 if (pInput.context()->getSection(pShndx) == NULL || 55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) 95 FragmentRef* ELFReaderIF::getSymFragmentRef(Input& pInput, argument 98 if (pInput.type() == Input::DynObj) 107 LDSection* sect_hdr = pInput.context()->getSection(pShndx); 111 << pShndx << pInput.path().native(); 130 const Input& pInput) const { 131 if (pInput.type() == Input::Object) {
|
H A D | ELFReader.cpp | 54 bool ELFReader<32, true>::readRegularSection(Input& pInput, argument 56 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); 59 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); 65 bool ELFReader<32, true>::readSymbols(Input& pInput, argument 82 pInput.context()->addSymbol(LDSymbol::Null()); 86 bool is_dyn_obj = (pInput.type() == Input::DynObj); 105 if (pInput.type() == Input::Object && st_shndx < llvm::ELF::SHN_LORESERVE && 107 if (pInput.context()->getSection(st_shndx) == NULL) 115 ResolveInfo::Desc ld_desc = getSymDesc(st_shndx, pInput); 122 uint64_t ld_value = getSymValue(st_value, st_shndx, pInput); 204 readRela(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument 233 readRel(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument 303 readSectionHeaders(Input& pInput, const void* pELFHeader) const argument 431 readSignature(Input& pInput, LDSection& pSymTab, uint32_t pSymIdx) const argument 554 readRegularSection(Input& pInput, SectionData& pSD) const argument 565 readSymbols(Input& pInput, IRBuilder& pBuilder, llvm::StringRef pRegion, const char* pStrTab) const argument 699 readRela(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument 728 readRel(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument 797 readSectionHeaders(Input& pInput, const void* pELFHeader) const argument 925 readSignature(Input& pInput, LDSection& pSymTab, uint32_t pSymIdx) const argument [all...] |
H A D | Relocator.cpp | 55 Input& pInput) { 70 fatal(diag::undefined_reference) << reloc_sym << pInput.path() << sect_name 77 for (LDContext::sym_iterator i = pInput.context()->symTabBegin(), 78 e = pInput.context()->symTabEnd(); 95 fatal(diag::undefined_reference_text) << reloc_sym << pInput.path() 53 issueUndefRef(Relocation& pReloc, LDSection& pSection, Input& pInput) argument
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsAbiFlags.h | 34 static bool fillBySection(const Input& pInput, const LDSection& pSection, 38 static bool fillByElfFlags(const Input& pInput, uint64_t elfFlags, 42 static bool isCompatible(const Input& pInput, const MipsAbiFlags& elf, 46 static bool merge(const Input& pInput, MipsAbiFlags& oldFlags,
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFBinaryReader.h | 29 bool isMyFormat(Input& pInput, bool& pContinue) const; 31 bool readBinary(Input& pInput);
|
H A D | ELFReaderIf.h | 56 virtual bool readSectionHeaders(Input& pInput, 60 virtual bool readRegularSection(Input& pInput, SectionData& pSD) const = 0; 63 virtual bool readSymbols(Input& pInput, 70 virtual ResolveInfo* readSignature(Input& pInput, 75 virtual bool readRela(Input& pInput, 80 virtual bool readRel(Input& pInput, 85 virtual bool readDynamic(Input& pInput) const = 0; 100 ResolveInfo::Desc getSymDesc(uint16_t pShndx, const Input& pInput) const; 108 const Input& pInput) const; 110 FragmentRef* getSymFragmentRef(Input& pInput, [all...] |
H A D | ELFReader.h | 66 bool readSectionHeaders(Input& pInput, const void* pELFHeader) const; 69 bool readRegularSection(Input& pInput, SectionData& pSD) const; 72 bool readSymbols(Input& pInput, 79 ResolveInfo* readSignature(Input& pInput, 84 bool readRela(Input& pInput, 89 bool readRel(Input& pInput, 94 bool readDynamic(Input& pInput) const; 151 bool readSectionHeaders(Input& pInput, const void* pELFHeader) const; 154 bool readRegularSection(Input& pInput, SectionData& pSD) const; 157 bool readSymbols(Input& pInput, [all...] |
H A D | Relocator.h | 50 /// @param pInput - the input file of relocation 55 Input& pInput) = 0; 62 /// @ param pInput - the input file of relocation 65 Input& pInput); 67 /// initializeScan - do initialization before scan relocations in pInput 69 virtual bool initializeScan(Input& pInput) { return true; } argument 71 /// finalizeScan - do finalization after scan relocations in pInput 73 virtual bool finalizeScan(Input& pInput) { return true; } argument 75 /// initializeApply - do initialization before apply relocations in pInput 77 virtual bool initializeApply(Input& pInput) { retur argument 81 finalizeApply(Input& pInput) argument [all...] |
H A D | BSDArchiveReader.h | 29 bool isMyFormat(Input& pInput, bool& pContinue) const;
|
H A D | BinaryReader.h | 25 virtual bool isMyFormat(Input& pInput, bool& pContinue) const { argument
|
H A D | LDReader.h | 30 virtual bool isMyFormat(Input& pInput, bool& pContinue) const = 0;
|
H A D | DiagnosticPrinter.h | 27 virtual void beginInput(const Input& pInput, const LinkerConfig& pConfig) {} argument
|
H A D | ELFDynObjReader.h | 38 bool readSymbols(Input& pInput);
|
H A D | TextDiagnosticPrinter.h | 34 virtual void beginInput(const Input& pInput, const LinkerConfig& pConfig);
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | InputBuilder.cpp | 102 bool InputBuilder::setContext(Input& pInput, bool pCheck) { argument 107 if (pInput.fileOffset() != 0 || !pCheck) { 108 // pInput is an object in an archive file. Produce a new context in this 112 // Using pInput.path() to avoid from creating context for identical file 114 context = m_pContextFactory->produce(pInput.path()); 117 pInput.setContext(context); 121 bool InputBuilder::setMemory(Input& pInput, argument 124 MemoryArea* memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm); 125 pInput.setMemArea(memory); 129 bool InputBuilder::setMemory(Input& pInput, voi argument [all...] |
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | ELFAttributeData.h | 60 virtual bool preMerge(const Input& pInput) { return true; } argument 64 const Input& pInput, 70 virtual bool postMerge(const LinkerConfig& pConfig, const Input& pInput) { argument
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
H A D | LVREV_Process.c | 55 LVM_INT32 *pInput = (LVM_INT32 *)pInData; local 103 if(pInput != pOutput) 110 MonoTo2I_32(pInput, pOutput, NumSamples); 112 Copy_16((LVM_INT16 *)pInput, 145 ReverbBlock(pInput, pOutput, pLVREV_Private, (LVM_UINT16)SamplesToProcess); 147 pInput = (LVM_INT32 *)(pInput +(SamplesToProcess*format)); 179 void ReverbBlock(LVM_INT32 *pInput, LVM_INT32 *pOutput, LVREV_Instance_st *pPrivate, LVM_UINT16 NumSamples) argument 219 pIn = pInput; 227 From2iToMono_32( pInput, [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.cpp | 58 uint8* const pInput = static_cast<uint8*>(env->GetDirectBufferAddress(input)); local 63 uint8* pInY = pInput; 64 uint8* pInU = pInput + size; 65 uint8* pInV = pInput + size + size / 4; 97 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); local 101 Rgba color_in = *pInput++; 112 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); local 118 Rgba color_in = *pInput++; 155 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); local 160 Rgba color_in = *pInput [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMException.cpp | 34 void ARMExData::addInputMap(Input* pInput, argument 36 assert(m_Inputs.find(pInput) == m_Inputs.end() && 42 m_Inputs.insert(std::make_pair(pInput, std::move(pExMap))); 62 std::unique_ptr<ARMInputExMap> ARMInputExMap::create(Input& pInput) { argument 66 LDContext* ctx = pInput.context(); 75 fatal(diag::eh_missing_text_section) << sect->name() << pInput.name();
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
H A D | LVCS_ReverbGenerator.h | 82 const LVM_INT16 *pInput,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | H264SwDecApi.c | 323 pInput pointer to input struct 347 H264SwDecRet H264SwDecDecode(H264SwDecInst decInst, H264SwDecInput *pInput, argument 361 if (pInput == NULL || pOutput == NULL) 363 DEC_API_TRC("H264SwDecDecode# ERROR: pInput or pOutput is NULL"); 367 if ((pInput->pStream == NULL) || (pInput->dataLen == 0)) 388 sprintf(pDecCont->str, "H264SwDecDecode# decInst %p pInput %p pOutput %p", 389 decInst, (void*)pInput, (void*)pOutput); 396 strmLen = pInput->dataLen; 397 tmpStream = pInput [all...] |