Searched refs:nentries (Results 1 – 3 of 3) sorted by relevance
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 3035 uint32_t version, entries = 0, nentries; in apprentice_map() local 3129 nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); in apprentice_map() 3139 nentries = 0; in apprentice_map() 3147 nentries += map->nmagic[i]; in apprentice_map() 3149 if (NULL != fn && entries != nentries + 1) { in apprentice_map() 3151 dbname, entries, nentries + 1); in apprentice_map()
|
/PHP-8.2/ext/mbstring/ |
H A D | mbstring.c | 4741 size_t nentries; in php_mb_populate_current_detect_order_list() local 4744 nentries = MBSTRG(detect_order_list_size); in php_mb_populate_current_detect_order_list() 4745 entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0); in php_mb_populate_current_detect_order_list() 4746 memcpy(ZEND_VOIDP(entry), MBSTRG(detect_order_list), sizeof(mbfl_encoding*) * nentries); in php_mb_populate_current_detect_order_list() 4750 nentries = MBSTRG(default_detect_order_list_size); in php_mb_populate_current_detect_order_list() 4751 entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0); in php_mb_populate_current_detect_order_list() 4752 for (i = 0; i < nentries; i++) { in php_mb_populate_current_detect_order_list() 4757 MBSTRG(current_detect_order_list_size) = nentries; in php_mb_populate_current_detect_order_list()
|
/PHP-8.2/ext/fileinfo/ |
H A D | libmagic.patch | 647 + uint32_t version, entries = 0, nentries; 759 - uint32_t entries, nentries; 804 + nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); 814 nentries = 0; 817 nentries += map->nmagic[i]; 819 - if (entries != nentries + 1) { 820 + if (NULL != fn && entries != nentries + 1) { 822 dbname, entries, nentries + 1);
|
Completed in 31 milliseconds