Home
last modified time | relevance | path

Searched refs:reallocSize (Results 1 - 3 of 3) sorted by relevance

/developtools/profiler/device/plugins/native_hook/test/
H A Dhook_test.c84 char* DepthRealloc(int depth, void* p, int reallocSize) in DepthRealloc() argument
89 return (char*)realloc(p, reallocSize); in DepthRealloc()
91 return (DepthRealloc(depth - 1, p, reallocSize)); in DepthRealloc()
160 int reallocSize = mallocSize * DEFAULT_REALLOC_SIZE; in ApplyForRealloc() local
161 printf("\nstart realloc apply (size = %d)\n", reallocSize); in ApplyForRealloc()
175 char* np = DepthRealloc(STATIC_DEPTH, p, reallocSize); in ApplyForRealloc()
184 printf("realloc success, realloc (%d) time is %f\n", reallocSize, duration); in ApplyForRealloc()
H A Dmalloc_test.cpp82 static char* DepthRealloc(int depth, void* p, int reallocSize) in DepthRealloc() argument
87 return (char*)realloc(p, reallocSize); in DepthRealloc()
89 return (DepthRealloc(depth - 1, p, reallocSize)); in DepthRealloc()
159 int reallocSize = mallocSize * defaultReallocSize; in ApplyForRealloc() local
160 printf("\nstart realloc apply (size = %d)\n", reallocSize); in ApplyForRealloc()
174 char* np = DepthRealloc(STATIC_DEPTH, p, reallocSize); in ApplyForRealloc()
183 printf("realloc success, realloc (%d) time is %f\n", reallocSize, duration); in ApplyForRealloc()
/developtools/profiler/device/plugins/native_hook/test/unittest/
H A Dcheck_hook_data_test.cpp362 char *DepthRealloc(int depth, void *p, int reallocSize) in DepthRealloc() argument
367 return reinterpret_cast<char *>(realloc(p, reallocSize)); in DepthRealloc()
369 return (DepthRealloc(depth - 1, p, reallocSize)); in DepthRealloc()
374 int reallocSize = DEFAULT_REALLOC_SIZE; in ApplyForRealloc() local
383 char *np = DepthRealloc(depth, p, reallocSize); in ApplyForRealloc()

Completed in 6 milliseconds