Lines Matching refs:sb
922 size_t sb = apprentice_magic_strength(mb->mp); in apprentice_sort() local
923 if (sa == sb) in apprentice_sort()
925 else if (sa > sb) in apprentice_sort()
2982 if (st.sb.st_mode & S_IFDIR) { in apprentice_map()
3002 if (st.sb.st_size < 8 || st.sb.st_size > MAXMAGIC_SIZE) { in apprentice_map()
3004 st.sb.st_size < 8 ? "small" : "large"); in apprentice_map()
3008 map->len = (size_t)st.sb.st_size; in apprentice_map()
3013 if (php_stream_read(stream, map->p, (size_t)st.sb.st_size) != (size_t)st.sb.st_size) { in apprentice_map()
3053 nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); in apprentice_map()
3054 entries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); in apprentice_map()
3055 if ((zend_off_t)(entries * sizeof(struct magic)) != st.sb.st_size) { in apprentice_map()
3057 dbname, (unsigned long long)st.sb.st_size, in apprentice_map()