Home
last modified time | relevance | path

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

/PHP-8.3/ext/fileinfo/libmagic/
H A Dreadcdf.c109 cdf_app_to_mime(const char *vbuf, const struct nv *nv) in cdf_app_to_mime() argument
115 vbuf_lower = zend_str_tolower_dup(vbuf, strlen(vbuf)); in cdf_app_to_mime()
186 char vbuf[1024]; in cdf_file_property_info() local
193 for (j = 0; s < e && j < sizeof(vbuf) in cdf_file_property_info()
198 vbuf[j++] = *s; in cdf_file_property_info()
200 if (j == sizeof(vbuf)) in cdf_file_property_info()
202 vbuf[j] = '\0'; in cdf_file_property_info()
204 if (vbuf[0]) { in cdf_file_property_info()
206 buf, vbuf) == -1) in cdf_file_property_info()
211 str = cdf_app_to_mime(vbuf, app2mime); in cdf_file_property_info()
/PHP-8.3/ext/fileinfo/
H A Dlibmagic.patch2763 - if (strcasestr(vbuf, nv[i].pattern) != NULL) {
2764 + vbuf_lower = zend_str_tolower_dup(vbuf, strlen(vbuf));
2778 - fprintf(stderr, "unknown app %s\n", vbuf);

Completed in 12 milliseconds