Home
last modified time | relevance | path

Searched refs:zend_hash_num_elements (Results 51 – 75 of 120) sorted by relevance

12345

/PHP-7.2/ext/phar/
H A Dphar.c298 if (!zend_hash_num_elements(&phar->manifest)) { in phar_archive_delref()
1936 if (zend_hash_num_elements(&(PHAR_G(phar_fname_map))) || PHAR_G(manifest_cached)) {
2524 if (!zend_hash_num_elements(&phar->manifest) && !user_stub) {
3483 …phar_entry_fp *stuff = (phar_entry_fp *) ecalloc(zend_hash_num_elements(&cached_phars), sizeof(pha…
3488 …stuff[pphar->phar_pos].manifest = (phar_entry_fp_info *) ecalloc( zend_hash_num_elements(&(pphar->…
3520 for (i = 0; i < zend_hash_num_elements(&cached_phars); ++i) {
H A Ddirstream.c71 offset = zend_hash_num_elements(data) + offset; in phar_dir_seek()
H A Dphar_object.c825 if (mimeoverride && zend_hash_num_elements(Z_ARRVAL_P(mimeoverride))) { in PHP_METHOD()
892 if (!zend_hash_num_elements(Z_ARRVAL_P(mungvalues))) { in PHP_METHOD()
897 if (zend_hash_num_elements(Z_ARRVAL_P(mungvalues)) > 4) { in PHP_METHOD()
1966 RETURN_LONG(zend_hash_num_elements(&phar_obj->archive->manifest)); in PHP_METHOD()
2200 if (!zend_hash_num_elements(&phar->manifest)) { in phar_rename_archive()
4473 nelems = zend_hash_num_elements(Z_ARRVAL_P(zval_files)); in PHP_METHOD()
/PHP-7.2/ext/opcache/Optimizer/
H A Dsccp.c617 ZVAL_LONG(result, zend_hash_num_elements(Z_ARRVAL_P(args[0]))); in ct_eval_func_call()
1068 ZVAL_LONG(&zv, zend_hash_num_elements(Z_ARRVAL_P(op1))); in sccp_visit_instr()
1375 s = zend_hash_num_elements(Z_ARR_P(op1)) != 0; in sccp_mark_feasible_successors()
H A Dcompact_literals.c489 if (zend_hash_num_elements(Z_ARRVAL(op_array->literals[i])) == 0) { in zend_optimizer_compact_literals()
/PHP-7.2/main/streams/
H A Dfilter.c62 zend_hash_init(FG(stream_filters), zend_hash_num_elements(&stream_filters_hash), NULL, NULL, 1); in php_stream_filter_register_factory_volatile()
/PHP-7.2/ext/reflection/
H A Dphp_reflection.c384 count = zend_hash_num_elements(&ce->constants_table); in _class_string()
401 count = zend_hash_num_elements(&ce->properties_info); in _class_string()
429 count = zend_hash_num_elements(&ce->function_table); in _class_string()
461 count = zend_hash_num_elements(&ce->properties_info) - count_static_props - count_shadow_props; in _class_string()
480 if (properties && zend_hash_num_elements(properties)) { in _class_string()
498 count = zend_hash_num_elements(&ce->function_table) - count_static_funcs; in _class_string()
722 count = zend_hash_num_elements(static_variables); in _function_closure_string()
729 …smart_str_append_printf(str, "%s- Bound Variables [%d] {\n", indent, zend_hash_num_elements(static… in _function_closure_string()
1943 argc = zend_hash_num_elements(Z_ARRVAL_P(param_array)); in ZEND_METHOD()
3172 argc = zend_hash_num_elements(Z_ARRVAL_P(param_array)); in reflection_method_invoke()
/PHP-7.2/ext/soap/
H A Dphp_encoding.c1789 if (zend_hash_num_elements(model->u.content) != 1) { in model_array_element()
2294 i = zend_hash_num_elements(Z_ARRVAL_P(data)); in to_xml_array()
2325 zend_hash_num_elements(Z_ARRVAL_P(el)) > 0) { in to_xml_array()
2331 dims[i] = zend_hash_num_elements(Z_ARRVAL_P(el)); in to_xml_array()
2393 zend_hash_num_elements(sdl_type->elements) == 1 && in to_xml_array()
2404 zend_hash_num_elements(sdl_type->elements) == 1 && in to_xml_array()
2585 zend_hash_num_elements(type->sdl_type->elements) == 1 && in to_zval_array()
2592 zend_hash_num_elements(type->sdl_type->elements) == 1 && in to_zval_array()
H A Dphp_schema.c461 char *res = zend_print_long_to_buf(buf + sizeof(buf) - 1, zend_hash_num_elements(sdl->types)); in schema_list()
558 char *res = zend_print_long_to_buf(buf + sizeof(buf) - 1, zend_hash_num_elements(sdl->types)); in schema_union()
1930 char *res = zend_print_long_to_buf(buf + sizeof(buf) - 1, zend_hash_num_elements(sdl->types)); in schema_attribute()
2114 …zend_hash_init(attr->extraAttributes, zend_hash_num_elements(tmp->extraAttributes), NULL, delete_e… in schema_attribute_fixup()
2159 …zend_hash_init(ht, zend_hash_num_elements(newAttr->extraAttributes), NULL, delete_extra_attribute,… in schema_attributegroup_fixup()
/PHP-7.2/ext/gd/
H A Dgd.c1512 num_styles = zend_hash_num_elements(Z_ARRVAL_P(styles)); in PHP_FUNCTION()
3447 nelem = zend_hash_num_elements(Z_ARRVAL_P(POINTS)); in php_imagepolygon()
4615 nelem = zend_hash_num_elements(Z_ARRVAL_P(hash_matrix)); in PHP_FUNCTION()
4623 if (zend_hash_num_elements(Z_ARRVAL_P(var)) != 3 ) { in PHP_FUNCTION()
4895 if ((nelems = zend_hash_num_elements(Z_ARRVAL_P(z_affine))) != 6) { in PHP_FUNCTION()
5066 …if (((nelems = zend_hash_num_elements(Z_ARRVAL_P(z_m1))) != 6) || (nelems = zend_hash_num_elements in PHP_FUNCTION()
/PHP-7.2/Zend/
H A Dzend_builtin_functions.c763 array_init_size(dst, zend_hash_num_elements(Z_ARRVAL_P(src))); in copy_constant_array()
1147 array_init_size(return_value, zend_hash_num_elements(properties)); in ZEND_FUNCTION()
2076 modules = ecalloc(zend_hash_num_elements(&module_registry) + 2, sizeof(zval)); in ZEND_FUNCTION()
2077 module_names = emalloc((zend_hash_num_elements(&module_registry) + 2) * sizeof(char *)); in ZEND_FUNCTION()
H A Dzend_execute_API.c237 symbols = zend_hash_num_elements(&EG(symbol_table)); in shutdown_destructors()
239 } while (symbols != zend_hash_num_elements(&EG(symbol_table))); in shutdown_destructors()
/PHP-7.2/sapi/litespeed/
H A Dlsapi_main.c249 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])) > 0 in litespeed_php_import_environment_variables()
256 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in litespeed_php_import_environment_variables()
/PHP-7.2/ext/mysqli/
H A Dmysqli_nonapi.c700 *out_array = ecalloc(zend_hash_num_elements(Z_ARRVAL_P(in_array)) + 1, sizeof(MYSQLND *));
734 array_init_size(&dest_array, zend_hash_num_elements(Z_ARRVAL_P(out_array)));
/PHP-7.2/ext/pcntl/
H A Dpcntl.c932 argc = zend_hash_num_elements(args_hash); in PHP_FUNCTION()
954 envc = zend_hash_num_elements(envs_hash); in PHP_FUNCTION()
/PHP-7.2/ext/standard/
H A Dformatted_print.c420 argc = 1 + zend_hash_num_elements(Z_ARRVAL_P(array)); in php_formatted_print()
H A Dstreamsfuncs.c669 …zend_hash_init(Z_ARRVAL(new_array), zend_hash_num_elements(Z_ARRVAL_P(stream_array)), NULL, ZVAL_P… in stream_array_from_fd_set()
720 …zend_hash_init(Z_ARRVAL(new_array), zend_hash_num_elements(Z_ARRVAL_P(stream_array)), NULL, ZVAL_P… in stream_array_emulate_read_fd_set()
H A Dstring.c1218 numelems = zend_hash_num_elements(Z_ARRVAL_P(pieces)); in php_implode()
2497 if (zend_hash_num_elements(Z_ARRVAL_P(from)) != zend_hash_num_elements(Z_ARRVAL_P(len))) {
3023 zend_hash_init(&str_hash, zend_hash_num_elements(pats), NULL, NULL, 0);
3458 if (zend_hash_num_elements(pats) < 1) {
3460 } else if (zend_hash_num_elements(pats) == 1) {
/PHP-7.2/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp394 int arg_count = zend_hash_num_elements(args); in umsg_format_helper()
/PHP-7.2/ext/pgsql/
H A Dpgsql.c1974 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
2177 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
4998 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
5175 num_params = zend_hash_num_elements(Z_ARRVAL_P(pv_param_arr));
6607 if (zend_hash_num_elements(Z_ARRVAL_P(var_array)) == 0) {
6869 if (zend_hash_num_elements(Z_ARRVAL_P(var_array)) == 0
6870 || zend_hash_num_elements(Z_ARRVAL_P(ids_array)) == 0) {
6974 if (zend_hash_num_elements(Z_ARRVAL_P(ids_array)) == 0) {
7112 if (zend_hash_num_elements(Z_ARRVAL_P(ids_array)) == 0) {
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_connection.c522 if (conn->options->connect_attr && zend_hash_num_elements(conn->options->connect_attr)) { in MYSQLND_METHOD()
1818 … DBG_INF_FMT("Before reset %d attribute(s)", zend_hash_num_elements(conn->options->connect_attr));
1824 … DBG_INF_FMT("Before delete %d attribute(s)", zend_hash_num_elements(conn->options->connect_attr));
1826 DBG_INF_FMT("%d left", zend_hash_num_elements(conn->options->connect_attr));
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_main.c569 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_ENV])) > 0 in cgi_php_import_environment_variables()
576 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in cgi_php_import_environment_variables()
/PHP-7.2/ext/pcre/
H A Dphp_pcre.c576 if (!pce && zend_hash_num_elements(&PCRE_G(pcre_cache)) == PCRE_CACHE_SIZE) { in pcre_get_compiled_regex_cache_ex()
1965 array_init_size(return_value, zend_hash_num_elements(Z_ARRVAL_P(subject))); in preg_replace_func_impl()
2042 array_init_size(return_value, zend_hash_num_elements(Z_ARRVAL_P(subject))); in preg_replace_common()
/PHP-7.2/ext/oci8/
H A Doci8_lob.c665 if (zend_hash_num_elements(descriptor->connection->descriptors) == 0) { in php_oci_lob_free()
/PHP-7.2/ext/opcache/
H A DZendAccelerator.c2233 …zend_hash_init(&ZCG(function_table), zend_hash_num_elements(CG(function_table)), NULL, ZEND_FUNCTI… in accel_activate()
2246 if (ZCG(internal_functions_count) != (zend_long)zend_hash_num_elements(&ZCG(function_table))) { in accel_activate()
2247 … count changed - was %d, now %d", ZCG(internal_functions_count), zend_hash_num_elements(&ZCG(funct… in accel_activate()

Completed in 237 milliseconds

12345