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.c4112 const char *slash; local
4161 slash = zend_memrchr(entry->filename, '/', entry->filename_len);
4163 if (slash) {
4164 fullpath[dest_len + (slash - entry->filename) + 1] = '\0';
4185 if (slash) {
4186 fullpath[dest_len + (slash - entry->filename) + 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);
1516 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1538 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);
1576 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1583 len = spprintf(&sub_name, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name);
/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.c493 char *save = actual, *slash; local
495 if ((Z_TYPE_P(p) & IS_CONSTANT_UNQUALIFIED) && (slash = (char *)zend_memrchr(actual, '\\', actual_len))) {
496 actual = slash + 1;

Completed in 22 milliseconds