Home
last modified time | relevance | path

Searched refs:flen (Results 1 – 14 of 14) sorted by relevance

/PHP-8.0/ext/fileinfo/libmagic/
H A Dbuffer.c53 b->flen = len; in buffer_init()
76 b->elen = CAST(size_t, b->st.st_size) < b->flen ? in buffer_fill()
77 CAST(size_t, b->st.st_size) : b->flen; in buffer_fill()
H A Dascmagic.c82 bb.flen = trim_nuls(CAST(const unsigned char *, b->fbuf), b->flen); in file_ascmagic()
87 if ((bb.flen & 1) && !(b->flen & 1)) in file_ascmagic()
88 bb.flen++; in file_ascmagic()
110 size_t nbytes = b->flen; in file_ascmagic_with_encoding()
H A Dis_csv.c137 const unsigned char *ue = uc + b->flen; in file_is_csv()
H A Dis_tar.c66 size_t nbytes = b->flen; in file_is_tar()
H A Dencoding.c73 size_t nbytes = b->flen > 64*1024 ? 64*1024 : b->flen; in file_encoding()
H A Dsoftmagic.c251 bb.flen, offset, cont_level, in match()
359 bb.fbuf), bb.flen, offset, in match()
853 size_t nbytes = b->flen; in moffset()
1527 buffer_init(bb, -1, NULL, b->fbuf, b->flen); in msetoffset()
1538 bb->fbuf, bb->flen, bb->elen, ms->offset, b->fbuf, in msetoffset()
1539 b->flen, b->elen, offset, cont_level); in msetoffset()
1826 bb.flen = nbytes - offset; in mget()
H A Dis_json.c397 const unsigned char *ue = uc + b->flen; in file_is_json()
H A Dfile.h159 size_t flen; member
H A Dreadcdf.c536 size_t nbytes = b->flen; in file_trycdf()
H A Dcompress.c258 size_t nbytes = b->flen; in file_zmagic()
/PHP-8.0/ext/opcache/Optimizer/
H A Dblock_pass.c332 int flen = FUNCTION_CACHE->funcs[Z_LVAL(ZEND_OP1_LITERAL(fcall))].name_len; in zend_optimize_block()
333 …if((flen == sizeof("function_exists")-1 && zend_binary_strcasecmp(fname, flen, "function_exists", … in zend_optimize_block()
334 …(flen == sizeof("is_callable")-1 && zend_binary_strcasecmp(fname, flen, "is_callable", sizeof("is_… in zend_optimize_block()
344 …} else if(flen == sizeof("constant")-1 && zend_binary_strcasecmp(fname, flen, "constant", sizeof("… in zend_optimize_block()
354 …} else if(flen == sizeof("extension_loaded")-1 && zend_binary_strcasecmp(fname, flen, "extension_l… in zend_optimize_block()
/PHP-8.0/ext/spl/
H A Dspl_directory.c936 size_t flen; in PHP_METHOD() local
954 flen = intern->file_name_len - (path_len + 1); in PHP_METHOD()
957 flen = intern->file_name_len; in PHP_METHOD()
960 ret = php_basename(fname, flen, NULL, 0); in PHP_METHOD()
1006 size_t flen; in PHP_METHOD() local
1022 flen = intern->file_name_len - (path_len + 1); in PHP_METHOD()
1025 flen = intern->file_name_len; in PHP_METHOD()
1028 RETURN_STR(php_basename(fname, flen, suffix, slen)); in PHP_METHOD()
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch1024 b->flen = len;
1036 b->elen = CAST(size_t, b->st.st_size) < b->flen ?
1037 CAST(size_t, b->st.st_size) : b->flen;
1552 - size_t nbytes = b->flen;
1553 + size_t nbytes = b->flen > 64*1024 ? 64*1024 : b->flen;
1780 size_t flen;
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg.c368 size_t flen; in PHP_FUNCTION() local
371 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl", &file, &flen, &line) == FAILURE) { in PHP_FUNCTION()

Completed in 77 milliseconds