Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 25 of 48) sorted by last modified time

12

/PHP-7.4/
H A DNEWS2728 . Fixed bug #65414 (deal with leading slash when adding files correctly).
/PHP-7.4/ext/phar/
H A Dphar.c1800 char *slash; in phar_analyze_path() local
1809 if (slash) { in phar_analyze_path()
1810 *slash = '\0'; in phar_analyze_path()
1814 if (!slash) { in phar_analyze_path()
1823 if (slash) { in phar_analyze_path()
1825 *slash = '\0'; in phar_analyze_path()
1829 if (slash) { in phar_analyze_path()
1830 *slash = '\0'; in phar_analyze_path()
1921 const char *pos, *slash; in phar_detect_phar_fname_ext() local
2028 if (!slash) { in phar_detect_phar_fname_ext()
[all …]
H A Dphar_object.c4144 const char *slash; in phar_extract_file() local
4231 slash = zend_memrchr(filename, '/', filename_len); in phar_extract_file()
4233 if (slash) { in phar_extract_file()
4234 fullpath[dest_len + (slash - filename) + 1] = '\0'; in phar_extract_file()
4257 if (slash) { in phar_extract_file()
4258 fullpath[dest_len + (slash - filename) + 1] = '/'; in phar_extract_file()
/PHP-7.4/ext/standard/
H A Dstring.c4289 const __m128i slash = _mm_set1_epi8('\\'); local
4293 __m128i any_slash = _mm_cmpeq_epi8(in, slash);
/PHP-7.4/ext/spl/
H A Dspl_directory.c205 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; in spl_filesystem_object_get_file_name() local
227 &intern->file_name, 0, "%s%c%s", path, slash, intern->u.dir.entry.d_name); in spl_filesystem_object_get_file_name()
1531 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; in SPL_METHOD() local
1547 … = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.ent… in SPL_METHOD()
1582 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; in SPL_METHOD() local
1589 …RETURN_NEW_STR(strpprintf(0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name)); in SPL_METHOD()
/PHP-7.4/Zend/
H A Dzend_execute_API.c579 char *slash = (char *) zend_memrchr(actual, '\\', actual_len); in zend_use_undefined_constant() local
581 if (slash) { in zend_use_undefined_constant()
582 actual = slash + 1; in zend_use_undefined_constant()
H A Dzend_constants.c504 char *slash = strrchr(ZSTR_VAL(c->name), '\\'); in zend_register_constant() local
505 if (slash) { in zend_register_constant()
507 zend_str_tolower(ZSTR_VAL(lowercase_name), slash - ZSTR_VAL(c->name)); in zend_register_constant()
/PHP-7.4/build/
H A Dphp.m4229 dnl ac_srcdir/ac_bdir include trailing slash
/PHP-7.4/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_basic1.phpt47 // filename stored in array with single and double slash notation in its path
H A Dis_file_variation4.phpt23 /* Testing a file trailing slash */
H A Dis_readable_variation1.phpt30 /* Testing a file trailing slash */
H A Dis_writable_variation1.phpt30 /* Testing a file trailing slash */
H A Dis_dir_variation4.phpt22 /* Testing a file trailing slash */
H A Dis_executable_variation1.phpt32 /* Testing a file with trailing slash */
H A Dfilegroup_variation3.phpt24 /* Testing a file trailing slash */
H A Dfileowner_variation3.phpt25 /* Testing a file trailing slash */
H A Dfileinode_variation3.phpt25 /* Testing a file trailing slash */
H A Dfileperms_variation3.phpt24 /* Testing a file trailing slash */
H A Ddisk_free_space_variation.phpt31 /* Testing a file trailing slash */
H A Ddisk_total_space_variation.phpt33 /* Testing a file trailing slash */
/PHP-7.4/sapi/fpm/
H A Dwww.conf.in235 ; Note: The value must start with a leading slash (/). The value can be
247 ; Note: The value must start with a leading slash (/). The value can be
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_2.phpt35 /* realpath() will cut off the trailing slash */
/PHP-7.4/ext/phar/tests/
H A Daddfuncs.phpt48 …nd cannot be created: phar error: invalid path "phar://%saddfuncs.phar.php/a" contains double slash
/PHP-7.4/tests/security/
H A Dopen_basedir.inc21 // Remove any trailing slash first
/PHP-7.4/ext/standard/tests/strings/
H A Dstripos_variation6.phpt15 echo "-- With heredoc string containing quote & slash chars --\n";
30 -- With heredoc string containing quote & slash chars --

Completed in 84 milliseconds

12