Home
last modified time | relevance | path

Searched refs:realloc (Results 1 – 25 of 33) sorted by relevance

12

/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_allocators.h39 void *(*realloc)(void *, size_t); member
50 #define mbfl_realloc (__mbfl_allocators->realloc)
H A Dmbfl_allocators.c65 return realloc(ptr, sz); in __mbfl__realloc()
/PHP-7.4/Zend/tests/
H A Dbug71859.phpt8 //This causes a realloc in zend_objects_store_put
/PHP-7.4/main/streams/
H A Dphp_streams_int.h32 #define perealloc_rel_orig(ptr, size, persistent) ((persistent) ? realloc((ptr), (size)) : erealloc…
/PHP-7.4/main/
H A Dphp_scandir.c86 newv = (struct dirent **) realloc (vector, vector_size * sizeof (struct dirent *)); in php_scandir()
H A Dnetwork.c1268 *tmphstbuf = (char *)realloc (*tmphstbuf,*hstbuflen);
1294 *tmphstbuf = (char *)realloc (*tmphstbuf,*hstbuflen);
1308 *tmphstbuf = (char *)realloc(*tmphstbuf, *hstbuflen);
H A Dphp_ini.c723 …php_ini_scanned_files = (char *) realloc(php_ini_scanned_files, php_ini_scanned_files_len + total_… in php_init_config()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_arrays.h87 void *new_ptr = realloc(a->data, a->sz * new_allocated); in fpm_array_push()
H A Dzlog.c292 buf = realloc(stream->buf.data, size); in zlog_stream_buf_alloc_ex()
600 …stream->msg_prefix = stream->msg_prefix_len ? realloc(stream->msg_prefix, len + 1) : malloc(len + … in zlog_stream_set_msg_prefix()
H A Dfpm_main.c1617 …cgi_sapi_module.ini_entries = realloc(cgi_sapi_module.ini_entries, ini_entries_len + len + sizeof(… in main()
1627 …cgi_sapi_module.ini_entries = realloc(cgi_sapi_module.ini_entries, ini_entries_len + len + sizeof(… in main()
1633 …cgi_sapi_module.ini_entries = realloc(cgi_sapi_module.ini_entries, ini_entries_len + len + sizeof(… in main()
H A Dfpm_sockets.c71 …env_value = realloc(env_value, p + (p ? 1 : 0) + strlen(ls->key) + 1 + strlen(fd) + socket_set_buf… in fpm_sockets_cleanup()
/PHP-7.4/Zend/
H A Dzend_alloc.h208 #define perealloc_recoverable(ptr, size, persistent) ((persistent)?realloc((ptr), (size)):erealloc_…
209 #define perealloc2_recoverable(ptr, size, persistent) ((persistent)?realloc((ptr), (size)):erealloc…
218 #define perealloc_recoverable_rel(ptr, size, persistent) ((persistent)?realloc((ptr), (size)):ereal…
219 #define perealloc2_recoverable_rel(ptr, size, copy_size, persistent) ((persistent)?realloc((ptr), (…
/PHP-7.4/TSRM/
H A DTSRM.c276 p->storage = (void *) realloc(p->storage, sizeof(void *)*id_count); in tsrm_update_active_threads()
309 _tmp = (tsrm_resource_type *) realloc(resource_types_table, sizeof(tsrm_resource_type)*id_count); in ts_allocate_id()
367 _tmp = (tsrm_resource_type *) realloc(resource_types_table, sizeof(tsrm_resource_type)*id_count); in ts_allocate_fast_id()
H A Dtsrm_win32.c390 newptr = (process_pair*)realloc((void*)TWG(process), (TWG(process_size)+1)*sizeof(process_pair)); in process_get()
421 newptr = (shm_pair*)realloc((void*)TWG(shm), (TWG(shm_size)+1)*sizeof(shm_pair)); in shm_get()
/PHP-7.4/sapi/cli/
H A Dphp_cli.c1254 ini_entries = realloc(ini_entries, ini_entries_len + len + sizeof("\"\"\n\0")); in WinMain()
1264 ini_entries = realloc(ini_entries, ini_entries_len + len + sizeof("\n\0")); in WinMain()
1270 ini_entries = realloc(ini_entries, ini_entries_len + len + sizeof("=1\n\0")); in WinMain()
1314 ini_entries = realloc(ini_entries, ini_entries_len + sizeof(HARDCODED_INI)); in WinMain()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_alloc.c460 ret = realloc(REAL_PTR(ptr), REAL_SIZE(new_size)); in _mysqlnd_realloc()
467 ret = realloc(REAL_PTR(ptr), REAL_SIZE(new_size)); in _mysqlnd_realloc()
735 return realloc(ptr, new_size); in mysqlnd_zend_mm_realloc()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg.c1477 ini_entries = realloc(ini_entries, ini_entries_len + len + sizeof("\"\"\n\0")); in main()
1487 ini_entries = realloc(ini_entries, ini_entries_len + len + sizeof("\n\0")); in main()
1493 ini_entries = realloc(ini_entries, ini_entries_len + len + sizeof("=1\n\0")); in main()
1503 zend_extensions = realloc(zend_extensions, sizeof(char*) * zend_extensions_len); in main()
1628 ini_entries = realloc(ini_entries, ini_entries_len + sizeof(phpdbg_ini_hardcoded)); in main()
1644 ini_entries = realloc( in main()
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_blacklist.c233 …blacklist->entries = (zend_blacklist_entry *) realloc(blacklist->entries, sizeof(zend_blacklist_en… in zend_accel_blacklist_allocate()
/PHP-7.4/ext/date/lib/
H A Dtimelib.h319 # define timelib_realloc realloc
/PHP-7.4/ext/standard/
H A Dcrypt_sha256.c590 char *new_buffer = (char *) realloc(buffer, needed); in php_sha256_crypt()
H A Dcrypt_sha512.c637 char *new_buffer = (char *) realloc(buffer, needed); in php_sha512_crypt()
/PHP-7.4/win32/
H A Dioutil.h209 wchar_t *tmp = (wchar_t *) realloc(ret, (new_mb_len + 1) * sizeof(wchar_t)); in php_win32_ioutil_conv_any_to_w()
H A Dglob.c718 pathv = pglob->gl_pathv ? realloc((char *)pglob->gl_pathv, newsize) :
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c1863 …cgi_sapi_module.ini_entries = realloc(cgi_sapi_module.ini_entries, ini_entries_len + len + sizeof(…
1873 …cgi_sapi_module.ini_entries = realloc(cgi_sapi_module.ini_entries, ini_entries_len + len + sizeof(…
1879 …cgi_sapi_module.ini_entries = realloc(cgi_sapi_module.ini_entries, ini_entries_len + len + sizeof(…
/PHP-7.4/sapi/litespeed/
H A Dlsapilib.c544 char * pBuf = (char *)realloc( pReq->m_pReqBuf, size ); in allocateBuf()
558 struct iovec * p = (struct iovec *)realloc( in allocateIovec()
572 char * p = (char *)realloc( pReq->m_pRespHeaderBuf, size ); in allocateRespHeaderBuf()
610 pBuf = (struct LSAPI_key_value_pair *)realloc( *pEnvList, newSize * in allocateEnvList()

Completed in 102 milliseconds

12