Home
last modified time | relevance | path

Searched refs:total_allocated_size (Results 1 – 3 of 3) sorted by relevance

/TwlSDK-5.4/build/demos.TWL/crypto/rsa-1/src/
Dmain.c43 static u32 total_allocated_size = 0; variable
133 total_allocated_size += size; in MyAlloc()
134 OS_TPrintf("Allocate %d bytes from %p: total %d bytes\n", size, ptr, total_allocated_size); in MyAlloc()
152 total_allocated_size -= size; in MyFree()
153 OS_TPrintf("Free %d bytes from %p: total %d bytes\n", size, ptr, total_allocated_size); in MyFree()
176 total_allocated_size += new_size; in MyRealloc()
177 … OS_TPrintf("Reallocate %d bytes from %p: total %d bytes\n", new_size, ptr, total_allocated_size); in MyRealloc()
181 total_allocated_size -= size; in MyRealloc()
182 …S_TPrintf("Free(for realloc) %d bytes from %p: total %d bytes\n", size, ptr, total_allocated_size); in MyRealloc()
/TwlSDK-5.4/build/demos.TWL/crypto/sign-2/src/
Dmain.c46 static u32 total_allocated_size = 0; variable
100 total_allocated_size += size; in MyAlloc()
101 OS_TPrintf("Allocate %d bytes from %p: total %d bytes\n", size, ptr, total_allocated_size); in MyAlloc()
119 total_allocated_size -= size; in MyFree()
120 OS_TPrintf("Free %d bytes from %p: total %d bytes\n", size, ptr, total_allocated_size); in MyFree()
143 total_allocated_size += new_size; in MyRealloc()
144 … OS_TPrintf("Reallocate %d bytes from %p: total %d bytes\n", new_size, ptr, total_allocated_size); in MyRealloc()
148 total_allocated_size -= size; in MyRealloc()
149 …S_TPrintf("Free(for realloc) %d bytes from %p: total %d bytes\n", size, ptr, total_allocated_size); in MyRealloc()
/TwlSDK-5.4/build/demos/crypto/sign-1/src/
Dmain.c39 static u32 total_allocated_size = 0; variable
58 total_allocated_size += size; in MyAlloc()
59 OS_TPrintf("Allocate %d bytes from %p: total %d bytes\n", size, ptr, total_allocated_size); in MyAlloc()
77 total_allocated_size -= size; in MyFree()
78 OS_TPrintf("Free %d bytes from %p: total %d bytes\n", size, ptr, total_allocated_size); in MyFree()