Lines Matching refs:ht1
2540 static zend_always_inline int zend_hash_compare_impl(HashTable *ht1, HashTable *ht2, compare_func_t… in zend_hash_compare_impl() argument
2543 if (ht1->nNumOfElements != ht2->nNumOfElements) { in zend_hash_compare_impl()
2544 return ht1->nNumOfElements > ht2->nNumOfElements ? 1 : -1; in zend_hash_compare_impl()
2547 for (idx1 = 0, idx2 = 0; idx1 < ht1->nNumUsed; idx1++) { in zend_hash_compare_impl()
2548 Bucket *p1 = ht1->arData + idx1, *p2; in zend_hash_compare_impl()
2618 ZEND_API int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t compar, zend_bool ord… in zend_hash_compare() argument
2621 IS_CONSISTENT(ht1); in zend_hash_compare()
2624 if (ht1 == ht2) { in zend_hash_compare()
2632 if (UNEXPECTED(GC_IS_RECURSIVE(ht1))) { in zend_hash_compare()
2636 if (!(GC_FLAGS(ht1) & GC_IMMUTABLE)) { in zend_hash_compare()
2637 GC_PROTECT_RECURSION(ht1); in zend_hash_compare()
2639 result = zend_hash_compare_impl(ht1, ht2, compar, ordered); in zend_hash_compare()
2640 if (!(GC_FLAGS(ht1) & GC_IMMUTABLE)) { in zend_hash_compare()
2641 GC_UNPROTECT_RECURSION(ht1); in zend_hash_compare()