php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_mm_custom_handlers.c File Reference
#include "php.h"
#include "php_test.h"
#include "Zend/zend_alloc.h"
#include "zend_portability.h"
#include <stddef.h>
#include <stdio.h>

Go to the source code of this file.

Functions

voidobserve_malloc (size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
 
void observe_free (void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
 
voidobserve_realloc (void *ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
 
size_t observe_gc (void)
 
void observe_shutdown (bool full, bool silent)
 
void zend_test_mm_custom_handlers_init (void)
 
void zend_test_mm_custom_handlers_shutdown (void)
 
void zend_test_mm_custom_handlers_rshutdown (void)
 
void zend_test_mm_custom_handlers_rinit (void)
 
void zend_test_mm_custom_handlers_minit (INIT_FUNC_ARGS)
 

Function Documentation

◆ observe_free()

void observe_free ( void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)

Definition at line 38 of file zend_mm_custom_handlers.c.

◆ observe_gc()

size_t observe_gc ( void )

Definition at line 66 of file zend_mm_custom_handlers.c.

◆ observe_malloc()

void * observe_malloc ( size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)

Definition at line 24 of file zend_mm_custom_handlers.c.

◆ observe_realloc()

void * observe_realloc ( void * ptr,
size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC )

Definition at line 51 of file zend_mm_custom_handlers.c.

◆ observe_shutdown()

void observe_shutdown ( bool full,
bool silent )

Definition at line 80 of file zend_mm_custom_handlers.c.

◆ zend_test_mm_custom_handlers_init()

void zend_test_mm_custom_handlers_init ( void )

Definition at line 92 of file zend_mm_custom_handlers.c.

◆ zend_test_mm_custom_handlers_minit()

void zend_test_mm_custom_handlers_minit ( INIT_FUNC_ARGS )

Definition at line 173 of file zend_mm_custom_handlers.c.

◆ zend_test_mm_custom_handlers_rinit()

void zend_test_mm_custom_handlers_rinit ( void )

Definition at line 146 of file zend_mm_custom_handlers.c.

◆ zend_test_mm_custom_handlers_rshutdown()

void zend_test_mm_custom_handlers_rshutdown ( void )

Definition at line 141 of file zend_mm_custom_handlers.c.

◆ zend_test_mm_custom_handlers_shutdown()

void zend_test_mm_custom_handlers_shutdown ( void )

Definition at line 122 of file zend_mm_custom_handlers.c.