Home
last modified time | relevance | path

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

12

/PHP-7.0/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()
225 if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) { in file_buffer()
235 if ((m = file_softmagic(ms, ubuf, nb, 0, NULL, BINTEST, in file_buffer()
241 nb > 5 && fd != -1) { in file_buffer()
251 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.c426 magic_buffer(struct magic_set *ms, const void *buf, size_t nb) in magic_buffer() argument
436 if (file_buffer(ms, NULL, NULL, buf, nb) == -1) { in magic_buffer()
/PHP-7.0/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
/PHP-7.0/ext/mbstring/tests/
H A Dmb_split_empty_match.phpt12 var_dump(mb_split('^', "a\nb\nc"));
H A Dmb_split.phpt28 == mb_split( b"[[:space:]]", b"a\nb\tc\nd e f g" ) );
/PHP-7.0/ext/intl/tests/
H A Dbug65732.phpt11 var_dump(grapheme_strrpos("a\r\nb", 'b'));
/PHP-7.0/ext/standard/tests/strings/
H A Ddirname_multi.phpt10 /* Prototype: string dirname ( string $path [, int nb]);
H A Ddirname_multi_win.phpt10 /* Prototype: string dirname ( string $path [, int nb]);
/PHP-7.0/ext/ftp/
H A Dftp.h77 int nb; /* "nonblocking" transfer in progress */ member
H A Dftp.c146 ftp->nb = 0; in ftp_open()
402 ftp->nb = 0; in ftp_reinit()
1936 ftp->nb = 1; in ftp_nb_get()
2000 ftp->nb = 0; in ftp_nb_continue_read()
2003 ftp->nb = 0; in ftp_nb_continue_read()
2048 ftp->nb = 1; in ftp_nb_put()
2102 ftp->nb = 0; in ftp_nb_continue_write()
2106 ftp->nb = 0; in ftp_nb_continue_write()
/PHP-7.0/ext/fileinfo/tests/
H A Dbug61964.phpt32 file_put_contents($dir . "/test2.txt", "a\nb\n");
/PHP-7.0/ext/fileinfo/
H A Dlibmagic.patch2134 - const void *buf, size_t nb)
2136 + size_t nb)
2149 - if ((m = file_zmagic(ms, fd, inname, ubuf, nb)) != 0) {
2150 + if ((m = file_zmagic(ms, stream, inname, ubuf, nb)) != 0) {
2159 - if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) {
2166 + if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) {
2765 - if (file_buffer(ms, -1, NULL, buf, nb) == -1) {
2766 + if (file_buffer(ms, NULL, NULL, buf, nb) == -1) {

Completed in 102 milliseconds

12