Home
last modified time | relevance | path

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

/php-src/ext/fileinfo/libmagic/
H A Dbuffer.c51 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.c83 bb.flen = trim_nuls(CAST(const unsigned char *, b->fbuf), b->flen); in file_ascmagic()
88 if ((bb.flen & 1) && !(b->flen & 1)) in file_ascmagic()
89 bb.flen++; in file_ascmagic()
111 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 Dis_simh.c152 const unsigned char *ue = uc + b->flen; in file_is_simh()
H A Dsoftmagic.c262 bb.flen, offset, cont_level, in match()
373 bb.fbuf), bb.flen, offset, in match()
846 size_t nbytes = b->flen; in moffset()
1553 buffer_init(bb, -1, NULL, b->fbuf, b->flen); in msetoffset()
1564 bb->fbuf, bb->flen, bb->elen, ms->offset, b->fbuf, in msetoffset()
1565 b->flen, b->elen, offset, cont_level); in msetoffset()
1898 bb.flen = nbytes - offset; in mget()
H A Dis_json.c425 const unsigned char *ue = uc + b->flen; in file_is_json()
H A Dfile.h181 size_t flen; member
H A Dreadcdf.c534 size_t nbytes = b->flen; in file_trycdf()
H A Dencoding.c80 size_t nbytes = b->flen; in file_encoding()
H A Dcompress.c282 size_t nbytes = b->flen; in file_zmagic()
/php-src/Zend/Optimizer/
H A Dblock_pass.c358 size_t flen = FUNCTION_CACHE->funcs[Z_LVAL(ZEND_OP1_LITERAL(fcall))].name_len; in zend_optimize_block()
359 …if((flen == sizeof("function_exists")-1 && zend_binary_strcasecmp(fname, flen, "function_exists", … in zend_optimize_block()
360 …(flen == sizeof("is_callable")-1 && zend_binary_strcasecmp(fname, flen, "is_callable", sizeof("is_… in zend_optimize_block()
370 …} else if(flen == sizeof("constant")-1 && zend_binary_strcasecmp(fname, flen, "constant", sizeof("… in zend_optimize_block()
380 …} else if(flen == sizeof("extension_loaded")-1 && zend_binary_strcasecmp(fname, flen, "extension_l… in zend_optimize_block()
/php-src/ext/spl/
H A Dspl_directory.c923 size_t flen; in PHP_METHOD() local
941 flen = ZSTR_LEN(intern->file_name) - (ZSTR_LEN(path) + 1); in PHP_METHOD()
944 flen = ZSTR_LEN(intern->file_name); in PHP_METHOD()
950 ret = php_basename(fname, flen, NULL, 0); in PHP_METHOD()
997 size_t flen; in PHP_METHOD() local
1015 flen = ZSTR_LEN(intern->file_name) - (ZSTR_LEN(path) + 1); in PHP_METHOD()
1018 flen = ZSTR_LEN(intern->file_name); in PHP_METHOD()
1024 RETURN_STR(php_basename(fname, flen, suffix, slen)); in PHP_METHOD()
/php-src/sapi/phpdbg/
H A Dphpdbg.c322 size_t flen; in PHP_FUNCTION() local
325 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl", &file, &flen, &line) == FAILURE) { in PHP_FUNCTION()
/php-src/ext/fileinfo/
H A Dlibmagic.patch939 b->flen = len;
950 b->elen = CAST(size_t, b->st.st_size) < b->flen ?
951 CAST(size_t, b->st.st_size) : b->flen;
1450 size_t flen;

Completed in 43 milliseconds