Home
last modified time | relevance | path

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

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

Completed in 16 milliseconds