Searched defs:pOutput (Results 1 - 22 of 22) sorted by relevance

/frameworks/compile/mclinker/include/mcld/LD/
H A DELFObjectWriter.h37 llvm::error_code writeObject(Output& pOutput) argument
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoWriter.cpp139 inline bool helper_write_list(OutputFile &pOutput, argument
154 if (pOutput.write(&item, sizeof(item)) != sizeof(item)) {
156 rsinfo::GetItemTypeName<ItemType>(), pOutput.getName().c_str(),
157 pOutput.getErrorMessage().c_str());
167 bool RSInfo::write(OutputFile &pOutput) { argument
168 off_t initial_offset = pOutput.tell();
169 const char *output_filename = pOutput.getName().c_str();
171 if (pOutput.hasError()) {
173 output_filename, pOutput.getErrorMessage().c_str());
183 if (pOutput
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
H A DTargetLDBackend.h56 virtual void initTargetSymbols(MCLinker& pLinker, const Output& pOutput) { } argument
58 virtual bool initStandardSymbols(MCLinker& pLinker, const Output& pOutput) = 0;
69 /// @param pOutput - the ouput file
74 const Output& pOutput,
101 virtual void preLayout(const Output& pOutput,
106 virtual void postLayout(const Output& pOutput,
111 virtual void postProcessing(const Output& pOutput,
131 virtual unsigned int getSectionOrder(const Output& pOutput,
139 sizeNamePools(const Output& pOutput,
147 virtual bool finalizeSymbols(MCLinker& pLinker, const Output& pOutput)
[all...]
H A DGNULDBackend.h103 ELFFileFormat* getOutputFormat(const Output& pOutput);
104 const ELFFileFormat* getOutputFormat(const Output& pOutput) const;
120 bool initStandardSymbols(MCLinker& pLinker, const Output& pOutput);
126 bool finalizeSymbols(MCLinker& pLinker, const Output& pOutput) { argument
127 return (finalizeStandardSymbols(pLinker, pOutput) &&
128 finalizeTargetSymbols(pLinker, pOutput));
133 const Output& pOutput);
137 const Output& pOutput) = 0;
173 uint64_t segmentStartAddr(const Output& pOutput,
179 virtual void sizeNamePools(const Output& pOutput,
229 getTargetSectionOrder(const Output& pOutput, const LDSection& pSectHdr, const MCLDInfo& pInfo) const argument
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DELFDynObjWriter.cpp37 llvm::error_code ELFDynObjWriter::writeDynObj(Output& pOutput) argument
40 target().emitDynNamePools(pOutput,
46 target().emitRegNamePools(pOutput,
53 unsigned int secEnd = pOutput.context()->numOfSections();
55 LDSection* sect = pOutput.context()->getSection(secIdx);
65 region = pOutput.memArea()->request(sect->offset(), sect->size());
106 emitRelocation(m_Linker.getLayout(), pOutput, *sect, *region);
109 target().emitSectionData(pOutput,
124 emitELF32ShStrTab(pOutput, m_Linker);
129 pOutput);
[all...]
H A DELFExecWriter.cpp37 llvm::error_code ELFExecWriter::writeExecutable(Output& pOutput) argument
40 target().emitInterp(pOutput, m_Linker.getLDInfo());
43 target().emitDynNamePools(pOutput,
49 target().emitRegNamePools(pOutput,
56 unsigned int secEnd = pOutput.context()->numOfSections();
58 LDSection* sect = pOutput.context()->getSection(secIdx);
68 region = pOutput.memArea()->request(sect->offset(), sect->size());
109 emitRelocation(m_Linker.getLayout(), pOutput, *sect, *region);
112 target().emitSectionData(pOutput,
126 emitELF32ShStrTab(pOutput, m_Linke
[all...]
H A DSectionMap.cpp44 const std::string& pOutput)
56 pOutput,
43 push_back(const std::string& pInput, const std::string& pOutput) argument
H A DLayout.cpp515 void Layout::sortSectionOrder(const Output& pOutput, argument
526 pBackend.getSectionOrder(pOutput, *m_SectionOrder[index], pInfo)));
550 bool Layout::layout(Output& pOutput, argument
556 assert(pOutput.hasContext());
557 LDContext& output_context = *pOutput.context();
596 if (MCLDFile::Object == pOutput.type()) {
616 sortSectionOrder(pOutput, pBackend, pInfo);
H A DELFWriter.cpp38 Output& pOutput) const
40 assert(pOutput.hasMemArea());
43 MemoryRegion *region = pOutput.memArea()->request(0,
57 switch(pOutput.type()) {
68 llvm::errs() << "unspported output file type: " << pOutput.type() << ".\n";
73 header->e_entry = getEntryPoint(pLDInfo, pLayout, pBackend, pOutput);
75 header->e_shoff = getELF32LastStartOffset(pOutput);
81 header->e_shnum = pOutput.context()->numOfSections();
82 header->e_shstrndx = pOutput.context()->getSectionIdx(".shstrtab");
89 Output& pOutput) cons
186 emitELF32SectionHeader(Output& pOutput, MCLinker& pLinker) const argument
219 emitELF64SectionHeader(Output& pOutput, MCLinker& pLinker) const argument
255 emitELF32ProgramHeader(Output& pOutput, const GNULDBackend& pBackend) const argument
287 emitELF64ProgramHeader(Output& pOutput, const GNULDBackend& pBackend) const argument
318 emitELF32ShStrTab(Output& pOutput, MCLinker& pLinker) const argument
358 emitELF64ShStrTab(Output& pOutput, MCLinker& pLinker) const argument
464 emitRelocation(const Layout& pLayout, const Output& pOutput, const LDSection& pSection, MemoryRegion& pRegion) const argument
482 emitRel(const Layout& pLayout, const Output& pOutput, const SectionData& pSectionData, MemoryRegion& pRegion) const argument
521 emitRela(const Layout& pLayout, const Output& pOutput, const SectionData& pSectionData, MemoryRegion& pRegion) const argument
[all...]
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
H A DLVREV_Process.c56 LVM_INT32 *pOutput = pOutData; local
103 if(pInput != pOutput)
110 MonoTo2I_32(pInput, pOutput, NumSamples);
113 (LVM_INT16 *)pOutput,
145 ReverbBlock(pInput, pOutput, pLVREV_Private, (LVM_UINT16)SamplesToProcess);
148 pOutput = (LVM_INT32 *)(pOutput+(SamplesToProcess*2)); // Always stereo output
179 void ReverbBlock(LVM_INT32 *pInput, LVM_INT32 *pOutput, LVREV_Instance_st *pPrivate, LVM_UINT16 NumSamples) argument
465 pOutput,
471 pOutput,
[all...]
/frameworks/compile/libbcc/lib/AndroidBitcode/
H A DABCCompilerDriver.cpp152 bool ABCCompilerDriver::compile(Script &pScript, llvm::raw_ostream &pOutput) { argument
159 Compiler::ErrorCode result = mCompiler.compile(pScript, pOutput);
/frameworks/compile/mclinker/unittests/
H A DReadStageTest.cpp90 void ReadStageTest::dumpOutput(const mcld::Output &pOutput, mcld::FileHandle &pFile, size_t pIdent) argument
95 sstream << "<output name=\"" << pOutput.name() << "\">\n";
97 LDContext::const_sect_iterator sect, sectEnd = pOutput.context()->sectEnd();
98 for (sect = pOutput.context()->sectBegin(); sect != sectEnd; ++sect) {
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc.c208 VO_U32 VO_API voAACEncGetOutputData(VO_HANDLE hCodec, VO_CODECBUFFER * pOutput, VO_AUDIO_OUTPUTINFO * pOutInfo) argument
236 pOutput->Length = 0;
243 if(NULL == pOutput || NULL == pOutput->Buffer || pOutput->Length < (6144/8)*hAacEnc->config.nChannelsOut/(sizeof(Word32)))
251 pOutput->Buffer,
252 &pOutput->Length);
/frameworks/compile/libbcc/lib/Support/
H A DDisassembler.cpp68 DisassembleResult Disassemble(llvm::raw_ostream &pOutput, const char *pTriple, argument
132 pOutput << "Disassembled code: " << pFuncName << "\n";
157 pOutput.indent(4);
158 pOutput << "0x";
159 pOutput.write_hex(reinterpret_cast<uintptr_t>(inst_addr));
160 pOutput << ": 0x";
161 pOutput.write_hex(*reinterpret_cast<const uint32_t *>(inst_addr));
162 inst_printer->printInst(&inst, pOutput, /* Annot */"");
163 pOutput << "\n";
171 pOutput << "\
186 Disassemble(OutputFile &pOutput, const char *pTriple, const char *pFuncName, const uint8_t *pFunc, size_t FuncSize) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DH264SwDecApi.c313 pOutput pointer to output struct
335 H264SwDecOutput *pOutput)
348 if (pInput == NULL || pOutput == NULL)
350 DEC_API_TRC("H264SwDecDecode# ERROR: pInput or pOutput is NULL");
375 sprintf(pDecCont->str, "H264SwDecDecode# decInst %p pInput %p pOutput %p",
376 decInst, (void*)pInput, (void*)pOutput);
380 pOutput->pStrmCurrPos = NULL;
407 pOutput->pStrmCurrPos = tmpStream;
511 pOutput pointer to output structure
521 H264SwDecPicture *pOutput, u3
334 H264SwDecDecode(H264SwDecInst decInst, H264SwDecInput *pInput, H264SwDecOutput *pOutput) argument
520 H264SwDecNextPicture(H264SwDecInst decInst, H264SwDecPicture *pOutput, u32 flushBuffer) argument
[all...]
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86PLT.cpp65 const Output& pOutput)
69 m_Output(pOutput)
71 assert (Output::DynObj == pOutput.type() || Output::Exec == pOutput.type());
72 if (Output::DynObj == pOutput.type()) {
62 X86PLT(LDSection& pSection, SectionData& pSectionData, X86GOTPLT &pGOTPLT, const Output& pOutput) argument
H A DX86LDBackend.cpp76 void X86GNULDBackend::doPreLayout(const Output& pOutput, argument
81 if (Output::DynObj == pOutput.type() && (NULL == m_pGOTPLT)) {
82 createX86GOTPLT(pLinker, pOutput);
86 void X86GNULDBackend::doPostLayout(const Output& pOutput, argument
110 void X86GNULDBackend::createX86GOT(MCLinker& pLinker, const Output& pOutput) argument
113 ELFFileFormat* file_format = getOutputFormat(pOutput);
119 void X86GNULDBackend::createX86GOTPLT(MCLinker& pLinker, const Output& pOutput) argument
122 ELFFileFormat* file_format = getOutputFormat(pOutput);
157 const Output& pOutput)
159 ELFFileFormat* file_format = getOutputFormat(pOutput);
156 createX86PLTandRelPLT(MCLinker& pLinker, const Output& pOutput) argument
175 createX86RelDyn(MCLinker& pLinker, const Output& pOutput) argument
268 scanLocalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument
312 scanGlobalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument
475 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument
517 emitSectionData(const Output& pOutput, const LDSection& pSection, const MCLDInfo& pInfo, const Layout& pLayout, MemoryRegion& pRegion) const argument
664 getTargetSectionOrder(const Output& pOutput, const LDSection& pSectHdr, const MCLDInfo& pInfo) const argument
702 initTargetSymbols(MCLinker& pLinker, const Output& pOutput) argument
719 finalizeTargetSymbols(MCLinker& pLinker, const Output& pOutput) argument
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp111 void ARMGNULDBackend::initTargetSymbols(MCLinker& pLinker, const Output& pOutput) argument
127 void ARMGNULDBackend::doPreLayout(const Output& pOutput, argument
132 if (pOutput.type() == Output::DynObj && (NULL == m_pGOT)) {
133 createARMGOT(pLinker, pOutput);
137 void ARMGNULDBackend::doPostLayout(const Output& pOutput, argument
141 const ELFFileFormat *file_format = getOutputFormat(pOutput);
156 if (pOutput.type() == Output::DynObj)
183 void ARMGNULDBackend::createARMGOT(MCLinker& pLinker, const Output& pOutput) argument
186 ELFFileFormat* file_format = getOutputFormat(pOutput);
220 const Output& pOutput)
219 createARMPLTandRelPLT(MCLinker& pLinker, const Output& pOutput) argument
237 createARMRelDyn(MCLinker& pLinker, const Output& pOutput) argument
360 scanLocalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument
473 scanGlobalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument
715 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument
757 emitSectionData(const Output& pOutput, const LDSection& pSection, const MCLDInfo& pInfo, const Layout& pLayout, MemoryRegion& pRegion) const argument
826 finalizeTargetSymbols(MCLinker& pLinker, const Output& pOutput) argument
920 getTargetSectionOrder(const Output& pOutput, const LDSection& pSectHdr, const MCLDInfo& pInfo) const argument
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp73 void MipsGNULDBackend::initTargetSymbols(MCLinker& pLinker, const Output& pOutput) argument
123 const Output& pOutput,
142 createGOT(pLinker, pOutput);
153 if ((rsym->isLocal() || !isDynamicSymbol(pInputSym, pOutput) ||
155 scanLocalReloc(pReloc, pInputSym, pLinker, pLDInfo, pOutput);
157 scanGlobalReloc(pReloc, pInputSym, pLinker, pLDInfo, pOutput);
210 void MipsGNULDBackend::doPreLayout(const Output& pOutput, argument
215 if (pOutput.type() == Output::DynObj && NULL == m_pGOT) {
216 createGOT(pLinker, pOutput);
220 void MipsGNULDBackend::doPostLayout(const Output& pOutput, argument
119 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument
244 emitSectionData(const Output& pOutput, const LDSection& pSection, const MCLDInfo& pInfo, const Layout& pLayout, MemoryRegion& pRegion) const argument
273 emitDynamicSymbol(llvm::ELF::Elf32_Sym& sym32, Output& pOutput, LDSymbol& pSymbol, const Layout& pLayout, char* strtab, size_t strtabsize, size_t symtabIdx) argument
303 emitDynNamePools(Output& pOutput, SymbolCategory& pSymbols, const Layout& pLayout, const MCLDInfo& pLDInfo) argument
480 getTargetSectionOrder(const Output& pOutput, const LDSection& pSectHdr, const MCLDInfo& pInfo) const argument
493 finalizeTargetSymbols(MCLinker& pLinker, const Output& pOutput) argument
628 scanLocalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument
737 scanGlobalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument
839 createGOT(MCLinker& pLinker, const Output& pOutput) argument
873 createRelDyn(MCLinker& pLinker, const Output& pOutput) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c1726 VO_CODECBUFFER * pOutput, /* o: The output audio data */
1755 gData->outputStream = (unsigned short*)pOutput->Buffer;
1759 pOutput->Length = gData->outputSize; /* get the output buffer length */
1724 voAMRWB_GetOutputData( VO_HANDLE hCodec, VO_CODECBUFFER * pOutput, VO_AUDIO_OUTPUTINFO * pAudioFormat ) argument
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp97 uint64_t GNULDBackend::segmentStartAddr(const Output& pOutput, argument
101 if (isOutputPIC(pOutput, pInfo))
174 bool GNULDBackend::initStandardSymbols(MCLinker& pLinker, const Output& pOutput) argument
176 ELFFileFormat* file_format = getOutputFormat(pOutput);
405 GNULDBackend::finalizeStandardSymbols(MCLinker& pLinker, const Output& pOutput) argument
407 ELFFileFormat* file_format = getOutputFormat(pOutput);
638 ELFFileFormat* GNULDBackend::getOutputFormat(const Output& pOutput) argument
640 switch (pOutput.type()) {
648 fatal(diag::unrecognized_output_file) << pOutput.type();
653 const ELFFileFormat* GNULDBackend::getOutputFormat(const Output& pOutput) cons
696 sizeNamePools(const Output& pOutput, const SymbolCategory& pSymbols, const MCLDInfo& pLDInfo) argument
793 emitRegNamePools(Output& pOutput, SymbolCategory& pSymbols, const Layout& pLayout, const MCLDInfo& pLDInfo) argument
900 emitDynNamePools(Output& pOutput, SymbolCategory& pSymbols, const Layout& pLayout, const MCLDInfo& pLDInfo) argument
1081 sizeInterp(const Output& pOutput, const MCLDInfo& pLDInfo) argument
1096 emitInterp(Output& pOutput, const MCLDInfo& pLDInfo) argument
1115 getSectionOrder(const Output& pOutput, const LDSection& pSectHdr, const MCLDInfo& pInfo) const argument
1368 createProgramHdrs(Output& pOutput, const MCLDInfo& pInfo) argument
1483 setupProgramHdrs(const Output& pOutput, const MCLDInfo& pInfo) argument
1535 createGNUStackInfo(const Output& pOutput, const MCLDInfo& pInfo, MCLinker& pLinker) argument
1588 preLayout(const Output& pOutput, const MCLDInfo& pLDInfo, MCLinker& pLinker) argument
1607 postLayout(const Output& pOutput, const MCLDInfo& pInfo, MCLinker& pLinker) argument
1629 postProcessing(const Output& pOutput, const MCLDInfo& pInfo, MCLinker& pLinker) argument
1669 isDynamicSymbol(const LDSymbol& pSymbol, const Output& pOutput) argument
1707 isOutputPIC(const Output& pOutput, const MCLDInfo& pInfo) const argument
1716 isStaticLink(const Output& pOutput, const MCLDInfo& pInfo) const argument
1770 symbolNeedsDynRel(const ResolveInfo& pSym, bool pSymHasPLT, const MCLDInfo& pLDInfo, const Output& pOutput, bool isAbsReloc) const argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c542 * @param[out] pOutput The output from the conversion process.
547 FwdLockConv_Output_t *pOutput) {
553 pOutput->fromConvertData.pBuffer = malloc(pSession->outputBufferSize);
554 if (pOutput->fromConvertData.pBuffer == NULL) {
564 memcpy(pOutput->fromConvertData.pBuffer, pSession->topHeader, TOP_HEADER_SIZE);
565 memcpy((char *)pOutput->fromConvertData.pBuffer + TOP_HEADER_SIZE,
567 memcpy((char *)pOutput->fromConvertData.pBuffer + encryptedSessionKeyPos,
571 memset((char *)pOutput->fromConvertData.pBuffer + dataSignaturePos, 0,
573 memset((char *)pOutput->fromConvertData.pBuffer + headerSignaturePos, 0,
576 pOutput
546 FwdLockConv_WriteHeader(FwdLockConv_Session_t *pSession, FwdLockConv_Output_t *pOutput) argument
592 FwdLockConv_MatchMimeHeaders(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
830 FwdLockConv_WriteEncryptedChar(FwdLockConv_Session_t *pSession, unsigned char ch, FwdLockConv_Output_t *pOutput) argument
864 FwdLockConv_MatchBinaryEncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
932 FwdLockConv_MatchBase64EncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
1073 FwdLockConv_PushChar(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
1108 FwdLockConv_OpenSession(int *pSessionId, FwdLockConv_Output_t *pOutput) argument
1165 FwdLockConv_ConvertData(int sessionId, const void *pBuffer, size_t numBytes, FwdLockConv_Output_t *pOutput) argument
1198 FwdLockConv_CloseSession(int sessionId, FwdLockConv_Output_t *pOutput) argument
[all...]

Completed in 297 milliseconds