Searched refs:pInput (Results 1 - 25 of 52) sorted by relevance

123

/frameworks/compile/mclinker/lib/LD/
H A DELFDynObjReader.cpp47 bool ELFDynObjReader::isMyFormat(Input &pInput) const
49 assert(pInput.hasMemArea());
54 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
67 pInput.memArea()->release(region);
72 bool ELFDynObjReader::readHeader(Input& pInput) argument
74 assert(pInput.hasMemArea());
77 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
81 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hd
91 readSymbols(Input& pInput) argument
[all...]
H A DELFObjectReader.cpp60 bool ELFObjectReader::isMyFormat(Input &pInput) const
62 assert(pInput.hasMemArea());
67 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
80 pInput.memArea()->release(region);
85 bool ELFObjectReader::readHeader(Input& pInput) argument
87 assert(pInput.hasMemArea());
90 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
93 bool result = m_pELFReader->readSectionHeaders(pInput, ELF_hd
99 readSections(Input& pInput) argument
267 readSymbols(Input& pInput) argument
301 readRelocations(Input& pInput) argument
[all...]
H A DELFBinaryReader.cpp41 bool ELFBinaryReader::readBinary(Input& pInput) argument
44 m_Builder.CreateELFHeader(pInput,
52 m_Builder.CreateELFHeader(pInput,
60 size_t data_size = pInput.memArea()->handler()->size();
61 Fragment* frag = m_Builder.CreateRegion(pInput, 0x0, data_size);
65 m_Builder.CreateELFHeader(pInput,
72 m_Builder.CreateELFHeader(pInput,
79 m_Builder.AddSymbol(pInput,
90 std::string mangled_name = pInput.path().filename().native();
98 m_Builder.AddSymbol(pInput,
[all...]
H A DELFReader.cpp56 ELFReader<32, true>::readRegularSection(Input& pInput, SectionData& pSD) const argument
58 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset();
61 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size);
67 bool ELFReader<32, true>::readSymbols(Input& pInput, argument
85 pInput.context()->addSymbol(LDSymbol::Null());
89 bool is_dyn_obj = (pInput.type()==Input::DynObj);
109 if (pInput.type() == Input::Object &&
112 if (NULL == pInput.context()->getSection(st_shndx))
120 ResolveInfo::Desc ld_desc = getSymDesc(st_shndx, pInput);
126 uint64_t ld_value = getSymValue(st_value, st_shndx, pInput);
212 readRela(Input& pInput, LDSection& pSection, const MemoryRegion& pRegion) const argument
249 readRel(Input& pInput, LDSection& pSection, const MemoryRegion& pRegion) const argument
331 readSectionHeaders(Input& pInput, void* pELFHeader) const argument
477 readSignature(Input& pInput, LDSection& pSymTab, uint32_t pSymIdx) const argument
617 readRegularSection(Input& pInput, SectionData& pSD) const argument
628 readSymbols(Input& pInput, IRBuilder& pBuilder, const MemoryRegion& pRegion, const char* pStrTab) const argument
768 readRela(Input& pInput, LDSection& pSection, const MemoryRegion& pRegion) const argument
805 readRel(Input& pInput, LDSection& pSection, const MemoryRegion& pRegion) const argument
887 readSectionHeaders(Input& pInput, void* pELFHeader) const argument
1033 readSignature(Input& pInput, LDSection& pSymTab, uint32_t pSymIdx) const argument
[all...]
H A DBSDArchiveReader.cpp29 bool BSDArchiveReader::isMyFormat(Input& pInput) const
H A DELFReaderIf.cpp49 ResolveInfo::Desc ELFReaderIF::getSymDesc(uint16_t pShndx, const Input& pInput) const
58 if (NULL == pInput.context()->getSection(pShndx) ||
59 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind())
102 ELFReaderIF::getSymFragmentRef(Input& pInput, argument
107 if (Input::DynObj == pInput.type())
116 LDSection* sect_hdr = pInput.context()->getSection(pShndx);
120 << pInput.path().native();
141 const Input& pInput) const
143 if (Input::Object == pInput.type()) {
/frameworks/compile/mclinker/include/mcld/LD/
H A 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,
[all...]
H A DELFReader.h75 bool readSectionHeaders(Input& pInput, void* pELFHeader) const;
78 bool readRegularSection(Input& pInput, SectionData& pSD) const;
81 bool readSymbols(Input& pInput,
88 ResolveInfo* readSignature(Input& pInput,
93 bool readRela(Input& pInput,
98 bool readRel(Input& pInput,
103 bool readDynamic(Input& pInput) const;
165 bool readSectionHeaders(Input& pInput, void* pELFHeader) const;
168 bool readRegularSection(Input& pInput, SectionData& pSD) const;
171 bool readSymbols(Input& pInput,
[all...]
H A DBSDArchiveReader.h33 bool isMyFormat(Input& pInput) const;
H A DBinaryReader.h36 virtual bool isMyFormat(Input& pInput) const
H A DLDReader.h40 virtual bool isMyFormat(Input& pInput) const = 0;
H A DRelocator.h69 /// initializeScan - do initialization before scan relocations in pInput
71 virtual bool initializeScan(Input& pInput) argument
74 /// finalizeScan - do finalization after scan relocations in pInput
76 virtual bool finalizeScan(Input& pInput) argument
79 /// initializeApply - do initialization before apply relocations in pInput
81 virtual bool initializeApply(Input& pInput) argument
84 /// finalizeApply - do finalization after apply relocations in pInput
86 virtual bool finalizeApply(Input& pInput) argument
H A DDiagnosticPrinter.h31 virtual void beginInput(const Input& pInput, const LinkerConfig& pConfig) {} argument
H A DELFBinaryReader.h37 virtual bool readBinary(Input& pInput);
H A DELFDynObjReader.h43 bool readSymbols(Input& pInput);
H A DTextDiagnosticPrinter.h37 virtual void beginInput(const Input& pInput, const LinkerConfig& pConfig);
H A DEhFrameReader.h37 /// @param pInput [in] the Input contains this eh_frame
42 bool read(Input& pInput, EhFrame& pEhFrame);
99 EhFrameReader::read<32, true>(Input& pInput, EhFrame& pEhFrame);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsRelocator.h45 /// initializeScan - do initialization before scan relocations in pInput
47 bool initializeScan(Input& pInput);
49 /// finalizeScan - do finalization after scan relocations in pInput
51 bool finalizeScan(Input& pInput);
53 /// initializeApply - do initialization before apply relocations in pInput
55 bool initializeApply(Input& pInput);
57 /// finalizeApply - do finalization after apply relocations in pInput
59 bool finalizeApply(Input& pInput);
/frameworks/compile/mclinker/lib/MC/
H A DInputBuilder.cpp108 bool InputBuilder::setContext(Input& pInput, bool pCheck) argument
114 if (0 != pInput.fileOffset() || !pCheck) {
115 // pInput is an object in an archive file. Produce a new context in this
120 // Using pInput.path() to avoid from creating context for identical file
122 context = m_pContextFactory->produce(pInput.path());
125 pInput.setContext(context);
129 bool InputBuilder::setMemory(Input& pInput, argument
133 MemoryArea *memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm);
138 pInput.setMemArea(memory);
142 bool InputBuilder::setMemory(Input& pInput, voi argument
[all...]
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
H A DLVREV_Process.c55 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 Dcolorspace.cpp58 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;
100 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); local
104 Rgba color_in = *pInput++;
115 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); local
121 Rgba color_in = *pInput++;
158 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input)); local
163 Rgba color_in = *pInput
[all...]
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
H A DLVCS_ReverbGenerator.h82 const LVM_INT16 *pInput,
H A DLVCS_Process.c75 const LVM_INT16 *pInput; local
86 pInput = pScratch + (2*NumSamples);
88 (LVM_INT16 *)pInput, /* Destination */
94 pInput = pInData;
125 pInput, /* Pointer to the input (unprocessed) data */
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DH264SwDecApi.c310 pInput pointer to input struct
334 H264SwDecRet H264SwDecDecode(H264SwDecInst decInst, H264SwDecInput *pInput, argument
348 if (pInput == NULL || pOutput == NULL)
350 DEC_API_TRC("H264SwDecDecode# ERROR: pInput or pOutput is NULL");
354 if ((pInput->pStream == NULL) || (pInput->dataLen == 0))
375 sprintf(pDecCont->str, "H264SwDecDecode# decInst %p pInput %p pOutput %p",
376 decInst, (void*)pInput, (void*)pOutput);
383 strmLen = pInput->dataLen;
384 tmpStream = pInput
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoReader.cpp176 RSInfo *RSInfo::ReadFromFile(InputFile &pInput, const DependencyTableTy &pDeps) { argument
182 const char *input_filename = pInput.getName().c_str();
183 const off_t cur_input_offset = pInput.tell();
185 if (pInput.hasError()) {
187 pInput.getErrorMessage().c_str());
191 filesize = pInput.getSize();
192 if (pInput.hasError()) {
194 input_filename, pInput.getErrorMessage().c_str());
199 map = pInput.createMap(/* pOffset */cur_input_offset,
203 input_filename, pInput
[all...]

Completed in 460 milliseconds

123