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.c1777 char *slash; local
1784 slash = (char *) strrchr(filename, '/');
1786 if (slash) {
1787 *slash = '\0';
1791 if (!slash) {
1799 slash = strstr(realpath, filename) + ((ext - fname) + ext_len);
1800 *slash = '\0';
1801 slash = strrchr(realpath, '/');
1803 if (slash) {
1804 *slash
1898 const char *pos, *slash; local
[all...]
H A Dphar_object.c4075 const char *slash; local
4124 slash = zend_memrchr(entry->filename, '/', entry->filename_len);
4126 if (slash) {
4127 fullpath[dest_len + (slash - entry->filename) + 1] = '\0';
4148 if (slash) {
4149 fullpath[dest_len + (slash - entry->filename) + 1] = '/';
/PHP_TRUNK/Zend/
H A Dzend_constants.c487 char *slash = strrchr(c->name->val, '\\'); local
488 if (slash) {
490 zend_str_tolower(lowercase_name->val, slash - c->name->val);
H A Dzend_execute_API.c561 char *slash; local
563 if ((Z_CONST_FLAGS_P(p) & IS_CONSTANT_UNQUALIFIED) && (slash = (char *)zend_memrchr(actual, '\\', actual_len))) {
564 actual = slash + 1;
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c193 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
208 slash, intern->u.dir.entry.d_name);
1505 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1522 subdir->u.dir.sub_path_len = (int)spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name);
1559 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1566 len = spprintf(&sub_name, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name);

Completed in 23 milliseconds