Home
last modified time | relevance | path

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

/PHP-7.4/ext/fileinfo/libmagic/
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 Dfuncs.c175 file_default(struct magic_set *ms, size_t nb) in file_default() argument
180 nb ? "octet-stream" : "x-empty") == -1) in file_default()
207 const void *buf, size_t nb) in file_buffer() argument
230 buffer_init(&b, fd, st, buf, nb); in file_buffer()
233 if (nb == 0) { in file_buffer()
236 } else if (nb == 1) { in file_buffer()
305 if ((ms->flags & MAGIC_NO_CHECK_ELF) == 0 && nb > 5 && fd != -1) { in file_buffer()
361 rv = file_default(ms, nb); in file_buffer()
H A Dmagic.c300 magic_buffer(struct magic_set *ms, const void *buf, size_t nb) in magic_buffer() argument
310 if (file_buffer(ms, NULL, NULL, NULL, buf, nb) == -1) { in magic_buffer()
H A Dcdf.c1139 const char *nb, *eb = b + ss * sst->sst_len; in cdf_unpack_catalog() local
1184 nb = CAST(const char *, CAST(const void *, in cdf_unpack_catalog()
1186 if (nb > eb) { in cdf_unpack_catalog()
/PHP-7.4/Zend/tests/
H A Dbug79934.phpt26 string(10) "a\r\n\r\nb"
27 string(6) "a\n\nb"
29 string(10) "a\r\n\r\nb"
H A Dflexible-heredoc-complex-test1.phpt8 ${"b\nb\n d"} = 'b';
H A Dflexible-heredoc-complex-test2.phpt8 ${"b\nb\n d"} = 'b';
/PHP-7.4/ext/mbstring/tests/
H A Dmb_split_empty_match.phpt12 var_dump(mb_split('^', "a\nb\nc"));
H A Dmb_split.phpt27 == mb_split( "[[:space:]]", "a\nb\tc\nd e f g" ) );
/PHP-7.4/ext/intl/tests/
H A Dbug65732.phpt11 var_dump(grapheme_strrpos("a\r\nb", 'b'));
/PHP-7.4/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.4/ext/fileinfo/tests/
H A Dbug61964.phpt32 file_put_contents($dir . "/test2.txt", "a\nb\n");
H A Dbug61964-mb.phpt32 file_put_contents($dir . "/test2.txt", "a\nb\n");
H A Dmagic私はガラスを食べられます19801 # .nb files
H A Dmagic19801 # .nb files
/PHP-7.4/ext/ftp/
H A Dftp.h75 int nb; /* "nonblocking" transfer in progress */ member
H A Dftp.c144 ftp->nb = 0; in ftp_open()
400 ftp->nb = 0; in ftp_reinit()
2153 ftp->nb = 1; in ftp_nb_get()
2217 ftp->nb = 0; in ftp_nb_continue_read()
2220 ftp->nb = 0; in ftp_nb_continue_read()
2269 ftp->nb = 1; in ftp_nb_put()
2323 ftp->nb = 0; in ftp_nb_continue_write()
2327 ftp->nb = 0; in ftp_nb_continue_write()
H A Dphp_ftp.c1127 if (!ftp->nb) { in PHP_FUNCTION()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c5268 size_t nb = 0; in php_mb_safe_strrchr_ex() local
5271 if (nb == 0) { in php_mb_safe_strrchr_ex()
5275 nb = php_mb_mbchar_bytes_ex(p, enc); in php_mb_safe_strrchr_ex()
5276 if (nb == 0) { in php_mb_safe_strrchr_ex()
5280 --nb; in php_mb_safe_strrchr_ex()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch2369 const void *buf, size_t nb)
2390 buffer_init(&b, fd, st, buf, nb);
3044 - if (file_buffer(ms, -1, NULL, NULL, buf, nb) == -1) {
3045 + if (file_buffer(ms, NULL, NULL, NULL, buf, nb) == -1) {

Completed in 323 milliseconds