Home
last modified time | relevance | path

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

/PHP-8.1/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.c289 file_default(struct magic_set *ms, size_t nb) in file_default() argument
294 nb ? "octet-stream" : "x-empty") == -1) in file_default()
321 const void *buf, size_t nb) in file_buffer() argument
344 buffer_init(&b, fd, st, buf, nb); in file_buffer()
347 if (nb == 0) { in file_buffer()
350 } else if (nb == 1) { in file_buffer()
431 if ((ms->flags & MAGIC_NO_CHECK_ELF) == 0 && nb > 5 && fd != -1) { in file_buffer()
487 rv = file_default(ms, nb); in file_buffer()
H A Dmagic.c263 magic_buffer(struct magic_set *ms, const void *buf, size_t nb) in magic_buffer() argument
273 if (file_buffer(ms, NULL, NULL, NULL, buf, nb) == -1) { in magic_buffer()
H A Dcdf.c1155 const char *nb, *eb = b + ss * sst->sst_len; in cdf_unpack_catalog() local
1200 nb = CAST(const char *, CAST(const void *, in cdf_unpack_catalog()
1202 if (nb > eb) { in cdf_unpack_catalog()
/PHP-8.1/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-8.1/ext/mbstring/tests/
H A Dmb_split_empty_match.phpt13 var_dump(mb_split('^', "a\nb\nc"));
H A Dmb_split.phpt26 == mb_split( "[[:space:]]", "a\nb\tc\nd e f g" ) );
/PHP-8.1/ext/intl/tests/
H A Dbug65732.phpt9 var_dump(grapheme_strrpos("a\r\nb", 'b'));
/PHP-8.1/ext/date/tests/
H A Dbug71826.phpt13 echo "\nb(Asia/Tokyo): 2015-3-1 <--> 2015-3-29\n";
/PHP-8.1/ext/fileinfo/tests/
H A Dbug61964-mb.phpt32 file_put_contents($dir . "/test2.txt", "a\nb\n");
H A Dbug61964.phpt32 file_put_contents($dir . "/test2.txt", "a\nb\n");
H A Dmagic22421 # .nb files
H A Dmagic私はガラスを食べられます22421 # .nb files
/PHP-8.1/ext/ftp/
H A Dftp.h73 int nb; /* "nonblocking" transfer in progress */ member
H A Dftp.c139 ftp->nb = 0; in ftp_open()
390 ftp->nb = 0; in ftp_reinit()
2111 ftp->nb = 1; in ftp_nb_get()
2174 ftp->nb = 0; in ftp_nb_continue_read()
2177 ftp->nb = 0; in ftp_nb_continue_read()
2225 ftp->nb = 1; in ftp_nb_put()
2278 ftp->nb = 0; in ftp_nb_continue_write()
2282 ftp->nb = 0; in ftp_nb_continue_write()
H A Dphp_ftp.c843 if (!ftp->nb) { in PHP_FUNCTION()
/PHP-8.1/ext/mbstring/
H A Dmbstring.c4295 size_t nb = 0; in php_mb_safe_strrchr_ex() local
4298 if (nb == 0) { in php_mb_safe_strrchr_ex()
4302 nb = php_mb_mbchar_bytes_ex(p, enc); in php_mb_safe_strrchr_ex()
4303 if (nb == 0) { in php_mb_safe_strrchr_ex()
4307 --nb; in php_mb_safe_strrchr_ex()
/PHP-8.1/ext/opcache/jit/dynasm/
H A Dminilua.c4920 lua_Number nb=nvalue(b),nc=nvalue(c);
4922 case TM_ADD:setnvalue(ra,luai_numadd(nb,nc));break;
4923 case TM_SUB:setnvalue(ra,luai_numsub(nb,nc));break;
4924 case TM_MUL:setnvalue(ra,luai_nummul(nb,nc));break;
4925 case TM_DIV:setnvalue(ra,luai_numdiv(nb,nc));break;
4926 case TM_MOD:setnvalue(ra,luai_nummod(nb,nc));break;
4927 case TM_POW:setnvalue(ra,luai_numpow(nb,nc));break;
4928 case TM_UNM:setnvalue(ra,luai_numunm(nb));break;
4943 …RKC(i);if(ttisnumber(rb)&&ttisnumber(rc)){lua_Number nb=nvalue(rb),nc=nvalue(rc);setnvalue(ra,op(n…
5051 lua_Number nb=nvalue(rb);
[all …]
H A Ddasm_x86.lua395 o = 0, no = 1, b = 2, nb = 3, e = 4, ne = 5, be = 6, nbe = 7,
1832 for cc,n in pairs{ b=0, e=1, be=2, u=3, nb=4, ne=5, nbe=6, nu=7 } do
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch2160 const void *buf, size_t nb)
2181 buffer_init(&b, fd, st, buf, nb);
2865 - if (file_buffer(ms, -1, NULL, NULL, buf, nb) == -1) {
2866 + if (file_buffer(ms, NULL, NULL, NULL, buf, nb) == -1) {

Completed in 300 milliseconds