Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 25 of 36) sorted by relevance

12

/PHP-5.6/ext/fileinfo/libmagic/
H A Dfuncs.c165 size_t nb) in file_buffer() argument
178 if (nb == 0) { in file_buffer()
182 } else if (nb == 1) { in file_buffer()
188 looks_text = file_encoding(ms, ubuf, nb, &u8buf, &ulen, in file_buffer()
194 switch (file_os2_apptype(ms, inname, buf, nb)) { in file_buffer()
215 if ((m = file_is_tar(ms, ubuf, nb)) != 0) { in file_buffer()
226 if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) { in file_buffer()
236 if ((m = file_softmagic(ms, ubuf, nb, 0, BINTEST, in file_buffer()
242 nb > 5 && fd != -1) { in file_buffer()
252 if ((m = file_tryelf(ms, fd, ubuf, nb)) != 0) in file_buffer()
[all …]
H A Dapptype.c46 size_t nb) in file_os2_apptype() argument
72 if (fwrite(buf, 1, nb, fp) != nb) { in file_os2_apptype()
H A Dmagic.c425 magic_buffer(struct magic_set *ms, const void *buf, size_t nb) in magic_buffer() argument
435 if (file_buffer(ms, NULL, NULL, buf, nb) == -1) { in magic_buffer()
/PHP-5.6/ext/pcre/pcrelib/testdata/
H A Dtestinput968 a\nb
543 a\nb
545 a\r\nb
556 a\nb
558 a\r\nb
566 a\nb
578 a\nb
629 a\nb
637 a\nb
647 a\nb
[all …]
H A Dtestinput5178 a\nb
180 a\r\nb
191 a\nb
193 a\r\nb
201 a\nb
213 a\nb
267 a\nb
275 a\nb
285 a\nb
293 a\nb
[all …]
H A Dtestinput81900 a\nb
1961 a\nb
2336 a\nb
3772 a\nb
3775 a\nb
4147 a\nb
4159 a\nb
4170 a\nb
4180 a\nb
4192 a\nb
[all …]
H A Dtestoutput5655 a\nb
659 a\r\nb
679 a\nb
683 a\r\nb
697 a\nb
719 a\nb
839 a\nb
857 a\nb
879 a\nb
897 a\nb
[all …]
H A Dtestoutput82858 a\nb
2948 a\nb
3640 a\nb
5897 a\nb
5901 a\nb
6524 a\nb
6554 a\nb
6574 a\nb
6592 a\nb
6614 a\nb
[all …]
H A Dtestinput21968 a\nb
1986 a\nb
1997 a\nb
2007 a\nb
2019 a\nb
2033 a\nb
2075 a\nb
2279 a\nb
2284 a\nb
2323 a\nb
[all …]
H A Dtestoutput9110 a\nb
968 a\nb
972 a\r\nb
992 a\nb
996 a\r\nb
1010 a\nb
1032 a\nb
1126 a\nb
1144 a\nb
1166 a\nb
[all …]
H A Dtestinput11527 a\nb
1908 a\nb
1917 a\nb
1921 a\nb
1938 x\nb\n
3405 a\nb\n
3408 a\nb\n
3411 a\nb\n
3414 a\nb\n
3551 a\nb
[all …]
H A Dtestoutput12241 a\nb
2945 a\nb
2959 a\nb
2965 a\nb
3003 x\nb\n
5525 a\nb\n
5529 a\nb\n
5534 a\nb\n
5539 a\nb\n
5771 a\nb
[all …]
H A Dtestinput1843 a\nb
H A Dtestoutput27917 a\nb
7956 a\nb
7976 a\nb
7994 a\nb
8016 a\nb
8042 a\nb
8124 a\nb
8857 a\nb
8865 a\nb
8940 a\nb
[all …]
H A Dtestinput1533 a\nb
H A Dtestinput1488 a\nb
H A Dtestinput179 a\nb
/PHP-5.6/ext/mbstring/tests/
H A Dmb_split_empty_match.phpt12 var_dump(mb_split('^', "a\nb\nc"));
H A Dmb_split.phpt27 == mb_split( b"[[:space:]]", b"a\nb\tc\nd e f g" ) );
/PHP-5.6/ext/intl/tests/
H A Dbug65732.phpt11 var_dump(grapheme_strrpos("a\r\nb", 'b'));
/PHP-5.6/ext/ftp/
H A Dftp.c146 ftp->nb = 0; in ftp_open()
370 ftp->nb = 0; in ftp_reinit()
1763 ftp->nb = 1; in ftp_nb_get()
1827 ftp->nb = 0; in ftp_nb_continue_read()
1830 ftp->nb = 0; in ftp_nb_continue_read()
1875 ftp->nb = 1; in ftp_nb_put()
1929 ftp->nb = 0; in ftp_nb_continue_write()
1933 ftp->nb = 0; in ftp_nb_continue_write()
H A Dftp.h77 int nb; /* "nonblocking" transfer in progress */ member
/PHP-5.6/ext/fileinfo/tests/
H A Dbug61964.phpt32 file_put_contents($dir . "/test2.txt", "a\nb\n");
/PHP-5.6/ext/fileinfo/
H A Dlibmagic.patch1964 - const void *buf, size_t nb)
1966 + size_t nb)
1978 if (nb == 0) {
1983 looks_text = file_encoding(ms, ubuf, nb, &u8buf, &ulen,
1998 - if ((m = file_zmagic(ms, fd, inname, ubuf, nb)) != 0) {
2008 - if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) {
2016 + if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) {
2030 - nb, u8buf, ulen, code, type, looks_text))
2031 + nb, u8buf, ulen, code, ftype, looks_text))
2496 - if (file_buffer(ms, -1, NULL, buf, nb) == -1) {
[all …]
/PHP-5.6/ext/mbstring/
H A Dmbstring.c4683 size_t nb = 0; in php_mb_safe_strrchr_ex() local
4686 if (nb == 0) { in php_mb_safe_strrchr_ex()
4690 nb = php_mb_mbchar_bytes_ex(p, enc); in php_mb_safe_strrchr_ex()
4691 if (nb == 0) { in php_mb_safe_strrchr_ex()
4695 --nb; in php_mb_safe_strrchr_ex()

Completed in 131 milliseconds

12