Home
last modified time | relevance | path

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

/php-src/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.h65 void zend_accel_hash_init(zend_accel_hash *accel_hash, uint32_t hash_size);
66 void zend_accel_hash_clean(zend_accel_hash *accel_hash);
69 zend_accel_hash *accel_hash,
75 zend_accel_hash *accel_hash,
79 zend_accel_hash *accel_hash,
83 zend_accel_hash *accel_hash,
86 static inline bool zend_accel_hash_is_full(zend_accel_hash *accel_hash) in zend_accel_hash_is_full() argument
88 if (accel_hash->num_entries == accel_hash->max_num_entries) { in zend_accel_hash_is_full()

Completed in 12 milliseconds