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/Zend/
H A Dzend_constants.c487 char *slash = strrchr(ZSTR_VAL(c->name), '\\'); local
488 if (slash) {
490 zend_str_tolower(ZSTR_VAL(lowercase_name), slash - ZSTR_VAL(c->name));
H A Dzend_execute_API.c581 char *slash; local
583 if ((Z_CONST_FLAGS_P(p) & IS_CONSTANT_UNQUALIFIED) && (slash = (char *)zend_memrchr(actual, '\\', actual_len))) {
584 actual = slash + 1;
/PHP_TRUNK/ext/phar/
H A Dphar.c1775 char *slash; local
1782 slash = (char *) strrchr(filename, '/');
1784 if (slash) {
1785 *slash = '\0';
1789 if (!slash) {
1797 slash = strstr(realpath, filename) + ((ext - fname) + ext_len);
1798 *slash = '\0';
1799 slash = strrchr(realpath, '/');
1801 if (slash) {
1802 *slash
1896 const char *pos, *slash; local
[all...]
H A Dphar_object.c4069 const char *slash; local
4156 slash = zend_memrchr(filename, '/', filename_len);
4158 if (slash) {
4159 fullpath[dest_len + (slash - filename) + 1] = '\0';
4182 if (slash) {
4183 fullpath[dest_len + (slash - filename) + 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);
1496 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1513 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);
1548 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1555 RETURN_NEW_STR(strpprintf(0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name));

Completed in 26 milliseconds