Lines Matching refs:Memory

33 	if (!Memory::IsValidAddress(ctx))  in sceKernelUtilsMt19937Init()
35 void *ptr = Memory::GetPointer(ctx); in sceKernelUtilsMt19937Init()
44 if (!Memory::IsValidAddress(ctx)) in sceKernelUtilsMt19937UInt()
46 MersenneTwister *mt = (MersenneTwister *)Memory::GetPointer(ctx); in sceKernelUtilsMt19937UInt()
57 if (!Memory::IsValidAddress(dataAddr) || !Memory::IsValidAddress(digestAddr)) in sceMd5Digest()
60 md5(Memory::GetPointer(dataAddr), (int)len, Memory::GetPointer(digestAddr)); in sceMd5Digest()
66 if (!Memory::IsValidAddress(ctxAddr)) in sceMd5BlockInit()
78 if (!Memory::IsValidAddress(ctxAddr) || !Memory::IsValidAddress(dataPtr)) in sceMd5BlockUpdate()
81 md5_update(&md5_ctx, Memory::GetPointer(dataPtr), (int)len); in sceMd5BlockUpdate()
87 if (!Memory::IsValidAddress(ctxAddr) || !Memory::IsValidAddress(digestAddr)) in sceMd5BlockResult()
90 md5_finish(&md5_ctx, Memory::GetPointer(digestAddr)); in sceMd5BlockResult()
97 if (!Memory::IsValidAddress(dataAddr) || !Memory::IsValidAddress(digestAddr)) in sceKernelUtilsMd5Digest()
100 md5(Memory::GetPointer(dataAddr), (int)len, Memory::GetPointer(digestAddr)); in sceKernelUtilsMd5Digest()
106 if (!Memory::IsValidAddress(ctxAddr)) in sceKernelUtilsMd5BlockInit()
118 if (!Memory::IsValidAddress(ctxAddr) || !Memory::IsValidAddress(dataPtr)) in sceKernelUtilsMd5BlockUpdate()
121 md5_update(&md5_ctx, Memory::GetPointer(dataPtr), (int)len); in sceKernelUtilsMd5BlockUpdate()
127 if (!Memory::IsValidAddress(ctxAddr) || !Memory::IsValidAddress(digestAddr)) in sceKernelUtilsMd5BlockResult()
130 md5_finish(&md5_ctx, Memory::GetPointer(digestAddr)); in sceKernelUtilsMd5BlockResult()
140 if (!Memory::IsValidAddress(dataAddr) || !Memory::IsValidAddress(digestAddr)) in sceKernelUtilsSha1Digest()
143 sha1(Memory::GetPointer(dataAddr), (int)len, Memory::GetPointer(digestAddr)); in sceKernelUtilsSha1Digest()
149 if (!Memory::IsValidAddress(ctxAddr)) in sceKernelUtilsSha1BlockInit()
162 if (!Memory::IsValidAddress(ctxAddr) || !Memory::IsValidAddress(dataAddr)) in sceKernelUtilsSha1BlockUpdate()
165 sha1_update(&sha1_ctx, Memory::GetPointer(dataAddr), (int)len); in sceKernelUtilsSha1BlockUpdate()
171 if (!Memory::IsValidAddress(ctxAddr) || !Memory::IsValidAddress(digestAddr)) in sceKernelUtilsSha1BlockResult()
174 sha1_finish(&sha1_ctx, Memory::GetPointer(digestAddr)); in sceKernelUtilsSha1BlockResult()