Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 30) sorted by relevance

12

/CTR-SDK-0.13.2/include/nn/net/osl/
Dosl_Mbuf.h92 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];
[all …]
/CTR-SDK-0.13.2/include/nn/fs/CTR/MPCore/
Dfs_FileBase.h53 …Result TryRead(s32* pOut, s64 offset, void* buffer, size_t size) { return UserFileSystem::TryReadF… in TryRead() argument
54 …ult TryWrite(s32* pOut, s64 offset, const void* buffer, size_t size) { return UserFileSystem::TryW… in TryWrite() argument
60 Result DuplicateHandle(Handle* pOut, s64 offset, s64 length) in DuplicateHandle() argument
62 return UserFileSystem::DuplicateHandleForFile(pOut, m_P, offset, length); in DuplicateHandle()
Dfs_UserArchive.h26 virtual Result TryRead(s32* pOut, s64 offset, void* buffer, size_t size) = 0;
27 virtual Result TryWrite(s32* pOut, s64 offset, const void* buffer, size_t size) = 0;
31 virtual Result DuplicateHandle(Handle* pOut, s64 offset, s64 length) = 0;
Dfs_UserFileSystem.h50 static Result DuplicateHandleForFile(Handle* pOut, void* p, s64 offset, s64 length);
55 static Result TryReadFile(s32* pOut, void* p, s64 offset, void* buffer, size_t size);
56 static Result TryWriteFile(s32* pOut, void* p, s64 offset, const void* buffer, size_t size);
/CTR-SDK-0.13.2/sources/libraries/rdt/CTR/
Drdt_RingBuffer.cpp162 size_t RingBuffer::Read(void *pBuf, size_t n, size_t offset) const in Read()
166 ASSERT((0 <= offset) && (offset < m_bufLength)); in Read()
168 return read(pBuf, n, offset); in Read()
172 size_t RingBuffer::read(void *pBuf, size_t n, size_t offset) const in read()
176 ASSERT((0 <= offset) && (offset < m_bufLength)); in read()
178 if(offset >= m_dataLength) in read()
186 size_t len = min(m_dataLength - offset, n); in read()
189 u8 *from = m_pHeadData + offset; in read()
Drdt_RingBuffer.h78 size_t Read(void *pBuf, size_t n, size_t offset) const;
122 size_t read(void *pBuf, size_t n, size_t offset) const;
/CTR-SDK-0.13.2/include/nn/fs/
Dfs_IpcFile.h59 nn::Result OpenSubFile( nn::Handle* pOut, s64 offset, s64 length );
60 nn::Result Read( s32* pRead, s64 offset, void* pBuffer, size_t size );
61 nn::Result Write( s32* pWritten, s64 offset, const void* pBuffer, size_t size, bool flush );
/CTR-SDK-0.13.2/include/nn/hio/CTR/
Dhio_SharedMemoryChannel.h102 Result Read(void* buf, size_t length, int offset);
116 Result Write(const void* buf, size_t length, int offset);
Dhio_HostFile.h204 Result Seek(s64* pPosition, s64 offset, SeekType type);
216 s64 Seek(s64 offset, SeekType type) in Seek() argument
219 return Seek(&pos, offset, type).IsFailure() ? -1: pos; in Seek()
/CTR-SDK-0.13.2/sources/libraries/os/
Dos_Thread.cpp47 const s32 offset = svc - SVC_USER_THREAD_PRIORITY_HIGHEST; in ConvertSvcToLibraryPriority() local
48 return offset; in ConvertSvcToLibraryPriority()
52 const s32 offset = svc - SVC_LIBRARY_THREAD_PRIORITY_HIGHEST; in ConvertSvcToLibraryPriority() local
53 return LIBRARY_THREAD_PRIORITY_BASE + offset; in ConvertSvcToLibraryPriority()
70 const s32 offset = lib - LIBRARY_THREAD_PRIORITY_HIGHEST; in ConvertLibraryToSvcPriority() local
71 return SVC_LIBRARY_THREAD_PRIORITY_HIGHEST + offset; in ConvertLibraryToSvcPriority()
76 const s32 offset = lib - PRIVILEGED_THREAD_PRIORITY_HIGHEST; in ConvertLibraryToSvcPriority() local
77 return SVC_PRIVILEGED_THREAD_PRIORITY_HIGHEST + offset; in ConvertLibraryToSvcPriority()
/CTR-SDK-0.13.2/include/nn/fslow/
Dfslow_IFile.h32 virtual Result ReadBytes(s32* pRead, s64 offset, void* buffer, size_t size) = 0;
33 virtual Result WriteBytes(s32* pWritten, s64 offset, const void* buffer, size_t size) = 0;
Dfslow_ArchiveMapFileSystem.h120 Result ReadFile(s32* pOut, const FileHandle& handle, s64 offset, void* buffer, size_t size) in ReadFile() argument
128 return handle.p->ReadBytes(pOut, offset, buffer, size); in ReadFile()
131 … Result WriteFile(s32* pOut, const FileHandle& handle, s64 offset, const void* buffer, size_t size) in WriteFile() argument
139 return handle.p->WriteBytes(pOut, offset, buffer, size, true); in WriteFile()
/CTR-SDK-0.13.2/sources/libraries/fnd/detail/
Dfnd_DetailList.cpp20 #define OBJ_TO_LINK(list,obj) ((NNSFndLink*)(((u32)(obj))+(list)->offset))
36 InitList(NNSFndList* list, u16 offset) in InitList() argument
43 list->offset = offset; in InitList()
Dfnd_DetailList.h58 u16 offset);
/CTR-SDK-0.13.2/include/nn/font/
Dfont_CharStrmReader.h128 CharType GetChar(int offset=0) const
131 return *(charStrm + offset);
/CTR-SDK-0.13.2/include/nn/gx/CTR/
Dgx_MacroShader.h96 #define PICA_CMD_DATA_DRAW_VERTEX_OFFSET(offset) (offset) argument
463 #define PICA_CMD_DATA_LOAD_ARRAY0_ATTR_OFFSET(offset) (offset) argument
529 #define PICA_CMD_DATA_INDEX_ARRAY_ADDR_OFFSET(offset, type) \ argument
530 ( (offset) | ((type) ? 0x80000000 : 0 ) )
/CTR-SDK-0.13.2/include/nn/snd/CTR/Common/
Dsnd_Bcwav.h42 u32 offset; member
239 static const void* AddOffsetToPtr(const void* ptr, int offset);
/CTR-SDK-0.13.2/include/nn/fnd/detail/
Dfnd_DetailHeapHead.h52 u16 offset; // NNSFndLink型の構造体メンバのオフセット。 member
/CTR-SDK-0.13.2/include/nn/mic/CTR/
Dmic_Api.h147 … Result StartSampling( SamplingType type, SamplingRate rate, s32 offset, size_t size, bool loop );
/CTR-SDK-0.13.2/include/nn/net/compatible/nos/
Dnos_horizon.h1055 NN_INLINE s32 NOS_m_copydata(const NOSMessageBuf *mbuf, s32 offset, s32 len, u8 *buf) in NOS_m_copydata() argument
1057 return nnnetOslMbuf_copydata(mbuf, offset, len, buf); in NOS_m_copydata()
1060 NN_INLINE s32 NOS_m_copyback(NOSMessageBuf *mbuf, s32 offset, s32 len, const u8 *buf) in NOS_m_copyback() argument
1062 return nnnetOslMbuf_copyback(mbuf, offset, len, buf); in NOS_m_copyback()
1080 NN_INLINE s32 NOS_m_apply(NOSMessageBuf *mbuf, s32 offset, s32 len, s32 (*f)(void *arg, void *data,… in NOS_m_apply() argument
1082 return nnnetOslMbuf_apply(mbuf, offset, len, f, arg); in NOS_m_apply()
/CTR-SDK-0.13.2/include/nn/net/compatible/nhttp/
Dnhttp.h212 u32 offset; /**< 送信済みデータ長 */ member
222 u32 offset; /**< 送信済みデータ長 */ member
233 u32 offset; /**< 送信済みデータ長 */ member
/CTR-SDK-0.13.2/include/nn/friends/CTR/
Dfriends_Api.h58 … Result GetFriendKeyList( FriendKey* pFriendKeyList, size_t* pNum, size_t offset, size_t size );
307 …Result GetFriendKeyList( FriendKey* pFriendKeyList, size_t* pNum, size_t offset = 0, size_t size =…
308 …inline Result GetFriendKeyList( FriendKey* pFriendKeyList, size_t* pNum, size_t offset, size_t siz… in GetFriendKeyList() argument
310 return detail::GetFriendKeyList( pFriendKeyList, pNum, offset, size ); in GetFriendKeyList()
/CTR-SDK-0.13.2/include/nn/net/compatible/nnet/
Dnnet_ring.h47 u8* NNET_RingInExMbuf( u8* buf, s32 size, u8* head, s32 used, s32 offset, NOSMessageBuf *mbuf, s3…
/CTR-SDK-0.13.2/sources/libraries/fnd/
Dfnd_DateTime.cpp139 int offset = 1; in DateToDays() local
143 offset = IsLeapYear(year); in DateToDays()
150 + offset; in DateToDays()
/CTR-SDK-0.13.2/include/nn/boss/
Dboss_Types.h91 u32 offset; /* オフセット指定 */ member

12