Searched refs:Z_ARRVAL_P (Results 1 - 25 of 100) sorted by relevance

1234

/PHP_5_3/ext/intl/msgformat/
H A Dmsgformat_format.c44 count = zend_hash_num_elements(Z_ARRVAL_P(args));
56 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(args), &pos);
59 zend_hash_get_current_data_ex(Z_ARRVAL_P(args), (void **)&val, &pos);
63 zend_hash_move_forward_ex(Z_ARRVAL_P(args), &pos);
/PHP_5_3/ext/ldap/
H A Dldap.c615 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(attrs));
619 if (zend_hash_index_find(Z_ARRVAL_P(attrs), i, (void **) &attr) != SUCCESS) {
640 nlinks = zend_hash_num_elements(Z_ARRVAL_P(link));
648 nbases = zend_hash_num_elements(Z_ARRVAL_P(base_dn));
654 zend_hash_internal_pointer_reset(Z_ARRVAL_P(base_dn));
682 zend_hash_internal_pointer_reset(Z_ARRVAL_P(link));
684 zend_hash_get_current_data(Z_ARRVAL_P(link), (void **)&entry);
692 zend_hash_get_current_data(Z_ARRVAL_P(base_dn), (void **)&entry);
693 zend_hash_move_forward(Z_ARRVAL_P(base_dn));
714 zend_hash_move_forward(Z_ARRVAL_P(lin
[all...]
/PHP_5_3/ext/mysqli/
H A Dmysqli_nonapi.c575 *out_array = ecalloc(zend_hash_num_elements(Z_ARRVAL_P(in_array)) + 1, sizeof(MYSQLND *));
576 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(in_array));
577 zend_hash_get_current_data(Z_ARRVAL_P(in_array), (void **) &elem) == SUCCESS;
578 zend_hash_move_forward(Z_ARRVAL_P(in_array))) {
613 zend_hash_init(new_hash, zend_hash_num_elements(Z_ARRVAL_P(out_array)), NULL, ZVAL_PTR_DTOR, 0);
615 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(out_array));
616 zend_hash_get_current_data(Z_ARRVAL_P(out_array), (void **) &elem) == SUCCESS;
617 zend_hash_move_forward(Z_ARRVAL_P(out_array)))
644 zend_hash_destroy(Z_ARRVAL_P(out_array));
645 efree(Z_ARRVAL_P(out_arra
[all...]
H A Dmysqli_warning.c148 zend_hash_internal_pointer_reset(Z_ARRVAL_P(row));
150 zend_hash_move_forward(Z_ARRVAL_P(row));
153 zend_hash_get_current_data(Z_ARRVAL_P(row), (void **)&entry);
156 zend_hash_move_forward(Z_ARRVAL_P(row));
159 zend_hash_get_current_data(Z_ARRVAL_P(row), (void **)&entry);
/PHP_5_3/ext/pcntl/
H A Dpcntl.c928 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(user_set), &pos);
929 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(user_set), (void **)&user_signo, &pos) == SUCCESS)
941 zend_hash_move_forward_ex(Z_ARRVAL_P(user_set), &pos);
955 zend_hash_clean(Z_ARRVAL_P(user_oldset));
997 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(user_set), &pos);
998 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(user_set), (void **)&user_signo, &pos) == SUCCESS)
1010 zend_hash_move_forward_ex(Z_ARRVAL_P(user_set), &pos);
1038 zend_hash_clean(Z_ARRVAL_P(user_siginfo));
/PHP_5_3/ext/pdo/
H A Dpdo_dbh.c136 if (SUCCESS == zend_hash_index_find(Z_ARRVAL_P(info), 1, (void**)&item)) {
140 if (SUCCESS == zend_hash_index_find(Z_ARRVAL_P(info), 2, (void**)&item)) {
282 if (SUCCESS == zend_hash_index_find(Z_ARRVAL_P(options), PDO_ATTR_PERSISTENT, (void**)&v)) {
405 zend_hash_internal_pointer_reset(Z_ARRVAL_P(options));
406 while (SUCCESS == zend_hash_get_current_data(Z_ARRVAL_P(options), (void**)&attr_value)
407 && HASH_KEY_IS_LONG == zend_hash_get_current_key(Z_ARRVAL_P(options), &str_key, &long_key, 0)) {
410 zend_hash_move_forward(Z_ARRVAL_P(options));
467 HashTable *ht = Z_ARRVAL_P(ctor_args);
523 if (ZEND_NUM_ARGS() > 1 && SUCCESS == zend_hash_index_find(Z_ARRVAL_P(options), PDO_ATTR_STATEMENT_CLASS, (void**)&opt)) {
753 if (zend_hash_index_find(Z_ARRVAL_P(valu
[all...]
/PHP_5_3/ext/session/
H A Dphp_session.h211 zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1); \
223 HashTable *_ht = Z_ARRVAL_P(PS(http_session_vars)); \
H A Dsession.c130 zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void *) &sym_track);
152 zend_set_hash_symbol(empty_var, name, namelen, 1, 2, Z_ARRVAL_P(PS(http_session_vars)), &EG(symbol_table));
158 zend_set_hash_symbol(*sym_global, name, namelen, 1, 1, Z_ARRVAL_P(PS(http_session_vars)));
165 ZEND_SET_SYMBOL_WITH_LENGTH(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1, empty_var, 1, 0);
200 zend_set_hash_symbol(*old_symbol, name, namelen, 1, 1, Z_ARRVAL_P(PS(http_session_vars)));
202 zend_set_hash_symbol(state_val, name, namelen, 1, 2, Z_ARRVAL_P(PS(http_session_vars)), &EG(symbol_table));
205 zend_set_hash_symbol(state_val, name, namelen, PZVAL_IS_REF(state_val), 1, Z_ARRVAL_P(PS(http_session_vars)));
215 ret = zend_hash_find(Z_ARRVAL_P(PS(http_session_vars)), name, namelen + 1, (void **) state_var);
580 HashTable *ht = Z_ARRVAL_P(PS(http_session_vars));
1447 zend_hash_find(Z_ARRVAL_P(P
[all...]
/PHP_5_3/ext/spl/
H A Dspl_functions.c86 if (zend_hash_find(Z_ARRVAL_P(list), pce->name, len+1, (void*)&tmp) == FAILURE) {
89 zend_hash_add(Z_ARRVAL_P(list), pce->name, len+1, &tmp, sizeof(zval *), NULL);
H A Dspl_fixedarray.c626 zend_hash_index_update(Z_ARRVAL_P(return_value), i, (void *)&intern->array->elements[i], sizeof(zval *), NULL);
629 zend_hash_index_update(Z_ARRVAL_P(return_value), i, (void *)&EG(uninitialized_zval_ptr), sizeof(zval *), NULL);
652 num = zend_hash_num_elements(Z_ARRVAL_P(data));
660 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(data));
661 zend_hash_get_current_data(Z_ARRVAL_P(data), (void **) &element) == SUCCESS;
662 zend_hash_move_forward(Z_ARRVAL_P(data))
664 if (zend_hash_get_current_key(Z_ARRVAL_P(data), &str_index, &num_index, 0) != HASH_KEY_IS_LONG || (long)num_index < 0) {
683 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(data));
684 zend_hash_get_current_data(Z_ARRVAL_P(data), (void **) &element) == SUCCESS;
685 zend_hash_move_forward(Z_ARRVAL_P(dat
[all...]
/PHP_5_3/ext/standard/
H A Darray.c241 if (zend_hash_sort(Z_ARRVAL_P(array), zend_qsort, php_array_reverse_key_compare, 0 TSRMLS_CC) == FAILURE) {
261 if (zend_hash_sort(Z_ARRVAL_P(array), zend_qsort, php_array_key_compare, 0 TSRMLS_CC) == FAILURE) {
274 if (Z_ARRVAL_P(array)->nApplyCount > 1) {
279 cnt = zend_hash_num_elements(Z_ARRVAL_P(array));
283 for (zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(array), &pos);
284 zend_hash_get_current_data_ex(Z_ARRVAL_P(array), (void **) &element, &pos) == SUCCESS;
285 zend_hash_move_forward_ex(Z_ARRVAL_P(array), &pos)
287 Z_ARRVAL_P(array)->nApplyCount++;
289 Z_ARRVAL_P(array)->nApplyCount--;
459 if (zend_hash_sort(Z_ARRVAL_P(arra
[all...]
H A Dproc_open.c96 cnt = zend_hash_num_elements(Z_ARRVAL_P(environment));
548 if (SUCCESS == zend_hash_find(Z_ARRVAL_P(other_options), "suppress_errors", sizeof("suppress_errors"), (void**)&item)) {
554 if (SUCCESS == zend_hash_find(Z_ARRVAL_P(other_options), "bypass_shell", sizeof("bypass_shell"), (void**)&item)) {
582 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(descriptorspec), &pos);
583 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(descriptorspec), (void **)&descitem, &pos) == SUCCESS) {
589 zend_hash_get_current_key_ex(Z_ARRVAL_P(descriptorspec), &str_index, NULL, &nindex, 0, &pos);
748 zend_hash_move_forward_ex(Z_ARRVAL_P(descriptorspec), &pos);
H A Dstreamsfuncs.c619 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(stream_array));
620 zend_hash_get_current_data(Z_ARRVAL_P(stream_array), (void **) &elem) == SUCCESS;
621 zend_hash_move_forward(Z_ARRVAL_P(stream_array))) {
663 zend_hash_init(new_hash, zend_hash_num_elements(Z_ARRVAL_P(stream_array)), NULL, ZVAL_PTR_DTOR, 0);
665 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(stream_array));
666 zend_hash_get_current_data(Z_ARRVAL_P(stream_array), (void **) &elem) == SUCCESS;
667 zend_hash_move_forward(Z_ARRVAL_P(stream_array))) {
699 zend_hash_destroy(Z_ARRVAL_P(stream_array));
700 efree(Z_ARRVAL_P(stream_array));
703 Z_ARRVAL_P(stream_arra
[all...]
H A Dbrowscap.c193 zend_hash_update(Z_ARRVAL_P(bdata->current_section), new_key, Z_STRLEN_P(arg1) + 1, &new_property, sizeof(zval *), NULL);
215 Z_ARRVAL_P(bdata->current_section) = section_properties;
527 zend_hash_copy(Z_ARRVAL_P(return_value), Z_ARRVAL_PP(agent), (copy_ctor_func_t) browscap_zval_copy_ctor, (void *) &tmp_copy, sizeof(zval *));
540 zend_hash_merge(Z_ARRVAL_P(return_value), Z_ARRVAL_PP(agent), (copy_ctor_func_t) browscap_zval_copy_ctor, (void *) &tmp_copy, sizeof(zval *), 0);
/PHP_5_3/ext/sysvmsg/
H A Dsysvmsg.c173 if (zend_hash_find(Z_ARRVAL_P(data), "msg_perm.uid", sizeof("msg_perm.uid"), (void **) &item) == SUCCESS) {
177 if (zend_hash_find(Z_ARRVAL_P(data), "msg_perm.gid", sizeof("msg_perm.gid"), (void **) &item) == SUCCESS) {
181 if (zend_hash_find(Z_ARRVAL_P(data), "msg_perm.mode", sizeof("msg_perm.mode"), (void **) &item) == SUCCESS) {
185 if (zend_hash_find(Z_ARRVAL_P(data), "msg_qbytes", sizeof("msg_qbytes"), (void **) &item) == SUCCESS) {
/PHP_5_3/ext/xmlrpc/
H A Dxmlrpc-epi-php.c348 return zend_hash_index_update(Z_ARRVAL_P(list), index, (void *) val, sizeof(zval **), NULL);
350 return zend_hash_update(Z_ARRVAL_P(list), (char*) id, strlen(id) + 1, (void *) val, sizeof(zval **), NULL);
353 return zend_hash_next_index_insert(Z_ARRVAL_P(list), (void *) val, sizeof(zval **), NULL);
385 if (zend_hash_find(Z_ARRVAL_P(output_opts), OUTPUT_TYPE_KEY, OUTPUT_TYPE_KEY_LEN + 1, (void**) &val) == SUCCESS) {
396 if (zend_hash_find(Z_ARRVAL_P(output_opts), VERBOSITY_KEY, VERBOSITY_KEY_LEN + 1, (void**) &val) == SUCCESS) {
409 if (zend_hash_find(Z_ARRVAL_P(output_opts), VERSION_KEY, VERSION_KEY_LEN + 1, (void**) &val) == SUCCESS) {
425 if (zend_hash_find(Z_ARRVAL_P(output_opts), ENCODING_KEY, ENCODING_KEY_LEN + 1, (void**)&val) == SUCCESS) {
432 if (zend_hash_find(Z_ARRVAL_P(output_opts), ESCAPING_KEY, ESCAPING_KEY_LEN + 1, (void**)&val) == SUCCESS) {
577 vtype = determine_vector_type(Z_ARRVAL_P(val_arr));
580 zend_hash_internal_pointer_reset(Z_ARRVAL_P(val_ar
[all...]
/PHP_5_3/main/
H A Dphp_ini.c195 zend_hash_destroy(Z_ARRVAL_P(zvalue));
196 free(Z_ARRVAL_P(zvalue));
262 Z_ARRVAL_P(option_arr) = (HashTable *) pemalloc(sizeof(HashTable), 1);
263 zend_hash_init(Z_ARRVAL_P(option_arr), 0, NULL, (dtor_func_t) config_zval_dtor, 1);
270 zend_symtable_update(Z_ARRVAL_P(find_arr), Z_STRVAL_P(arg3), Z_STRLEN_P(arg3) + 1, arg2, sizeof(zval), (void **) &entry);
272 zend_hash_next_index_insert(Z_ARRVAL_P(find_arr), arg2, sizeof(zval), (void **) &entry);
333 Z_ARRVAL_P(section_arr) = (HashTable *) pemalloc(sizeof(HashTable), 1);
334 zend_hash_init(Z_ARRVAL_P(section_arr), 0, NULL, (dtor_func_t) config_zval_dtor, 1);
338 active_ini_hash = Z_ARRVAL_P(entry);
847 php_ini_activate_config(Z_ARRVAL_P(tmp
[all...]
H A Dphp_variables.c74 symtable1 = Z_ARRVAL_P(track_vars_array);
140 ht = Z_ARRVAL_P(track_vars_array);
242 symtable1 == Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) &&
510 if (zend_hash_next_index_insert(Z_ARRVAL_P(arr), &tmp, sizeof(zval *), NULL) == FAILURE) {
530 if (zend_hash_next_index_insert(Z_ARRVAL_P(arr), &tmp, sizeof(zval *), NULL) == FAILURE) {
562 zend_hash_update(Z_ARRVAL_P(track_vars_array), "argv", sizeof("argv"), &arr, sizeof(zval *), NULL);
563 zend_hash_update(Z_ARRVAL_P(track_vars_array), "argc", sizeof("argc"), &argc, sizeof(zval *), NULL);
715 php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]) TSRMLS_CC);
725 php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) TSRMLS_CC);
735 php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(P
[all...]
/PHP_5_3/Zend/
H A Dzend_API.c961 ALLOC_HASHTABLE_REL(Z_ARRVAL_P(arg));
963 _zend_hash_init(Z_ARRVAL_P(arg), size, NULL, ZVAL_PTR_DTOR, 0 ZEND_FILE_LINE_RELAY_CC);
1124 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL);
1135 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL);
1146 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL);
1157 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL);
1168 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL);
1179 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL);
1190 return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, (void *) &tmp, sizeof(zval *), NULL);
1196 return zend_symtable_update(Z_ARRVAL_P(ar
[all...]
H A Dzend_gc.c293 if (Z_ARRVAL_P(pz) != &EG(symbol_table)) {
294 p = Z_ARRVAL_P(pz)->pListHead;
299 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
327 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
365 if (Z_ARRVAL_P(pz) == &EG(symbol_table)) {
368 p = Z_ARRVAL_P(pz)->pListHead;
373 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
402 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) {
475 if (Z_ARRVAL_P(pz) == &EG(symbol_table)) {
478 p = Z_ARRVAL_P(p
[all...]
H A Dzend_operators.c235 Z_LVAL(holder) = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); \
282 Z_LVAL(holder) = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0); \
364 tmp = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0);
424 tmp = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0);
513 tmp = (zend_hash_num_elements(Z_ARRVAL_P(op))?1:0);
622 ALLOC_HASHTABLE(Z_ARRVAL_P(op));
623 zend_hash_init(Z_ARRVAL_P(op), 0, NULL, ZVAL_PTR_DTOR, 0);
624 zend_hash_index_update(Z_ARRVAL_P(op), 0, (void *) &entry, sizeof(zval *), NULL);
673 Z_ARRVAL_P(op) = ht;
677 ALLOC_HASHTABLE(Z_ARRVAL_P(o
[all...]
H A Dzend_execute_API.c169 Z_ARRVAL_P(globals) = &EG(symbol_table);
607 zend_hash_init(tmp_ht, zend_hash_num_elements(Z_ARRVAL_P(p)), NULL, ZVAL_PTR_DTOR, 0);
608 zend_hash_copy(tmp_ht, Z_ARRVAL_P(p), (copy_ctor_func_t) zval_deep_copy, (void *) &tmp, sizeof(zval *));
609 Z_ARRVAL_P(p) = tmp_ht;
613 zend_hash_internal_pointer_reset(Z_ARRVAL_P(p));
614 while (zend_hash_get_current_data(Z_ARRVAL_P(p), (void **) &element) == SUCCESS) {
616 zend_hash_move_forward(Z_ARRVAL_P(p));
620 if (zend_hash_get_current_key_ex(Z_ARRVAL_P(p), &str_index, &str_index_len, &num_index, 0, NULL) != HASH_KEY_IS_STRING) {
621 zend_hash_move_forward(Z_ARRVAL_P(p));
668 ret = zend_symtable_update_current_key(Z_ARRVAL_P(
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_priv.h57 ALLOC_HASHTABLE_REL(Z_ARRVAL_P(arg));\
58 zend_u_hash_init(Z_ARRVAL_P(arg), (field_count), NULL, ZVAL_PTR_DTOR, 0, 0);\
64 ALLOC_HASHTABLE_REL(Z_ARRVAL_P(arg));\
65 zend_hash_init(Z_ARRVAL_P(arg), (field_count), NULL, ZVAL_PTR_DTOR, 0); \
H A Dphp_mysqlnd.c46 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(values), &pos_values);
47 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(values),
56 zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &string_key, &string_key_len, &num_key, 0, &pos_values);
68 zend_hash_move_forward_ex(Z_ARRVAL_P(values), &pos_values);
77 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(values), &pos_values);
78 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(values), (void **)&values_entry, &pos_values) == SUCCESS) {
83 zend_hash_get_current_key_ex(Z_ARRVAL_P(values), &string_key, &string_key_len, &num_key, 0, &pos_values);
88 zend_hash_move_forward_ex(Z_ARRVAL_P(values), &pos_values);
/PHP_5_3/ext/pcre/
H A Dphp_pcre.c499 zend_hash_update(Z_ARRVAL_P(result), name, strlen(name)+1, &match_pair, sizeof(zval *), NULL);
501 zend_hash_next_index_insert(Z_ARRVAL_P(result), &match_pair, sizeof(zval *), NULL);
703 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &result_set, sizeof(zval *), NULL);
754 zend_hash_update(Z_ARRVAL_P(subpats), subpat_names[i],
758 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &match_sets[i], sizeof(zval *), NULL);
1238 zend_hash_internal_pointer_reset(Z_ARRVAL_P(regex));
1242 zend_hash_internal_pointer_reset(Z_ARRVAL_P(replace));
1245 while (zend_hash_get_current_data(Z_ARRVAL_P(regex), (void **)&regex_entry) == SUCCESS) {
1252 if (zend_hash_get_current_data(Z_ARRVAL_P(replace), (void **)&replace_entry) == SUCCESS) {
1257 zend_hash_move_forward(Z_ARRVAL_P(replac
[all...]

Completed in 54 milliseconds

1234