Home
last modified time | relevance | path

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

/PHP-8.1/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.1/ext/fileinfo/
H A Dlibmagic.patch2992 - if (strcasestr(vbuf, nv[i].pattern) != NULL) {
2993 + vbuf_lower = zend_str_tolower_dup(vbuf, strlen(vbuf));
3007 - fprintf(stderr, "unknown app %s\n", vbuf);

Completed in 14 milliseconds