Home
last modified time | relevance | path

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

/PHP-5.6/ext/phar/
H A Dphar_object.c450 fname_len = strlen(fname); in PHP_METHOD()
484 fname_len = strlen(fname); in PHP_METHOD()
1177 fname_len = arch_len; in PHP_METHOD()
1181 arch_len = fname_len; in PHP_METHOD()
1331 if (!fname_len) { in PHP_METHOD()
2121 …if ((*pphar)->fname_len == phar->fname_len && !memcmp((*pphar)->fname, phar->fname, phar->fname_le… in phar_rename_archive()
2259 phar->fname_len = source->fname_len; in phar_convert_to_other()
2620 int fname_len; in PHP_METHOD() local
3544 int fname_len; in PHP_METHOD() local
3581 int fname_len; in PHP_METHOD() local
[all …]
H A Dphar_internal.h292 int fname_len; member
541 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode()
543 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode()
560 int phar_open_from_filename(char *fname, int fname_len, char *alias, int alias_len, int options, ph…
561 int phar_open_or_create_filename(char *fname, int fname_len, char *alias, int alias_len, int is_dat…
562 int phar_create_or_parse_filename(char *fname, int fname_len, char *alias, int alias_len, int is_da…
565 int phar_get_archive(phar_archive_data **archive, char *fname, int fname_len, char *alias, int alia…
566 int phar_open_parsed_phar(char *fname, int fname_len, char *alias, int alias_len, int is_data, int …
596 int phar_open_or_create_tar(char *fname, int fname_len, char *alias, int alias_len, int is_data, in…
600 int phar_parse_zipfile(php_stream *fp, char *fname, int fname_len, char *alias, int alias_len, phar…
[all …]
H A Dutil.c256 int arch_len, entry_len, fname_len, ret_len; in phar_find_in_include_path() local
270 fname_len = strlen(fname); in phar_find_in_include_path()
936 *filename_len = (*fd_ptr)->fname_len; in phar_resolve_alias()
981 …if (PHAR_G(last_phar) && fname_len == PHAR_G(last_phar_name_len) && !memcmp(fname, PHAR_G(last_pha… in phar_get_archive()
1015 … if (fname && (fname_len != (*fd_ptr)->fname_len || strncmp(fname, (*fd_ptr)->fname, fname_len))) { in phar_get_archive()
1032 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1047 save_len = fname_len; in phar_get_archive()
1049 if (fname && fname_len) { in phar_get_archive()
1071 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive()
1130 fname_len = strlen(my_realpath); in phar_get_archive()
[all …]
H A Dphar.c540 unixfname = estrndup(fname, fname_len);
544 && ((alias && fname_len == phar->fname_len
551 && ((alias && fname_len == phar->fname_len
1061 mydata->fname_len = fname_len;
1351 fname_len = strlen(actual);
1388 fname_len = strlen(mydata->fname);
1414 mydata->fname_len = fname_len;
1526 fname_len = strlen(actual);
2324 int fname_len; local
2333 fname_len = strlen(fname);
[all …]
H A Dfunc_interceptors.c47 int arch_len, entry_len, fname_len; in PHAR_FUNC() local
56 fname_len = strlen(fname); in PHAR_FUNC()
122 int arch_len, entry_len, fname_len; in PHAR_FUNC() local
130 fname_len = strlen(fname); in PHAR_FUNC()
252 int arch_len, entry_len, fname_len; in PHAR_FUNC() local
261 fname_len = strlen(fname); in PHAR_FUNC()
348 int arch_len, entry_len, fname_len; in PHAR_FUNC() local
357 fname_len = strlen(fname); in PHAR_FUNC()
632 fname_len = strlen(fname); in phar_file_stat()
922 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()
613 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
615 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile()
617 myphar->fname_len = fname_len; in phar_parse_tarfile()
622 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile()
624 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile()
627 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
654 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile()
669 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile()
677 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile()
[all …]
H A Dzip.c270 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
272 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile()
275 mydata->fname_len = fname_len; in phar_parse_zipfile()
279 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile()
281 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile()
284 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile()
662 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile()
674 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile()
695 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile()
704 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-5.6/ext/curl/
H A Dcurl_file.c35 int fname_len, mime_len, postname_len; in curlfile_ctor() local
38 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|ss", &fname, &fname_len, &mime, &mime_len,… in curlfile_ctor()
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_utils.c173 size_t fname_len = strlen(fname); in phpdbg_get_function() local
174 char *lcname = zend_str_tolower_dup(fname, fname_len); in phpdbg_get_function()
185 zend_hash_find(&(*ce)->function_table, lcname, fname_len+1, in phpdbg_get_function()
189 zend_hash_find(EG(function_table), lcname, fname_len+1, in phpdbg_get_function()
/PHP-5.6/ext/zip/lib/
H A Dzip_extra_field.c327 zip_uint16_t fname_len, ef_len; in _zip_read_local_ef() local
351 fname_len = _zip_read2(&p); in _zip_read_local_ef()
358 if (fseek(za->zp, fname_len, SEEK_CUR) < 0) { in _zip_read_local_ef()
/PHP-5.6/Zend/
H A Dzend_API.c2084 int fname_len; in zend_register_functions() local
2180 fname_len = strlen(ptr->fname); in zend_register_functions()
2181 …lowercase_name = zend_new_interned_string(zend_str_tolower_dup(ptr->fname, fname_len), fname_len +… in zend_register_functions()
2182 hash = str_hash(lowercase_name, fname_len); in zend_register_functions()
2206 …if ((fname_len == class_name_len) && !ctor && !memcmp(lowercase_name, lc_class_name, class_name_le… in zend_register_functions()
2217 …} else if ((fname_len == sizeof(ZEND_CALL_FUNC_NAME)-1) && !memcmp(lowercase_name, ZEND_CALL_FUNC_… in zend_register_functions()
2223 …} else if ((fname_len == sizeof(ZEND_GET_FUNC_NAME)-1) && !memcmp(lowercase_name, ZEND_GET_FUNC_NA… in zend_register_functions()
2225 …} else if ((fname_len == sizeof(ZEND_SET_FUNC_NAME)-1) && !memcmp(lowercase_name, ZEND_SET_FUNC_NA… in zend_register_functions()
2249 fname_len = strlen(ptr->fname); in zend_register_functions()
2250 lowercase_name = zend_str_tolower_dup(ptr->fname, fname_len); in zend_register_functions()
[all …]
/PHP-5.6/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
1478 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 1, tmp, NULL TSRMLS_CC); in spl_array_method()
1488 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, arg? 2 : 1, tmp, arg TSRMLS_CC); in spl_array_method()
1498 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 2, tmp, arg TSRMLS_CC); in spl_array_method()
/PHP-5.6/ext/odbc/
H A Dphp_odbc.c2927 int i, field_ind, fname_len; in PHP_FUNCTION() local
2931 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pv_res, &fname, &fname_len) == FAILURE… in PHP_FUNCTION()

Completed in 177 milliseconds