Lines Matching refs:offset
92 NN_EXTERN_C s32 nnnetOslMbuf_copydata (const nnnetOslMbuf* pMbuf_, s32 offset, s32 le…
93 NN_EXTERN_C s32 nnnetOslMbuf_copyback (nnnetOslMbuf* pMbuf_, s32 offset, s32 len, con…
97 NN_EXTERN_C s32 nnnetOslMbuf_apply (nnnetOslMbuf* pMbuf_, s32 offset, s32 len, s32…
99 NN_EXTERN_C bool nnnetOslMbuf_align (nnnetOslMbuf* pMbuf_, u8 align, s8 offset);
318 u8* GetTopPtr(s32 offset = 0)
320 NN_TASSERT_(m_top + offset < m_capacity);
321 return &m_data[m_top + offset];
324 const u8* GetTopPtr(s32 offset = 0) const
326 NN_TASSERT_(m_top + offset < m_capacity);
327 return &m_data[m_top + offset];
330 bool IsDataAligned(u8 align, s8 offset = 0) const
332 return IsAligned(reinterpret_cast<uptr>(GetTopPtr()), align, offset);
350 static bool IsAligned(uptr address, u8 align, s8 offset) in IsAligned() argument
353 return ((address + offset) & (align - 1)) == 0; in IsAligned()
363 bool CopyChainTo(u8* pDst, s32 offset = 0, s32 len = NN_NET_OSL_M_COPYALL) const
365 … return nnnetOslMbuf_copydata(reinterpret_cast<const nnnetOslMbuf*>(this), offset, len, pDst) == 0;
369 bool AlignData(u8 align, s8 offset) in AlignData() argument
371 return nnnetOslMbuf_align(reinterpret_cast<nnnetOslMbuf*>(this), align, offset); in AlignData()