Home
last modified time | relevance | path

Searched refs:blen (Results 1 – 7 of 7) sorted by relevance

/PHP-8.0/ext/fileinfo/libmagic/
H A Dfuncs.c59 file_copystr(char *buf, size_t blen, size_t width, const char *str) in file_copystr() argument
61 if (++width > blen) in file_copystr()
62 width = blen; in file_copystr()
72 ms->o.blen = 0; in file_clearbuf()
653 pb->blen = ms->o.blen; in file_push_buffer()
657 ms->o.blen = 0; in file_push_buffer()
677 ms->o.blen = pb->blen; in file_pop_buffer()
H A Dder.c238 der_data(char *buf, size_t blen, uint32_t tag, const void *q, uint32_t len) in der_data() argument
245 return snprintf(buf, blen, "%.*s", len, RCAST(const char *, q)); in der_data()
249 return snprintf(buf, blen, in der_data()
259 if (z < blen - 2) in der_data()
260 snprintf(buf + z, blen - z, "%.2x", d[i]); in der_data()
H A Dfile.h416 size_t blen; /* Length of buffer */ member
534 size_t blen; member
H A Dapprentice.c520 ms->o.blen = 0; in file_ms_alloc()
/PHP-8.0/main/
H A Drfc1867.c788 size_t blen = 0, wlen = 0; local
1008 blen = multipart_buffer_read(mbuff, buff, sizeof(buff), &end);
1010 if (blen > 0) {
1024 while (!cancel_upload && (blen > 0))
1032 event_file_data.length = blen;
1033 event_file_data.newlength = &blen;
1050 } else if (blen > 0) {
1052 wlen = write(fd, buff, (unsigned int)blen);
1054 wlen = write(fd, buff, blen);
1063 } else if (wlen < blen) {
[all …]
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch156 ms->o.blen = 0;
2306 file_copystr(char *buf, size_t blen, size_t width, const char *str)
2315 ms->o.blen = 0;
2341 - if (len < 0 || (size_t)len > 1024 || len + ms->o.blen > 1024 * 1024) {
2342 - size_t blen = ms->o.blen;
2346 - blen);
2359 - ms->o.blen = len;
2523 - return ms->o.blen;
2658 ms->o.blen = pb->blen;
/PHP-8.0/ext/phar/phar/
H A Dpharcommand.inc880 $blen = strlen($base);
885 array($blen, $dir)
903 $blen = $args[0];
905 $sub = substr($pn, $blen);

Completed in 31 milliseconds