Home
last modified time | relevance | path

Searched refs:zend_hash_num_elements (Results 26 – 50 of 120) sorted by relevance

12345

/PHP-7.2/ext/ldap/
H A Dldap.c855 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(attrs)); in php_ldap_do_search()
879 nlinks = zend_hash_num_elements(Z_ARRVAL_P(link)); in php_ldap_do_search()
887 nbases = zend_hash_num_elements(Z_ARRVAL_P(base_dn)); in php_ldap_do_search()
905 nfilters = zend_hash_num_elements(Z_ARRVAL_P(filter)); in php_ldap_do_search()
1563 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(entry)); in php_ldap_do_modify()
1604 num_values = zend_hash_num_elements(Z_ARRVAL_P(value)); in php_ldap_do_modify()
1838 num_mods = zend_hash_num_elements(Z_ARRVAL_P(mods)); in PHP_FUNCTION()
1857 num_modprops = zend_hash_num_elements(Z_ARRVAL_P(mod)); in PHP_FUNCTION()
1932 num_modvals = zend_hash_num_elements(Z_ARRVAL_P(modinfo)); in PHP_FUNCTION()
2012 num_modvals = zend_hash_num_elements(Z_ARRVAL_P(vals)); in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/pdo/
H A Dpdo_sql_parser.re167 …if (params && bindno != zend_hash_num_elements(params) && stmt->supports_placeholders == PDO_PLACE…
169 if (query_type != PDO_PLACEHOLDER_POSITIONAL && bindno > zend_hash_num_elements(params)) {
H A Dpdo_stmt.c1315 if (Z_TYPE_P(ctor_args) == IS_ARRAY && zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD()
1414 if (Z_TYPE_P(ctor_args) != IS_ARRAY || !zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD()
1686 error_count = zend_hash_num_elements(Z_ARRVAL_P(return_value)); in PHP_METHOD()
1952 … } else if (Z_TYPE(args[skip+2]) == IS_ARRAY && zend_hash_num_elements(Z_ARRVAL(args[skip+2]))) { in pdo_stmt_setup_fetch_mode()
2130 stmt->bound_params ? zend_hash_num_elements(stmt->bound_params) : 0); in PHP_METHOD()
/PHP-7.2/ext/spl/
H A Dspl_fixedarray.c165 zend_long j = zend_hash_num_elements(ht); in spl_fixedarray_object_get_properties()
593 int size = zend_hash_num_elements(intern_ht); in SPL_METHOD()
671 num = zend_hash_num_elements(Z_ARRVAL_P(data)); in SPL_METHOD()
/PHP-7.2/win32/
H A Dregistry.c214 } else if (zend_hash_num_elements(PW32G(registry_directories)) == 0) { in UpdateIniFromRegistry()
/PHP-7.2/ext/intl/locale/
H A Dlocale_methods.c936 if( !hash_arr || zend_hash_num_elements( hash_arr ) == 0 ) in PHP_FUNCTION()
1448 cur_arr = ecalloc(zend_hash_num_elements(hash_arr)*2, sizeof(char *)); in lookup_loc_range()
1583 if( !hash_arr || zend_hash_num_elements( hash_arr ) == 0 ) { in PHP_FUNCTION()
/PHP-7.2/ext/standard/
H A Dvar.c712 zend_hash_init(ht, zend_hash_num_elements(src), NULL, NULL, 0); in php_var_serialize_collect_names()
742 smart_str_append_unsigned(buf, zend_hash_num_elements(&names)); in php_var_serialize_class()
1090 …zend_hash_init(class_hash, (Z_TYPE_P(classes) == IS_ARRAY)?zend_hash_num_elements(Z_ARRVAL_P(class… in PHP_FUNCTION()
H A Dvar_unserializer.c302 if(!zend_hash_num_elements(classes)) { in unserialize_allowed_class()
581 if (elements >= HT_MAX_SIZE - zend_hash_num_elements(ht)) { in object_common2()
585 zend_hash_extend(ht, zend_hash_num_elements(ht) + elements, (ht->u.flags & HASH_FLAG_PACKED)); in object_common2()
H A Ddir.c545 if (basedir_limit && !zend_hash_num_elements(Z_ARRVAL_P(return_value))) { in PHP_FUNCTION()
H A Dinfo.c98 if (zend_hash_num_elements(ht)) { in php_info_print_stream_hash()
956 zend_hash_init(&sorted_registry, zend_hash_num_elements(&module_registry), NULL, NULL, 1); in php_print_info()
H A Dproc_open.c89 cnt = zend_hash_num_elements(Z_ARRVAL_P(environment)); in _php_array_to_envp()
493 ndescriptors_array = zend_hash_num_elements(Z_ARRVAL_P(descriptorspec)); in PHP_FUNCTION()
H A Dvar_unserializer.re300 if(!zend_hash_num_elements(classes)) {
585 if (elements >= HT_MAX_SIZE - zend_hash_num_elements(ht)) {
589 zend_hash_extend(ht, zend_hash_num_elements(ht) + elements, (ht->u.flags & HASH_FLAG_PACKED));
/PHP-7.2/ext/sockets/
H A Dconversions.c924 num_elems = zend_hash_num_elements(Z_ARRVAL_P(arr)); in from_zval_write_control_array()
1102 num_elem = zend_hash_num_elements(Z_ARRVAL_P(arr)); in from_zval_write_iov_array()
1339 num_elems = zend_hash_num_elements(Z_ARRVAL_P(arr)); in calculate_scm_rights_space()
1345 return zend_hash_num_elements(Z_ARRVAL_P(arr)) * sizeof(int); in calculate_scm_rights_space()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg.c573 if (Z_TYPE_P(option_buffer) == IS_ARRAY && zend_hash_num_elements(Z_ARR_P(option_buffer)) > 0) { in PHP_FUNCTION()
1147 zend_hash_num_elements(EG(class_table)), in phpdbg_welcome()
1148 zend_hash_num_elements(EG(function_table)), in phpdbg_welcome()
1149 zend_hash_num_elements(EG(zend_constants)), in phpdbg_welcome()
1150 zend_hash_num_elements(&EG(included_files))); in phpdbg_welcome()
H A Dphpdbg_wait.c214 zend_hash_init(&zv_registry, zend_hash_num_elements(&module_registry), 0, ZVAL_PTR_DTOR, 0); in phpdbg_webdata_decompress()
/PHP-7.2/ext/oci8/
H A Doci8_statement.c1639 if (maxlength == -1 && zend_hash_num_elements(Z_ARRVAL_P(val)) == 0) { in php_oci_bind_array_by_name()
1758 bind->array.current_length = zend_hash_num_elements(Z_ARRVAL_P(var)); in php_oci_bind_array_helper_string()
1818 bind->array.current_length = zend_hash_num_elements(Z_ARRVAL_P(var)); in php_oci_bind_array_helper_number()
1859 bind->array.current_length = zend_hash_num_elements(Z_ARRVAL_P(var)); in php_oci_bind_array_helper_double()
1901 bind->array.current_length = zend_hash_num_elements(Z_ARRVAL_P(var)); in php_oci_bind_array_helper_date()
/PHP-7.2/Zend/
H A Dzend_ts_hash.c319 retval = zend_hash_num_elements(TS_HASH(ht)); in zend_ts_hash_num_elements()
H A Dzend_opcode.c289 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
345 if (zend_hash_num_elements(&ce->constants_table)) { in destroy_zend_class()
H A Dzend_operators.c347 tmp = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); in convert_to_long_base()
407 tmp = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); in convert_to_double()
479 tmp = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); in convert_to_boolean()
771 return zend_hash_num_elements(Z_ARRVAL_P(op)) ? 1 : 0; in _zval_get_long_func_ex()
821 return zend_hash_num_elements(Z_ARRVAL_P(op)) ? 1.0 : 0.0; in _zval_get_double_func()
/PHP-7.2/ext/readline/
H A Dreadline.c502 if (zend_hash_num_elements(Z_ARRVAL(_readline_array))) { in _readline_completion_cb()
/PHP-7.2/ext/xsl/
H A Dxsltprocessor.c144 parsize = (2 * zend_hash_num_elements(parht) + 1) * sizeof(char *); in php_xsl_xslt_make_params()
145 params = (char **)safe_emalloc((2 * zend_hash_num_elements(parht) + 1), sizeof(char *), 0); in php_xsl_xslt_make_params()
/PHP-7.2/ext/phar/
H A Dzip.c1428 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush()
1429 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush()
1431 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush()
1432 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush()
/PHP-7.2/ext/zlib/
H A Dzlib.c772 if (zend_hash_num_elements(dictionary) > 0) { in zlib_create_dictionary_string()
775 zend_string **strings = emalloc(sizeof(zend_string *) * zend_hash_num_elements(dictionary)); in zlib_create_dictionary_string()
809 end = strings + zend_hash_num_elements(dictionary); in zlib_create_dictionary_string()
/PHP-7.2/ext/intl/collator/
H A Dcollator_sort.c423 if( !hash || zend_hash_num_elements( hash ) == 0 ) in PHP_FUNCTION()
/PHP-7.2/ext/soap/
H A Dphp_packet_soap.c270 res_count = zend_hash_num_elements(fn->responseParameters); in parse_packet_soap()

Completed in 163 milliseconds

12345