Home
last modified time | relevance | path

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

12

/PHP-5.5/ext/fileinfo/libmagic/
H A Dfuncs.c162 size_t nb) in file_buffer() argument
175 if (nb == 0) { in file_buffer()
181 } else if (nb == 1) { in file_buffer()
190 looks_text = file_encoding(ms, ubuf, nb, &u8buf, &ulen, in file_buffer()
196 switch (file_os2_apptype(ms, inname, buf, nb)) { in file_buffer()
217 if ((m = file_is_tar(ms, ubuf, nb)) != 0) { in file_buffer()
228 if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) { in file_buffer()
238 if ((m = file_softmagic(ms, ubuf, nb, 0, BINTEST, in file_buffer()
244 nb > 5 && fd != -1) { in file_buffer()
254 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.c429 magic_buffer(struct magic_set *ms, const void *buf, size_t nb) in magic_buffer() argument
439 if (file_buffer(ms, NULL, NULL, buf, nb) == -1) { in magic_buffer()
/PHP-5.5/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
H A Dtestinput412 a\nb
/PHP-5.5/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.5/ext/ftp/
H A Dftp.h75 int nb; /* "nonblocking" transfer in progress */ member
H A Dftp.c146 ftp->nb = 0; in ftp_open()
367 ftp->nb = 0; in ftp_reinit()
1753 ftp->nb = 1; in ftp_nb_get()
1817 ftp->nb = 0; in ftp_nb_continue_read()
1820 ftp->nb = 0; in ftp_nb_continue_read()
1865 ftp->nb = 1; in ftp_nb_put()
1919 ftp->nb = 0; in ftp_nb_continue_write()
1923 ftp->nb = 0; in ftp_nb_continue_write()
/PHP-5.5/ext/fileinfo/tests/
H A Dbug61964.phpt32 file_put_contents($dir . "/test2.txt", "a\nb\n");
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch2033 - const void *buf, size_t nb)
2035 + size_t nb)
2048 - if ((m = file_zmagic(ms, fd, inname, ubuf, nb)) != 0) {
2049 + if ((m = file_zmagic(ms, stream, inname, ubuf, nb)) != 0) {
2058 - if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) {
2066 + if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) {
2076 - if ((m = file_softmagic(ms, ubuf, nb, BINTEST,
2077 + if ((m = file_softmagic(ms, ubuf, nb, 0, BINTEST,
2542 - if (file_buffer(ms, -1, NULL, buf, nb) == -1) {
2543 + if (file_buffer(ms, NULL, NULL, buf, nb) == -1) {
/PHP-5.5/ext/mbstring/
H A Dmbstring.c4614 size_t nb = 0; in php_mb_safe_strrchr_ex() local
4617 if (nb == 0) { in php_mb_safe_strrchr_ex()
4621 nb = php_mb_mbchar_bytes_ex(p, enc); in php_mb_safe_strrchr_ex()
4622 if (nb == 0) { in php_mb_safe_strrchr_ex()
4626 --nb; in php_mb_safe_strrchr_ex()

Completed in 207 milliseconds

12