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.c486 char *slash = strrchr(c->name->val, '\\'); local
487 if (slash) {
489 zend_str_tolower(lowercase_name->val, slash - c->name->val);
H A Dzend_execute_API.c567 char *slash; local
569 if ((Z_CONST_FLAGS_P(p) & IS_CONSTANT_UNQUALIFIED) && (slash = (char *)zend_memrchr(actual, '\\', actual_len))) {
570 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.c4065 const char *slash; local
4114 slash = zend_memrchr(entry->filename, '/', entry->filename_len);
4116 if (slash) {
4117 fullpath[dest_len + (slash - entry->filename) + 1] = '\0';
4138 if (slash) {
4139 fullpath[dest_len + (slash - entry->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);
1495 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1512 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);
1549 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1556 len = spprintf(&sub_name, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name);

Completed in 22 milliseconds