Lines Matching refs:ht

118 SPL_API int spl_hash_verify_pos_ex(spl_array_object * intern, HashTable * ht TSRMLS_DC) /* {{{ */  in spl_hash_verify_pos_ex()
125 p = ht->arBuckets[intern->pos_h & ht->nTableMask]; in spl_hash_verify_pos_ex()
140 HashTable *ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_hash_verify_pos() local
141 return spl_hash_verify_pos_ex(intern, ht TSRMLS_CC); in spl_hash_verify_pos()
307 HashTable *ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_array_get_dimension_ptr_ptr() local
313 if ((type == BP_VAR_W || type == BP_VAR_RW) && (ht->nApplyCount > 0)) { in spl_array_get_dimension_ptr_ptr()
323 …if (zend_symtable_find(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, (void **) &retval) == FAILURE… in spl_array_get_dimension_ptr_ptr()
336 …zend_symtable_update(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, (void**)&value, sizeof(void*), … in spl_array_get_dimension_ptr_ptr()
351 if (zend_hash_index_find(ht, index, (void **) &retval) == FAILURE) { in spl_array_get_dimension_ptr_ptr()
364 zend_hash_index_update(ht, index, (void**)&value, sizeof(void*), (void **)&retval); in spl_array_get_dimension_ptr_ptr()
435 HashTable *ht; in spl_array_write_dimension_ex() local
449 ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_array_write_dimension_ex()
450 if (ht->nApplyCount > 0) { in spl_array_write_dimension_ex()
455 zend_hash_next_index_insert(ht, (void**)&value, sizeof(void*), NULL); in spl_array_write_dimension_ex()
460 ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_array_write_dimension_ex()
461 if (ht->nApplyCount > 0) { in spl_array_write_dimension_ex()
466 …zend_symtable_update(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, (void**)&value, sizeof(void*), … in spl_array_write_dimension_ex()
472 ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_array_write_dimension_ex()
473 if (ht->nApplyCount > 0) { in spl_array_write_dimension_ex()
483 zend_hash_index_update(ht, index, (void**)&value, sizeof(void*), NULL); in spl_array_write_dimension_ex()
486 ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_array_write_dimension_ex()
487 if (ht->nApplyCount > 0) { in spl_array_write_dimension_ex()
492 zend_hash_next_index_insert(ht, (void**)&value, sizeof(void*), NULL); in spl_array_write_dimension_ex()
509 HashTable *ht; in spl_array_unset_dimension_ex() local
520 ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_array_unset_dimension_ex()
521 if (ht->nApplyCount > 0) { in spl_array_unset_dimension_ex()
525 if (ht == &EG(symbol_table)) { in spl_array_unset_dimension_ex()
530 if (zend_symtable_del(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1) == FAILURE) { in spl_array_unset_dimension_ex()
571 ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_array_unset_dimension_ex()
572 if (ht->nApplyCount > 0) { in spl_array_unset_dimension_ex()
576 if (zend_hash_index_del(ht, index) == FAILURE) { in spl_array_unset_dimension_ex()
615 HashTable *ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_array_has_dimension_ex() local
616 … if (zend_symtable_find(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, (void **) &tmp) != FAILURE) { in spl_array_has_dimension_ex()
633 HashTable *ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); in spl_array_has_dimension_ex() local
639 if (zend_hash_index_find(ht, index, (void **)&tmp) != FAILURE) { in spl_array_has_dimension_ex()
663 static inline int spl_array_object_verify_pos_ex(spl_array_object *object, HashTable *ht, const cha… in spl_array_object_verify_pos_ex() argument
665 if (!ht) { in spl_array_object_verify_pos_ex()
670 …if (object->pos && (object->ar_flags & SPL_ARRAY_IS_REF) && spl_hash_verify_pos_ex(object, ht TSRM… in spl_array_object_verify_pos_ex()
679 static inline int spl_array_object_verify_pos(spl_array_object *object, HashTable *ht TSRMLS_DC) in spl_array_object_verify_pos()
681 return spl_array_object_verify_pos_ex(object, ht, "" TSRMLS_CC); in spl_array_object_verify_pos()