Searched refs:orig_ptr (Results 1 – 2 of 2) sorted by relevance
114 void OPENSSL_free(void *orig_ptr) { in OPENSSL_free() argument115 if (orig_ptr == NULL) { in OPENSSL_free()119 void *ptr = ((uint8_t *)orig_ptr) - OPENSSL_MALLOC_PREFIX; in OPENSSL_free()127 void *OPENSSL_realloc(void *orig_ptr, size_t new_size) { in OPENSSL_realloc() argument128 if (orig_ptr == NULL) { in OPENSSL_realloc()132 void *ptr = ((uint8_t *)orig_ptr) - OPENSSL_MALLOC_PREFIX; in OPENSSL_realloc()147 memcpy(ret, orig_ptr, to_copy); in OPENSSL_realloc()148 OPENSSL_free(orig_ptr); in OPENSSL_realloc()
25 void* const orig_ptr = reinterpret_cast<void*>(orig_ptr_val); in RunTest() local26 void* ptr = orig_ptr; in RunTest()30 EXPECT_EQ(orig_ptr, ptr); in RunTest()