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_object.c4054 const char *slash; local
4103 slash = zend_memrchr(entry->filename, '/', entry->filename_len);
4105 if (slash) {
4106 fullpath[dest_len + (slash - entry->filename) + 1] = '\0';
4127 if (slash) {
4128 fullpath[dest_len + (slash - entry->filename) + 1] = '/';
H A Dphar.c1779 char *slash; local
1786 slash = (char *) strrchr(filename, '/');
1788 if (slash) {
1789 *slash = '\0';
1793 if (!slash) {
1801 slash = strstr(realpath, filename) + ((ext - fname) + ext_len);
1802 *slash = '\0';
1803 slash = strrchr(realpath, '/');
1805 if (slash) {
1806 *slash
1900 const char *pos, *slash; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_constants.c509 char *slash = strrchr(c->name->val, '\\'); local
510 if (slash) {
512 zend_str_tolower(lowercase_name->val, slash - c->name->val);
H A Dzend_execute_API.c546 char *slash; local
548 if ((Z_CONST_FLAGS_P(p) & IS_CONSTANT_UNQUALIFIED) && (slash = (char *)zend_memrchr(actual, '\\', actual_len))) {
549 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
204 slash, intern->u.dir.entry.d_name);
1501 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; local
1521 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