Home
last modified time | relevance | path

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

/PHP-7.3/ext/fileinfo/libmagic/
H A Dcompress.c103 } compr[] = { variable
132 private size_t ncompr = sizeof(compr) / sizeof(compr[0]);
166 if (nbytes < compr[i].maglen) in file_zmagic()
169 if (compr[i].maglen == 0) in file_zmagic()
171 CCAST(void *, compr[i].magic)))(buf); in file_zmagic()
174 zm = memcmp(buf, compr[i].magic, compr[i].maglen) == 0; in file_zmagic()
609 if (method == 2 || compr[method].maglen == 0) in methodname()
612 return compr[method].argv[0]; in methodname()
628 if (compr[method].maglen == 0) in uncompressbuf()
654 (void)execvp(compr[method].argv[0], in uncompressbuf()
[all …]
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch1838 private size_t ncompr = sizeof(compr) / sizeof(compr[0]);
1970 (void)execvp(compr[method].argv[0],
1971 (char *const *)(intptr_t)compr[method].argv);
1974 compr[method].argv[0], strerror(errno));

Completed in 21 milliseconds