Home
last modified time | relevance | path

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

/third_party/libffi/src/
Dclosures.c54 #define ADD_TO_POINTER(p, d) ((void *)((uintptr_t)(p) + (d))) macro
95 memcpy(ADD_TO_POINTER(dataseg, sizeof(size_t)), &codeseg, sizeof(void *)); in ffi_closure_alloc()
96 *code = ADD_TO_POINTER(codeseg, overhead); in ffi_closure_alloc()
97 return ADD_TO_POINTER(dataseg, overhead); in ffi_closure_alloc()
106 dataseg = ADD_TO_POINTER(ptr, -overhead); in ffi_closure_free()
108 memcpy(&codeseg, ADD_TO_POINTER(dataseg, sizeof(size_t)), sizeof(void *)); in ffi_closure_free()