Searched refs:byteLen (Results 1 – 2 of 2) sorted by relevance
| /CafeSDK-2.12.13-1/system/include/cafe/gx2/ |
| D | gx2Misc.h | 140 GX2_INLINE void GX2CopyEndianSwap(void *dst, const void *src, u32 byteLen) in GX2CopyEndianSwap() argument 142 ASSERT((byteLen % sizeof(u32))==0); in GX2CopyEndianSwap() 147 for(i=0; i<(byteLen>>2); i++) cdst[i] = csrc[i]; in GX2CopyEndianSwap() 153 for (i=0; i<byteLen>>2; i++) in GX2CopyEndianSwap() 169 GX2_INLINE void GX2EndianSwap(void *ptr, u32 byteLen) in GX2EndianSwap() argument 171 ASSERT((byteLen % sizeof(u32))==0); in GX2EndianSwap() 176 for(i=0; i<(byteLen>>2); i++) dst[i] = src[i]; in GX2EndianSwap() 181 for (i=0; i<byteLen>>2; i++) in GX2EndianSwap()
|
| /CafeSDK-2.12.13-1/system/src/tool/gfx/projects/gfd/ |
| D | gfdFileShader.cpp | 2004 void _GFDWriteWordsAsHex(FILE *fp, u32 *ptr, u32 byteLen) in _GFDWriteWordsAsHex() argument 2007 assert((byteLen & 0x03) == 0); in _GFDWriteWordsAsHex() 2010 for(u32 j = 0; j < byteLen/4; j++) in _GFDWriteWordsAsHex() 2012 fprintf(fp,"0x%08x%c", ptr[j], (j==byteLen/4-1)?' ':','); in _GFDWriteWordsAsHex() 2023 void _GFDWriteWordsAsCode(FILE *fp, const char *name, u32 *ptr, u32 byteLen, const char *attrib) in _GFDWriteWordsAsCode() argument 2026 assert((byteLen & 0x03) == 0); in _GFDWriteWordsAsCode() 2028 if (ptr == NULL || byteLen == 0) { in _GFDWriteWordsAsCode() 2032 fprintf(fp, "%s static const u32 %s[%u] =\n{\n", attrib, name, byteLen/4); in _GFDWriteWordsAsCode() 2034 _GFDWriteWordsAsHex(fp, ptr, byteLen); in _GFDWriteWordsAsCode()
|