Home
last modified time | relevance | path

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

/developtools/profiler/device/plugins/native_hook/test/
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()
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()
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dcheck_hook_data_test.cpp316 char *DepthRealloc(int depth, void *p, int reallocSize) in DepthRealloc() argument
321 return reinterpret_cast<char *>(realloc(p, reallocSize)); in DepthRealloc()
323 return (DepthRealloc(depth - 1, p, reallocSize)); in DepthRealloc()
328 int reallocSize = DEFAULT_REALLOC_SIZE; in ApplyForRealloc() local
337 char *np = DepthRealloc(depth, p, reallocSize); in ApplyForRealloc()