Lines Matching refs:ht1
3095 static zend_always_inline int zend_hash_compare_impl(const HashTable *ht1, const HashTable *ht2, co… in zend_hash_compare_impl() argument
3102 if (ht1->nNumOfElements != ht2->nNumOfElements) { in zend_hash_compare_impl()
3103 return ht1->nNumOfElements > ht2->nNumOfElements ? 1 : -1; in zend_hash_compare_impl()
3106 for (idx1 = 0, idx2 = 0; idx1 < ht1->nNumUsed; idx1++) { in zend_hash_compare_impl()
3107 if (HT_IS_PACKED(ht1)) { in zend_hash_compare_impl()
3108 pData1 = ht1->arPacked + idx1; in zend_hash_compare_impl()
3112 Bucket *p = ht1->arData + idx1; in zend_hash_compare_impl()
3197 ZEND_API int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t compar, bool ordered) in zend_hash_compare() argument
3200 IS_CONSISTENT(ht1); in zend_hash_compare()
3203 if (ht1 == ht2) { in zend_hash_compare()
3211 if (UNEXPECTED(GC_IS_RECURSIVE(ht1))) { in zend_hash_compare()
3216 GC_TRY_PROTECT_RECURSION(ht1); in zend_hash_compare()
3217 result = zend_hash_compare_impl(ht1, ht2, compar, ordered); in zend_hash_compare()
3218 GC_TRY_UNPROTECT_RECURSION(ht1); in zend_hash_compare()