/PHP-5.5/ext/standard/ |
H A D | browscap.c | 193 …zend_hash_update(Z_ARRVAL_P(bdata->current_section), new_key, Z_STRLEN_P(arg1) + 1, &new_property,… in php_browscap_parser_cb() 215 Z_ARRVAL_P(bdata->current_section) = section_properties; in php_browscap_parser_cb() 527 …zend_hash_copy(Z_ARRVAL_P(return_value), Z_ARRVAL_PP(agent), (copy_ctor_func_t) browscap_zval_copy… in PHP_FUNCTION() 540 …zend_hash_merge(Z_ARRVAL_P(return_value), Z_ARRVAL_PP(agent), (copy_ctor_func_t) browscap_zval_cop… in PHP_FUNCTION()
|
H A D | iptc.c | 367 …if (zend_hash_find(Z_ARRVAL_P(return_value), key, strlen(key) + 1, (void **) &element) == FAILURE)… in PHP_FUNCTION() 371 …zend_hash_update(Z_ARRVAL_P(return_value), key, strlen(key) + 1, (void *) &values, sizeof(zval*), … in PHP_FUNCTION()
|
H A D | basic_functions.c | 4319 count = zend_hash_num_elements(Z_ARRVAL_P(p_longopts)); 4330 zend_hash_internal_pointer_reset(Z_ARRVAL_P(p_longopts)); 4361 zend_hash_move_forward(Z_ARRVAL_P(p_longopts)); 5042 && zend_hash_index_find(Z_ARRVAL_P(function), 0, (void **) &obj) == SUCCESS 5043 && zend_hash_index_find(Z_ARRVAL_P(function), 1, (void **) &method) == SUCCESS 5908 if (zend_hash_index_find(Z_ARRVAL_P(arr), key, (void **) &find_hash) == FAILURE) { 5913 zend_hash_index_update(Z_ARRVAL_P(arr), key, &hash, sizeof(zval *), NULL); 6009 zend_hash_destroy(Z_ARRVAL_P(return_value)); 6010 efree(Z_ARRVAL_P(return_value)); 6049 zend_hash_destroy(Z_ARRVAL_P(return_value)); [all …]
|
H A D | file.c | 655 if (zend_hash_num_elements(Z_ARRVAL_P(data))) { in PHP_FUNCTION() 660 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(data), &pos); in PHP_FUNCTION() 661 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(data), (void **) &tmp, &pos) == SUCCESS) { in PHP_FUNCTION() 679 zend_hash_move_forward_ex(Z_ARRVAL_P(data), &pos); in PHP_FUNCTION() 1886 count = zend_hash_num_elements(Z_ARRVAL_P(fields)); in php_fputcsv() 1887 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(fields), &pos); in php_fputcsv() 1888 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(fields), (void **) &field_tmp, &pos) == SUCCESS) { in php_fputcsv() 1929 zend_hash_move_forward_ex(Z_ARRVAL_P(fields), &pos); in php_fputcsv()
|
/PHP-5.5/ext/pcntl/ |
H A D | pcntl.c | 935 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(user_set), &pos); in PHP_FUNCTION() 936 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(user_set), (void **)&user_signo, &pos) == SUCCESS) in PHP_FUNCTION() 948 zend_hash_move_forward_ex(Z_ARRVAL_P(user_set), &pos); in PHP_FUNCTION() 962 zend_hash_clean(Z_ARRVAL_P(user_oldset)); in PHP_FUNCTION() 1004 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(user_set), &pos); in pcntl_sigwaitinfo() 1005 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(user_set), (void **)&user_signo, &pos) == SUCCESS) in pcntl_sigwaitinfo() 1017 zend_hash_move_forward_ex(Z_ARRVAL_P(user_set), &pos); in pcntl_sigwaitinfo() 1045 zend_hash_clean(Z_ARRVAL_P(user_siginfo)); in pcntl_sigwaitinfo()
|
/PHP-5.5/ext/xsl/ |
H A D | xsltprocessor.c | 788 zend_hash_internal_pointer_reset(Z_ARRVAL_P(array_value)); in PHP_FUNCTION() 790 while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { in PHP_FUNCTION() 794 …if (zend_hash_get_current_key_ex(Z_ARRVAL_P(array_value), &string_key, &string_key_len, &idx, 0, N… in PHP_FUNCTION() 804 zend_hash_move_forward(Z_ARRVAL_P(array_value)); in PHP_FUNCTION() 886 zend_hash_internal_pointer_reset(Z_ARRVAL_P(array_value)); in PHP_FUNCTION() 888 while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { in PHP_FUNCTION() 896 zend_hash_move_forward(Z_ARRVAL_P(array_value)); in PHP_FUNCTION()
|
/PHP-5.5/ext/xml/ |
H A D | xml.c | 538 } else if (zend_hash_index_find(Z_ARRVAL_P(handler), 0, (void **) &obj) == SUCCESS && in xml_call_handler() 539 zend_hash_index_find(Z_ARRVAL_P(handler), 1, (void **) &method) == SUCCESS && in xml_call_handler() 740 if (zend_hash_find(Z_ARRVAL_P(parser->info),name,strlen(name) + 1,(void **) &element) == FAILURE) { in _xml_add_to_info() 745 …zend_hash_update(Z_ARRVAL_P(parser->info), name, strlen(name)+1, (void *) &values, sizeof(zval*), … in _xml_add_to_info() 842 zend_hash_add(Z_ARRVAL_P(tag),"attributes",sizeof("attributes"),&atr,sizeof(zval*),NULL); in _xml_startElementHandler() 847 zend_hash_next_index_insert(Z_ARRVAL_P(parser->data),&tag,sizeof(zval*),(void *) &parser->ctag); in _xml_startElementHandler() 895 zend_hash_next_index_insert(Z_ARRVAL_P(parser->data),&tag,sizeof(zval*),NULL); in _xml_endElementHandler() 970 zend_hash_internal_pointer_end_ex(Z_ARRVAL_P(parser->data), &hpos); in _xml_characterDataHandler() 972 …if (hpos && (zend_hash_get_current_data_ex(Z_ARRVAL_P(parser->data), (void **) &curtag, &hpos) == … in _xml_characterDataHandler() 999 zend_hash_next_index_insert(Z_ARRVAL_P(parser->data),&tag,sizeof(zval*),NULL); in _xml_characterDataHandler()
|
/PHP-5.5/ext/ereg/ |
H A D | ereg.c | 670 zend_hash_destroy(Z_ARRVAL_P(return_value)); in php_split() 671 efree(Z_ARRVAL_P(return_value)); in php_split() 697 zend_hash_destroy(Z_ARRVAL_P(return_value)); in php_split() 698 efree(Z_ARRVAL_P(return_value)); in php_split()
|
/PHP-5.5/ext/soap/ |
H A D | php_packet_soap.c | 355 …if (zend_hash_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name)+1, (void**… in parse_packet_soap() 385 zend_hash_internal_pointer_reset(Z_ARRVAL_P(return_value)); in parse_packet_soap() 386 zend_hash_get_current_data(Z_ARRVAL_P(return_value), (void**)&tmp); in parse_packet_soap()
|
H A D | php_encoding.c | 1291 zend_hash_del(Z_ARRVAL_P(object), name, strlen(name)+1); in unset_zval_property() 1719 HashTable *ht = Z_ARRVAL_P(data); in model_to_xml_object() 1799 HashTable *ht = Z_ARRVAL_P(data); in model_to_xml_object() 1916 prop = Z_ARRVAL_P(data); in to_xml_object() 2356 array_set_zval_key(Z_ARRVAL_P(array_copy), &key, *val); in to_xml_array() 2384 i = zend_hash_num_elements(Z_ARRVAL_P(data)); in to_xml_array() 2790 i = zend_hash_num_elements(Z_ARRVAL_P(data)); in to_xml_map() 3116 HashTable *ht = Z_ARRVAL_P(data); in to_xml_list() 3609 int i, count = zend_hash_num_elements(Z_ARRVAL_P(array)); in is_map() 3611 zend_hash_internal_pointer_reset(Z_ARRVAL_P(array)); in is_map() [all …]
|
H A D | soap.c | 868 zend_hash_internal_pointer_reset(Z_ARRVAL_P(code)); in PHP_METHOD() 870 zend_hash_move_forward(Z_ARRVAL_P(code)); in PHP_METHOD() 1137 HashTable *ht = Z_ARRVAL_P(options); in PHP_METHOD() 2352 HashTable *ht = Z_ARRVAL_P(options); 2878 HashTable *hto = Z_ARRVAL_P(options); 2897 soap_headers = Z_ARRVAL_P(headers); 2914 HashTable *default_headers = Z_ARRVAL_P(*tmp); 2932 soap_headers = Z_ARRVAL_P(*tmp); 2937 arg_count = zend_hash_num_elements(Z_ARRVAL_P(args)); 3188 …zend_hash_copy(Z_ARRVAL_P(return_value), Z_ARRVAL_P(*cookies), (copy_ctor_func_t) zval_add_ref, (v… [all …]
|
/PHP-5.5/ext/session/ |
H A D | php_session.h | 249 zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1); \ 261 HashTable *_ht = Z_ARRVAL_P(PS(http_session_vars)); \
|
H A D | session.c | 149 zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void *) &sym_track); in php_add_session_var() 158 ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1, empty_var, 1, 0); in php_add_session_var() 166 …zend_set_hash_symbol(state_val, name, namelen, PZVAL_IS_REF(state_val), 1, Z_ARRVAL_P(PS(http_sess… in php_set_session_var() 176 ret = zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void **) state_var); in php_get_session_var() 1571 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", sizeof("REQUEST_URI… 1591 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", sizeof("HTTP_REFER… 2107 ht_sess_var = Z_ARRVAL_P(PS(http_session_vars)); 2532 …if (zend_hash_find(Z_ARRVAL_P(PG(http_globals)[where]), PS(session_name), progress->sname_len+1, (… 2563 …if (zend_symtable_find(Z_ARRVAL_P(PS(http_session_vars)), progress->key.c, progress->key.len+1, (v… 2600 …ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), progress->key.c, progress->key.len+… [all …]
|
/PHP-5.5/ext/wddx/ |
H A D | wddx.c | 315 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(retval)); in PS_SERIALIZER_DECODE_FUNC() 316 zend_hash_get_current_data(Z_ARRVAL_P(retval), (void **) &ent) == SUCCESS; in PS_SERIALIZER_DECODE_FUNC() 317 zend_hash_move_forward(Z_ARRVAL_P(retval))) { in PS_SERIALIZER_DECODE_FUNC() 318 hash_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(retval), &key, &key_length, &idx, 0, NULL); in PS_SERIALIZER_DECODE_FUNC() 665 ht = Z_ARRVAL_P(var); in php_wddx_serialize_var() 894 …zend_hash_find(Z_ARRVAL_P(recordset->data), (char*)atts[i], strlen(atts[i])+1, (void**)&field) == … in php_wddx_push_element() 1008 Z_ARRVAL_P(ent2->data), in php_wddx_pop_element()
|
/PHP-5.5/ext/sockets/ |
H A D | sockets.c | 774 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(sock_array)); 775 zend_hash_get_current_data(Z_ARRVAL_P(sock_array), (void **) &element) == SUCCESS; 776 zend_hash_move_forward(Z_ARRVAL_P(sock_array))) { 806 zend_hash_init(new_hash, zend_hash_num_elements(Z_ARRVAL_P(sock_array)), NULL, ZVAL_PTR_DTOR, 0); 807 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(sock_array)); 808 zend_hash_get_current_data(Z_ARRVAL_P(sock_array), (void **) &element) == SUCCESS; 809 zend_hash_move_forward(Z_ARRVAL_P(sock_array))) { 816 … switch (zend_hash_get_current_key_ex(Z_ARRVAL_P(sock_array), &key, &key_len, &num_key, 0, NULL)) { 830 zend_hash_destroy(Z_ARRVAL_P(sock_array)); 831 efree(Z_ARRVAL_P(sock_array)); [all …]
|
/PHP-5.5/ext/pdo/ |
H A D | php_pdo_driver.h | 199 if (options && SUCCESS == zend_hash_index_find(Z_ARRVAL_P(options), option_name, (void**)&v)) { in pdo_attr_lval() 209 if (options && SUCCESS == zend_hash_index_find(Z_ARRVAL_P(options), option_name, (void**)&v)) { in pdo_attr_strval()
|
H A D | pdo_stmt.c | 458 zend_hash_internal_pointer_reset(Z_ARRVAL_P(input_params)); in PHP_METHOD() 459 while (SUCCESS == zend_hash_get_current_data(Z_ARRVAL_P(input_params), (void*)&tmp)) { in PHP_METHOD() 462 if (HASH_KEY_IS_STRING == zend_hash_get_current_key_ex(Z_ARRVAL_P(input_params), in PHP_METHOD() 487 zend_hash_move_forward(Z_ARRVAL_P(input_params)); in PHP_METHOD() 761 HashTable *ht = Z_ARRVAL_P(stmt->fetch.cls.ctor_args); in do_fetch_class_prepare() 1060 …zend_hash_index_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_LVAL_P(… in do_fetch() 1063 …zend_symtable_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_STRVAL_P(… in do_fetch() 1081 if (zend_hash_find(Z_ARRVAL_P(return_value), stmt->columns[i].name, in do_fetch() 1352 if (Z_TYPE_P(ctor_args) == IS_ARRAY && zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD() 1449 if (Z_TYPE_P(ctor_args) != IS_ARRAY || !zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD() [all …]
|
/PHP-5.5/ext/intl/dateformat/ |
H A D | dateformat_format.c | 172 hash_arr = Z_ARRVAL_P(zarg); in PHP_FUNCTION()
|
/PHP-5.5/ext/dom/ |
H A D | xpath.c | 560 zend_hash_internal_pointer_reset(Z_ARRVAL_P(array_value)); in PHP_FUNCTION() 562 while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { in PHP_FUNCTION() 570 zend_hash_move_forward(Z_ARRVAL_P(array_value)); in PHP_FUNCTION()
|
/PHP-5.5/ext/imap/ |
H A D | php_imap.c | 632 symtable = Z_ARRVAL_P(arg); in add_assoc_object() 647 symtable = Z_ARRVAL_P(arg); in add_next_index_object() 3503 if (zend_hash_find(Z_ARRVAL_P(envelope), "date", sizeof("date"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3507 if (zend_hash_find(Z_ARRVAL_P(envelope), "from", sizeof("from"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3523 if (zend_hash_find(Z_ARRVAL_P(envelope), "to", sizeof("to"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3527 if (zend_hash_find(Z_ARRVAL_P(envelope), "cc", sizeof("cc"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3531 if (zend_hash_find(Z_ARRVAL_P(envelope), "bcc", sizeof("bcc"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3556 zend_hash_internal_pointer_reset(Z_ARRVAL_P(body)); in PHP_FUNCTION() 3657 zend_hash_move_forward(Z_ARRVAL_P(body)); in PHP_FUNCTION() 3659 while (zend_hash_get_current_data(Z_ARRVAL_P(body), (void **) &data) == SUCCESS) { in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/dba/ |
H A D | dba.c | 210 if (zend_hash_num_elements(Z_ARRVAL_P(key)) != 2) { 214 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(key), &pos); 215 zend_hash_get_current_data_ex(Z_ARRVAL_P(key), (void **) &group, &pos); 216 zend_hash_move_forward_ex(Z_ARRVAL_P(key), &pos); 217 zend_hash_get_current_data_ex(Z_ARRVAL_P(key), (void **) &name, &pos);
|
/PHP-5.5/sapi/apache_hooks/ |
H A D | php_apache.c | 597 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(first), &pos); in add_header_to_table() 598 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(first), (void **)&entry, &pos) == SUCCESS) { in add_header_to_table() 599 …switch(zend_hash_get_current_key_ex(Z_ARRVAL_P(first), &string_key, &string_key_len, &num_key, 0, … in add_header_to_table() 601 … if (zend_hash_find(Z_ARRVAL_P(first), string_key, string_key_len, (void **)&value) == FAILURE) { in add_header_to_table() 602 zend_hash_move_forward_ex(Z_ARRVAL_P(first), &pos); in add_header_to_table() 606 zend_hash_move_forward_ex(Z_ARRVAL_P(first), &pos); in add_header_to_table() 623 zend_hash_move_forward_ex(Z_ARRVAL_P(first), &pos); in add_header_to_table()
|
/PHP-5.5/ext/oci8/ |
H A D | oci8_interface.c | 1435 zend_hash_next_index_insert(Z_ARRVAL_P(row), &element, sizeof(zval*), NULL); 1439 …zend_symtable_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, size… 1442 …zend_hash_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, sizeof(z… 1447 zend_hash_next_index_insert(Z_ARRVAL_P(array), &row, sizeof(zval*), NULL); 1467 zend_hash_next_index_insert(Z_ARRVAL_P(array), &tmp, sizeof(zval*), (void **) &(outarrs[ i ])); 1477 …zend_symtable_update(Z_ARRVAL_P(array), columns[ i ]->name, columns[ i ]->name_len+1, (void *) &tm… 1480 …zend_hash_update(Z_ARRVAL_P(array), columns[ i ]->name, columns[ i ]->name_len+1, (void *) &tmp, s… 1515 object_and_properties_init(return_value, ZEND_STANDARD_CLASS_DEF_PTR, Z_ARRVAL_P(return_value));
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_bt.c | 216 …zend_hash_apply_with_arguments(Z_ARRVAL_P(trace) TSRMLS_CC, (apply_func_args_t)mysqlnd_build_trace… in mysqlnd_get_backtrace()
|
/PHP-5.5/ext/intl/converter/ |
H A D | converter.c | 201 HashTable *ht = Z_ARRVAL_P(val); in php_converter_append_toUnicode_target() 293 HashTable *ht = Z_ARRVAL_P(val); in php_converter_append_fromUnicode_target() 833 if (options && zend_hash_num_elements(Z_ARRVAL_P(options))) { in PHP_METHOD() 837 …zend_hash_find(Z_ARRVAL_P(options), "from_subst", sizeof("from_subst"), (void**)&tmpzval) == SUCCE… in PHP_METHOD() 843 …zend_hash_find(Z_ARRVAL_P(options), "to_subst", sizeof("to_subst"), (void**)&tmpzval) == SUCCESS && in PHP_METHOD()
|