Lines Matching refs:ht
733 PHPAPI zend_long php_count_recursive(HashTable *ht) /* {{{ */ in php_count_recursive() argument
738 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) { in php_count_recursive()
739 if (GC_IS_RECURSIVE(ht)) { in php_count_recursive()
743 GC_PROTECT_RECURSION(ht); in php_count_recursive()
746 cnt = zend_array_count(ht); in php_count_recursive()
747 ZEND_HASH_FOREACH_VAL(ht, element) { in php_count_recursive()
754 if (!(GC_FLAGS(ht) & GC_IMMUTABLE)) { in php_count_recursive()
755 GC_UNPROTECT_RECURSION(ht); in php_count_recursive()
5868 HashTable *ht = Z_ARRVAL_P(input); local
5870 if ((uint32_t)num_avail < ht->nNumUsed - (ht->nNumUsed>>1)) {
5891 zend_long randval = php_mt_rand_range(0, ht->nNumUsed - 1);
5892 Bucket *bucket = &ht->arData[randval];
6337 HashTable *ht; local
6345 ht = Z_ARRVAL_P(array);
6347 ht = zend_get_properties_for(array, ZEND_PROP_PURPOSE_ARRAY_CAST);
6355 RETVAL_BOOL(zend_symtable_exists_ind(ht, Z_STR_P(key)));
6358 RETVAL_BOOL(zend_hash_index_exists(ht, Z_LVAL_P(key)));
6361 RETVAL_BOOL(zend_hash_exists_ind(ht, ZSTR_EMPTY_ALLOC()));
6369 zend_release_properties(ht);