Home
last modified time | relevance | path

Searched refs:table_size (Results 1 – 3 of 3) sorted by relevance

/PHP-7.3/ext/zip/lib/
H A Dzip_hash.c47 zip_uint16_t table_size; member
52 _zip_hash_new(zip_uint16_t table_size, zip_error_t *error) in _zip_hash_new() argument
56 if (table_size == 0) { in _zip_hash_new()
65 hash->table_size = table_size; in _zip_hash_new()
66 if ((hash->table=(zip_hash_entry_t**)calloc(table_size, sizeof(zip_hash_entry_t *))) == NULL) { in _zip_hash_new()
95 for (i=0; i<hash->table_size; i++) { in _zip_hash_free()
133 hash_value = _hash_string(name, hash->table_size); in _zip_hash_add()
177 hash_value = _hash_string(name, hash->table_size); in _zip_hash_delete()
216 hash_value = _hash_string(name, hash->table_size); in _zip_hash_lookup()
243 for (i = 0; i < hash->table_size; i++) { in _zip_hash_revert()
/PHP-7.3/ext/mbstring/
H A Dphp_unicode.c127 const unsigned *table, unsigned table_size) in mph_lookup() argument
135 idx = mph_hash(g, code) % table_size; in mph_lookup()
/PHP-7.3/ext/standard/
H A Dhtml.c578 size_t table_size; in map_from_unicode() local
635 table_size = sizeof(unimap_macroman) / sizeof(*unimap_macroman); in map_from_unicode()
639 table_size = sizeof(unimap_win1251) / sizeof(*unimap_win1251); in map_from_unicode()
643 table_size = sizeof(unimap_koi8r) / sizeof(*unimap_koi8r); in map_from_unicode()
647 table_size = sizeof(unimap_cp866) / sizeof(*unimap_cp866); in map_from_unicode()
653 found = unimap_bsearch(table, code, table_size); in map_from_unicode()

Completed in 32 milliseconds