Searched refs:path (Results 1 - 25 of 140) sorted by relevance

123456

/PHP_TRUNK/ext/phar/phar/
H A Ddirectorytreeiterator.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path)
26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP_TRUNK/ext/phar/tests/files/
H A Dpear2coverage.phar.php116 $output->writeElement('title', 'Enter a path to the database');
119 $output->writeElement('h2', 'Please enter the path to a coverage database');
163 function mangleFile($path, $istest = false)
165 return $this->controller->getFileLink($path, $istest);
168 function mangleTestFile($path)
170 return $this->controller->getTOClink($path);
225 * @param string $istest path to test file this is covering, or false for aggregate
499 throw new Exception('Can not find code path $codepath');
533 function coverageInfo($path)
535 return $this->sqlite->retrievePathCoverage($path);
644 protected $path; variable
654 $this->path = $path; variable
[all...]
/PHP_TRUNK/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc17 protected $path;
19 function __construct($path, $compress = 'zlib')
30 $this->path = $path;
38 * @param string relative path within the package
41 function addFile($path, $fileOrStream, $stat = null, $corrupt = null)
78 if (strlen($path) > 255) {
80 "$path is too long, must be 255 characters or less"
82 } else if (strlen($path) > 100) {
83 $filePrefix = substr($path,
[all...]
H A Dmake.dangerous.tar.php.inc18 protected $path;
20 function __construct($path, $compress = 'zlib')
31 $this->path = $path;
39 * @param string relative path within the package
42 function addFile($path, $fileOrStream, $stat = null)
72 if (strlen($path) > 255) {
74 "$path is too long, must be 255 characters or less"
76 } else if (strlen($path) > 100) {
77 $filePrefix = substr($path,
[all...]
H A Dtarmaker.php.inc17 protected $path;
19 function __construct($path, $compress = 'zlib')
30 $this->path = $path;
38 * @param string relative path within the package
41 function addFile($path, $fileOrStream, $stat = null)
71 if (strlen($path) > 255) {
73 "$path is too long, must be 255 characters or less"
75 } else if (strlen($path) > 100) {
76 $filePrefix = substr($path,
[all...]
/PHP_TRUNK/ext/phar/tests/zip/files/
H A Dmake_invalid_tar.php.inc7 $fp = fopen($this->path, 'r+b');
H A Dzipmaker.php.inc15 protected $path;
16 function __construct($path)
22 $this->path = $path;
27 * @param string relative path within the package
30 function addFile($path, $fileOrStream)
33 $this->zip->addFromString($path, stream_get_contents($fileOrStream));
35 $this->zip->addFromString($path, $fileOrStream);
45 if (true !== $this->zip->open($this->path, ZIPARCHIVE::CREATE)) {
47 'Cannot open ZIP archive ' . $this->path
[all...]
/PHP_TRUNK/ext/spl/examples/
H A Ddirectoryfilterdots.inc22 /** Construct from a path.
23 * @param $path directory to iterate
25 function __construct($path)
27 parent::__construct(new RecursiveDirectoryIterator($path));
37 /** @return the current entries path name
H A Ddirectorytree.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path) {
23 parent::__construct(new DirectoryFilterDots($path));
H A Ddirectorytreeiterator.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path)
26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
H A Dfindfile.inc26 /** Construct from path and filename
28 * @param $path the directory to search in
29 * If path contains ';' then this parameter is split and every
33 function __construct($path, $file)
36 $list = split(PATH_SEPARATOR, $path);
38 parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
41 foreach($list as $path) {
42 $it->append(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
H A Dnocvsdir.php10 * Usage: php nocvsdir.php \<path\>
12 * Simply specify the path to tree with parameter \<path\>.
17 Usage: php ${_SERVER['PHP_SELF']} <path>
19 Show the directory and all it's contents without any CVS directory in <path>.
21 <path> The directory for which to generate the directory.
32 function __construct($path)
34 parent::__construct(new RecursiveDirectoryIterator($path));
H A Dregexfindfile.inc20 /** Construct from path and regular expression
22 * @param $path the directory to search in
23 * If path contains ';' then this parameter is split and every
27 function __construct($path, $regex)
29 parent::__construct($path, $regex);
/PHP_TRUNK/ext/spl/examples/tests/
H A Dexamples.inc5 function __construct($path, $classes)
10 $this->append($path . '/' . strtolower($c) . '.inc');
/PHP_TRUNK/win32/
H A Dphp_registry.h5 void UpdateIniFromRegistry(char *path TSRMLS_DC);
H A Dwinutil.h22 int php_win32_check_trailing_space(const char * path, const int path_len);
/PHP_TRUNK/ext/zip/lib/
H A Dmkstemp.c55 _zip_mkstemp(char *path)
59 ret = _creat(_mktemp(path), _S_IREAD|_S_IWRITE);
79 /* Move to end of path and count trailing X's. */
80 for (trv = path; *trv; ++trv)
114 if (trv <= path)
118 if (stat(path, &sbuf))
130 if ((fd=open(path, O_CREAT|O_EXCL|O_RDWR|O_BINARY, 0600)) >= 0)
54 _zip_mkstemp(char *path) argument
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c294 CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat) /* {{{ */ argument
298 const size_t path_len = strlen(path);
301 if (!GetFileAttributesEx(path, GetFileExInfoStandard, &data)) {
302 return stat(path, buf);
305 if (path_len >= 1 && path[1] == ':') {
306 if (path[0] >= 'A' && path[0] <= 'Z') {
307 buf->st_dev = buf->st_rdev = path[0] - 'A';
309 buf->st_dev = buf->st_rdev = path[0] - 'a';
311 } else if (IS_UNC_PATH(path, path_le
585 realpath_cache_key(const char *path, int path_len TSRMLS_DC) argument
605 realpath_cache_key(const char *path, int path_len) argument
637 realpath_cache_del(const char *path, int path_len TSRMLS_DC) argument
669 realpath_cache_add(const char *path, int path_len, const char *realpath, int realpath_len, int is_dir, time_t t TSRMLS_DC) argument
719 realpath_cache_find(const char *path, int path_len, time_t t TSRMLS_DC) argument
753 realpath_cache_lookup(const char *path, int path_len, time_t t TSRMLS_DC) argument
778 tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, int use_realpath, int is_dir, int *link_is_dir TSRMLS_DC) argument
1179 virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int use_realpath TSRMLS_DC) argument
1393 virtual_chdir_file(const char *path, int (*p_chdir)(const char *path TSRMLS_DC) TSRMLS_DC) argument
1427 virtual_realpath(const char *path, char *real_path TSRMLS_DC) argument
1473 virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path TSRMLS_DC) argument
1488 virtual_filepath(const char *path, char **filepath TSRMLS_DC) argument
1494 virtual_fopen(const char *path, const char *mode TSRMLS_DC) argument
1687 virtual_creat(const char *path, mode_t mode TSRMLS_DC) argument
1742 virtual_stat(const char *path, struct stat *buf TSRMLS_DC) argument
1760 virtual_lstat(const char *path, struct stat *buf TSRMLS_DC) argument
1954 tsrm_realpath(const char *path, char *real_path TSRMLS_DC) argument
[all...]
H A Dzend_virtual_cwd.h69 #define COPY_WHEN_ABSOLUTE(path) 2
70 #define IS_UNC_PATH(path, len) \
71 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
72 #define IS_ABSOLUTE_PATH(path, len) \
73 (len >= 2 && ((isalpha(path[0]) && path[1] == ':') || IS_UNC_PATH(path, len)))
85 #define IS_ABSOLUTE_PATH(path, len) \
86 ((strchr(path, '
215 char *path; member in struct:_realpath_cache_bucket
[all...]
/PHP_TRUNK/ext/ftp/
H A Dftp.h151 /* returns a NULL-terminated array of filenames in the given path
155 char** ftp_nlist(ftpbuf_t *ftp, const char *path TSRMLS_DC);
158 * LIST command for the given path or NULL on error. the return
162 char** ftp_list(ftpbuf_t *ftp, const char *path, int recursive TSRMLS_DC);
172 int ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, long resumepos TSRMLS_DC);
177 int ftp_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, long startpos TSRMLS_DC);
180 long ftp_size(ftpbuf_t *ftp, const char *path);
183 time_t ftp_mdtm(ftpbuf_t *ftp, const char *path);
189 int ftp_delete(ftpbuf_t *ftp, const char *path);
197 int ftp_nb_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_
[all...]
/PHP_TRUNK/ext/standard/
H A Dphp_fopen_wrappers.h26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
27 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
/PHP_TRUNK/ext/zip/
H A Dzip_stream.c119 const char *path = stream->orig_path; local
129 fragment = strchr(path, '#');
135 if (strncasecmp("zip://", path, 6) == 0) {
136 path += 6;
144 path_len = strlen(path);
149 memcpy(file_dirname, path, path_len - fragment_len);
152 php_basename((char *)path, path_len - fragment_len, NULL, 0, &file_basename, &file_basename_len TSRMLS_CC);
169 if (path[path_len-1] != '/') {
204 php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC TSRMLS_DC) argument
228 zf = zip_fopen(stream_za, path,
253 php_stream_zip_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
[all...]
/PHP_TRUNK/main/
H A Dfopen_wrappers.h33 PHPAPI int php_check_open_basedir(const char *path TSRMLS_DC);
34 PHPAPI int php_check_open_basedir_ex(const char *path, int warn TSRMLS_DC);
35 PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path TSRMLS_DC);
47 PHPAPI int php_check_safe_mode_include_dir(const char *path TSRMLS_DC);
49 PHPAPI char *php_resolve_path(const char *filename, int filename_len, const char *path TSRMLS_DC);
51 PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, char **opened_path TSRMLS_DC);
53 PHPAPI char *php_strip_url_passwd(char *path);
/PHP_TRUNK/main/streams/
H A Dglob_wrapper.c44 char *path; member in struct:__anon307
54 if (pglob && pglob->path) {
59 return estrndup(pglob->path, pglob->path_len);
61 return pglob->path;
112 static void php_glob_stream_path_split(glob_s_t *pglob, const char *path, int get_path, const char **p_file TSRMLS_DC) /* {{{ */ argument
114 const char *pos, *gpath = path;
116 if ((pos = strrchr(path, '/')) != NULL) {
117 path = pos+1;
120 if ((pos = strrchr(path, '\\')) != NULL) {
121 path
144 const char *path; local
209 php_glob_stream_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
[all...]
H A Dphp_stream_plain_wrapper.h33 PHPAPI php_stream *_php_stream_fopen_with_path(const char *filename, const char *mode, const char *path, char **opened_path, int options STREAMS_DC TSRMLS_DC);
34 #define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filename), (mode), (path), (opened), 0 STREAMS_CC TSRMLS_CC)
54 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, char **opened_path STREAMS_DC TSRMLS_DC);
55 #define php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_file((path), (mode), (options), (opened_path) STREAMS_CC TSRMLS_CC)

Completed in 53 milliseconds

123456