Lines Matching refs:entry

820 	zval **entry;  in PHP_FUNCTION()  local
829 if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) { in PHP_FUNCTION()
833 RETURN_ZVAL_FAST(*entry); in PHP_FUNCTION()
843 zval **entry; in PHP_FUNCTION() local
852 if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) { in PHP_FUNCTION()
856 RETURN_ZVAL_FAST(*entry); in PHP_FUNCTION()
866 zval **entry; in PHP_FUNCTION() local
875 if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) { in PHP_FUNCTION()
879 RETURN_ZVAL_FAST(*entry); in PHP_FUNCTION()
889 zval **entry; in PHP_FUNCTION() local
898 if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) { in PHP_FUNCTION()
902 RETURN_ZVAL_FAST(*entry); in PHP_FUNCTION()
912 zval **entry; in PHP_FUNCTION() local
918 if (zend_hash_get_current_data(array, (void **) &entry) == FAILURE) { in PHP_FUNCTION()
922 RETURN_ZVAL_FAST(*entry); in PHP_FUNCTION()
1180 **entry, /* pointer to array entry */ in php_search_array() local
1195 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(array), (void **)&entry, &pos) == SUCCESS) { in php_search_array()
1196 is_equal_func(&res, value, *entry TSRMLS_CC); in php_search_array()
1287 zval **entry, *data; in PHP_FUNCTION() local
1332 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(var_array), (void **)&entry, &pos) == SUCCESS) { in PHP_FUNCTION()
1410 SEPARATE_ZVAL_TO_MAKE_IS_REF(entry); in PHP_FUNCTION()
1411 zval_add_ref(entry); in PHP_FUNCTION()
1415 *orig_var = *entry; in PHP_FUNCTION()
1417 …_symbol_table), Z_STRVAL(final_name), Z_STRLEN(final_name) + 1, (void **) entry, sizeof(zval *), N… in PHP_FUNCTION()
1421 *data = **entry; in PHP_FUNCTION()
1441 static void php_compact_var(HashTable *eg_active_symbol_table, zval *return_value, zval *entry TSRM… in php_compact_var()
1445 if (Z_TYPE_P(entry) == IS_STRING) { in php_compact_var()
1446 …if (zend_hash_find(eg_active_symbol_table, Z_STRVAL_P(entry), Z_STRLEN_P(entry) + 1, (void **)&val… in php_compact_var()
1451 …zend_hash_update(Z_ARRVAL_P(return_value), Z_STRVAL_P(entry), Z_STRLEN_P(entry) + 1, &data, sizeof… in php_compact_var()
1454 else if (Z_TYPE_P(entry) == IS_ARRAY) { in php_compact_var()
1457 if ((Z_ARRVAL_P(entry)->nApplyCount > 1)) { in php_compact_var()
1462 Z_ARRVAL_P(entry)->nApplyCount++; in php_compact_var()
1464 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(entry), &pos); in php_compact_var()
1465 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(entry), (void**)&value_ptr, &pos) == SUCCESS) { in php_compact_var()
1469 zend_hash_move_forward_ex(Z_ARRVAL_P(entry), &pos); in php_compact_var()
1471 Z_ARRVAL_P(entry)->nApplyCount--; in php_compact_var()
1553 zval *keys, *val, **entry; in PHP_FUNCTION() local
1564 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(keys), (void **)&entry, &pos) == SUCCESS) { in PHP_FUNCTION()
1566 if (Z_TYPE_PP(entry) == IS_LONG) { in PHP_FUNCTION()
1568 zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_PP(entry), &val, sizeof(zval *), NULL); in PHP_FUNCTION()
1570 zval key, *key_ptr = *entry; in PHP_FUNCTION()
1572 if (Z_TYPE_PP(entry) != IS_STRING) { in PHP_FUNCTION()
1573 key = **entry; in PHP_FUNCTION()
1582 if (key_ptr != *entry) { in PHP_FUNCTION()
2011 **entry; /* An array entry */ in PHP_FUNCTION() local
2062 …while (pos < offset && zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &hpos) ==… in PHP_FUNCTION()
2068 …while (pos < offset + length && zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, … in PHP_FUNCTION()
2070 zval_add_ref(entry); in PHP_FUNCTION()
2074 …zend_hash_update(Z_ARRVAL_P(return_value), string_key, string_key_len, entry, sizeof(zval *), NULL… in PHP_FUNCTION()
2079 zend_hash_index_update(Z_ARRVAL_P(return_value), num_key, entry, sizeof(zval *), NULL); in PHP_FUNCTION()
2081 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), entry, sizeof(zval *), NULL); in PHP_FUNCTION()
2302 **entry, /* An entry in the input array */ in PHP_FUNCTION() local
2328 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS) { in PHP_FUNCTION()
2330 is_equal_func(&res, search_value, *entry TSRMLS_CC); in PHP_FUNCTION()
2350 **entry; /* An entry in the input array */ in PHP_FUNCTION() local
2362 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS) { in PHP_FUNCTION()
2363 zval_add_ref(entry); in PHP_FUNCTION()
2364 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), entry, sizeof(zval *), NULL); in PHP_FUNCTION()
2375 **entry, /* An entry in the input array */ in PHP_FUNCTION() local
2390 while (zend_hash_get_current_data_ex(myht, (void **)&entry, &pos) == SUCCESS) { in PHP_FUNCTION()
2391 if (Z_TYPE_PP(entry) == IS_LONG) { in PHP_FUNCTION()
2392 if (zend_hash_index_find(Z_ARRVAL_P(return_value), Z_LVAL_PP(entry), (void **)&tmp) == FAILURE) { in PHP_FUNCTION()
2396 zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_PP(entry), &data, sizeof(data), NULL); in PHP_FUNCTION()
2400 } else if (Z_TYPE_PP(entry) == IS_STRING) { in PHP_FUNCTION()
2401 …if (zend_symtable_find(Z_ARRVAL_P(return_value), Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, (void… in PHP_FUNCTION()
2405 …zend_symtable_update(Z_ARRVAL_P(return_value), Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &data, … in PHP_FUNCTION()
2517 **entry; /* An entry in the input array */ in PHP_FUNCTION() local
2532 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS) { in PHP_FUNCTION()
2533 zval_add_ref(entry); in PHP_FUNCTION()
2537 …zend_hash_update(Z_ARRVAL_P(return_value), string_key, string_key_len, entry, sizeof(zval *), NULL… in PHP_FUNCTION()
2542 zend_hash_index_update(Z_ARRVAL_P(return_value), num_key, entry, sizeof(zval *), NULL); in PHP_FUNCTION()
2544 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), entry, sizeof(zval *), NULL); in PHP_FUNCTION()
2618 zval *array, **entry, *data; in PHP_FUNCTION() local
2628 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(array), (void **)&entry, &pos) == SUCCESS) { in PHP_FUNCTION()
2632 if (Z_TYPE_PP(entry) == IS_LONG) { in PHP_FUNCTION()
2633 zend_hash_index_update(Z_ARRVAL_P(return_value), Z_LVAL_PP(entry), &data, sizeof(data), NULL); in PHP_FUNCTION()
2634 } else if (Z_TYPE_PP(entry) == IS_STRING) { in PHP_FUNCTION()
2635 …zend_symtable_update(Z_ARRVAL_P(return_value), Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &data, … in PHP_FUNCTION()
2650 zval *array, **entry; in PHP_FUNCTION() local
2665 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(array), (void **)&entry, &pos) == SUCCESS) { in PHP_FUNCTION()
2666 zval_add_ref(entry); in PHP_FUNCTION()
2670 zend_hash_index_update(Z_ARRVAL_P(return_value), num_key, entry, sizeof(entry), NULL); in PHP_FUNCTION()
2679 zend_hash_update(Z_ARRVAL_P(return_value), new_key, str_key_len, entry, sizeof(entry), NULL); in PHP_FUNCTION()
3925 **entry, in PHP_FUNCTION() local
3936 zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS; in PHP_FUNCTION()
3939 if (Z_TYPE_PP(entry) == IS_ARRAY || Z_TYPE_PP(entry) == IS_OBJECT) { in PHP_FUNCTION()
3942 entry_n = **entry; in PHP_FUNCTION()
3955 **entry, in PHP_FUNCTION() local
3970 zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &pos) == SUCCESS; in PHP_FUNCTION()
3973 if (Z_TYPE_PP(entry) == IS_ARRAY || Z_TYPE_PP(entry) == IS_OBJECT) { in PHP_FUNCTION()
3976 entry_n = **entry; in PHP_FUNCTION()
4343 zval **entry; in PHP_FUNCTION() local
4364 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void**)&entry, &pos) == SUCCESS) { in PHP_FUNCTION()
4372 zval_add_ref(entry); in PHP_FUNCTION()
4378 add_assoc_zval_ex(chunk, str_key, str_key_len, *entry); in PHP_FUNCTION()
4381 add_index_zval(chunk, num_key, *entry); in PHP_FUNCTION()
4385 add_next_index_zval(chunk, *entry); in PHP_FUNCTION()