Searched refs:nentries (Results 1 – 3 of 3) sorted by relevance
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 2983 uint32_t version, entries = 0, nentries; in apprentice_map() local 3077 nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); in apprentice_map() 3087 nentries = 0; in apprentice_map() 3095 nentries += map->nmagic[i]; in apprentice_map() 3097 if (NULL != fn && entries != nentries + 1) { in apprentice_map() 3099 dbname, entries, nentries + 1); in apprentice_map() 3127 uint32_t entries, nentries; 3158 nentries = 0; 3166 nentries += map->nmagic[i]; 3168 if (entries != nentries + 1) { [all …]
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.c | 5209 size_t nentries; in php_mb_populate_current_detect_order_list() local 5212 nentries = MBSTRG(detect_order_list_size); in php_mb_populate_current_detect_order_list() 5213 entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0); in php_mb_populate_current_detect_order_list() 5214 memcpy(entry, MBSTRG(detect_order_list), sizeof(mbfl_encoding*) * nentries); in php_mb_populate_current_detect_order_list() 5218 nentries = MBSTRG(default_detect_order_list_size); in php_mb_populate_current_detect_order_list() 5219 entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0); in php_mb_populate_current_detect_order_list() 5220 for (i = 0; i < nentries; i++) { in php_mb_populate_current_detect_order_list() 5225 MBSTRG(current_detect_order_list_size) = nentries; in php_mb_populate_current_detect_order_list()
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 679 + uint32_t version, entries = 0, nentries; 805 + nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); 815 + nentries = 0; 823 + nentries += map->nmagic[i]; 825 + if (NULL != fn && entries != nentries + 1) { 827 + dbname, entries, nentries + 1);
|
Completed in 35 milliseconds