Home
last modified time | relevance | path

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

12

/CTR-SDK-4.2.5/include/nn/ro/
Dro_SectionTable.h88 uptr GetAddress(int index, u32 offset) const in GetAddress() argument
97 if( ! (offset < section.size) ) in GetAddress()
102 return section.offset + offset; in GetAddress()
122 uptr GetReferedAddress(int index, u32 offset) const in GetReferedAddress() argument
131 if( ! (offset <= section.size) ) in GetReferedAddress()
136 return section.offset + offset; in GetReferedAddress()
155 T GetPointer(int index, u32 offset) const in GetPointer() argument
157 return reinterpret_cast<T>(GetAddress(index, offset)); in GetPointer()
/CTR-SDK-4.2.5/documents/api/nn/fs/briefing/
Dsavedata_calc.js256 this.offset = 0;
322 var offset = 0;
334 offset = AdjustAlignment(offset, inputParam.sizeBlockLevel[1]);
337 levelInfo[level].offset = offset;
340 offset += sizeLevel[level] * 2;
344 outResult.sizeBody = offset;
387 this.offset = 0;
419 var offset = 0;
420 offset += HierarchicalIntegrityVerificationFile.META_INFO_SIZE;
421 offset = AdjustAlignment(offset, 4);
[all …]
/CTR-SDK-4.2.5/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-4.2.5/sources/libraries/rdt/CTR/
Drdt_RingBuffer.cpp160 size_t RingBuffer::Read(void *pBuf, size_t n, size_t offset) const in Read()
164 ASSERT((0 <= offset) && (offset < m_bufLength)); in Read()
166 return read(pBuf, n, offset); in Read()
170 size_t RingBuffer::read(void *pBuf, size_t n, size_t offset) const in read()
174 ASSERT((0 <= offset) && (offset < m_bufLength)); in read()
176 if(offset >= m_dataLength) in read()
184 size_t len = min(m_dataLength - offset, n); in read()
187 u8 *from = m_pHeadData + offset; in read()
Drdt_RingBuffer.h76 size_t Read(void *pBuf, size_t n, size_t offset) const;
120 size_t read(void *pBuf, size_t n, size_t offset) const;
/CTR-SDK-4.2.5/include/nn/fs/CTR/MPCore/
Dfs_FileBase.h58 …esult TryRead(s32* pOut, s64 offset, void* buffer, size_t size) { return UserFileSystem::TryReadFi… in TryRead() argument
59 Result TryWrite(s32* pOut, s64 offset, const void* buffer, size_t size, bool flush=true)
69 return UserFileSystem::TryWriteFile(pOut, GetPtr(), offset, buffer, size, flush);
84 Result DuplicateHandle(Handle* pOut, s64 offset, s64 length) in DuplicateHandle() argument
86 return UserFileSystem::DuplicateHandleForFile(pOut, GetPtr(), 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, bool flush=true) =…
35 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, bool f…
/CTR-SDK-4.2.5/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.h228 Result Seek(s64* pPosition, s64 offset, SeekType type);
243 s64 Seek(s64 offset, SeekType type) in Seek() argument
246 return Seek(&pos, offset, type).IsFailure() ? -1: pos; in Seek()
/CTR-SDK-4.2.5/sources/libraries/cx/
Dcx_SecureUncompression.cpp284 s32 offset; in SecureUncompressLZ() local
313 offset = (*pSrc++ & 0x0f) << 8; in SecureUncompressLZ()
314 offset = (offset | *pSrc++) + 1; in SecureUncompressLZ()
327 if ( &pDst[ -offset ] < destp ) in SecureUncompressLZ()
335 *pDst++ = pDst[ -offset ]; in SecureUncompressLZ()
398 u32 offset = (u32)( ( (*treep & 0x3F) + 1 ) << 1); in VerifyHuffmanTable() local
399 u8* nodep = (u8*)( (((u32)treep >> 1) << 1) + offset ); in VerifyHuffmanTable()
413 u32 left = (idx & ~0x1) + offset; in VerifyHuffmanTable()
418 u32 right = (idx & ~0x1) + offset + 1; in VerifyHuffmanTable()
841 u32 offset = (u32)( ( (*treep & ofs_mask) + 1 ) << 1 ); in LHVerifyTable() local
[all …]
Dcx_Uncompression.cpp225 s32 offset; in UncompressLZ() local
252 offset = (*pSrc++ & 0x0f) << 8; in UncompressLZ()
253 offset = (offset | *pSrc++) + 1; in UncompressLZ()
257 u8* pTmp = pDst - offset; in UncompressLZ()
534 u32 offset = (((*nodep & 0x7F) + 1U) << 1) + bit; in UncompressLH() local
539 val = *(nodep + offset); in UncompressLH()
545 nodep += offset; in UncompressLH()
563 u32 offset = (((*nodep & OFFSET_MASK) + 1U) << 1) + bit; in UncompressLH() local
568 val = *(nodep + offset); in UncompressLH()
574 nodep += offset; in UncompressLH()
[all …]
Dcx_StreamingUncompression.cpp318 s32 offset; in ReadUncompLZ() local
420 offset = (context->length & 0xF) << 8; in ReadUncompLZ()
422 offset = (offset | *srcp++) + 1; in ReadUncompLZ()
438 *context->destp = context->destp[ -offset ]; in ReadUncompLZ()
917 u32 offset; in ReadUncompLH() local
925 offset = (((*nodep & 0x7F) + 1U) << 1) + bit; in ReadUncompLH()
930 length = *(nodep + offset); in ReadUncompLH()
937 nodep += offset; in ReadUncompLH()
963 u32 offset; in ReadUncompLH() local
972 offset = (((*nodep & OFFSET_MASK) + 1U) << 1) + bit; in ReadUncompLH()
[all …]
/CTR-SDK-4.2.5/sources/libraries/os/
Dos_Thread.cpp56 const s32 offset = svc - SVC_USER_THREAD_PRIORITY_HIGHEST; in ConvertSvcToLibraryPriority() local
57 return offset; in ConvertSvcToLibraryPriority()
61 const s32 offset = svc - SVC_LIBRARY_THREAD_PRIORITY_HIGHEST; in ConvertSvcToLibraryPriority() local
62 return LIBRARY_THREAD_PRIORITY_BASE + offset; in ConvertSvcToLibraryPriority()
79 const s32 offset = lib - LIBRARY_THREAD_PRIORITY_HIGHEST; in ConvertLibraryToSvcPriority() local
80 return SVC_LIBRARY_THREAD_PRIORITY_HIGHEST + offset; in ConvertLibraryToSvcPriority()
85 const s32 offset = lib - PRIVILEGED_THREAD_PRIORITY_HIGHEST; in ConvertLibraryToSvcPriority() local
86 return SVC_PRIVILEGED_THREAD_PRIORITY_HIGHEST + offset; in ConvertLibraryToSvcPriority()
/CTR-SDK-4.2.5/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-4.2.5/include/nn/font/
Dfont_CharStrmReader.h128 CharType GetChar(int offset=0) const
131 return *(charStrm + offset);
/CTR-SDK-4.2.5/sources/libraries/math/
Dmath_TinyMt.cpp79 int offset = 1; in Initialize() local
83 GenerateInitialValuePlus(m_State, (offset + i) % PARAMETER_N, seed); in Initialize()
86 offset = numLoop + 1; in Initialize()
89 GenerateInitialValueXor(m_State, (offset + i) % PARAMETER_N); in Initialize()
/CTR-SDK-4.2.5/include/nn/gx/CTR/
Dgx_MacroShader.h101 #define PICA_CMD_DATA_DRAW_VERTEX_OFFSET(offset) (offset) argument
534 #define PICA_CMD_DATA_LOAD_ARRAY0_ATTR_OFFSET(offset) (offset) argument
621 #define PICA_CMD_DATA_INDEX_ARRAY_ADDR_OFFSET(offset, type) \ argument
622 ( (offset) | ((type) ? 0x80000000 : 0 ) )
/CTR-SDK-4.2.5/sources/libraries/dbg/CTR/
Ddbg_DirectPrint.cpp156 int offset = 0; in PutString() local
158 while ( str[ offset ] != '\0' ) in PutString()
160 char c = str[ offset ]; in PutString()
173 ++ offset; in PutString()
175 … if ( c == '\n' || ( autoLineFeed && str[ offset ] != '\n' && cursor.x + FONT_WIDTH >= boxWidth ) ) in PutString()
/CTR-SDK-4.2.5/include/nn/snd/CTR/Common/
Dsnd_Bcwav.h43 u32 offset; member
240 static const void* AddOffsetToPtr(const void* ptr, int offset);
/CTR-SDK-4.2.5/include/nn/fnd/detail/
Dfnd_DetailHeapHead.h52 u16 offset; // Offset for NNSFndLink type structure member. member
/CTR-SDK-4.2.5/include/nn/net/compatible/nos/
Dnos_horizon.h1061 NN_INLINE s32 NOS_m_copydata(const NOSMessageBuf *mbuf, s32 offset, s32 len, u8 *buf) in NOS_m_copydata() argument
1063 return nnnetOslMbuf_copydata(mbuf, offset, len, buf); in NOS_m_copydata()
1066 NN_INLINE s32 NOS_m_copyback(NOSMessageBuf *mbuf, s32 offset, s32 len, const u8 *buf) in NOS_m_copyback() argument
1068 return nnnetOslMbuf_copyback(mbuf, offset, len, buf); in NOS_m_copyback()
1086 NN_INLINE s32 NOS_m_apply(NOSMessageBuf *mbuf, s32 offset, s32 len, s32 (*f)(void *arg, void *data,… in NOS_m_apply() argument
1088 return nnnetOslMbuf_apply(mbuf, offset, len, f, arg); in NOS_m_apply()
/CTR-SDK-4.2.5/tools/CommandLineTools/ctr_GxCommandAnalyzer/
Dabstruct.csv257 0x203,Load array 0 address offset
260 0x206,Load array 1 address offset
263 0x209,Load array 2 address offset
266 0x20c,Load array 3 address offset
269 0x20f,Load array 4 address offset
272 0x212,Load array 5 address offset
275 0x215,Load array 6 address offset
278 0x218,Load array 7 address offset
281 0x21b,Load array 8 address offset
284 0x21e,Load array 9 address offset
[all …]
/CTR-SDK-4.2.5/include/nn/net/compatible/nhttp/
Dnhttp.h214 u32 offset; /* Please see man pages for details */ member
224 u32 offset; /* Please see man pages for details */ member
235 u32 offset; /* Please see man pages for details */ member

12