Home
last modified time | relevance | path

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

/PHP-5.6/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()
125 if (accel_hash->num_entries == accel_hash->max_num_entries) { in zend_accel_hash_update()
129 entry = &accel_hash->hash_entries[accel_hash->num_entries++]; in zend_accel_hash_update()
[all …]
H A Dzend_accelerator_hash.h64 void zend_accel_hash_init(zend_accel_hash *accel_hash, zend_uint hash_size);
65 void zend_accel_hash_clean(zend_accel_hash *accel_hash);
68 zend_accel_hash *accel_hash,
75 zend_accel_hash *accel_hash,
80 zend_accel_hash *accel_hash,
85 zend_accel_hash *accel_hash,
89 static inline zend_bool zend_accel_hash_is_full(zend_accel_hash *accel_hash) in zend_accel_hash_is_full() argument
91 if (accel_hash->num_entries == accel_hash->max_num_entries) { in zend_accel_hash_is_full()

Completed in 5 milliseconds