Home
last modified time | relevance | path

Searched refs:pInput (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/compile/mclinker/lib/LD/
DELFDynObjReader.cpp47 bool ELFDynObjReader::isMyFormat(Input &pInput) const in isMyFormat()
49 assert(pInput.hasMemArea()); in isMyFormat()
54 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), in isMyFormat()
67 pInput.memArea()->release(region); in isMyFormat()
72 bool ELFDynObjReader::readHeader(Input& pInput) in readHeader() argument
74 assert(pInput.hasMemArea()); in readHeader()
77 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), in readHeader()
81 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr); in readHeader()
82 pInput.memArea()->release(region); in readHeader()
85 bool dyn_result = m_pELFReader->readDynamic(pInput); in readHeader()
[all …]
DELFObjectReader.cpp60 bool ELFObjectReader::isMyFormat(Input &pInput) const in isMyFormat()
62 assert(pInput.hasMemArea()); in isMyFormat()
67 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), in isMyFormat()
80 pInput.memArea()->release(region); in isMyFormat()
85 bool ELFObjectReader::readHeader(Input& pInput) in readHeader() argument
87 assert(pInput.hasMemArea()); in readHeader()
90 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), in readHeader()
93 bool result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr); in readHeader()
94 pInput.memArea()->release(region); in readHeader()
99 bool ELFObjectReader::readSections(Input& pInput) in readSections() argument
[all …]
DELFReader.cpp56 ELFReader<32, true>::readRegularSection(Input& pInput, SectionData& pSD) const in readRegularSection() argument
58 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readRegularSection()
61 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); in readRegularSection()
67 bool ELFReader<32, true>::readSymbols(Input& pInput, in readSymbols() argument
85 pInput.context()->addSymbol(LDSymbol::Null()); in readSymbols()
106 if (pInput.type() == Input::Object && in readSymbols()
109 if (NULL == pInput.context()->getSection(st_shndx)) in readSymbols()
117 ResolveInfo::Desc ld_desc = getSymDesc(st_shndx, pInput); in readSymbols()
123 uint64_t ld_value = getSymValue(st_value, st_shndx, pInput); in readSymbols()
131 section = pInput.context()->getSection(st_shndx); in readSymbols()
[all …]
DELFBinaryReader.cpp41 bool ELFBinaryReader::readBinary(Input& pInput) in readBinary() argument
44 m_Builder.CreateELFHeader(pInput, in readBinary()
52 m_Builder.CreateELFHeader(pInput, in readBinary()
60 size_t data_size = pInput.memArea()->handler()->size(); in readBinary()
61 Fragment* frag = m_Builder.CreateRegion(pInput, 0x0, data_size); in readBinary()
65 m_Builder.CreateELFHeader(pInput, in readBinary()
72 m_Builder.CreateELFHeader(pInput, in readBinary()
79 m_Builder.AddSymbol(pInput, in readBinary()
88 std::string mangled_name = pInput.path().filename().string(); in readBinary()
96 m_Builder.AddSymbol(pInput, in readBinary()
[all …]
DELFReaderIf.cpp49 ResolveInfo::Desc ELFReaderIF::getSymDesc(uint16_t pShndx, const Input& pInput) const in getSymDesc()
58 if (NULL == pInput.context()->getSection(pShndx) || in getSymDesc()
59 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) in getSymDesc()
103 ELFReaderIF::getSymFragmentRef(Input& pInput, in getSymFragmentRef() argument
108 if (Input::DynObj == pInput.type()) in getSymFragmentRef()
117 LDSection* sect_hdr = pInput.context()->getSection(pShndx); in getSymFragmentRef()
121 << pInput.path().native(); in getSymFragmentRef()
142 const Input& pInput) const in getSymValue()
144 if (Input::Object == pInput.type()) { in getSymValue()
DGNUArchiveReader.cpp45 bool GNUArchiveReader::isMyFormat(Input& pInput) const in isMyFormat()
47 assert(pInput.hasMemArea()); in isMyFormat()
48 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), in isMyFormat()
57 pInput.memArea()->release(region); in isMyFormat()
74 bool GNUArchiveReader::isThinArchive(Input& pInput) const in isThinArchive()
76 assert(pInput.hasMemArea()); in isThinArchive()
77 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), in isThinArchive()
86 pInput.memArea()->release(region); in isThinArchive()
DEhFrameReader.cpp91 bool EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame) in read() argument
125 uint64_t file_off = pInput.fileOffset() + section.offset(); in read()
127 pInput.memArea()->request(file_off, section.size()); in read()
134 MemoryRegion* entry = pInput.memArea()->request(token.file_off, token.size); in read()
138 debug(diag::debug_cannot_scan_eh) << pInput.name(); in read()
156 debug(diag::debug_cannot_parse_eh) << pInput.name(); in read()
/frameworks/compile/mclinker/include/mcld/LD/
DELFReader.h74 bool readSectionHeaders(Input& pInput, void* pELFHeader) const;
77 bool readRegularSection(Input& pInput, SectionData& pSD) const;
80 bool readSymbols(Input& pInput,
87 ResolveInfo* readSignature(Input& pInput,
92 bool readRela(Input& pInput,
97 bool readRel(Input& pInput,
102 bool readDynamic(Input& pInput) const;
141 bool readSectionHeaders(Input& pInput, void* pELFHeader) const;
144 bool readRegularSection(Input& pInput, SectionData& pSD) const;
147 bool readSymbols(Input& pInput,
[all …]
DELFReaderIf.h66 virtual bool readSectionHeaders(Input& pInput, void* pELFHeader) const = 0;
69 virtual bool readRegularSection(Input& pInput, SectionData& pSD) const = 0;
72 virtual bool readSymbols(Input& pInput,
79 virtual ResolveInfo* readSignature(Input& pInput,
84 virtual bool readRela(Input& pInput,
89 virtual bool readRel(Input& pInput,
94 virtual bool readDynamic(Input& pInput) const = 0;
109 ResolveInfo::Desc getSymDesc(uint16_t pShndx, const Input& pInput) const;
117 const Input& pInput) const;
119 FragmentRef* getSymFragmentRef(Input& pInput,
DEhFrameReader.h42 bool read(Input& pInput, EhFrame& pEhFrame);
99 EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame);
/frameworks/compile/mclinker/lib/MC/
DInputBuilder.cpp108 bool InputBuilder::setContext(Input& pInput, bool pCheck) in setContext() argument
114 if (0 != pInput.fileOffset() || !pCheck) { in setContext()
122 context = m_pContextFactory->produce(pInput.path()); in setContext()
125 pInput.setContext(context); in setContext()
129 bool InputBuilder::setMemory(Input& pInput, in setMemory() argument
133 MemoryArea *memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm); in setMemory()
138 pInput.setMemArea(memory); in setMemory()
142 bool InputBuilder::setMemory(Input& pInput, void* pMemBuffer, size_t pSize) in setMemory() argument
145 pInput.setMemArea(memory); in setMemory()
/frameworks/compile/libbcc/lib/Renderscript/
DRSInfoReader.cpp176 RSInfo *RSInfo::ReadFromFile(InputFile &pInput, const DependencyTableTy &pDeps) { in ReadFromFile() argument
182 const char *input_filename = pInput.getName().c_str(); in ReadFromFile()
183 const off_t cur_input_offset = pInput.tell(); in ReadFromFile()
185 if (pInput.hasError()) { in ReadFromFile()
187 pInput.getErrorMessage().c_str()); in ReadFromFile()
191 filesize = pInput.getSize(); in ReadFromFile()
192 if (pInput.hasError()) { in ReadFromFile()
194 input_filename, pInput.getErrorMessage().c_str()); in ReadFromFile()
199 map = pInput.createMap(/* pOffset */cur_input_offset, in ReadFromFile()
203 input_filename, pInput.getErrorMessage().c_str()); in ReadFromFile()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Process.c55 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/
DH264SwDecApi.c334 H264SwDecRet H264SwDecDecode(H264SwDecInst decInst, H264SwDecInput *pInput, in H264SwDecDecode() argument
348 if (pInput == NULL || pOutput == NULL) in H264SwDecDecode()
354 if ((pInput->pStream == NULL) || (pInput->dataLen == 0)) in H264SwDecDecode()
376 decInst, (void*)pInput, (void*)pOutput); in H264SwDecDecode()
383 strmLen = pInput->dataLen; in H264SwDecDecode()
384 tmpStream = pInput->pStream; in H264SwDecDecode()
385 pDecCont->storage.intraConcealmentFlag = pInput->intraConcealmentMethod; in H264SwDecDecode()
398 pInput->picId, &numReadBytes); in H264SwDecDecode()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Process.c75 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/lib/Object/
DSectionMap.cpp92 const std::string& pInput, in matched() argument
98 if (pNamePair.from.size() > pInput.size()) in matched()
104 if (0 == strncmp(pInput.c_str(), in matched()
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Process.c64 LVM_INT16 *pInput = (LVM_INT16 *)pInData; in LVM_Process() local
131 pInput = pOutData; in LVM_Process()
145 pInput, in LVM_Process()
/frameworks/compile/mclinker/include/mcld/
DInputTree.h146 Input& pInput);
154 Input& pInput);
189 mcld::Input& pInput) in insert() argument
192 node->data = &pInput; in insert()
DIRBuilder.h248 static LDSection* CreateELFHeader(Input& pInput,
301 static Fragment* CreateRegion(Input& pInput, size_t pOffset, size_t pLength);
402 LDSymbol* AddSymbol(Input& pInput,
481 LDSymbol* addSymbolFromDynObj(Input& pInput,
/frameworks/compile/mclinker/include/mcld/MC/
DInputBuilder.h70 bool setContext(Input& pInput, bool pCheck = true);
72 bool setMemory(Input& pInput,
76 bool setMemory(Input& pInput, void* pMemBuffer, size_t pSize);
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp295 LDSection* IRBuilder::CreateELFHeader(Input& pInput, in CreateELFHeader() argument
307 pInput.context()->appendSection(*header); in CreateELFHeader()
358 Fragment* IRBuilder::CreateRegion(Input& pInput, size_t pOffset, size_t pLength) in CreateRegion() argument
360 if (!pInput.hasMemArea()) { in CreateRegion()
361 fatal(diag::fatal_cannot_read_input) << pInput.path(); in CreateRegion()
368 MemoryRegion* region = pInput.memArea()->request(pOffset, pLength); in CreateRegion()
433 LDSymbol* IRBuilder::AddSymbol(Input& pInput, in AddSymbol() argument
455 switch (pInput.type()) { in AddSymbol()
470 pInput.context()->addSymbol(input_sym); in AddSymbol()
474 return addSymbolFromDynObj(pInput, name, pType, pDesc, pBind, pSize, pValue, pVis); in AddSymbol()
[all …]
DInputTree.cpp46 mcld::Input& pInput) in insert() argument
49 node->data = &pInput; in insert()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Process.c85 LVM_INT16 *pInput = (LVM_INT16 *)pInData; in LVDBE_Process() local
115 Int16LShiftToInt32_16x32(pInput, /* Source 16-bit data */ in LVDBE_Process()
/frameworks/compile/libbcc/lib/Core/
DSource.cpp40 llvm::MemoryBuffer *pInput) { in helper_load_bitcode() argument
42 llvm::Module *module = llvm::getLazyBitcodeModule(pInput, pContext, &error); in helper_load_bitcode()
46 pInput->getBufferIdentifier(), error.c_str()); in helper_load_bitcode()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Daacenc.c162 VO_U32 VO_API voAACEncSetInputData(VO_HANDLE hCodec, VO_CODECBUFFER * pInput) in voAACEncSetInputData() argument
167 if(NULL == hCodec || NULL == pInput || NULL == pInput->Buffer) in voAACEncSetInputData()
175 hAacEnc->inbuf = (short *)pInput->Buffer; in voAACEncSetInputData()
176 hAacEnc->inlen = pInput->Length / sizeof(short); in voAACEncSetInputData()

12