Searched refs:nentries (Results 1 – 3 of 3) sorted by relevance
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 2958 uint32_t version, entries, nentries; in apprentice_map() local 3053 nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); in apprentice_map() 3063 nentries = 0; in apprentice_map() 3071 nentries += map->nmagic[i]; in apprentice_map() 3073 if (NULL != fn && entries != nentries + 1) { in apprentice_map() 3075 dbname, entries, nentries + 1); in apprentice_map() 3102 uint32_t entries, nentries; in check_buffer() local 3133 nentries = 0; in check_buffer() 3141 nentries += map->nmagic[i]; in check_buffer() 3143 if (entries != nentries + 1) { in check_buffer() [all …]
|
/PHP-7.3/ext/mbstring/ |
H A D | mbstring.c | 5071 size_t nentries; in php_mb_populate_current_detect_order_list() local 5078 nentries = MBSTRG(detect_order_list_size); in php_mb_populate_current_detect_order_list() 5079 entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0); in php_mb_populate_current_detect_order_list() 5080 memcpy(entry, MBSTRG(detect_order_list), sizeof(mbfl_encoding*) * nentries); in php_mb_populate_current_detect_order_list() 5084 nentries = MBSTRG(default_detect_order_list_size); in php_mb_populate_current_detect_order_list() 5085 entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0); in php_mb_populate_current_detect_order_list() 5086 for (i = 0; i < nentries; i++) { in php_mb_populate_current_detect_order_list() 5091 MBSTRG(current_detect_order_list_size) = nentries; in php_mb_populate_current_detect_order_list()
|
/PHP-7.3/ext/fileinfo/ |
H A D | libmagic.patch | 921 + uint32_t version, entries, nentries; 1045 + nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); 1055 + nentries = 0; 1063 + nentries += map->nmagic[i]; 1065 + if (NULL != fn && entries != nentries + 1) { 1067 + dbname, entries, nentries + 1);
|
Completed in 33 milliseconds