Home
last modified time | relevance | path

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

/PHP-5.6/ext/fileinfo/libmagic/
H A Dsoftmagic.c1064 size_t lines, linecnt, bytecnt; in mcopy() local
1067 bytecnt = linecnt * 80; in mcopy()
1069 if (bytecnt == 0) { in mcopy()
1070 bytecnt = 8192; in mcopy()
1072 if (bytecnt > nbytes) { in mcopy()
1073 bytecnt = nbytes; in mcopy()
1075 if (offset > bytecnt) { in mcopy()
1076 offset = bytecnt; in mcopy()
1084 end = last = RCAST(const char *, s) + bytecnt; in mcopy()
1097 last = RCAST(const char *, s) + bytecnt; in mcopy()
/PHP-5.6/ext/fileinfo/
H A Dlibmagic.patch3176 + size_t lines, linecnt, bytecnt;
3179 + bytecnt = linecnt * 80;
3181 + if (bytecnt == 0) {
3182 + bytecnt = 8192;
3184 + if (bytecnt > nbytes) {
3185 + bytecnt = nbytes;
3187 + if (offset > bytecnt) {
3188 + offset = bytecnt;
3197 + end = last = RCAST(const char *, s) + bytecnt;
3206 + last = RCAST(const char *, s) + bytecnt;

Completed in 18 milliseconds