Home
last modified time | relevance | path

Searched refs:emalloc (Results 76 – 100 of 211) sorted by relevance

123456789

/PHP-5.4/ext/snmp/
H A Dsnmp.c496 intern = emalloc(sizeof(php_snmp_object)); in php_snmp_object_new()
581 dbuf = (char *)emalloc(val_len + 1); in php_snmp_getvalue()
596 if ((dbuf = (char *)emalloc(val_len + 1))) { in php_snmp_getvalue()
1008 objid_query->vars = (snmpobjarg *)emalloc(sizeof(snmpobjarg)); in php_snmp_parse_oid()
1037 …objid_query->vars = (snmpobjarg *)emalloc(sizeof(snmpobjarg) * zend_hash_num_elements(Z_ARRVAL_PP(… in php_snmp_parse_oid()
1136 *session_p = (php_snmp_session *)emalloc(sizeof(php_snmp_session)); in netsnmp_session_init()
1149 session->peername = emalloc(MAX_NAME_LEN); in netsnmp_session_init()
1341 u_char *ebuf = (u_char *) emalloc(ebuf_len); in netsnmp_session_set_contextEngineID()
/PHP-5.4/ext/mssql/
H A Dphp_mssql.c569 hashed_details = (char *) emalloc(hashed_details_length+1); in php_mssql_do_connect()
821 mssql_ptr = (mssql_link *) emalloc(sizeof(mssql_link)); in php_mssql_do_connect()
1026 res_buf = (unsigned char *) emalloc(res_length+1);
1077 res_buf = (unsigned char *) emalloc(res_length+1);
1106 res_buf = (unsigned char *) emalloc(res_length+1);
1373 result = (mssql_result *) emalloc(sizeof(mssql_result));
2170 result = (mssql_result *) emalloc(sizeof(mssql_result));
/PHP-5.4/ext/soap/
H A Dphp_http.c1048 char *s = emalloc((p - t) + strlen(new_url->path) + 2); in make_http_soap_request()
1056 char *s = emalloc(strlen(new_url->path) + 2); in make_http_soap_request()
1128 php_url *new_url = emalloc(sizeof(php_url)); in make_http_soap_request()
1332 http_buf = emalloc(1); in get_http_body()
1409 http_buf = emalloc(1); in get_http_body()
/PHP-5.4/ext/spl/
H A Dspl_dllist.c125 spl_ptr_llist *llist = emalloc(sizeof(spl_ptr_llist)); in spl_ptr_llist_init()
188 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); in spl_ptr_llist_unshift()
212 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); in spl_ptr_llist_push()
1265 iterator = emalloc(sizeof(spl_dllist_it)); in spl_dllist_get_iterator()
H A Dspl_observer.c120 char *hash = emalloc((hash_len+1)*sizeof(char)); in spl_object_storage_get_hash()
149 char *hash = emalloc(hash_len + 1); in spl_object_storage_get_hash()
259 intern = emalloc(sizeof(spl_SplObjectStorage)); in spl_object_storage_new_ex()
493 hash = emalloc(33); in SPL_METHOD()
H A Dspl_heap.c226 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); in spl_ptr_heap_init()
318 spl_ptr_heap *heap = emalloc(sizeof(spl_ptr_heap)); in spl_ptr_heap_clone()
1114 iterator = emalloc(sizeof(spl_heap_it)); in spl_heap_get_iterator()
1138 iterator = emalloc(sizeof(spl_heap_it)); in spl_pqueue_get_iterator()
/PHP-5.4/ext/wddx/
H A Dwddx.c195 stack->elements[stack->top] = (void *) emalloc(size); in wddx_stack_push()
636 tmp_buf = emalloc(name_esc_len + sizeof(WDDX_VAR_S)); in php_wddx_serialize_var()
1100 tmp = emalloc(len + 1); in php_wddx_process_data()
1223 packet = (smart_str *)emalloc(sizeof(smart_str)); in php_wddx_constructor()
/PHP-5.4/ext/com_dotnet/
H A Dcom_typeinfo.c106 keyname = emalloc(MaxSubKeyLength); in php_com_load_typelib()
107 libname = emalloc(strlen(search_string) + 1); in php_com_load_typelib()
H A Dcom_persist.c716 clone = emalloc(sizeof(*object)); in helper_clone()
741 helper = emalloc(sizeof(*helper)); in helper_new()
H A Dcom_saproxy.c425 cloneproxy = emalloc(sizeof(*cloneproxy)); in saproxy_clone()
517 ptr_ptr = emalloc(sizeof(*ptr_ptr)); in saproxy_iter_get_data()
/PHP-5.4/ext/intl/idn/
H A Didn.c143 char *buffer = emalloc(buffer_capac); in php_intl_idn_to_46()
/PHP-5.4/ext/sysvsem/
H A Dsysvsem.c286 sem_ptr = (sysvsem_sem *) emalloc(sizeof(sysvsem_sem)); in PHP_FUNCTION()
/PHP-5.4/ext/mysqli/
H A Dmysqli_api.c299 char *p= emalloc(size= var_cnt * (sizeof(char) + sizeof(VAR_BUFFER))); in mysqli_stmt_bind_result_do_bind()
317 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(double)); in mysqli_stmt_bind_result_do_bind()
344 stmt->result.buf[ofs].val = (char *)emalloc(sizeof(int)); in mysqli_stmt_bind_result_do_bind()
357 stmt->result.buf[ofs].val = (char *)emalloc(stmt->result.buf[ofs].buflen); in mysqli_stmt_bind_result_do_bind()
415 stmt->result.buf[ofs].val = (char *)emalloc(stmt->result.buf[ofs].buflen); in mysqli_stmt_bind_result_do_bind()
904 tmp= emalloc(11);
1832 stmt->query = (char *)emalloc(query_len + 1);
/PHP-5.4/ext/odbc/
H A Dphp_odbc.c984 result->values[i].value = (char *)emalloc(27); in odbc_bindcols()
1010 result->values[i].value = (char *)emalloc(displaysize + 1); in odbc_bindcols()
1497 cursorname = emalloc(max_len + 1); in PHP_FUNCTION()
1758 buf = emalloc(result->longreadlen + 1); in php_odbc_fetch_hash()
1915 buf = emalloc(result->longreadlen + 1); in PHP_FUNCTION()
2144 field = emalloc(fieldsize); in PHP_FUNCTION()
2193 field = emalloc(fieldsize); in PHP_FUNCTION()
2297 buf = emalloc(result->longreadlen); in PHP_FUNCTION()
2406 char *lpszConnStr = emalloc(CONNSTRSIZE); in odbc_sqlconnect()
2477 ldb = (char*) emalloc(ldb_len); in odbc_sqlconnect()
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_alloc.c97 ret = emalloc(REAL_SIZE(size)); in _mysqlnd_emalloc()
637 return emalloc(size); in mysqlnd_zend_mm_emalloc()
/PHP-5.4/ext/mcrypt/
H A Dmcrypt_filter.c228 iv = emalloc(iv_len + 1); in php_mcrypt_filter_create()
/PHP-5.4/ext/ldap/
H A Dldap.c913 resultentry = emalloc(sizeof(ldap_resultentry)); in PHP_FUNCTION()
942 resultentry_next = emalloc(sizeof(ldap_resultentry)); in PHP_FUNCTION()
1327 ldap_mods[i] = emalloc(sizeof(LDAPMod)); in php_ldap_do_modify()
1362 ldap_mods[i]->mod_bvalues[0] = (struct berval *) emalloc (sizeof(struct berval)); in php_ldap_do_modify()
1375 ldap_mods[i]->mod_bvalues[j] = (struct berval *) emalloc (sizeof(struct berval)); in php_ldap_do_modify()
2168 ctrl = *ctrlp = emalloc(sizeof(**ctrlp)); in PHP_FUNCTION()
2297 resultentry = emalloc(sizeof(ldap_resultentry)); in PHP_FUNCTION()
2326 resultentry_next = emalloc(sizeof(ldap_resultentry)); in PHP_FUNCTION()
/PHP-5.4/ext/standard/
H A Dvar_unserializer.c46 var_hash = emalloc(sizeof(var_entries)); in var_push()
76 var_hash = emalloc(sizeof(var_entries)); in var_push_dtor()
107 var_hash = emalloc(sizeof(var_entries)); in var_push_dtor_no_addref()
H A Dexec.c88 buf = (char *) emalloc(EXEC_INPUT_BUF); in php_exec()
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_main.c632 php_self = emalloc(php_self_len + 1); in sapi_cgi_register_variables()
796 path = emalloc(path_len + 2);
1265 path_translated = (char *) emalloc(path_translated_len + 1);
1284 path_translated = (char *) emalloc(path_translated_len + 1);
/PHP-5.4/ext/fileinfo/libmagic/
H A Dmagic.c367 buf = emalloc(HOWMANY + SLOP); in file_or_stream()
/PHP-5.4/Zend/
H A Dzend_llist.c208 elements = (zend_llist_element **) emalloc(l->count * sizeof(zend_llist_element *)); in zend_llist_sort()
/PHP-5.4/sapi/webjames/
H A Dwebjames.c194 SG(request_info).auth_user = emalloc(colon-WG(conn)->authorization+1); in webjames_module_main()
/PHP-5.4/
H A DREADME.input_filter137 raw_var = emalloc(var_len+5); /* RAW_ and a \0 */
/PHP-5.4/ext/bcmath/libbcmath/src/
H A Drecmul.c66 temp = (bc_num) emalloc (sizeof(bc_struct));

Completed in 120 milliseconds

123456789