/PHP-5.3/Zend/ |
H A D | zend.c | 323 if (++Z_ARRVAL_P(expr)->nApplyCount>1) { in zend_print_flat_zval_r() 325 Z_ARRVAL_P(expr)->nApplyCount--; in zend_print_flat_zval_r() 328 print_flat_hash(Z_ARRVAL_P(expr) TSRMLS_CC); in zend_print_flat_zval_r() 330 Z_ARRVAL_P(expr)->nApplyCount--; in zend_print_flat_zval_r() 382 if (++Z_ARRVAL_P(expr)->nApplyCount>1) { in zend_print_zval_r_ex() 384 Z_ARRVAL_P(expr)->nApplyCount--; in zend_print_zval_r_ex() 387 print_hash(write_func, Z_ARRVAL_P(expr), indent, 0 TSRMLS_CC); in zend_print_zval_r_ex() 388 Z_ARRVAL_P(expr)->nApplyCount--; in zend_print_zval_r_ex() 1124 Z_ARRVAL_P(z_context) = EG(active_symbol_table); in zend_error()
|
/PHP-5.3/ext/session/ |
H A D | session.c | 130 zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void *) &sym_track); in php_add_session_var() 152 …zend_set_hash_symbol(empty_var, name, namelen, 1, 2, Z_ARRVAL_P(PS(http_session_vars)), &EG(symbol… in php_add_session_var() 158 zend_set_hash_symbol(*sym_global, name, namelen, 1, 1, Z_ARRVAL_P(PS(http_session_vars))); in php_add_session_var() 165 ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1, empty_var, 1, 0); in php_add_session_var() 200 zend_set_hash_symbol(*old_symbol, name, namelen, 1, 1, Z_ARRVAL_P(PS(http_session_vars))); in php_set_session_var() 202 …zend_set_hash_symbol(state_val, name, namelen, 1, 2, Z_ARRVAL_P(PS(http_session_vars)), &EG(symbol… in php_set_session_var() 205 …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() 215 ret = zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void **) state_var); in php_get_session_var() 581 HashTable *ht = Z_ARRVAL_P(PS(http_session_vars)); in php_session_save_current_state() 1919 ht_sess_var = Z_ARRVAL_P(PS(http_session_vars)); [all …]
|
H A D | php_session.h | 211 zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1); \ 223 HashTable *_ht = Z_ARRVAL_P(PS(http_session_vars)); \
|
/PHP-5.3/ext/xml/ |
H A D | xml.c | 537 } else if (zend_hash_index_find(Z_ARRVAL_P(handler), 0, (void **) &obj) == SUCCESS && in xml_call_handler() 538 zend_hash_index_find(Z_ARRVAL_P(handler), 1, (void **) &method) == SUCCESS && in xml_call_handler() 840 if (zend_hash_find(Z_ARRVAL_P(parser->info),name,strlen(name) + 1,(void **) &element) == FAILURE) { in _xml_add_to_info() 845 …zend_hash_update(Z_ARRVAL_P(parser->info), name, strlen(name)+1, (void *) &values, sizeof(zval*), … in _xml_add_to_info() 942 zend_hash_add(Z_ARRVAL_P(tag),"attributes",sizeof("attributes"),&atr,sizeof(zval*),NULL); in _xml_startElementHandler() 947 zend_hash_next_index_insert(Z_ARRVAL_P(parser->data),&tag,sizeof(zval*),(void *) &parser->ctag); in _xml_startElementHandler() 995 zend_hash_next_index_insert(Z_ARRVAL_P(parser->data),&tag,sizeof(zval*),NULL); in _xml_endElementHandler() 1070 zend_hash_internal_pointer_end_ex(Z_ARRVAL_P(parser->data), &hpos); in _xml_characterDataHandler() 1072 …if (hpos && (zend_hash_get_current_data_ex(Z_ARRVAL_P(parser->data), (void **) &curtag, &hpos) == … in _xml_characterDataHandler() 1099 zend_hash_next_index_insert(Z_ARRVAL_P(parser->data),&tag,sizeof(zval*),NULL); in _xml_characterDataHandler()
|
/PHP-5.3/ext/standard/ |
H A D | iptc.c | 359 …if (zend_hash_find(Z_ARRVAL_P(return_value), key, strlen(key) + 1, (void **) &element) == FAILURE)… in PHP_FUNCTION() 363 …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 | 4318 count = zend_hash_num_elements(Z_ARRVAL_P(p_longopts)); 4329 zend_hash_internal_pointer_reset(Z_ARRVAL_P(p_longopts)); 4360 zend_hash_move_forward(Z_ARRVAL_P(p_longopts)); 5039 && zend_hash_index_find(Z_ARRVAL_P(function), 0, (void **) &obj) == SUCCESS 5040 && zend_hash_index_find(Z_ARRVAL_P(function), 1, (void **) &method) == SUCCESS 5929 if (zend_hash_index_find(Z_ARRVAL_P(arr), key, (void **) &find_hash) == FAILURE) { 5934 zend_hash_index_update(Z_ARRVAL_P(arr), key, &hash, sizeof(zval *), NULL); 6034 zend_hash_destroy(Z_ARRVAL_P(return_value)); 6035 efree(Z_ARRVAL_P(return_value)); 6074 zend_hash_destroy(Z_ARRVAL_P(return_value)); [all …]
|
H A D | file.c | 674 if (zend_hash_num_elements(Z_ARRVAL_P(data))) { in PHP_FUNCTION() 679 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(data), &pos); in PHP_FUNCTION() 680 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(data), (void **) &tmp, &pos) == SUCCESS) { in PHP_FUNCTION() 698 zend_hash_move_forward_ex(Z_ARRVAL_P(data), &pos); in PHP_FUNCTION() 1998 count = zend_hash_num_elements(Z_ARRVAL_P(fields)); in PHP_FUNCTION() 1999 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(fields), &pos); in PHP_FUNCTION() 2000 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(fields), (void **) &field_tmp, &pos) == SUCCESS) { in PHP_FUNCTION() 2041 zend_hash_move_forward_ex(Z_ARRVAL_P(fields), &pos); in PHP_FUNCTION()
|
H A D | string.c | 1065 numelems = zend_hash_num_elements(Z_ARRVAL_P(arr)); in php_implode() 1071 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(arr), &pos); in php_implode() 1073 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), (void **) &tmp, &pos) == SUCCESS) { in php_implode() 1127 zend_hash_move_forward_ex(Z_ARRVAL_P(arr), &pos); in php_implode() 1530 if (zend_hash_get_current_data(Z_ARRVAL_P(tmp), (void **) &element) == SUCCESS) { 3600 zend_hash_internal_pointer_reset(Z_ARRVAL_P(search)); 3603 zend_hash_internal_pointer_reset(Z_ARRVAL_P(replace)); 3616 zend_hash_move_forward(Z_ARRVAL_P(search)); 3618 zend_hash_move_forward(Z_ARRVAL_P(replace)); 3634 zend_hash_move_forward(Z_ARRVAL_P(replace)); [all …]
|
/PHP-5.3/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.3/ext/sockets/ |
H A D | sockets.c | 718 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(sock_array)); 719 zend_hash_get_current_data(Z_ARRVAL_P(sock_array), (void **) &element) == SUCCESS; 720 zend_hash_move_forward(Z_ARRVAL_P(sock_array))) { 750 zend_hash_init(new_hash, zend_hash_num_elements(Z_ARRVAL_P(sock_array)), NULL, ZVAL_PTR_DTOR, 0); 751 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(sock_array)); 752 zend_hash_get_current_data(Z_ARRVAL_P(sock_array), (void **) &element) == SUCCESS; 753 zend_hash_move_forward(Z_ARRVAL_P(sock_array))) { 760 … switch (zend_hash_get_current_key_ex(Z_ARRVAL_P(sock_array), &key, &key_len, &num_key, 0, NULL)) { 774 zend_hash_destroy(Z_ARRVAL_P(sock_array)); 775 efree(Z_ARRVAL_P(sock_array)); [all …]
|
/PHP-5.3/ext/soap/ |
H A D | php_packet_soap.c | 357 …if (zend_hash_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name)+1, (void**… in parse_packet_soap() 387 zend_hash_internal_pointer_reset(Z_ARRVAL_P(return_value)); in parse_packet_soap() 388 zend_hash_get_current_data(Z_ARRVAL_P(return_value), (void**)&tmp); in parse_packet_soap()
|
H A D | php_encoding.c | 1299 zend_hash_del(Z_ARRVAL_P(object), name, strlen(name)+1); in unset_zval_property() 1728 HashTable *ht = Z_ARRVAL_P(data); in model_to_xml_object() 1808 HashTable *ht = Z_ARRVAL_P(data); in model_to_xml_object() 1926 prop = Z_ARRVAL_P(data); in to_xml_object() 2403 i = zend_hash_num_elements(Z_ARRVAL_P(data)); in to_xml_array() 2811 i = zend_hash_num_elements(Z_ARRVAL_P(data)); in to_xml_map() 3140 HashTable *ht = Z_ARRVAL_P(data); in to_xml_list() 3268 zend_hash_move_forward_ex(Z_ARRVAL_P(data), &pos)) { in to_xml_any() 3634 int i, count = zend_hash_num_elements(Z_ARRVAL_P(array)); in is_map() 3636 zend_hash_internal_pointer_reset(Z_ARRVAL_P(array)); in is_map() [all …]
|
H A D | soap.c | 974 zend_hash_internal_pointer_reset(Z_ARRVAL_P(code)); in PHP_METHOD() 976 zend_hash_move_forward(Z_ARRVAL_P(code)); in PHP_METHOD() 1242 HashTable *ht = Z_ARRVAL_P(options); in PHP_METHOD() 2534 HashTable *ht = Z_ARRVAL_P(options); 3041 HashTable *hto = Z_ARRVAL_P(options); 3060 soap_headers = Z_ARRVAL_P(headers); 3077 HashTable *default_headers = Z_ARRVAL_P(*tmp); 3093 soap_headers = Z_ARRVAL_P(*tmp); 3098 arg_count = zend_hash_num_elements(Z_ARRVAL_P(args)); 3422 soap_headers = Z_ARRVAL_P(soap_headers_p); [all …]
|
/PHP-5.3/ext/wddx/ |
H A D | wddx.c | 312 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(retval)); in PS_SERIALIZER_DECODE_FUNC() 313 zend_hash_get_current_data(Z_ARRVAL_P(retval), (void **) &ent) == SUCCESS; in PS_SERIALIZER_DECODE_FUNC() 314 zend_hash_move_forward(Z_ARRVAL_P(retval))) { in PS_SERIALIZER_DECODE_FUNC() 315 hash_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(retval), &key, &key_length, &idx, 0, NULL); in PS_SERIALIZER_DECODE_FUNC() 662 ht = Z_ARRVAL_P(var); in php_wddx_serialize_var() 891 …zend_hash_find(Z_ARRVAL_P(recordset->data), (char*)atts[i], strlen(atts[i])+1, (void**)&field) == … in php_wddx_push_element() 994 Z_ARRVAL_P(ent2->data), in php_wddx_pop_element()
|
/PHP-5.3/main/streams/ |
H A D | streams.c | 2159 …if (FAILURE == zend_hash_find(Z_ARRVAL_P(context->options), (char*)wrappername, strlen(wrappername… 2176 …if (FAILURE == zend_hash_find(Z_ARRVAL_P(context->options), (char*)wrappername, strlen(wrappername… 2179 …if (FAILURE == zend_hash_update(Z_ARRVAL_P(context->options), (char*)wrappername, strlen(wrapperna… 2196 …if (SUCCESS == zend_hash_find(Z_ARRVAL_P(context->links), (char*)hostent, strlen(hostent)+1, (void… 2215 return zend_hash_del(Z_ARRVAL_P(context->links), (char*)hostent, strlen(hostent)+1); 2217 …return zend_hash_update(Z_ARRVAL_P(context->links), (char*)hostent, strlen(hostent)+1, (void**)&st… 2231 for(zend_hash_internal_pointer_reset(Z_ARRVAL_P(context->links)); 2232 SUCCESS == zend_hash_get_current_data(Z_ARRVAL_P(context->links), (void**)&pstream); 2233 zend_hash_move_forward(Z_ARRVAL_P(context->links))) { 2235 if (SUCCESS == zend_hash_get_current_key(Z_ARRVAL_P(context->links), &hostent, NULL, 0)) { [all …]
|
/PHP-5.3/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() 1371 if (Z_TYPE_P(ctor_args) == IS_ARRAY && zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD() 1467 if (Z_TYPE_P(ctor_args) != IS_ARRAY || !zend_hash_num_elements(Z_ARRVAL_P(ctor_args))) { in PHP_METHOD() [all …]
|
/PHP-5.3/ext/dom/ |
H A D | xpath.c | 559 zend_hash_internal_pointer_reset(Z_ARRVAL_P(array_value)); in PHP_FUNCTION() 561 while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { in PHP_FUNCTION() 569 zend_hash_move_forward(Z_ARRVAL_P(array_value)); in PHP_FUNCTION()
|
/PHP-5.3/ext/mysqlnd/ |
H A D | mysqlnd_result.c | 793 HashTable *row_ht = Z_ARRVAL_P(row); in mysqlnd_fetch_row_unbuffered() 833 zend_u_hash_quick_update(Z_ARRVAL_P(row), IS_UNICODE, in mysqlnd_fetch_row_unbuffered() 839 zend_hash_quick_update(Z_ARRVAL_P(row), in mysqlnd_fetch_row_unbuffered() 846 zend_hash_index_update(Z_ARRVAL_P(row), in mysqlnd_fetch_row_unbuffered() 1075 zend_hash_next_index_insert(Z_ARRVAL_P(row), &data, sizeof(zval *), NULL); in mysqlnd_fetch_row_buffered() 1088 zend_u_hash_quick_update(Z_ARRVAL_P(row), IS_UNICODE, in mysqlnd_fetch_row_buffered() 1094 zend_hash_quick_update(Z_ARRVAL_P(row), in mysqlnd_fetch_row_buffered() 1101 zend_hash_index_update(Z_ARRVAL_P(row), in mysqlnd_fetch_row_buffered()
|
/PHP-5.3/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() 3512 if (zend_hash_find(Z_ARRVAL_P(envelope), "date", sizeof("date"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3516 if (zend_hash_find(Z_ARRVAL_P(envelope), "from", sizeof("from"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3532 if (zend_hash_find(Z_ARRVAL_P(envelope), "to", sizeof("to"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3536 if (zend_hash_find(Z_ARRVAL_P(envelope), "cc", sizeof("cc"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3540 if (zend_hash_find(Z_ARRVAL_P(envelope), "bcc", sizeof("bcc"), (void **) &pvalue)== SUCCESS) { in PHP_FUNCTION() 3565 zend_hash_internal_pointer_reset(Z_ARRVAL_P(body)); in PHP_FUNCTION() 3666 zend_hash_move_forward(Z_ARRVAL_P(body)); in PHP_FUNCTION() 3668 while (zend_hash_get_current_data(Z_ARRVAL_P(body), (void **) &data) == SUCCESS) { in PHP_FUNCTION() [all …]
|
/PHP-5.3/ext/intl/dateformat/ |
H A D | dateformat_format.c | 155 hash_arr = Z_ARRVAL_P(zarg); in PHP_FUNCTION()
|
/PHP-5.3/ext/dba/ |
H A D | dba.c | 209 if (zend_hash_num_elements(Z_ARRVAL_P(key)) != 2) { 213 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(key), &pos); 214 zend_hash_get_current_data_ex(Z_ARRVAL_P(key), (void **) &group, &pos); 215 zend_hash_move_forward_ex(Z_ARRVAL_P(key), &pos); 216 zend_hash_get_current_data_ex(Z_ARRVAL_P(key), (void **) &name, &pos);
|
/PHP-5.3/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.3/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.3/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 522 if (!zend_hash_num_elements(Z_ARRVAL_P(pg_rows))) { in PHP_METHOD() 560 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(pg_rows), &pos); in PHP_METHOD() 561 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(pg_rows), (void **) &tmp, &pos) == SUCCESS) { in PHP_METHOD() 580 zend_hash_move_forward_ex(Z_ARRVAL_P(pg_rows), &pos); in PHP_METHOD()
|