Lines Matching refs:length
106 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
199 for(u32 i = 0; i < length; i++) in copyChars()