Searched refs:slash (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/tests/security/
H A Dopen_basedir.inc21 // Remove any trailing slash first
/PHP_TRUNK/ext/phar/
H A Dphar.c1774 char *slash; local
1781 slash = (char *) strrchr(filename, '/');
1783 if (slash) {
1784 *slash = '\0';
1788 if (!slash) {
1796 slash = strstr(realpath, filename) + ((ext - fname) + ext_len);
1797 *slash = '\0';
1798 slash = strrchr(realpath, '/');
1800 if (slash) {
1801 *slash
1895 const char *pos, *slash; local
[all...]
H A Dphar_object.c4113 const char *slash; local
4162 slash = zend_memrchr(entry->filename, '/', entry->filename_len);
4164 if (slash) {
4165 fullpath[dest_len + (slash - entry->filename) + 1] = '\0';
4186 if (slash) {
4187 fullpath[dest_len + (slash - entry->filename) + 1] = '/';
/PHP_TRUNK/Zend/
H A Dzend_constants.c488 char *slash = strrchr(c->name, '\\'); local
489 if (slash) {
491 zend_str_tolower(lowercase_name, slash-c->name);
H A Dzend_execute_API.c491 char *save = actual, *slash; local
493 if ((Z_TYPE_P(p) & IS_CONSTANT_UNQUALIFIED) && (slash = (char *)zend_memrchr(actual, '\\', actual_len))) {
494 actual = slash + 1;
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c203 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
214 slash, intern->u.dir.entry.d_name);
1518 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1540 subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name);
1578 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1585 len = spprintf(&sub_name, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name);

Completed in 36 milliseconds