Home
last modified time | relevance | path

Searched refs:malloc (Results 76 – 100 of 107) sorted by relevance

12345

/PHP-8.3/sapi/cgi/
H A Dcgi_main.c621 buf = (char *) malloc(len); in _sapi_cgi_putenv()
762 char *buf = malloc(len+2); in sapi_cgi_log_message()
2430 s = malloc(len);
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_unix.c536 new_con = malloc(strlen(con) + strlen(wp->config->apparmor_hat) + 3); // // + 0 Byte in fpm_unix_init_child()
/PHP-8.3/Zend/
H A Dzend_alloc.c2718 p = (char *) malloc(length + 1);
2841 void *ptr = malloc(size);
2905 zend_mm_heap *mm_heap = alloc_globals->mm_heap = malloc(sizeof(zend_mm_heap));
2921 mm_heap->tracked_allocs = malloc(sizeof(HashTable));
3128 void *tmp = malloc(len);
H A Dzend_virtual_cwd.c403 realpath_cache_bucket *bucket = malloc(size); in realpath_cache_add()
772 substitutename = malloc((len + 1) * sizeof(char)); in tsrm_realpath_r()
H A Dzend_API.c2925 reg_function = malloc(sizeof(zend_internal_function)); in zend_register_functions()
2971 new_arg_info = malloc(sizeof(zend_internal_arg_info) * num_args); in zend_register_functions()
2997 zend_type_list *list = malloc(ZEND_TYPE_LIST_SIZE(num_types)); in zend_register_functions()
3312 zend_class_entry *class_entry = malloc(sizeof(zend_class_entry)); in do_register_internal_class()
H A Dzend_language_parser.y36 #define YYMALLOC malloc
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_watch.c1475 …PHPDBG_G(watchlist_mem) = malloc(phpdbg_pagesize > sizeof(HashTable) ? phpdbg_pagesize : sizeof(Ha…
1478 …PHPDBG_G(watchlist_mem_backup) = malloc(phpdbg_pagesize > sizeof(HashTable) ? phpdbg_pagesize : si…
H A Dphpdbg.c1220 } else zend_extensions = malloc(sizeof(char*) * zend_extensions_len); in main()
H A Dphpdbg_prompt.c240 state->code = malloc(cmd_len + 1); in phpdbg_line_init()
/PHP-8.3/ext/pcre/pcre2lib/
H A Dpcre2_compile.c1200 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy()
1235 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy_with_tables()
1240 newtables = code->memctl.malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), in pcre2_code_copy_with_tables()
4688 cb->cx->memctl.malloc(newsize * sizeof(named_group), in parse_regex()
10145 uint32_t *heap_parsed_pattern = ccontext->memctl.malloc( in pcre2_compile()
10172 cb.groupinfo = ccontext->memctl.malloc( in pcre2_compile()
10252 ccontext->memctl.malloc(re_blocksize, ccontext->memctl.memory_data); in pcre2_compile()
H A Dpcre2_match.c677 new = match_data->memctl.malloc(newsize, match_data->memctl.memory_data); in match()
6557 match_data->subject = match_data->memctl.malloc(length, in pcre2_match()
6848 match_data->heapframes = match_data->memctl.malloc(heapframes_size, in pcre2_match()
7495 match_data->subject = match_data->memctl.malloc(length, in pcre2_match()
H A Dpcre2_dfa_match.c438 new = mb->memctl.malloc(newsize*sizeof(int), mb->memctl.memory_data); in more_workspace()
4005 match_data->subject = match_data->memctl.malloc(length, in pcre2_dfa_match()
H A Dpcre2_internal.h1790 void * (*malloc)(size_t, void *); member
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_disasm.c113 sym = malloc(sizeof(zend_sym_node) + len + 1); in zend_jit_disasm_add_symbol()
/PHP-8.3/
H A DCODING_STANDARDS.md77 The use of `malloc()` should be limited to cases where a third-party library
H A Dconfigure.ac412 malloc.h \
H A DNEWS354 allocated and malloc: double free for ptr errors). (nielsdos)
/PHP-8.3/sapi/litespeed/
H A Dlsapilib.c842 s_lve = malloc(rc); in init_lve_ex()
1489 pReq->m_pRespBuf = pReq->m_pRespBufPos = (char *)malloc( LSAPI_RESP_BUF_SIZE ); in LSAPI_InitRequest()
2783 g_prefork_server = (lsapi_prefork_server *)malloc( sizeof( lsapi_prefork_server ) ); in LSAPI_Init_Prefork_Server()
/PHP-8.3/ext/standard/
H A Dproc_open.c707 wchar_t *cmdw_shell = (wchar_t *)malloc(len * sizeof(wchar_t)); in convert_command_to_use_shell()
H A Durl_scanner_ex.re66 ctx->tags = malloc(sizeof(HashTable));
/PHP-8.3/ext/exif/
H A Dexif.c1320 HashTable *ht = malloc(sizeof(HashTable)); in exif_make_tag_ht()
1343 EXIF_G(tag_table_cache) = malloc(sizeof(HashTable)); in exif_get_tag_ht()
/PHP-8.3/ext/dom/
H A Dphp_dom.c552 Z_PTR_P(zv) = malloc(sizeof(dom_prop_handler)); in dom_copy_prop_handler()
/PHP-8.3/ext/pcre/
H A Dphp_pcre.c379 char *ret = (char *) malloc(len + 1); in PHP_INI_END()
/PHP-8.3/ext/ffi/
H A Dffi.c3450 scope = malloc(sizeof(zend_ffi_scope)); in zend_ffi_load()
3455 FFI_G(scopes) = malloc(sizeof(HashTable)); in zend_ffi_load()
6776 _(malloc) \
/PHP-8.3/ext/curl/
H A Dinterface.c392 php_curl_openssl_tsl = malloc(c * sizeof(MUTEX_T)); in PHP_MINIT_FUNCTION()

Completed in 252 milliseconds

12345