Home
last modified time | relevance | path

Searched refs:fname_len (Results 1 – 12 of 12) sorted by relevance

/PHP-7.3/ext/phar/
H A Dphar_object.c1058 size_t fname_len; in PHP_METHOD() local
1299 size_t fname_len; in PHP_METHOD() local
1307 if (!fname_len) { in PHP_METHOD()
1400 size_t fname_len; in phar_build() local
2146 if (pphar->fname_len == phar->fname_len && !memcmp(pphar->fname, phar->fname, phar->fname_len)) { in phar_rename_archive()
2286 phar->fname_len = source->fname_len; in phar_convert_to_other()
2625 size_t fname_len; in PHP_METHOD() local
3544 size_t fname_len; in PHP_METHOD() local
3581 size_t fname_len; in PHP_METHOD() local
3778 size_t fname_len; in PHP_METHOD() local
[all …]
H A Dphar_internal.h275 uint32_t fname_len; member
512 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode()
514 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode()
531 int phar_open_from_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, uint32_t …
536 int phar_get_archive(phar_archive_data **archive, char *fname, size_t fname_len, char *alias, size_…
537 int phar_open_parsed_phar(char *fname, size_t fname_len, char *alias, size_t alias_len, zend_bool i…
567 int phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da…
571 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len…
572 int phar_open_or_create_zip(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da…
588 phar_entry_data *phar_get_or_create_entry_data(char *fname, size_t fname_len, char *path, size_t pa…
[all …]
H A Dutil.c248 size_t arch_len, entry_len, fname_len; in phar_find_in_include_path() local
262 fname_len = strlen(fname); in phar_find_in_include_path()
926 *filename_len = fd_ptr->fname_len; in phar_resolve_alias()
970 …if (PHAR_G(last_phar) && fname_len == PHAR_G(last_phar_name_len) && !memcmp(fname, PHAR_G(last_pha… in phar_get_archive()
1003 if (fname && (fname_len != fd_ptr->fname_len || strncmp(fname, fd_ptr->fname, fname_len))) { in phar_get_archive()
1020 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1034 save_len = fname_len; in phar_get_archive()
1036 if (fname && fname_len) { in phar_get_archive()
1058 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1117 fname_len = strlen(my_realpath); in phar_get_archive()
[all …]
H A Dphar.c543 unixfname = estrndup(fname, fname_len);
547 && ((alias && fname_len == phar->fname_len
554 && ((alias && fname_len == phar->fname_len
1065 mydata->fname_len = fname_len;
1369 fname_len = ZSTR_LEN(actual);
1410 fname_len = strlen(mydata->fname);
1436 mydata->fname_len = fname_len;
1543 fname_len = ZSTR_LEN(actual);
2288 size_t fname_len; local
2297 fname_len = strlen(fname);
[all …]
H A Dfunc_interceptors.c45 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local
54 fname_len = strlen(fname); in PHAR_FUNC()
120 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local
128 fname_len = strlen(fname); in PHAR_FUNC()
250 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local
259 fname_len = strlen(fname); in PHAR_FUNC()
351 size_t arch_len, entry_len, fname_len; in PHAR_FUNC() local
360 fname_len = strlen(fname); in PHAR_FUNC()
607 fname_len = strlen(fname); in phar_file_stat()
873 fname_len = strlen(fname); in PharFileFunction()
[all …]
H A Dtar.c130 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_tar()
621 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
623 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile()
625 myphar->fname_len = fname_len; in phar_parse_tarfile()
630 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile()
632 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile()
635 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
662 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
677 zend_hash_str_del(&(PHAR_G(phar_fname_map)), myphar->fname, fname_len); in phar_parse_tarfile()
685 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
[all …]
H A Dzip.c262 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
264 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile()
267 mydata->fname_len = fname_len; in phar_parse_zipfile()
271 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile()
273 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile()
276 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile()
685 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
697 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
718 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
727 mydata->alias = pestrndup(mydata->fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
[all …]
H A Dgdbhelp22 ____print_str $temp.fname $temp.fname_len
/PHP-7.3/ext/zip/lib/
H A Dzip_extra_field.c367 zip_uint16_t fname_len, ef_len; in _zip_read_local_ef() local
393 fname_len = _zip_buffer_get_16(buffer); in _zip_read_local_ef()
408 if (zip_source_seek(za->src, fname_len, SEEK_CUR) < 0) { in _zip_read_local_ef()
/PHP-7.3/Zend/
H A Dzend_API.c2168 size_t fname_len; in zend_register_functions() local
2197 fname_len = strlen(ptr->fname); in zend_register_functions()
2199 internal_function->function_name = zend_string_init_interned(ptr->fname, fname_len, 1); in zend_register_functions()
2339 …if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, cla… in zend_register_functions()
2388 fname_len = strlen(ptr->fname); in zend_register_functions()
2389 lowercase_name = zend_string_alloc(fname_len, 0); in zend_register_functions()
2390 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions()
2506 size_t fname_len; in zend_unregister_functions() local
2515 fname_len = strlen(ptr->fname); in zend_unregister_functions()
2516 lowercase_name = zend_string_alloc(fname_len, 0); in zend_unregister_functions()
[all …]
/PHP-7.3/ext/spl/
H A Dspl_array.c1465 static void spl_array_method(INTERNAL_FUNCTION_PARAMETERS, char *fname, int fname_len, int use_arg)… in spl_array_method() argument
1471 ZVAL_STRINGL(&function_name, fname, fname_len); in spl_array_method()
/PHP-7.3/ext/odbc/
H A Dphp_odbc.c2936 size_t i, field_ind, fname_len; in PHP_FUNCTION() local
2940 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_res, &fname, &fname_len) == FAILURE) { in PHP_FUNCTION()

Completed in 68 milliseconds