/PHP-7.2/ext/ldap/ |
H A D | ldap.c | 855 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 D | pdo_sql_parser.re | 167 …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 D | pdo_stmt.c | 1315 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 D | spl_fixedarray.c | 165 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 D | registry.c | 214 } else if (zend_hash_num_elements(PW32G(registry_directories)) == 0) { in UpdateIniFromRegistry()
|
/PHP-7.2/ext/intl/locale/ |
H A D | locale_methods.c | 936 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 D | var.c | 712 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 D | var_unserializer.c | 302 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 D | dir.c | 545 if (basedir_limit && !zend_hash_num_elements(Z_ARRVAL_P(return_value))) { in PHP_FUNCTION()
|
H A D | info.c | 98 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 D | proc_open.c | 89 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 D | var_unserializer.re | 300 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 D | conversions.c | 924 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 D | phpdbg.c | 573 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 D | phpdbg_wait.c | 214 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 D | oci8_statement.c | 1639 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 D | zend_ts_hash.c | 319 retval = zend_hash_num_elements(TS_HASH(ht)); in zend_ts_hash_num_elements()
|
H A D | zend_opcode.c | 289 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 D | zend_operators.c | 347 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 D | readline.c | 502 if (zend_hash_num_elements(Z_ARRVAL(_readline_array))) { in _readline_completion_cb()
|
/PHP-7.2/ext/xsl/ |
H A D | xsltprocessor.c | 144 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 D | zip.c | 1428 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 D | zlib.c | 772 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 D | collator_sort.c | 423 if( !hash || zend_hash_num_elements( hash ) == 0 ) in PHP_FUNCTION()
|
/PHP-7.2/ext/soap/ |
H A D | php_packet_soap.c | 270 res_count = zend_hash_num_elements(fn->responseParameters); in parse_packet_soap()
|