Home
last modified time | relevance | path

Searched refs:accel_hash (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/opcache/
H A Dzend_accelerator_hash.c34 accel_hash->num_entries = 0; in zend_accel_hash_clean()
35 accel_hash->num_direct_entries = 0; in zend_accel_hash_clean()
36 memset(accel_hash->hash_table, 0, sizeof(zend_accel_hash_entry *)*accel_hash->max_num_entries); in zend_accel_hash_clean()
50 accel_hash->num_entries = 0; in zend_accel_hash_init()
51 accel_hash->num_direct_entries = 0; in zend_accel_hash_init()
56 if (!accel_hash->hash_table) { in zend_accel_hash_init()
63 if (!accel_hash->hash_entries) { in zend_accel_hash_init()
67 memset(accel_hash->hash_table, 0, sizeof(zend_accel_hash_entry *)*accel_hash->max_num_entries); in zend_accel_hash_init()
121 if (accel_hash->num_entries == accel_hash->max_num_entries) { in zend_accel_hash_update()
125 entry = &accel_hash->hash_entries[accel_hash->num_entries++]; in zend_accel_hash_update()
[all …]
H A Dzend_accelerator_hash.h63 void zend_accel_hash_init(zend_accel_hash *accel_hash, uint32_t hash_size);
64 void zend_accel_hash_clean(zend_accel_hash *accel_hash);
67 zend_accel_hash *accel_hash,
73 zend_accel_hash *accel_hash,
77 zend_accel_hash *accel_hash,
81 zend_accel_hash *accel_hash,
84 static inline bool zend_accel_hash_is_full(zend_accel_hash *accel_hash) in zend_accel_hash_is_full() argument
86 if (accel_hash->num_entries == accel_hash->max_num_entries) { in zend_accel_hash_is_full()

Completed in 18 milliseconds