/frameworks/compile/mclinker/lib/LD/ |
D | ELFObjectReader.cpp | 62 bool ELFObjectReader::isMyFormat(Input& pInput, bool& pContinue) const { in isMyFormat() argument 63 assert(pInput.hasMemArea()); in isMyFormat() 68 if (pInput.memArea()->size() < hdr_size) in isMyFormat() 72 pInput.memArea()->request(pInput.fileOffset(), hdr_size); in isMyFormat() 93 bool ELFObjectReader::readHeader(Input& pInput) { in readHeader() argument 94 assert(pInput.hasMemArea()); in readHeader() 97 if (pInput.memArea()->size() < hdr_size) in readHeader() 101 pInput.memArea()->request(pInput.fileOffset(), hdr_size); in readHeader() 103 m_Backend.mergeFlags(pInput, ELF_hdr); in readHeader() 104 bool result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr); in readHeader() [all …]
|
D | ELFDynObjReader.cpp | 45 bool ELFDynObjReader::isMyFormat(Input& pInput, bool& pContinue) const { in isMyFormat() argument 46 assert(pInput.hasMemArea()); in isMyFormat() 51 if (pInput.memArea()->size() < hdr_size) in isMyFormat() 55 pInput.memArea()->request(pInput.fileOffset(), hdr_size); in isMyFormat() 76 bool ELFDynObjReader::readHeader(Input& pInput) { in readHeader() argument 77 assert(pInput.hasMemArea()); in readHeader() 81 pInput.memArea()->request(pInput.fileOffset(), hdr_size); in readHeader() 84 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr); in readHeader() 87 bool dyn_result = m_pELFReader->readDynamic(pInput); in readHeader() 93 bool ELFDynObjReader::readSymbols(Input& pInput) { in readSymbols() argument [all …]
|
D | ELFBinaryReader.cpp | 35 bool ELFBinaryReader::isMyFormat(Input& pInput, bool& pContinue) const { in isMyFormat() argument 40 bool ELFBinaryReader::readBinary(Input& pInput) { in readBinary() argument 43 pInput, "", LDFileFormat::Null, llvm::ELF::SHT_NULL, 0x0); in readBinary() 47 m_Builder.CreateELFHeader(pInput, in readBinary() 54 size_t data_size = pInput.memArea()->size(); in readBinary() 55 Fragment* frag = m_Builder.CreateRegion(pInput, 0x0, data_size); in readBinary() 60 pInput, ".shstrtab", LDFileFormat::NamePool, llvm::ELF::SHT_STRTAB, 0x1); in readBinary() 63 m_Builder.CreateELFHeader(pInput, in readBinary() 70 m_Builder.AddSymbol(pInput, in readBinary() 81 std::string mangled_name = pInput.path().filename().native(); in readBinary() [all …]
|
D | ELFReader.cpp | 54 bool ELFReader<32, true>::readRegularSection(Input& pInput, in readRegularSection() argument 56 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readRegularSection() 59 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); in readRegularSection() 65 bool ELFReader<32, true>::readSymbols(Input& pInput, in readSymbols() argument 82 pInput.context()->addSymbol(LDSymbol::Null()); in readSymbols() 86 bool is_dyn_obj = (pInput.type() == Input::DynObj); in readSymbols() 105 if (pInput.type() == Input::Object && st_shndx < llvm::ELF::SHN_LORESERVE && in readSymbols() 107 if (pInput.context()->getSection(st_shndx) == NULL) in readSymbols() 115 ResolveInfo::Desc ld_desc = getSymDesc(st_shndx, pInput); in readSymbols() 122 uint64_t ld_value = getSymValue(st_value, st_shndx, pInput); in readSymbols() [all …]
|
D | ELFReaderIf.cpp | 47 const Input& pInput) const { in getSymDesc() 54 if (pInput.context()->getSection(pShndx) == NULL || in getSymDesc() 55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) in getSymDesc() 95 FragmentRef* ELFReaderIF::getSymFragmentRef(Input& pInput, in getSymFragmentRef() argument 98 if (pInput.type() == Input::DynObj) in getSymFragmentRef() 107 LDSection* sect_hdr = pInput.context()->getSection(pShndx); in getSymFragmentRef() 111 << pShndx << pInput.path().native(); in getSymFragmentRef() 130 const Input& pInput) const { in getSymValue() 131 if (pInput.type() == Input::Object) { in getSymValue()
|
D | Relocator.cpp | 55 Input& pInput) { in issueUndefRef() argument 70 fatal(diag::undefined_reference) << reloc_sym << pInput.path() << sect_name in issueUndefRef() 77 for (LDContext::sym_iterator i = pInput.context()->symTabBegin(), in issueUndefRef() 78 e = pInput.context()->symTabEnd(); in issueUndefRef() 95 fatal(diag::undefined_reference_text) << reloc_sym << pInput.path() in issueUndefRef()
|
D | GNUArchiveReader.cpp | 42 bool GNUArchiveReader::isMyFormat(Input& pInput, bool& pContinue) const { in isMyFormat() argument 43 assert(pInput.hasMemArea()); in isMyFormat() 44 if (pInput.memArea()->size() < Archive::MAGIC_LEN) in isMyFormat() 48 pInput.memArea()->request(pInput.fileOffset(), Archive::MAGIC_LEN); in isMyFormat() 71 bool GNUArchiveReader::isThinArchive(Input& pInput) const { in isThinArchive() 72 assert(pInput.hasMemArea()); in isThinArchive() 74 pInput.memArea()->request(pInput.fileOffset(), Archive::MAGIC_LEN); in isThinArchive()
|
D | EhFrameReader.cpp | 89 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) { in read() argument 128 uint64_t file_off = pInput.fileOffset() + section.offset(); in read() 130 pInput.memArea()->request(file_off, section.size()); in read() 137 pInput.memArea()->request(token.file_off, token.size); in read() 141 debug(diag::debug_cannot_scan_eh) << pInput.name(); in read() 159 debug(diag::debug_cannot_parse_eh) << pInput.name(); in read()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
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 …]
|
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,
|
D | Relocator.h | 55 Input& pInput) = 0; 65 Input& pInput); 69 virtual bool initializeScan(Input& pInput) { return true; } in initializeScan() argument 73 virtual bool finalizeScan(Input& pInput) { return true; } in finalizeScan() argument 77 virtual bool initializeApply(Input& pInput) { return true; } in initializeApply() argument 81 virtual bool finalizeApply(Input& pInput) { return true; } in finalizeApply() argument
|
/frameworks/compile/mclinker/lib/MC/ |
D | InputBuilder.cpp | 102 bool InputBuilder::setContext(Input& pInput, bool pCheck) { in setContext() argument 107 if (pInput.fileOffset() != 0 || !pCheck) { in setContext() 114 context = m_pContextFactory->produce(pInput.path()); in setContext() 117 pInput.setContext(context); in setContext() 121 bool InputBuilder::setMemory(Input& pInput, in setMemory() argument 124 MemoryArea* memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm); in setMemory() 125 pInput.setMemArea(memory); in setMemory() 129 bool InputBuilder::setMemory(Input& pInput, void* pMemBuffer, size_t pSize) { in setMemory() argument 131 pInput.setMemArea(memory); in setMemory()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | colorspace.cpp | 58 uint8* const pInput = static_cast<uint8*>(env->GetDirectBufferAddress(input)); in JNI_COLORSPACE_METHOD() local 63 uint8* pInY = pInput; in JNI_COLORSPACE_METHOD() 64 uint8* pInU = pInput + size; in JNI_COLORSPACE_METHOD() 65 uint8* pInV = pInput + size + size / 4; in JNI_COLORSPACE_METHOD() 97 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); in JNI_COLORSPACE_METHOD() local 101 Rgba color_in = *pInput++; in JNI_COLORSPACE_METHOD() 112 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); in JNI_COLORSPACE_METHOD() local 118 Rgba color_in = *pInput++; in JNI_COLORSPACE_METHOD() 155 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); in JNI_COLORSPACE_METHOD() local 160 Rgba color_in = *pInput++; in JNI_COLORSPACE_METHOD()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
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,
|
D | MipsLDBackend.cpp | 431 void MipsGNULDBackend::mergeFlags(Input& pInput, const char* ELF_hdr) { in mergeFlags() argument 438 << (isInput64Bit ? "ELFCLASS64" : "ELFCLASS32") << pInput.name(); in mergeFlags() 442 m_ElfFlagsMap[&pInput] = in mergeFlags() 448 bool MipsGNULDBackend::readSection(Input& pInput, SectionData& pSD) { in readSection() argument 451 uint64_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readSection() 454 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); in readSection() 460 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readSection() 463 llvm::StringRef region = pInput.memArea()->request(offset, size); in readSection() 481 m_GP0Map[&pInput] = reg->ri_gp_value; in readSection() 485 m_GP0Map[&pInput] = reg->ri_gp_value; in readSection() [all …]
|
D | MipsAbiFlags.cpp | 48 bool MipsAbiFlags::fillBySection(const Input& pInput, const LDSection& pSection, in fillBySection() argument 54 error(diag::error_Mips_abiflags_invalid_size) << pInput.name(); in fillBySection() 60 error(diag::error_Mips_abiflags_invalid_size) << pInput.name(); in fillBySection() 69 << pInput.name(); in fillBySection() 183 bool MipsAbiFlags::fillByElfFlags(const Input& pInput, uint64_t elfFlags, in fillByElfFlags() argument 208 bool MipsAbiFlags::isCompatible(const Input& pInput, const MipsAbiFlags& elf, in isCompatible() argument 214 warning(diag::warn_Mips_isa_incompatible) << pInput.name(); in isCompatible() 218 warning(diag::warn_Mips_isa_ext_incompatible) << pInput.name(); in isCompatible() 222 warning(diag::warn_Mips_ases_incompatible) << pInput.name(); in isCompatible() 264 bool MipsAbiFlags::merge(const Input& pInput, MipsAbiFlags& oldFlags, in merge() argument [all …]
|
D | MipsLDBackend.h | 92 bool readSection(Input& pInput, SectionData& pSD); 130 uint64_t getTPOffset(const Input& pInput) const; 134 uint64_t getDTPOffset(const Input& pInput) const; 138 uint64_t getGP0(const Input& pInput) const; 225 bool mergeSection(Module& pModule, const Input& pInput, LDSection& pSection); 228 virtual void mergeFlags(Input& pInput, const char* ELF_hdr); 263 void saveTPOffset(const Input& pInput);
|
D | MipsRelocator.h | 48 Input& pInput); 52 bool initializeScan(Input& pInput); 56 bool finalizeScan(Input& pInput); 60 bool initializeApply(Input& pInput); 64 bool finalizeApply(Input& pInput);
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
D | LVREV_Process.c | 55 LVM_INT32 *pInput = (LVM_INT32 *)pInData; in LVREV_Process() local 103 if(pInput != pOutput) in LVREV_Process() 110 MonoTo2I_32(pInput, pOutput, NumSamples); in LVREV_Process() 112 Copy_16((LVM_INT16 *)pInput, in LVREV_Process() 145 ReverbBlock(pInput, pOutput, pLVREV_Private, (LVM_UINT16)SamplesToProcess); in LVREV_Process() 147 pInput = (LVM_INT32 *)(pInput +(SamplesToProcess*format)); in LVREV_Process() 179 void ReverbBlock(LVM_INT32 *pInput, LVM_INT32 *pOutput, LVREV_Instance_st *pPrivate, LVM_UINT16 Num… in ReverbBlock() argument 219 pIn = pInput; in ReverbBlock() 227 From2iToMono_32( pInput, in ReverbBlock()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | H264SwDecApi.c | 345 H264SwDecRet H264SwDecDecode(H264SwDecInst decInst, H264SwDecInput *pInput, in H264SwDecDecode() argument 359 if (pInput == NULL || pOutput == NULL) in H264SwDecDecode() 365 if ((pInput->pStream == NULL) || (pInput->dataLen == 0)) in H264SwDecDecode() 387 decInst, (void*)pInput, (void*)pOutput); in H264SwDecDecode() 394 strmLen = pInput->dataLen; in H264SwDecDecode() 395 tmpStream = pInput->pStream; in H264SwDecDecode() 396 pDecCont->storage.intraConcealmentFlag = pInput->intraConcealmentMethod; in H264SwDecDecode() 409 pInput->picId, &numReadBytes); in H264SwDecDecode()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMException.cpp | 34 void ARMExData::addInputMap(Input* pInput, in addInputMap() argument 36 assert(m_Inputs.find(pInput) == m_Inputs.end() && in addInputMap() 42 m_Inputs.insert(std::make_pair(pInput, std::move(pExMap))); in addInputMap() 62 std::unique_ptr<ARMInputExMap> ARMInputExMap::create(Input& pInput) { in create() argument 66 LDContext* ctx = pInput.context(); in create() 75 fatal(diag::eh_missing_text_section) << sect->name() << pInput.name(); in create()
|
D | ARMELFAttributeData.cpp | 145 const Input& pInput, in merge() argument 163 error(diag::error_unknown_cpu_arch) << pInput.name(); in merge() 272 << pInAttr.getIntValue() << pInput.name(); in merge() 284 << pInAttr.getIntValue() << pInput.name(); in merge() 298 warning(diag::error_mismatch_mpextension_use) << pInput.name(); in merge() 322 << pInput.name() << pInAttr.getIntValue() << out_attr.getIntValue(); in merge() 335 warning(diag::warn_mismatch_fp16_format) << pInput.name(); in merge() 367 << pInput.name() << pInAttr.getIntValue(); in merge() 378 warning(diag::warn_mismatch_abi_wmmx_args) << pInput.name(); in merge() 390 warning(diag::warn_mismatch_pcs_config) << pInput.name(); in merge() [all …]
|
/frameworks/compile/mclinker/lib/Target/ |
D | ELFAttribute.cpp | 38 bool ELFAttribute::merge(const Input& pInput, LDSection& pInputAttrSectHdr) { in merge() argument 69 << pInput.name() << attribute_data[0]; in merge() 101 << pInput.name(); in merge() 113 if (!subsection->merge(pInput, vendor_data, vendor_data_size)) in merge() 186 bool ELFAttribute::Subsection::merge(const Input& pInput, in merge() argument 202 if (!m_AttrData.preMerge(pInput)) { in merge() 265 !m_AttrData.merge(m_Parent.config(), pInput, tag, in_attr)) { in merge() 287 return m_AttrData.postMerge(m_Parent.config(), pInput); in merge()
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_Process.c | 75 const LVM_INT16 *pInput; in LVCS_Process_CS() local 86 pInput = pScratch + (2*NumSamples); in LVCS_Process_CS() 88 (LVM_INT16 *)pInput, /* Destination */ in LVCS_Process_CS() 94 pInput = pInData; in LVCS_Process_CS() 125 pInput, /* Pointer to the input (unprocessed) data */ in LVCS_Process_CS()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFAttributeData.h | 60 virtual bool preMerge(const Input& pInput) { return true; } in preMerge() argument 64 const Input& pInput, 70 virtual bool postMerge(const LinkerConfig& pConfig, const Input& pInput) { in postMerge() argument
|