Home
last modified time | relevance | path

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

123456

/php-src/sapi/phpdbg/
H A Dphpdbg_info.c65 phpdbg_notice("Included files: %d", zend_hash_num_elements(&EG(included_files))); in PHPDBG_INFO()
118 phpdbg_notice("User-defined constants (%d)", zend_hash_num_elements(&consts)); in PHPDBG_INFO()
120 if (zend_hash_num_elements(&consts)) { in PHPDBG_INFO()
209 phpdbg_notice("Superglobal variables (%d)", zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
215 … in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
217 …phpdbg_notice("Variables in %s() (%d)", ZSTR_VAL(ops->function_name), zend_hash_num_elements(&vars… in phpdbg_print_symbols()
221 phpdbg_notice("Variables in %s (%d)", ZSTR_VAL(ops->filename), zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
223 phpdbg_notice("Variables @ %p (%d)", ops, zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
228 if (zend_hash_num_elements(&vars)) { in phpdbg_print_symbols()
399 phpdbg_notice("User Classes (%d)", zend_hash_num_elements(&classes)); in PHPDBG_INFO()
[all …]
H A Dphpdbg_prompt.c1119 phpdbg_writeln("Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND()
1120 phpdbg_writeln("Functions %d", zend_hash_num_elements(EG(function_table))); in PHPDBG_COMMAND()
1121 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
1122 phpdbg_writeln("Included %d", zend_hash_num_elements(&EG(included_files))); in PHPDBG_COMMAND()
1455 phpdbg_writeln("Classes %d", zend_hash_num_elements(EG(class_table))); in PHPDBG_COMMAND()
1456 phpdbg_writeln("Functions %d", zend_hash_num_elements(EG(function_table))); in PHPDBG_COMMAND()
1457 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
1458 phpdbg_writeln("Includes %d", zend_hash_num_elements(&EG(included_files))); in PHPDBG_COMMAND()
1469 phpdbg_writeln("File %d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE])); in PHPDBG_COMMAND()
1470 phpdbg_writeln("Functions %d", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_SYM])); in PHPDBG_COMMAND()
[all …]
H A Dphpdbg_print.c136 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
138 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
291 phpdbg_out("%d methods: ", zend_hash_num_elements(&ce->function_table)); in phpdbg_print_opcodes_ce()
H A Dphpdbg_watch.c149 return zend_hash_num_elements(HT_PTR_HT(oldPtr)) != zend_hash_num_elements(HT_PTR_HT(newPtr)); in phpdbg_check_watch_diff()
190 …elementDiff = zend_hash_num_elements(HT_PTR_HT(oldPtr)) - zend_hash_num_elements(HT_PTR_HT(newPtr)… in phpdbg_print_watch_diff()
399 if (zend_hash_num_elements(&coll->parents) == 0) {
634 } else if (zend_hash_num_elements(&element->child_container) == 0) {
676 if (zend_hash_num_elements(&hti->watches) == 1) {
976 if (zend_hash_num_elements(elements) == 0) {
1164 if (zend_hash_num_elements(&PHPDBG_G(watch_elements)) == 0) {
1168 if (zend_hash_num_elements(PHPDBG_G(watchlist_mem)) > 0) {
1208 if (zend_hash_num_elements(&PHPDBG_G(watch_elements))) {
1219 zend_ulong num = zend_hash_num_elements(&hti->watches);
H A Dphpdbg_bp.c124 if (zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP])) { in phpdbg_export_breakpoints_to_string()
125 …phpdbg_notice("Exporting %d breakpoints", zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP])); in phpdbg_export_breakpoints_to_string()
377 if (!zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE_PENDING])) { in phpdbg_resolve_pending_file_break_ex()
1205 if (zend_hash_num_elements(table) == 1) { in phpdbg_delete_breakpoint()
1208 if (zend_hash_num_elements(&PHPDBG_G(bp)[type]) == 1) { in phpdbg_delete_breakpoint()
1215 if (zend_hash_num_elements(table) == 1) { in phpdbg_delete_breakpoint()
1225 if (zend_hash_num_elements(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE]) == 1) { in phpdbg_delete_breakpoint()
/php-src/ext/pdo_pgsql/
H A Dpgsql_statement.c238 stmt->bound_params ? zend_hash_num_elements(stmt->bound_params) : 0, in pgsql_stmt_execute()
280 zend_hash_num_elements(stmt->bound_params) : in pgsql_stmt_execute()
289 zend_hash_num_elements(stmt->bound_params) : in pgsql_stmt_execute()
300 stmt->bound_params ? zend_hash_num_elements(stmt->bound_params) : 0, in pgsql_stmt_execute()
308 stmt->bound_params ? zend_hash_num_elements(stmt->bound_params) : 0, in pgsql_stmt_execute()
421 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
424 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
427 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
430 zend_hash_num_elements(stmt->bound_param_map), in pgsql_stmt_param_hook()
/php-src/sapi/phpdbg/tests/
H A Dgh15268.phpt2 GH-15268 (heap buffer overflow in phpdbg (zend_hash_num_elements() Zend/zend_hash.h))
/php-src/ext/dom/
H A Dprivate_data.c79 if (zend_hash_num_elements(private_data->template_fragments) > 0) { in php_dom_free_templated_content()
148 return zend_hash_num_elements(private_data->template_fragments); in php_dom_get_template_count()
H A Dtoken_list.c139 if (attr == NULL && zend_hash_num_elements(token_set) == 0) { in dom_token_list_update()
240 return index >= 0 && index < zend_hash_num_elements(token_set); in dom_token_list_item_exists()
248 if (index >= 0 && index < zend_hash_num_elements(token_set)) { in dom_token_list_item_read()
358 ZVAL_LONG(retval, zend_hash_num_elements(TOKEN_LIST_GET_SET(token_list))); in dom_token_list_length_read()
615 RETURN_LONG(zend_hash_num_elements(TOKEN_LIST_GET_SET(intern))); in PHP_METHOD()
/php-src/ext/spl/
H A Dspl_observer.c332 debug_info = zend_new_array(zend_hash_num_elements(props) + 1); in spl_object_storage_debug_info()
572 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
599 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
625 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
655 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
823 ZVAL_LONG(&flags, zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
996 array_init_size(&tmp, 2 * zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
1032 if (zend_hash_num_elements(Z_ARRVAL_P(storage_zv)) % 2 != 0) { in PHP_METHOD()
1187 RETURN_LONG(zend_hash_num_elements(&intern->storage)); in PHP_METHOD()
1246 if (!zend_hash_num_elements(&intern->storage)) { in PHP_METHOD()
[all …]
H A Dspl_fixedarray.c236 if (size == 0 && (!source_properties || !zend_hash_num_elements(source_properties))) { in spl_fixedarray_object_get_properties_for()
246 if (source_properties && zend_hash_num_elements(source_properties) > 0) { in spl_fixedarray_object_get_properties_for()
573 int size = zend_hash_num_elements(intern_ht); in PHP_METHOD()
599 uint32_t num_properties = zend_hash_num_elements(ht); in PHP_METHOD()
634 size = zend_hash_num_elements(data); in PHP_METHOD()
712 num = zend_hash_num_elements(Z_ARRVAL_P(data)); in PHP_METHOD()
/php-src/Zend/
H A Dzend_objects.c256 EXPECTED(zend_hash_num_elements(old_object->properties))) { in zend_objects_clone_members()
262 new_object->properties = zend_new_array(zend_hash_num_elements(old_object->properties)); in zend_objects_clone_members()
265 …xtend(new_object->properties, new_object->properties->nNumUsed + zend_hash_num_elements(old_object… in zend_objects_clone_members()
H A Dzend_weakrefs.h47 ZEND_ASSERT(zend_hash_num_elements(ht) == 0); in zend_weakrefs_hash_destroy()
H A Dzend_extensions.c328 size_t functions = zend_hash_num_elements(CG(function_table)); in zend_init_internal_run_time_cache()
331 functions += zend_hash_num_elements(&ce->function_table); in zend_init_internal_run_time_cache()
H A Dzend_property_hooks.c322 hooked_iter->declared_props_done = !zend_hash_num_elements(properties); in zho_it_rewind()
367 iterator->declared_props_done = !zend_hash_num_elements(properties); in zend_hooked_object_get_iterator()
/php-src/ext/soap/
H A Dphp_sdl.c1940 i = zend_hash_num_elements(type->elements); in sdl_serialize_type()
2002 i = zend_hash_num_elements(ht); in sdl_serialize_parameters()
2031 i = zend_hash_num_elements(body->headers); in sdl_serialize_soap_body()
2112 i = zend_hash_num_elements(sdl->groups); in add_sdl_to_cache()
2129 i = zend_hash_num_elements(sdl->types); in add_sdl_to_cache()
2146 i = zend_hash_num_elements(sdl->elements); in add_sdl_to_cache()
2163 i = zend_hash_num_elements(sdl->encoders); in add_sdl_to_cache()
2230 i = zend_hash_num_elements(sdl->bindings); in add_sdl_to_cache()
2328 i = zend_hash_num_elements(sdl->requests); in add_sdl_to_cache()
3008 if (zend_hash_num_elements(&bp_types)) { in make_persistent_sdl()
[all …]
/php-src/ext/standard/
H A Darray.c622 cnt = zend_hash_num_elements(ht); in php_count_recursive()
894 if (zend_hash_num_elements(arr) == 0) { in php_usort()
1038 if (zend_hash_num_elements(array) == 0) { in PHP_FUNCTION()
1069 if (zend_hash_num_elements(array) == 0) { in PHP_FUNCTION()
1100 if (zend_hash_num_elements(array) == 0) { in PHP_FUNCTION()
1131 if (zend_hash_num_elements(array) == 0) { in PHP_FUNCTION()
3330 num_in = zend_hash_num_elements(in_hash);
4100 zend_hash_extend(dest, zend_hash_num_elements(dest) + zend_hash_num_elements(src), 1);
4527 arrlen = zend_hash_num_elements(arrval);
6467 if (zend_hash_num_elements(htbl) == 0) {
[all …]
H A Dvar.c149 count = zend_hash_num_elements(myht); in php_var_dump()
344 count = zend_hash_num_elements(myht); in php_debug_zval_dump()
907 zend_hash_init(ht, zend_hash_num_elements(sleep_retval), NULL, ZVAL_PTR_DTOR, 0); in php_var_serialize_get_sleep_props()
1030 …buf, struc, &props, zend_hash_num_elements(&props), /* incomplete_class */ 0, var_hash, GC_REFCOUN… in php_var_serialize_class()
1156 smart_str_append_unsigned(buf, zend_hash_num_elements(Z_ARRVAL(retval))); in php_var_serialize_intern()
1409 …zend_hash_init(class_hash, (Z_TYPE_P(classes) == IS_ARRAY)?zend_hash_num_elements(Z_ARRVAL_P(class… in php_unserialize_with_options()
/php-src/ext/random/
H A Dengine_mt19937.c197 if (zend_hash_num_elements(data) != (N + 2)) { in unserialize()
353 if (zend_hash_num_elements(d) != 2) { in PHP_METHOD()
H A Dengine_pcgoneseq128xslrr64.c90 if (zend_hash_num_elements(data) != 2) { in unserialize()
/php-src/ext/mysqlnd/
H A Dmysqlnd_debug.c259 if (zend_hash_num_elements(&self->not_filtered_functions) && in MYSQLND_METHOD()
317 } else if (!zend_hash_num_elements(&self->not_filtered_functions) || in MYSQLND_METHOD()
412 "number of functions: %d", zend_hash_num_elements(&self->function_profiles)); in MYSQLND_METHOD()
497 if (zend_hash_num_elements(&self->not_filtered_functions)) { in MYSQLND_METHOD()
/php-src/ext/phar/
H A Dfunc_interceptors.c33 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHP_FUNCTION()
172 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHP_FUNCTION()
245 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHP_FUNCTION()
291 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHP_FUNCTION()
736 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PharFileFunction()
802 …if ((HT_IS_INITIALIZED(&PHAR_G(phar_fname_map)) && !zend_hash_num_elements(&(PHAR_G(phar_fname_map… in PHP_FUNCTION()
/php-src/ext/intl/dateformat/
H A Ddateformat_format.c161 if (!hash_arr || zend_hash_num_elements(hash_arr) == 0) { in PHP_FUNCTION()
H A Ddateformat_format_object.cpp95 if (zend_hash_num_elements(ht) != 2) { in PHP_FUNCTION()
/php-src/ext/ldap/
H A Dldap.c532 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(tmp)); in php_ldap_control_from_array()
573 num_keys = zend_hash_num_elements(Z_ARRVAL_P(val)); in php_ldap_control_from_array()
778 uint32_t num_controls = zend_hash_num_elements(controls); in php_ldap_controls_from_array()
1478 uint32_t num_attribs = zend_hash_num_elements(attributes); in php_ldap_do_search()
1516 uint32_t num_links = zend_hash_num_elements(Z_ARRVAL_P(link)); in php_ldap_do_search()
1535 num_base_dns = zend_hash_num_elements(base_dn_ht); in php_ldap_do_search()
1557 num_filters = zend_hash_num_elements(filter_ht); in php_ldap_do_search()
2239 uint32_t num_attribs = zend_hash_num_elements(attributes_ht); in php_ldap_do_modify()
2593 if (zend_hash_num_elements(modifications) == 0) { in PHP_FUNCTION()
2612 uint32_t modification_size = zend_hash_num_elements(modification); in PHP_FUNCTION()
[all …]

Completed in 99 milliseconds

123456