Home
last modified time | relevance | path

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

12

/CafeSDK-2.12.13-1/system/include/nn/util/
Dutil_Crc.h48 void Update(const void* input, size_t length);
65 static u8 Calculate(const void* input, size_t length, u8 context = CRC8_STANDARD_INIT);
113 void Update(const void* input, size_t length);
130 static u16 Calculate(const void* input, size_t length, u16 context = CRC16_STANDARD_INIT);
179 void Update(const void* input, size_t length);
196 static u16 Calculate(const void* input, size_t length, u16 context = CRC16_CCITT_INIT);
246 void Update(const void* input, size_t length);
263 static u32 Calculate(const void* input, size_t length, u32 context = CRC32_STANDARD_INIT);
313 void Update(const void* input, size_t length);
330 static u32 Calculate(const void* input, size_t length, u32 context = CRC32_POSIX_INIT);
/CafeSDK-2.12.13-1/system/src/lib/demo/
DdemoFWB.c106 s32 DEMOFWBWrite(DEMOFWBFileInfo* fwbFileInfo, void* bufferAddress, s32 length) in DEMOFWBWrite() argument
117 if(length > fwbFileInfo->writeBufferSize) in DEMOFWBWrite()
137 tempPtr = DEMOAllocEx(length+1, PPC_IO_BUFFER_ALIGN); in DEMOFWBWrite()
138 memcpy(tempPtr, bufferAddress, length); in DEMOFWBWrite()
143 length); in DEMOFWBWrite()
155 (length > (fwbFileInfo->writeBufferSize - fwbFileInfo->writeBufferWriteLocation))) in DEMOFWBWrite()
163 if(length > (fwbFileInfo->writeBufferSize - fwbFileInfo->writeBufferWriteLocation)) in DEMOFWBWrite()
170 memcpy(writeAddr, bufferAddress, length); in DEMOFWBWrite()
171 fwbFileInfo->writeBufferWriteLocation += length; in DEMOFWBWrite()
197 void copyChars(char* destination, char* source, u32 length) in copyChars() argument
[all …]
DdemoFS.c140 s32 DEMOFSGetLength( const DEMOFSFileInfo* fileInfo, u32* length ) in DEMOFSGetLength() argument
166 *length = sLength; in DEMOFSGetLength()
171 s32 DEMOFSRead( DEMOFSFileInfo* fileInfo, void* addr, s32 length, s32 offset ) in DEMOFSRead() argument
184 …result = FSReadFileWithPos(&_DEMOFSClient, pCmd, addr, (u32)length, 1, (u32)offset, *fileInfo, 0, … in DEMOFSRead()
196 s32 DEMOFSWrite(DEMOFSFileInfo* fileInfo, const void* addr, s32 length) in DEMOFSWrite() argument
209 …result = FSWriteFile(&_DEMOFSClient, pCmd, (void *)addr, 1, (u32)length, *fileInfo, 0, FS_RET_ALL_… in DEMOFSWrite()
218 else if (result != length) in DEMOFSWrite()
220 …("DEMOFS Error: FSWriteFile actual write count %d != requested write count %d.\n", result, length); in DEMOFSWrite()
DdemoGfx.c919 s32 DEMOGfxGetAssetFileLength(const DEMOFSFileInfo* fileInfo, u32* length) in DEMOGfxGetAssetFileLength() argument
921 return DEMOFSGetLength(fileInfo, length); in DEMOGfxGetAssetFileLength()
924 s32 DEMOGfxReadAssetFile(DEMOFSFileInfo* fileInfo, void* addr, s32 length, s32 offset) in DEMOGfxReadAssetFile() argument
926 return DEMOFSRead(fileInfo, addr, length, offset); in DEMOGfxReadAssetFile()
/CafeSDK-2.12.13-1/system/src/lib/libsys/
Dind_trnc.c134 int truncate(const char *path, long length) in truncate() argument
152 if (length == 0) { in truncate()
166 if (stat1.st_size != (unsigned long)-1 && length >= stat1.st_size) in truncate()
177 while (length > 0 && (count = read(inf, buf, LBUFSIZ)) > 0) { in truncate()
178 if (count > length) in truncate()
179 count = length; in truncate()
184 length -= count; in truncate()
189 if (length == 0 && count >= 0) { in truncate()
/CafeSDK-2.12.13-1/system/include/cafe/
Deppc.Cafe.rpl.ld4 codearea : origin = 0x02000000, length = 0x0E000000
5 … dataarea : origin = 0x10000000, length = 0xB0000000 // maximum virtual size (to start of r/o area)
6 dynlarea : origin = 0xC0000000, length = 0x08000000 // dynamic loader info
7 not_allowed : origin = 0, length = 0
Deppc.Cafe.ld4 codearea : origin = 0x02000000, length = 0x0E000000
5 … dataarea : origin = 0x10000000, length = 0xB0000000 // maximum virtual size (to start of r/o area)
6 dynlarea : origin = 0xC0000000, length = 0x08000000 // dynamic loader info
Dai.h74 void AIInitDMA (u32 start_addr, u32 length);
Dh264.h140 s32 H264DECSetBitstream(void *memPtr, const u8 *bitstream, const s32 length, const f64 timeStam…
149 …4DECCheckDecunitLength(void *memPtr, const u8 *buf, s32 totalBytes, s32 streamOffset, s32 *length);
Dwt.h79 u32 length; // length of sample in samples member
Daxart.h71 u32 length; // lfo samples for 1 period member
469 void AXARTInitLfo (AXART_LFO *lfo, f32 *samples, u32 length, f32 delta);
/CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/
DdemoFS.h99 s32 DEMOFSGetLength(const DEMOFSFileInfo* fileInfo, u32* length);
114 s32 DEMOFSRead(DEMOFSFileInfo* fileInfo, void* addr, s32 length, s32 offset);
128 s32 DEMOFSWrite(DEMOFSFileInfo* fileInfo, const void* addr, s32 length);
DdemoFWB.h96 s32 DEMOFWBWrite(DEMOFWBFileInfo* fwbFileInfo, void* bufferAddress, s32 length);
DdemoGfx.h347 s32 DEMOGfxGetAssetFileLength(const DEMOFSFileInfo* fileInfo, u32* length);
364 s32 DEMOGfxReadAssetFile(DEMOFSFileInfo* fileInfo, void* addr, s32 length, s32 offset);
/CafeSDK-2.12.13-1/system/include/cafe/demo/
DdemoFS.h99 s32 DEMOFSGetLength(const DEMOFSFileInfo* fileInfo, u32* length);
114 s32 DEMOFSRead(DEMOFSFileInfo* fileInfo, void* addr, s32 length, s32 offset);
128 s32 DEMOFSWrite(DEMOFSFileInfo* fileInfo, const void* addr, s32 length);
DdemoFWB.h96 s32 DEMOFWBWrite(DEMOFWBFileInfo* fwbFileInfo, void* bufferAddress, s32 length);
DdemoGfx.h347 s32 DEMOGfxGetAssetFileLength(const DEMOFSFileInfo* fileInfo, u32* length);
364 s32 DEMOGfxReadAssetFile(DEMOFSFileInfo* fileInfo, void* addr, s32 length, s32 offset);
/CafeSDK-2.12.13-1/system/src/tool/cafex/winmakebsf/
DbootosBootBlock.h64 u32 length; // length member
/CafeSDK-2.12.13-1/system/src/lib/szfile/
D7zFile.c210 WRes File_GetLength(CSzFile *p, UInt64 *length) in File_GetLength() argument
222 *length = (((UInt64)sizeHigh) << 32) + sizeLow; in File_GetLength()
229 *length = ftell(p->file); in File_GetLength()
D7zFile.h50 WRes File_GetLength(CSzFile *p, UInt64 *length);
/CafeSDK-2.12.13-1/system/include/cafe/vpad/
DvpadAPIs.h29 u32 length, s32* err ) ;
136 s32 VPADControlMotor( s32 chan, u8* pattern, u8 length ) ;
/CafeSDK-2.12.13-1/system/include/cafe/curl/
Dtypecheck-gcc.h575 typedef CURLcode (*_curl_conv_callback1)(char *, size_t length);
576 typedef CURLcode (*_curl_conv_callback2)(const char *, size_t length);
577 typedef CURLcode (*_curl_conv_callback3)(void *, size_t length);
578 typedef CURLcode (*_curl_conv_callback4)(const void *, size_t length);
Dcurl.h528 typedef CURLcode (*curl_conv_callback)(char *buffer, size_t length);
1760 int length);
1764 int length);
1780 int length,
1785 int length);
/CafeSDK-2.12.13-1/system/include/nn/nfp/
Dnfp_Types.h141 u8 length; //!< UID length. member
/CafeSDK-2.12.13-1/system/include/cafe/pads/kpad/
Dkpad.h286 void KPADInitEx ( KPADUnifiedWpadStatus uniRingBufs[], u32 length ) ;
289 s32 KPADRead ( s32 chan, KPADStatus samplingBufs[], u32 length ) ;
290 s32 KPADReadEx ( s32 chan, KPADStatus samplingBufs[], u32 length, s32 *err ) ;

12