Home
last modified time | relevance | path

Searched refs:Z_ARRVAL_P (Results 26 – 50 of 134) sorted by relevance

123456

/php-src/ext/pdo/
H A Dpdo_dbh.c365 if ((v = zend_hash_index_find_deref(Z_ARRVAL_P(options), PDO_ATTR_PERSISTENT)) != NULL) { in internal_construct()
470 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(options), long_key, str_key, attr_value) { in internal_construct()
572 …if (options && (value = zend_hash_index_find(Z_ARRVAL_P(options), PDO_ATTR_STATEMENT_CLASS)) != NU… in PHP_METHOD()
578 if ((item = zend_hash_index_find(Z_ARRVAL_P(value), 0)) == NULL) { in PHP_METHOD()
596 if ((item = zend_hash_index_find(Z_ARRVAL_P(value), 1)) != NULL) { in PHP_METHOD()
829 if ((tmp = zend_hash_index_find(Z_ARRVAL_P(value), 0)) != NULL && Z_TYPE_P(tmp) == IS_LONG) { in pdo_dbh_attribute_set()
876 if ((item = zend_hash_index_find(Z_ARRVAL_P(value), 0)) == NULL) { in pdo_dbh_attribute_set()
898 if ((item = zend_hash_index_find(Z_ARRVAL_P(value), 1)) != NULL) { in pdo_dbh_attribute_set()
1136 error_count = zend_hash_num_elements(Z_ARRVAL_P(return_value)); in PHP_METHOD()
H A Dphp_pdo_driver.h181 if (options && (v = zend_hash_index_find(Z_ARRVAL_P(options), option_name))) { in pdo_attr_lval()
190 if (options && (v = zend_hash_index_find(Z_ARRVAL_P(options), option_name))) { in pdo_attr_strval()
/php-src/ext/intl/collator/
H A Dcollator_sort.c284 hash = Z_ARRVAL_P( array ); in collator_sort_internal()
376 hash = Z_ARRVAL_P( array ); in PHP_FUNCTION()
477 zend_hash_next_index_insert( Z_ARRVAL_P(array), sortKeyIndxBuf[j].zstr); in PHP_FUNCTION()
/php-src/ext/standard/
H A Diptc.c359 if ((element = zend_hash_str_find(Z_ARRVAL_P(return_value), key, strlen(key))) == NULL) { in PHP_FUNCTION()
362 element = zend_hash_str_update(Z_ARRVAL_P(return_value), key, strlen(key), &values); in PHP_FUNCTION()
H A Dstreamsfuncs.c634 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(stream_array), elem) { in stream_array_to_fd_set()
675 ht = zend_new_array(zend_hash_num_elements(Z_ARRVAL_P(stream_array))); in stream_array_from_fd_set()
677 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(stream_array), num_ind, key, elem) { in stream_array_from_fd_set()
724 ht = zend_new_array(zend_hash_num_elements(Z_ARRVAL_P(stream_array))); in stream_array_emulate_read_fd_set()
726 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(stream_array), num_ind, key, elem) { in stream_array_emulate_read_fd_set()
920 if (!HT_IS_PACKED(Z_ARRVAL_P(wval))) { in parse_context_options()
921 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(wval), okey, oval) { in parse_context_options()
954 return parse_context_options(context, Z_ARRVAL_P(tmp)); in parse_context_params()
H A Ddir.c438 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), &tmp); in PHP_FUNCTION()
443 if (basedir_limit && !zend_hash_num_elements(Z_ARRVAL_P(return_value))) { in PHP_FUNCTION()
/php-src/ext/spl/
H A Dspl_observer.c341 Z_ARRVAL_P(&tmp)->pDestructor = NULL; in spl_object_storage_debug_info()
961 object_properties_load(&intern->std, Z_ARRVAL_P(pmembers)); in PHP_METHOD()
995 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &tmp); in PHP_METHOD()
1000 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &tmp); in PHP_METHOD()
1023 if (zend_hash_num_elements(Z_ARRVAL_P(storage_zv)) % 2 != 0) { in PHP_METHOD()
1029 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(storage_zv), val) { in PHP_METHOD()
1044 object_properties_load(&intern->std, Z_ARRVAL_P(members_zv)); in PHP_METHOD()
1320 zend_symtable_update(Z_ARRVAL_P(return_value), Z_STR(element->inf), &retval); in spl_multiple_iterator_get_all()
H A Dspl_dllist.c1101 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &tmp); in PHP_METHOD()
1110 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &tmp); in PHP_METHOD()
1115 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &tmp); in PHP_METHOD()
1141 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(storage_zv), elem) { in PHP_METHOD()
1145 object_properties_load(&intern->std, Z_ARRVAL_P(members_zv)); in PHP_METHOD()
/php-src/ext/soap/
H A Dphp_packet_soap.c349 …if ((arr = zend_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name)… in parse_packet_soap()
378 zend_hash_internal_pointer_reset(Z_ARRVAL_P(return_value)); in parse_packet_soap()
379 tmp = zend_hash_get_current_data(Z_ARRVAL_P(return_value)); in parse_packet_soap()
H A Dphp_encoding.c1658 HashTable *ht = Z_ARRVAL_P(data); in model_to_xml_object()
1737 HashTable *ht = Z_ARRVAL_P(data); in model_to_xml_object()
1846 prop = Z_ARRVAL_P(data); in to_xml_object()
2142 ZEND_HASH_FOREACH_VAL_IND(Z_ARRVAL_P(data), zdata) { in add_xml_array_elements()
2306 i = zend_hash_num_elements(Z_ARRVAL_P(data)); in to_xml_array()
2337 zend_hash_num_elements(Z_ARRVAL_P(el)) > 0) { in to_xml_array()
2338 ZEND_HASH_FOREACH_VAL_IND(Z_ARRVAL_P(el), el) { in to_xml_array()
2343 dims[i] = zend_hash_num_elements(Z_ARRVAL_P(el)); in to_xml_array()
3037 HashTable *ht = Z_ARRVAL_P(data); in to_xml_list()
3531 if (HT_IS_PACKED(Z_ARRVAL_P(array)) && HT_IS_WITHOUT_HOLES(Z_ARRVAL_P(array))) { in is_map()
[all …]
/php-src/ext/random/
H A Drandomizer.c413 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &t); in PHP_METHOD()
521 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &t); in PHP_METHOD()
548 object_properties_load(&randomizer->std, Z_ARRVAL_P(members_zv)); in PHP_METHOD()
/php-src/Zend/
H A Dzend_variables.c127 ZVAL_ARR(zvalue, zend_array_dup(Z_ARRVAL_P(zvalue))); in zval_copy_ctor_func()
H A Dzend.c484 if (!(GC_FLAGS(Z_ARRVAL_P(expr)) & GC_IMMUTABLE)) { in zend_print_flat_zval_r_to_buf()
485 if (GC_IS_RECURSIVE(Z_ARRVAL_P(expr))) { in zend_print_flat_zval_r_to_buf()
489 GC_PROTECT_RECURSION(Z_ARRVAL_P(expr)); in zend_print_flat_zval_r_to_buf()
491 print_flat_hash(buf, Z_ARRVAL_P(expr)); in zend_print_flat_zval_r_to_buf()
493 GC_TRY_UNPROTECT_RECURSION(Z_ARRVAL_P(expr)); in zend_print_flat_zval_r_to_buf()
548 if (!(GC_FLAGS(Z_ARRVAL_P(expr)) & GC_IMMUTABLE)) { in zend_print_zval_r_to_buf()
549 if (GC_IS_RECURSIVE(Z_ARRVAL_P(expr))) { in zend_print_zval_r_to_buf()
553 GC_PROTECT_RECURSION(Z_ARRVAL_P(expr)); in zend_print_zval_r_to_buf()
555 print_hash(buf, Z_ARRVAL_P(expr), indent, 0); in zend_print_zval_r_to_buf()
556 GC_TRY_UNPROTECT_RECURSION(Z_ARRVAL_P(expr)); in zend_print_zval_r_to_buf()
H A Dzend_frameless_function.h62 dest_ht = Z_ARRVAL_P(arg ## arg_num); \
/php-src/ext/intl/msgformat/
H A Dmsgformat_format.c37 umsg_format_helper(mfo, Z_ARRVAL_P(args), &formatted, &formatted_len); in msgfmt_do_format()
/php-src/ext/openssl/
H A Dopenssl.c735 zend_hash_str_update(Z_ARRVAL_P(val), key, strlen(key), &subitem); in php_openssl_add_assoc_name_entry()
2434 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(calist), item) { in php_openssl_setup_verify()
2548 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(zcerts), zcertval) { in STACK_OF()
2946 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(dn), strindex, item) { in php_openssl_csr_make()
2951 ZEND_HASH_FOREACH_NUM_KEY_VAL(Z_ARRVAL_P(item), i, subitem) { in php_openssl_csr_make()
3015 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(attribs), strindex, item) { in php_openssl_csr_make()
3608 if ((zphrase = zend_hash_index_find(Z_ARRVAL_P(val), 1)) == NULL) { in php_openssl_pkey_from_zval()
3627 if ((val = zend_hash_index_find(Z_ARRVAL_P(val), 0)) == NULL) { in php_openssl_pkey_from_zval()
5763 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(zrecipcerts), zcertval) { in PHP_FUNCTION()
6370 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(zrecipcerts), zcertval) { in PHP_FUNCTION()
[all …]
/php-src/ext/session/
H A Dsession.c198 if (!zend_hash_exists(Z_ARRVAL_P(sess_var), name)) { in php_add_session_var()
201 zend_hash_update(Z_ARRVAL_P(sess_var), name, &empty_var); in php_add_session_var()
212 return zend_hash_update(Z_ARRVAL_P(sess_var), name, state_val); in php_set_session_var()
221 return zend_hash_find(Z_ARRVAL_P(Z_REFVAL(PS(http_session_vars))), name); in php_get_session_var()
230 return zend_hash_str_find(Z_ARRVAL_P(Z_REFVAL(PS(http_session_vars))), name, name_len); in php_get_session_var_str()
1573 (ppid = zend_hash_str_find(Z_ARRVAL_P(data), PS(session_name), strlen(PS(session_name))))) { in php_session_reset_id()
2653 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(options), num_idx, str_idx, value) { in PHP_FUNCTION()
2689 zend_hash_clean(Z_ARRVAL_P(sess_var)); in PHP_FUNCTION()
2729 zend_hash_clean(Z_ARRVAL_P(sess_var)); in PHP_FUNCTION()
3169 zend_hash_update(Z_ARRVAL_P(sess_var), progress->key.s, &progress->data); in php_session_rfc1867_update()
[all …]
/php-src/ext/json/
H A Djson_parser.y223 zend_hash_next_index_insert(Z_ARRVAL_P(array), zvalue); in php_json_parser_array_append()
241 zend_symtable_update(Z_ARRVAL_P(object), key, zvalue); in php_json_parser_object_update()
/php-src/ext/filter/
H A Dlogical_filters.c40 …if ((option_val = zend_hash_str_find(Z_ARRVAL_P(option_array), option_name, sizeof(option_name) - …
52 …if ((option_val = zend_hash_str_find(Z_ARRVAL_P(option_array), option_name, sizeof(option_name) - …
65 …if ((option_val = zend_hash_str_find_deref(Z_ARRVAL_P(option_array), option_name, sizeof(option_na…
80 …if ((option_val = zend_hash_str_find_deref(Z_ARRVAL_P(option_array), option_name, sizeof(option_na…
/php-src/ext/pgsql/
H A Dpgsql.c1266 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pv_param_arr), tmp) { in PHP_FUNCTION()
1462 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pv_param_arr), tmp) { in PHP_FUNCTION()
3422 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pg_rows), value) { in PHP_FUNCTION()
3972 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pv_param_arr), tmp) { in PHP_FUNCTION()
4143 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(pv_param_arr), tmp) { in PHP_FUNCTION()
5371 zend_hash_update(Z_ARRVAL_P(result), field, &new_val); in php_pgsql_convert()
5501 if (zend_hash_num_elements(Z_ARRVAL_P(var_array)) == 0) { in php_pgsql_insert()
5522 ZEND_HASH_FOREACH_STR_KEY(Z_ARRVAL_P(var_array), fld) { in php_pgsql_insert()
5540 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(var_array), val) { in php_pgsql_insert()
5769 if (zend_hash_num_elements(Z_ARRVAL_P(var_array)) == 0 in php_pgsql_update()
[all …]
/php-src/ext/intl/converter/
H A Dconverter.c194 HashTable *ht = Z_ARRVAL_P(val); in php_converter_append_toUnicode_target()
278 HashTable *ht = Z_ARRVAL_P(val); in php_converter_append_fromUnicode_target()
750 if (options && zend_hash_num_elements(Z_ARRVAL_P(options))) { in PHP_METHOD()
754 …(tmpzval = zend_hash_str_find(Z_ARRVAL_P(options), "from_subst", sizeof("from_subst") - 1)) != NUL… in PHP_METHOD()
760 … (tmpzval = zend_hash_str_find(Z_ARRVAL_P(options), "to_subst", sizeof("to_subst") - 1)) != NULL && in PHP_METHOD()
/php-src/ext/intl/dateformat/
H A Ddateformat_format.c160 hash_arr = Z_ARRVAL_P(zarg); in PHP_FUNCTION()
/php-src/ext/mysqli/
H A Dmysqli_nonapi.c644 *out_array = ecalloc(zend_hash_num_elements(Z_ARRVAL_P(in_array)) + 1, sizeof(MYSQLND *));
645 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(in_array), elem) {
678 array_init_size(&dest_array, zend_hash_num_elements(Z_ARRVAL_P(out_array)));
680 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(out_array), elem) {
720 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(in_zval_array), elem) {
/php-src/Zend/Optimizer/
H A Dsccp.c108 zend_dump_ht(Z_ARRVAL_P(zv)); in scp_dump_value()
112 zend_dump_ht(Z_ARRVAL_P(zv)); in scp_dump_value()
329 if (zend_hash_num_elements(Z_ARRVAL_P(op)) == 0) { in ct_eval_bool_cast()
536 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(array), key, value) { in ct_eval_add_array_unpack()
710 ht = Z_ARRVAL_P(op2); in ct_eval_in_array()
1498 ZVAL_LONG(&zv, zend_hash_num_elements(Z_ARRVAL_P(op1))); in sccp_visit_instr()
1919 HashTable *jmptable = Z_ARRVAL_P(CT_CONSTANT_EX(op_array, opline->op2.constant)); in sccp_mark_feasible_successors()
1984 join_hash_tables(Z_ARRVAL(ret), Z_ARRVAL_P(a), Z_ARRVAL_P(b)); in join_partial_arrays()
2000 join_hash_tables(Z_ARRVAL(ret), Z_ARRVAL_P(a), Z_ARRVAL_P(b)); in join_partial_objects()
/php-src/ext/pcre/
H A Dphp_pcre.c1041 HashTable *subpats_ht = Z_ARRVAL_P(subpats); in populate_subpat_array()
1351 zend_hash_next_index_insert_new(Z_ARRVAL_P(subpats), &result_set); in php_pcre_match_impl()
1431 zend_hash_update(Z_ARRVAL_P(subpats), subpat_names[i], &wrapper); in php_pcre_match_impl()
1434 zend_hash_next_index_insert_new(Z_ARRVAL_P(subpats), &wrapper); in php_pcre_match_impl()
1440 zend_hash_next_index_insert_new(Z_ARRVAL_P(subpats), &wrapper); in php_pcre_match_impl()
1448 zend_hash_str_update(Z_ARRVAL_P(subpats), "MARK", sizeof("MARK") - 1, &tmp); in php_pcre_match_impl()
2227 HashTable *return_value_ht = Z_ARRVAL_P(return_value); in preg_replace_func_impl()
2296 HashTable *return_value_ht = Z_ARRVAL_P(return_value); in _preg_replace_common()
2568 HashTable *return_value_ht = Z_ARRVAL_P(return_value); in php_pcre_split_impl()
2922 HashTable *return_value_ht = Z_ARRVAL_P(return_value); in php_pcre_grep_impl()
[all …]

Completed in 140 milliseconds

123456