Home
last modified time | relevance | path

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

/PHP-8.0/ext/fileinfo/libmagic/
H A Dreadcdf.c111 cdf_app_to_mime(const char *vbuf, const struct nv *nv) in cdf_app_to_mime() argument
117 vbuf_lower = zend_str_tolower_dup(vbuf, strlen(vbuf)); in cdf_app_to_mime()
188 char vbuf[1024]; in cdf_file_property_info() local
195 for (j = 0; s < e && j < sizeof(vbuf) in cdf_file_property_info()
200 vbuf[j++] = *s; in cdf_file_property_info()
202 if (j == sizeof(vbuf)) in cdf_file_property_info()
204 vbuf[j] = '\0'; in cdf_file_property_info()
206 if (vbuf[0]) { in cdf_file_property_info()
208 buf, vbuf) == -1) in cdf_file_property_info()
213 str = cdf_app_to_mime(vbuf, app2mime); in cdf_file_property_info()
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch3264 - if (strcasestr(vbuf, nv[i].pattern) != NULL) {
3265 + vbuf_lower = zend_str_tolower_dup(vbuf, strlen(vbuf));
3279 - fprintf(stderr, "unknown app %s\n", vbuf);

Completed in 11 milliseconds