Lines Matching refs:ht1
2457 static zend_always_inline int zend_hash_compare_impl(HashTable *ht1, HashTable *ht2, compare_func_t… in zend_hash_compare_impl() argument
2460 if (ht1->nNumOfElements != ht2->nNumOfElements) { in zend_hash_compare_impl()
2461 return ht1->nNumOfElements > ht2->nNumOfElements ? 1 : -1; in zend_hash_compare_impl()
2464 for (idx1 = 0, idx2 = 0; idx1 < ht1->nNumUsed; idx1++) { in zend_hash_compare_impl()
2465 Bucket *p1 = ht1->arData + idx1, *p2; in zend_hash_compare_impl()
2535 ZEND_API int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t compar, zend_bool ord… in zend_hash_compare() argument
2538 IS_CONSISTENT(ht1); in zend_hash_compare()
2541 if (ht1 == ht2) { in zend_hash_compare()
2549 if (UNEXPECTED(GC_IS_RECURSIVE(ht1))) { in zend_hash_compare()
2553 if (!(GC_FLAGS(ht1) & GC_IMMUTABLE)) { in zend_hash_compare()
2554 GC_PROTECT_RECURSION(ht1); in zend_hash_compare()
2556 result = zend_hash_compare_impl(ht1, ht2, compar, ordered); in zend_hash_compare()
2557 if (!(GC_FLAGS(ht1) & GC_IMMUTABLE)) { in zend_hash_compare()
2558 GC_UNPROTECT_RECURSION(ht1); in zend_hash_compare()