Home
last modified time | relevance | path

Searched refs:zend_hash_num_elements (Results 1 – 25 of 86) sorted by relevance

1234

/PHP-5.3/ext/mysqli/
H A Dmysqli_embedded.c54 if ((argc = zend_hash_num_elements(HASH_OF(args)))) { in PHP_FUNCTION()
75 if ((zend_hash_num_elements(HASH_OF(grps)))) { in PHP_FUNCTION()
76 groups = safe_emalloc(sizeof(char *), zend_hash_num_elements(HASH_OF(grps)) + 1, 0); in PHP_FUNCTION()
H A Dmysqli_nonapi.c575 *out_array = ecalloc(zend_hash_num_elements(Z_ARRVAL_P(in_array)) + 1, sizeof(MYSQLND *));
613 zend_hash_init(new_hash, zend_hash_num_elements(Z_ARRVAL_P(out_array)), NULL, ZVAL_PTR_DTOR, 0);
664 …zend_hash_init(new_hash, zend_hash_num_elements(Z_ARRVAL_P(in_zval_array)), NULL, ZVAL_PTR_DTOR, 0…
/PHP-5.3/ext/pdo_pgsql/
H A Dpgsql_statement.c169 stmt->bound_params ? zend_hash_num_elements(stmt->bound_params) : 0, in pgsql_stmt_execute()
205 zend_hash_num_elements(stmt->bound_params) : in pgsql_stmt_execute()
284 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
287 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
290 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
293 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
297 if (param->paramno > zend_hash_num_elements(stmt->bound_param_map)) { in pgsql_stmt_param_hook()
/PHP-5.3/ext/standard/
H A Dvar.c124 php_printf("%sarray(%d) {\n", COMMON, zend_hash_num_elements(myht)); in php_var_dump()
137 …%d (%d) {\n", COMMON, class_name, Z_OBJ_HANDLE_PP(struc), myht ? zend_hash_num_elements(myht) : 0); in php_var_dump()
276 …php_printf("%sarray(%d) refcount(%u){\n", COMMON, zend_hash_num_elements(myht), Z_REFCOUNT_PP(stru… in php_debug_zval_dump()
287 …ount(%u){\n", COMMON, class_name, Z_OBJ_HANDLE_PP(struc), myht ? zend_hash_num_elements(myht) : 0,… in php_debug_zval_dump()
290 …%d (%d) refcount(%u){\n", COMMON, Z_OBJ_HANDLE_PP(struc), myht ? zend_hash_num_elements(myht) : 0,… in php_debug_zval_dump()
568 var_no = zend_hash_num_elements(var_hash) + 1; in php_add_var_hash()
615 count = zend_hash_num_elements(HASH_OF(retval_ptr)); in php_var_serialize_class()
821 i = myht ? zend_hash_num_elements(myht) : 0; in php_var_serialize_intern()
H A Darray.c279 cnt = zend_hash_num_elements(Z_ARRVAL_P(array)); in php_count_recursive()
1769 n_elems = zend_hash_num_elements(Z_ARRVAL_P(array)); in php_array_data_shuffle()
1850 num_in = zend_hash_num_elements(in_hash); in php_splice()
1972 if (zend_hash_num_elements(Z_ARRVAL_P(stack)) == 0) { in _phpi_pop()
2089 num_in = zend_hash_num_elements(Z_ARRVAL_P(array)); in PHP_FUNCTION()
2172 num_in = zend_hash_num_elements(Z_ARRVAL_P(input)); in PHP_FUNCTION()
4059 if (!zend_hash_num_elements(Z_ARRVAL_P(input))) { in PHP_FUNCTION()
4120 if (zend_hash_num_elements(htbl) == 0) { in PHP_FUNCTION()
4177 if (zend_hash_num_elements(Z_ARRVAL_P(array)) == 0) { in PHP_FUNCTION()
4416 num_in = zend_hash_num_elements(Z_ARRVAL_P(input)); in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/soap/
H A Dphp_sdl.c751 n = zend_hash_num_elements(&ctx.services); in load_wsdl()
2035 i = zend_hash_num_elements(ht); in sdl_serialize_parameters()
2065 i = zend_hash_num_elements(body->headers); in sdl_serialize_soap_body()
2146 i = zend_hash_num_elements(sdl->groups); in add_sdl_to_cache()
2163 i = zend_hash_num_elements(sdl->types); in add_sdl_to_cache()
2180 i = zend_hash_num_elements(sdl->elements); in add_sdl_to_cache()
2197 i = zend_hash_num_elements(sdl->encoders); in add_sdl_to_cache()
2261 i = zend_hash_num_elements(sdl->bindings); in add_sdl_to_cache()
2357 i = zend_hash_num_elements(sdl->requests); in add_sdl_to_cache()
3053 if (zend_hash_num_elements(&bp_types)) { in make_persistent_sdl()
[all …]
H A Dsoap.c1289 zend_hash_num_elements(Z_ARRVAL_PP(tmp)) > 0) { in PHP_METHOD()
2665 zend_hash_num_elements(Z_ARRVAL_PP(tmp)) > 0) {
3098 arg_count = zend_hash_num_elements(Z_ARRVAL_P(args));
3567 zend_hash_num_elements(function->requestParameters) == 0) &&
4113 zend_hash_num_elements(function->faults) == 1) {
4132 zend_hash_num_elements(fault->details) == 1) {
4212 zend_hash_num_elements(Z_OBJPROP_P(detail)) == 1 &&
4450 int n = zend_hash_num_elements(function->requestParameters);
4760 zend_hash_num_elements(function->responseParameters) > 0) {
4761 if (zend_hash_num_elements(function->responseParameters) == 1) {
[all …]
H A Dphp_encoding.c1889 if (zend_hash_num_elements(model->u.content) != 1) { in model_array_element()
2066 i = zend_hash_num_elements(prop); in to_xml_object()
2403 i = zend_hash_num_elements(Z_ARRVAL_P(data)); in to_xml_array()
2435 zend_hash_num_elements(Z_ARRVAL_PP(el)) > 0) { in to_xml_array()
2439 dims[i] = zend_hash_num_elements(Z_ARRVAL_PP(el)); in to_xml_array()
2504 zend_hash_num_elements(sdl_type->elements) == 1 && in to_xml_array()
2516 zend_hash_num_elements(sdl_type->elements) == 1 && in to_xml_array()
2709 zend_hash_num_elements(type->sdl_type->elements) == 1 && in to_zval_array()
2811 i = zend_hash_num_elements(Z_ARRVAL_P(data)); in to_xml_map()
3634 int i, count = zend_hash_num_elements(Z_ARRVAL_P(array)); in is_map()
[all …]
/PHP-5.3/main/
H A Dphp3_compat.h79 #define _php3_hash_num_elements zend_hash_num_elements
/PHP-5.3/ext/spl/
H A Dspl_observer.c262 ZEND_INIT_SYMTABLE_EX(intern->debug_info, zend_hash_num_elements(props) + 1, 0); in spl_object_storage_debug_info()
457 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in SPL_METHOD()
485 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in SPL_METHOD()
514 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in SPL_METHOD()
541 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in SPL_METHOD()
672 smart_str_append_long(&buf, zend_hash_num_elements(&intern->storage)); in SPL_METHOD()
1032 if (!zend_hash_num_elements(&intern->storage)) { in SPL_METHOD()
1067 num_elements = zend_hash_num_elements(&intern->storage); in spl_multiple_iterator_get_all()
/PHP-5.3/ext/dom/
H A Dnodelist.c68 count = zend_hash_num_elements(nodeht); in dom_nodelist_length_read()
/PHP-5.3/ext/intl/msgformat/
H A Dmsgformat_format.c44 count = zend_hash_num_elements(Z_ARRVAL_P(args)); in msgfmt_do_format()
/PHP-5.3/Zend/
H A Dzend_variables.c135 zend_hash_init(tmp_ht, zend_hash_num_elements(original_ht), NULL, ZVAL_PTR_DTOR, 0); in _zval_copy_ctor_func()
H A Dzend_operators.c235 Z_LVAL(holder) = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); \
282 Z_LVAL(holder) = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); \
364 tmp = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); in convert_to_long_base()
424 tmp = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); in convert_to_double()
513 tmp = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); in convert_to_boolean()
/PHP-5.3/ext/phar/
H A Dfunc_interceptors.c36 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC()
110 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC()
243 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC()
338 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC()
904 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PharFileFunction()
971 …if ((PHAR_GLOBALS->phar_fname_map.arBuckets && !zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_… in PHAR_FUNC()
/PHP-5.3/ext/intl/dateformat/
H A Ddateformat_format.c156 if( !hash_arr || zend_hash_num_elements( hash_arr ) == 0 ) in PHP_FUNCTION()
/PHP-5.3/ext/json/
H A Djson.c139 i = myht ? zend_hash_num_elements(myht) : 0; in json_determine_array_type()
194 i = myht ? zend_hash_num_elements(myht) : 0; in json_encode_array()
/PHP-5.3/sapi/apache2filter/
H A Dapache_config.c62 …phpapdebug((stderr, "Getting %s=%s for %p (%d)\n", name, value, dummy, zend_hash_num_elements(&d->… in real_value_hnd()
/PHP-5.3/sapi/apache2handler/
H A Dapache_config.c62 …phpapdebug((stderr, "Getting %s=%s for %p (%d)\n", name, value, dummy, zend_hash_num_elements(&d->… in real_value_hnd()
/PHP-5.3/ext/ldap/
H A Dldap.c615 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(attrs)); in php_ldap_do_search()
640 nlinks = zend_hash_num_elements(Z_ARRVAL_P(link)); in php_ldap_do_search()
648 nbases = zend_hash_num_elements(Z_ARRVAL_P(base_dn)); in php_ldap_do_search()
666 nfilters = zend_hash_num_elements(Z_ARRVAL_PP(filter)); in php_ldap_do_search()
1276 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(entry)); in php_ldap_do_modify()
1315 num_values = zend_hash_num_elements(Z_ARRVAL_PP(value)); in php_ldap_do_modify()
1762 …if ((Z_TYPE_PP(newval) != IS_ARRAY) || !(ncontrols = zend_hash_num_elements(Z_ARRVAL_PP(newval))))… in PHP_FUNCTION()
/PHP-5.3/ext/pdo/
H A Dpdo_sql_parser.c516 …if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACE… in pdo_parse_params()
518 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) { in pdo_parse_params()
/PHP-5.3/win32/
H A Dregistry.c205 } else if (zend_hash_num_elements(PW32G(registry_directories)) == 0) { in UpdateIniFromRegistry()
/PHP-5.3/ext/intl/locale/
H A Dlocale_methods.c919 if( !hash_arr || zend_hash_num_elements( hash_arr ) == 0 ) in PHP_FUNCTION()
1427 cur_arr = ecalloc(zend_hash_num_elements(hash_arr)*2, sizeof(char *)); in lookup_loc_range()
1555 if( !hash_arr || zend_hash_num_elements( hash_arr ) == 0 ) { in PHP_FUNCTION()
/PHP-5.3/ext/oci8/
H A Doci8_statement.c1435 if (maxlength == -1 && zend_hash_num_elements(Z_ARRVAL_P(var)) == 0) { in php_oci_bind_array_by_name()
1529 bind->array.current_length = zend_hash_num_elements(Z_ARRVAL_P(var)); in php_oci_bind_array_helper_string()
1586 bind->array.current_length = zend_hash_num_elements(Z_ARRVAL_P(var)); in php_oci_bind_array_helper_number()
1624 bind->array.current_length = zend_hash_num_elements(Z_ARRVAL_P(var)); in php_oci_bind_array_helper_double()
1662 bind->array.current_length = zend_hash_num_elements(Z_ARRVAL_P(var)); in php_oci_bind_array_helper_date()
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd_debug.c332 if (zend_hash_num_elements(&self->not_filtered_functions) && in MYSQLND_METHOD()
390 } else if (!zend_hash_num_elements(&self->not_filtered_functions) || in MYSQLND_METHOD()
485 "number of functions: %d", zend_hash_num_elements(&self->function_profiles)); in MYSQLND_METHOD()
567 if (zend_hash_num_elements(&self->not_filtered_functions)) { in MYSQLND_METHOD()

Completed in 130 milliseconds

1234