Searched defs:pSize (Results 1 - 25 of 29) sorted by path

12

/frameworks/av/libvideoeditor/osal/src/
H A DLVOSA_FileReader_optim.c655 * @param pSize : (INOUT) Size of the data to read (in byte).
657 * @return M4ERR_PARAMETER pSize, fileDescriptor or pData is NULL
663 M4OSA_UInt32* pSize)
674 pContext, pData, *pSize);
679 M4ERR_CHECK_NULL_RETURN_VALUE(M4ERR_PARAMETER, pSize);
687 if((*pSize > 0) && (apContext->absolutePos >= apContext->fileSize))
712 if (*pSize <= (M4OSA_UInt32)apContext->buffer[selected_buffer].size)
731 M4OSA_TRACE3_3("read size = %lu buffer = %d pos = %ld", *pSize,
735 while(((M4OSA_UInt32)copiedSize < *pSize) && (err == M4NO_ERROR))
739 *pSize
662 M4OSA_fileReadData_optim(M4OSA_Context pContext,M4OSA_MemAddr8 pData, M4OSA_UInt32* pSize) argument
[all...]
H A DM4OSA_FileReader.c87 M4OSA_UInt32* pSize)
94 data, (M4OSA_NULL != pSize) ? (*pSize) : 0);
100 M4OSA_DEBUG_IF2(M4OSA_NULL == pSize, M4ERR_PARAMETER,
101 "M4OSA_fileReadData: pSize is M4OSA_NULL");
109 uiSizeRead = fread(data, sizeof(M4OSA_Char), *pSize,
114 *pSize = 0;
120 if ((M4OSA_UInt32)uiSizeRead < *pSize)
122 *pSize = uiSizeRead;
129 *pSize
86 M4OSA_fileReadData(M4OSA_Context pContext, M4OSA_MemAddr8 data, M4OSA_UInt32* pSize) argument
[all...]
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c762 * pSize pointer to value size: maximum size as input
766 * *pSize updated with actual value size
775 int Downmix_getParameter(downmix_object_t *pDownmixer, int32_t param, size_t *pSize, void *pValue) { argument
781 if (*pSize < sizeof(int16_t)) {
782 ALOGE("Downmix_getParameter invalid parameter size %d for DOWNMIX_PARAM_TYPE", *pSize);
787 *pSize = sizeof(int16_t);
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c759 * pSize - pointer to value size: maximum size as input
763 * *pSize updated with actual value size
770 int Reverb_getParameter(reverb_object_t *pReverb, int32_t param, size_t *pSize, argument
781 if (param != REVERB_PARAM_PRESET || *pSize < sizeof(int16_t)) {
820 if (*pSize < size) {
1026 *pSize = size;
/frameworks/compile/libbcc/include/bcc/Support/
H A DMemoryFactory.h37 mcld::MemoryArea* produce(void *pMemBuffer, size_t pSize) argument
38 { return mcld::MemoryAreaFactory::create(pMemBuffer, pSize); }
H A DSha1Util.h44 const uint8_t *pData, size_t pSize);
48 const char *pData, size_t pSize) {
51 pSize);
47 GetSHA1DigestFromBuffer(uint8_t pResult[SHA1_DIGEST_LENGTH], const char *pData, size_t pSize) argument
/frameworks/compile/libbcc/lib/Core/
H A DLinker.cpp220 enum Linker::ErrorCode Linker::addObject(void* pMemory, size_t pSize) { argument
230 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pMemory, pSize);
239 enum Linker::ErrorCode Linker::addCode(void* pMemory, size_t pSize) { argument
248 mcld::MemoryArea *input_memory = mMemAreaFactory->produce(pMemory, pSize);
285 text.setSize(pSize);
/frameworks/compile/libbcc/lib/Support/
H A DSha1Util.cpp65 const uint8_t *pData, size_t pSize) {
72 static_cast<unsigned long>(pSize));
64 GetSHA1DigestFromBuffer(uint8_t pResult[SHA1_DIGEST_LENGTH], const uint8_t *pData, size_t pSize) argument
/frameworks/compile/mclinker/include/mcld/LD/
H A DLDSymbol.h105 void setSize(SizeType pSize) { argument
107 m_pResolveInfo->setSize(pSize);
H A DResolveInfo.h122 void setSize(SizeType pSize) argument
123 { m_Size = pSize; }
/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h68 static void setSize(size_t pSize) { m_Size = pSize; } argument
H A DLEB128.h30 IntType decode(const ByteType *pBuf, size_t &pSize);
71 * Read an integer encoded in ULEB128 format from the given buffer. pSize will
76 uint64_t decode<uint64_t>(const ByteType *pBuf, size_t &pSize);
89 int64_t decode<int64_t>(const ByteType *pBuf, size_t &pSize);
105 IntType decode(const char *pBuf, size_t &pSize) { argument
106 return decode<IntType>(reinterpret_cast<const ByteType*>(pBuf), pSize);
/frameworks/compile/mclinker/lib/LD/
H A DArchive.cpp160 void Archive::setSymTabSize(size_t pSize) argument
162 m_SymTabSize = pSize;
H A DFillFragment.cpp21 uint64_t pSize,
24 m_Size(pSize) {
19 FillFragment(int64_t pValue, unsigned int pValueSize, uint64_t pSize, SectionData* pSD) argument
H A DLDSection.cpp17 uint64_t pSize,
24 m_Size(pSize),
13 LDSection(const std::string& pName, LDFileFormat::Kind pKind, uint32_t pType, uint32_t pFlag, uint64_t pSize, uint64_t pOffset, uint64_t pAddr) argument
H A DNamePool.cpp17 NamePool::NamePool(const Resolver& pResolver, NamePool::size_type pSize) argument
18 : m_pResolver(&pResolver), m_Table(pSize) {
31 ResolveInfo::SizeType pSize,
41 result->setSize(pSize);
53 ResolveInfo::SizeType pSize,
80 new_symbol->setSize(pSize);
115 void NamePool::reserve(NamePool::size_type pSize) argument
117 m_Table.rehash(pSize);
26 createSymbol(const llvm::StringRef& pName, bool pIsDyn, ResolveInfo::Type pType, ResolveInfo::Desc pDesc, ResolveInfo::Binding pBinding, ResolveInfo::SizeType pSize, ResolveInfo::Visibility pVisibility) argument
48 insertSymbol(const llvm::StringRef& pName, bool pIsDyn, ResolveInfo::Type pType, ResolveInfo::Desc pDesc, ResolveInfo::Binding pBinding, ResolveInfo::SizeType pSize, ResolveInfo::Visibility pVisibility, ResolveInfo* pOldInfo, Resolver::Result& pResult) argument
/frameworks/compile/mclinker/lib/MC/
H A DMCLinker.cpp66 ResolveInfo::SizeType pSize,
84 pSize,
95 pSize, pVisibility,
173 ResolveInfo::SizeType pSize,
199 pBinding, pSize, pVisibility,
244 ResolveInfo::SizeType pSize,
256 pBinding, pSize, pVisibility,
283 info->setSize(pSize);
314 ResolveInfo::SizeType pSize,
336 info->setSize(pSize);
62 addSymbolFromObject(const llvm::StringRef& pName, ResolveInfo::Type pType, ResolveInfo::Desc pDesc, ResolveInfo::Binding pBinding, ResolveInfo::SizeType pSize, LDSymbol::ValueType pValue, FragmentRef* pFragmentRef, ResolveInfo::Visibility pVisibility) argument
169 addSymbolFromDynObj(const llvm::StringRef& pName, ResolveInfo::Type pType, ResolveInfo::Desc pDesc, ResolveInfo::Binding pBinding, ResolveInfo::SizeType pSize, LDSymbol::ValueType pValue, FragmentRef* pFragmentRef, ResolveInfo::Visibility pVisibility) argument
239 defineSymbolForcefully(const llvm::StringRef& pName, bool pIsDyn, ResolveInfo::Type pType, ResolveInfo::Desc pDesc, ResolveInfo::Binding pBinding, ResolveInfo::SizeType pSize, LDSymbol::ValueType pValue, FragmentRef* pFragmentRef, ResolveInfo::Visibility pVisibility) argument
309 defineSymbolAsRefered(const llvm::StringRef& pName, bool pIsDyn, ResolveInfo::Type pType, ResolveInfo::Desc pDesc, ResolveInfo::Binding pBinding, ResolveInfo::SizeType pSize, LDSymbol::ValueType pValue, FragmentRef* pFragmentRef, ResolveInfo::Visibility pVisibility) argument
360 defineAndResolveSymbolForcefully(const llvm::StringRef& pName, bool pIsDyn, ResolveInfo::Type pType, ResolveInfo::Desc pDesc, ResolveInfo::Binding pBinding, ResolveInfo::SizeType pSize, LDSymbol::ValueType pValue, FragmentRef* pFragmentRef, ResolveInfo::Visibility pVisibility) argument
406 defineAndResolveSymbolAsRefered(const llvm::StringRef& pName, bool pIsDyn, ResolveInfo::Type pType, ResolveInfo::Desc pDesc, ResolveInfo::Binding pBinding, ResolveInfo::SizeType pSize, LDSymbol::ValueType pValue, FragmentRef* pFragmentRef, ResolveInfo::Visibility pVisibility) argument
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp59 inline static bool get_size(int pHandler, unsigned int &pSize) argument
63 pSize = 0;
66 pSize = file_stat.st_size;
159 bool FileHandle::truncate(size_t pSize) argument
166 if (-1 == sys::fs::detail::ftruncate(m_Handler, pSize)) {
171 m_Size = pSize;
H A DLEB128.cpp96 uint64_t decode<uint64_t>(const ByteType *pBuf, size_t &pSize) { argument
100 pSize = 1;
103 pSize = 2;
107 pSize = 3;
112 pSize = 4;
130 pSize++;
188 int64_t decode<int64_t>(const ByteType *pBuf, size_t &pSize) { argument
193 pSize = 0;
197 pSize++;
H A DMemoryAreaFactory.cpp97 MemoryAreaFactory::create(void* pMemBuffer, size_t pSize) argument
99 Space* space = new Space(Space::EXTERNAL, pMemBuffer, pSize);
H A DMemoryRegion.cpp17 size_t pSize)
18 : m_Parent(pParent), m_VMAStart(pVMAStart), m_Length(pSize) {
15 MemoryRegion(Space& pParent, MemoryRegion::Address pVMAStart, size_t pSize) argument
H A DRegionFactory.cpp25 MemoryRegion* RegionFactory::produce(Space& pSpace, void* pVMAStart, size_t pSize) argument
30 pSize);
H A DSpace.cpp54 Space::Space(Space::Type pType, void* pMemBuffer, size_t pSize) argument
55 : m_Data(static_cast<Address>(pMemBuffer)), m_StartOffset(0), m_Size(pSize),
66 size_t pStart, size_t pSize)
72 switch(type = policy(pStart, pSize)) {
75 total_offset = pStart + pSize;
79 size = pSize;
92 size = pSize;
103 total_offset = page_boundary(pStart + pSize);
107 size = page_boundary((pStart - start) + pSize);
120 size = page_boundary((pStart - start) + pSize);
65 createSpace(FileHandle& pHandler, size_t pStart, size_t pSize) argument
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DPLT.cpp19 PLTEntry::PLTEntry(size_t pSize, SectionData* pParent) argument
21 m_EntrySize(pSize), m_pContent(NULL)
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86PLT.cpp53 X86PLT0::X86PLT0(SectionData* pParent, unsigned int pSize) argument
54 : PLTEntry(pSize, pParent) { }
56 X86PLT1::X86PLT1(SectionData* pParent, unsigned int pSize) argument
57 : PLTEntry(pSize, pParent) { }

Completed in 269 milliseconds

12