Searched refs:flen (Results 1 – 15 of 15) sorted by relevance
/php-src/ext/fileinfo/libmagic/ |
H A D | buffer.c | 51 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 D | ascmagic.c | 83 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 D | is_csv.c | 137 const unsigned char *ue = uc + b->flen; in file_is_csv()
|
H A D | is_tar.c | 66 size_t nbytes = b->flen; in file_is_tar()
|
H A D | is_simh.c | 152 const unsigned char *ue = uc + b->flen; in file_is_simh()
|
H A D | softmagic.c | 262 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 D | is_json.c | 425 const unsigned char *ue = uc + b->flen; in file_is_json()
|
H A D | file.h | 181 size_t flen; member
|
H A D | readcdf.c | 534 size_t nbytes = b->flen; in file_trycdf()
|
H A D | encoding.c | 80 size_t nbytes = b->flen; in file_encoding()
|
H A D | compress.c | 282 size_t nbytes = b->flen; in file_zmagic()
|
/php-src/Zend/Optimizer/ |
H A D | block_pass.c | 358 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 D | spl_directory.c | 923 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 D | phpdbg.c | 322 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 D | libmagic.patch | 939 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