Home
last modified time | relevance | path

Searched refs:orig_ptr (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/
Dmem.c114 void OPENSSL_free(void *orig_ptr) { in OPENSSL_free() argument
115 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() argument
128 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()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_allocator_test.cc25 void* const orig_ptr = reinterpret_cast<void*>(orig_ptr_val); in RunTest() local
26 void* ptr = orig_ptr; in RunTest()
30 EXPECT_EQ(orig_ptr, ptr); in RunTest()