Home
last modified time | relevance | path

Searched refs:vbuf (Results 1 – 2 of 2) sorted by relevance

/PHP-7.3/ext/fileinfo/libmagic/
H A Dreadcdf.c115 cdf_app_to_mime(const char *vbuf, const struct nv *nv) in cdf_app_to_mime() argument
121 vbuf_lower = zend_str_tolower_dup(vbuf, strlen(vbuf)); in cdf_app_to_mime()
192 char vbuf[1024]; in cdf_file_property_info() local
199 for (j = 0; s < e && j < sizeof(vbuf) in cdf_file_property_info()
204 vbuf[j++] = *s; in cdf_file_property_info()
206 if (j == sizeof(vbuf)) in cdf_file_property_info()
208 vbuf[j] = '\0'; in cdf_file_property_info()
210 if (vbuf[0]) { in cdf_file_property_info()
212 buf, vbuf) == -1) in cdf_file_property_info()
217 str = cdf_app_to_mime(vbuf, app2mime); in cdf_file_property_info()
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch3802 - if (strcasestr(vbuf, nv[i].pattern) != NULL) {
3803 + vbuf_lower = zend_str_tolower_dup(vbuf, strlen(vbuf));
3817 - fprintf(stderr, "unknown app %s\n", vbuf);

Completed in 12 milliseconds