Home
last modified time | relevance | path

Searched refs:oldsize (Results 1 - 2 of 2) sorted by relevance

/base/hiviewdfx/faultloggerd/frameworks/allocator/
H A Ddfx_allocator.c394 size_t oldsize = GetChunkSize(ptr); in DfxRealloc() local
395 if (oldsize == 0) { in DfxRealloc()
398 if (oldsize < size) { in DfxRealloc()
401 if (memcpy_s(res, size, ptr, oldsize) != EOK) { in DfxRealloc()
/base/hiviewdfx/faultloggerd/test/unittest/backtrace/
H A Dbacktrace_local_test.cpp296 size_t oldsize = oldframes.size() - 1; in HWTEST_F() local
299 ASSERT_EQ(true, newthread.Unwind(false, DEFAULT_MAX_FRAME_NUM, oldsize)); in HWTEST_F()
303 ASSERT_EQ(oldframes.size(), newframes.size() + oldsize); in HWTEST_F()

Completed in 2 milliseconds