Home
last modified time | relevance | path

Searched refs:malloc (Results 26 – 50 of 142) sorted by relevance

123456

/PHP-5.5/TSRM/
H A Dtsrm_nw.c130 command = (char*)malloc(ptrLen + 1);
142 argv[argc] = (char*)malloc(ptrLen + 1);
H A Dtsrm_win32.c172 pResultSid = malloc(sid_len); in tsrm_win32_get_token_sid()
216 real_path = (char *)malloc(MAX_PATH); in tsrm_win32_access()
286 real_path = (char *)malloc(MAX_PATH); in tsrm_win32_access()
330 psec_desc = (BYTE *)malloc(sec_desc_length); in tsrm_win32_access()
535 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); in popen_ex()
H A Dtsrm_virtual_cwd.c152 (d)->cwd = (char *) malloc((s)->cwd_length+1); \
325 tmp = (char*)malloc(len); in php_sys_stat_ex()
503 retval = (char *) malloc(2); in virtual_getcwd_ex()
518 retval = (char *) malloc(*length+1); in virtual_getcwd_ex()
653 realpath_cache_bucket *bucket = malloc(size); in realpath_cache_add()
1407 new_state.cwd = (char*)malloc(1); in virtual_realpath()
1420 new_state.cwd = (char*)malloc(1); in virtual_realpath()
1885 ptr = command_line = (char *) malloc(command_length + sizeof("cd '' ; ") + dir_length + extra+1+1); in virtual_popen()
1932 new_state.cwd = (char*)malloc(1); in tsrm_realpath()
1946 new_state.cwd = (char*)malloc(1); in tsrm_realpath()
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_blacklist.c81 errbuf = malloc(errsize); in blacklist_report_regexp_error()
189 it = (zend_regexp_list*)malloc(sizeof(zend_regexp_list)); in zend_accel_blacklist_update_regexp()
314 blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); in zend_accel_blacklist_loadone()
/PHP-5.5/ext/mbstring/ucgendat/
H A Ducgendat.c259 malloc(sizeof(ac_uint4) << 3); in add_range()
367 malloc(sizeof(ac_uint4) << 3); in ordered_range_insert()
482 *pdecomps = (_decomp_t *) malloc(sizeof(_decomp_t) << 3); in add_decomp()
508 malloc(sizeof(ac_uint4) * size); in add_decomp()
544 title = (_case_t *) malloc(sizeof(_case_t) << 3); in add_title()
591 upper = (_case_t *) malloc(sizeof(_case_t) << 3); in add_upper()
638 lower = (_case_t *) malloc(sizeof(_case_t) << 3); in add_lower()
673 ccl = (ac_uint4 *) malloc(sizeof(ac_uint4) * 24); in ordered_ccl_insert()
754 nums = (_num_t *) malloc(sizeof(_num_t) << 3); in make_number()
792 ncodes = (_codeidx_t *) malloc(sizeof(_codeidx_t) << 3); in add_number()
[all …]
/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dencodings.c76 outbuf = (char*)malloc(outlen + 1); in convert()
H A Dqueue.c292 p = malloc(sizeof(datanode)); in Q_PushHead()
344 n = malloc(sizeof(datanode)); in Q_PushTail()
793 index = malloc(q->size * sizeof(q->cursor->data)); in Q_Sort()
797 posn_index = malloc(q->size * sizeof(q->cursor)); in Q_Sort()
H A Dxml_to_dandarpc.c183 xml_element_attr* attr_type = bNoAddType ? NULL : malloc(sizeof(xml_element_attr)); in DANDARPC_to_xml_element_worker()
194 xml_element_attr* attr_id = malloc(sizeof(xml_element_attr)); in DANDARPC_to_xml_element_worker()
285 xml_element_attr* version = malloc(sizeof(xml_element_attr)); in DANDARPC_REQUEST_to_xml_element()
H A Dsimplestring.c114 string->str = (char*)malloc(SIMPLESTRING_INCR); in simplestring_init_str()
/PHP-5.5/win32/
H A Dregistry.c81 ht = (HashTable*)malloc(sizeof(HashTable)); in LoadDirectory()
87 data = (zval*)malloc(sizeof(zval)); in LoadDirectory()
183 PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable)); in UpdateIniFromRegistry()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_children.c47 ret = malloc(sizeof(struct fpm_child_s)); in fpm_child_alloc()
438 wp->ondemand_event = (struct fpm_event_s *)malloc(sizeof(struct fpm_event_s)); in fpm_children_create_initial()
462 last_faults = malloc(sizeof(time_t) * fpm_global_config.emergency_restart_threshold); in fpm_children_init_main()
H A Dfpm_arrays.h23 a = malloc(sizeof(struct fpm_array_s)); in fpm_array_init()
/PHP-5.5/main/
H A Dphp_scandir.c101 newdp = (struct dirent *) malloc(dsize); in php_scandir()
/PHP-5.5/Zend/
H A Dzend.c510 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
514 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
522 compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
699 GLOBAL_FUNCTION_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
700 GLOBAL_CLASS_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
701 GLOBAL_AUTO_GLOBALS_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
702 GLOBAL_CONSTANTS_TABLE = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
727 compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
728 compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); in zend_startup()
901 new_info = (char *) malloc(new_info_length + 1); in END_EXTERN_C()
/PHP-5.5/ext/mbstring/libmbfl/
H A Dconfig.h.in12 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
88 #undef malloc
/PHP-5.5/ext/zip/lib/
H A Dzip_dirent.c99 if ((cd=(struct zip_cdir *)malloc(sizeof(*cd))) == NULL) { in _zip_cdir_new()
104 …if ( nentry > ((size_t)-1)/sizeof(*(cd->entry)) || (cd->entry=(struct zip_dirent *)malloc(sizeof(*… in _zip_cdir_new()
532 r = (char *)malloc(nulp ? len+1 : len); in _zip_readfpstr()
562 r = (char *)malloc(nulp ? len+1 : len); in _zip_readstr()
H A Dzip_source_crc.c64 if ((ctx=(struct crc *)malloc(sizeof(*ctx))) == NULL) { in zip_source_crc()
H A Dzip_source_buffer.c65 if ((f=(struct read_data *)malloc(sizeof(*f))) == NULL) { in zip_source_buffer()
/PHP-5.5/sapi/fpm/fpm/events/
H A Dport.c83 events = malloc(sizeof(port_event_t) * max); in fpm_event_port_init()
H A Dkqueue.c86 kevents = malloc(sizeof(struct kevent) * max); in fpm_event_kqueue_init()
H A Depoll.c82 epollfds = malloc(sizeof(struct epoll_event) * max); in fpm_event_epoll_init()
/PHP-5.5/ext/pdo_odbc/
H A Dpdo_odbc.c100 char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); in PHP_INI_END()
/PHP-5.5/ext/soap/
H A Dphp_sdl.c2449 pheaders = malloc(sizeof(HashTable)); in make_persistent_sdl_function_headers()
2517 pparams = malloc(sizeof(HashTable)); in make_persistent_sdl_parameters()
2522 pparam = malloc(sizeof(sdlParam)); in make_persistent_sdl_parameters()
2564 pfaults = malloc(sizeof(HashTable)); in make_persistent_sdl_function_faults()
2569 pfault = malloc(sizeof(sdlFault)); in make_persistent_sdl_function_faults()
2613 pattr = malloc(sizeof(sdlAttribute)); in make_persistent_sdl_attribute()
2726 ptype = malloc(sizeof(sdlType)); in make_persistent_sdl_type()
2848 penc = malloc(sizeof(encode)); in make_persistent_sdl_encoder()
2871 pbind = malloc(sizeof(sdlBinding)); in make_persistent_sdl_binding()
2899 pfunc = malloc(sizeof(sdlFunction)); in make_persistent_sdl_function()
[all …]
/PHP-5.5/sapi/apache_hooks/
H A Dmod_php5.c779 per_dir_entry->key = (char *) malloc(tmp.key_length+1); in copy_per_dir_entry()
783 per_dir_entry->value = (char *) malloc(tmp.value_length+1); in copy_per_dir_entry()
839 conf = (php_per_server_config *) malloc(sizeof(php_per_server_config)); in php_create_server()
855 conf = (php_per_dir_config *) malloc(sizeof(php_per_dir_config)); in php_create_dir()
856 conf->ini_settings = (HashTable *) malloc(sizeof(HashTable)); in php_create_dir()
916 per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1); in php_apache_value_handler_ex()
920 per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1); in php_apache_value_handler_ex()
933 handler = (php_handler *) malloc(sizeof(php_handler)); in php_set_server_handler()
952 handler = (php_handler *) malloc(sizeof(php_handler)); in php_set_dir_handler()
/PHP-5.5/sapi/apache/
H A Dmod_php5.c726 per_dir_entry->key = (char *) malloc(tmp.key_length+1); in copy_per_dir_entry()
730 per_dir_entry->value = (char *) malloc(tmp.value_length+1); in copy_per_dir_entry()
770 per_dir_info = (HashTable *) malloc(sizeof(HashTable)); in php_create_dir()
818 per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1); in php_apache_value_handler_ex()
822 per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1); in php_apache_value_handler_ex()

Completed in 75 milliseconds

123456