/frameworks/compile/mclinker/lib/Support/ |
D | LEB128.cpp | 17 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue) { in encode() argument 24 *pBuf++ = byte; in encode() 36 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue) { in encode() argument 38 *pBuf++ = static_cast<ByteType>(pValue); in encode() 41 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); in encode() 42 *pBuf++ = static_cast<ByteType>((pValue >> 7) & 0x7f); in encode() 45 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); in encode() 46 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80); in encode() 47 *pBuf++ = static_cast<ByteType>((pValue >> 14) & 0x7f); in encode() 50 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); in encode() [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | LEB128.h | 23 size_t encode(ByteType*& pBuf, IntType pValue); 26 IntType decode(const ByteType* pBuf, size_t& pSize); 29 IntType decode(const ByteType*& pBuf); 52 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue); 55 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue); 61 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue); 64 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue); 72 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize); 79 uint64_t decode<uint64_t>(const ByteType*& pBuf); 85 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize); [all …]
|
D | FileSystem.h | 96 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset); 97 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset);
|
/frameworks/compile/mclinker/lib/Target/ |
D | ELFAttributeData.cpp | 19 const char*& pBuf, in ReadTag() argument 24 leb128::decode<uint64_t>(pBuf, size)); in ReadTag() 29 pBuf += size; in ReadTag() 36 const char*& pBuf, in ReadValue() argument 41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); in ReadValue() 47 pBuf += size; in ReadValue() 53 pValue.setStringValue(pBuf); in ReadValue() 57 pBuf += size; in ReadValue() 66 char*& pBuf) { in WriteAttribute() argument 68 leb128::encode<uint32_t>(pBuf, pTag); in WriteAttribute() [all …]
|
D | ELFAttribute.cpp | 299 size_t ELFAttribute::Subsection::emit(char* pBuf) const { in emit() 304 char* buffer = pBuf; in emit() 334 uint32_t subsection_length = (buffer - pBuf) + subsubsection_length; in emit()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFAttributeData.h | 79 virtual size_t emit(char* pBuf) const = 0; 88 static bool ReadTag(TagType& pTag, const char*& pBuf, size_t& pBufSize); 96 const char*& pBuf, 107 char*& pBuf);
|
D | ELFAttribute.h | 96 size_t emit(char* pBuf) const;
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | FileSystem.inc | 89 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset) { 98 if (-1 == (ret = ::read(pFD, pBuf, pCount))) { 111 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset) { 120 if (-1 == (ret = ::write(pFD, pBuf, pCount))) {
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 129 ssize_t pread(int pFD, void* pBuf, size_t pCount, off_t pOffset) { 130 return ::pread(pFD, pBuf, pCount, pOffset); 133 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, off_t pOffset) { 134 return ::pwrite(pFD, pBuf, pCount, pOffset);
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
D | SoftAVCDec.cpp | 415 uint8_t *pBuf; in setDecodeArgs() local 421 pBuf = outHeader->pBuffer; in setDecodeArgs() 424 pBuf = mFlushOutBuffer; in setDecodeArgs() 427 ps_dec_ip->s_out_buffer.pu1_bufs[0] = pBuf; in setDecodeArgs() 428 ps_dec_ip->s_out_buffer.pu1_bufs[1] = pBuf + sizeY; in setDecodeArgs() 429 ps_dec_ip->s_out_buffer.pu1_bufs[2] = pBuf + sizeY + sizeUV; in setDecodeArgs()
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
D | SoftHEVC.cpp | 412 uint8_t *pBuf; in setDecodeArgs() local 418 pBuf = outHeader->pBuffer; in setDecodeArgs() 421 pBuf = mFlushOutBuffer; in setDecodeArgs() 424 ps_dec_ip->s_out_buffer.pu1_bufs[0] = pBuf; in setDecodeArgs() 425 ps_dec_ip->s_out_buffer.pu1_bufs[1] = pBuf + sizeY; in setDecodeArgs() 426 ps_dec_ip->s_out_buffer.pu1_bufs[2] = pBuf + sizeY + sizeUV; in setDecodeArgs()
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
D | SoftMPEG2.cpp | 548 uint8_t *pBuf; in setDecodeArgs() local 554 pBuf = outHeader->pBuffer; in setDecodeArgs() 557 pBuf = mFlushOutBuffer; in setDecodeArgs() 560 ps_dec_ip->s_out_buffer.pu1_bufs[0] = pBuf; in setDecodeArgs() 561 ps_dec_ip->s_out_buffer.pu1_bufs[1] = pBuf + sizeY; in setDecodeArgs() 562 ps_dec_ip->s_out_buffer.pu1_bufs[2] = pBuf + sizeY + sizeUV; in setDecodeArgs()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMELFAttributeData.h | 179 virtual size_t emit(char* pBuf) const;
|
D | ARMELFAttributeData.cpp | 997 size_t ARMELFAttributeData::emit(char* pBuf) const { in emit() 998 char* buffer = pBuf; in emit() 1061 return (buffer - pBuf); in emit()
|