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

123456

/PHP_5_4/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_5_4/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_5_4/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_5_4/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_5_4/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_5_4/ext/spl/examples/tests/
H A Dexamples.inc5 function __construct($path, $classes)
10 $this->append($path . '/' . strtolower($c) . '.inc');
/PHP_5_4/win32/
H A Dphp_registry.h5 void UpdateIniFromRegistry(char *path TSRMLS_DC);
H A Dregistry.c60 static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_len, HashTable *parent_ht) argument
116 zend_hash_update(directories, path, path_len+1, &ht, sizeof(HashTable*), NULL);
141 memcpy(new_path, path, path_len);
172 void UpdateIniFromRegistry(char *path TSRMLS_DC)
178 if(!path) {
209 orig_path = path = estrdup(path);
212 p = strchr(path, ':');
214 *p = path[0]; /* replace the colon with the drive letter */
215 path
[all...]
H A Dwinutil.h22 int php_win32_check_trailing_space(const char * path, const int path_len);
/PHP_5_4/ext/zip/
H A Dzip_stream.c103 const char *path = stream->orig_path; local
113 fragment = strchr(path, '#');
119 if (strncasecmp("zip://", path, 6) == 0) {
120 path += 6;
128 path_len = strlen(path);
133 memcpy(file_dirname, path, path_len - fragment_len);
136 php_basename((char *)path, path_len - fragment_len, NULL, 0, &file_basename, &file_basename_len TSRMLS_CC);
153 if (path[path_len-1] != '/') {
188 php_stream *php_stream_zip_open(char *filename, char *path, char *mode STREAMS_DC TSRMLS_DC) argument
212 zf = zip_fopen(stream_za, path,
237 php_stream_zip_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
[all...]
/PHP_5_4/ext/standard/
H A Dphp_fopen_wrappers.h26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, 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, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
/PHP_5_4/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_5_4/main/streams/
H A Dglob_wrapper.c44 char *path; member in struct:__anon303
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, char *path, int get_path, char **p_file TSRMLS_DC) /* {{{ */ argument
114 char *pos, *gpath = path;
116 if ((pos = strrchr(path, '/')) != NULL) {
117 path = pos+1;
120 if ((pos = strrchr(path, '\\')) != NULL) {
121 path
144 char *path; local
209 php_glob_stream_opener(php_stream_wrapper *wrapper, char *path, 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(char *filename, char *mode, 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)
/PHP_5_4/TSRM/
H A Dtsrm_virtual_cwd.c284 CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat) /* {{{ */ argument
288 const size_t path_len = strlen(path);
290 if (!GetFileAttributesEx(path, GetFileExInfoStandard, &data)) {
291 return stat(path, buf);
294 if (path_len >= 1 && path[1] == ':') {
295 if (path[0] >= 'A' && path[0] <= 'Z') {
296 buf->st_dev = buf->st_rdev = path[0] - 'A';
298 buf->st_dev = buf->st_rdev = path[0] - 'a';
300 } else if (IS_UNC_PATH(path, path_le
557 realpath_cache_key(const char *path, int path_len TSRMLS_DC) argument
577 realpath_cache_key(const char *path, int path_len) argument
609 realpath_cache_del(const char *path, int path_len TSRMLS_DC) argument
641 realpath_cache_add(const char *path, int path_len, const char *realpath, int realpath_len, int is_dir, time_t t TSRMLS_DC) argument
691 realpath_cache_find(const char *path, int path_len, time_t t TSRMLS_DC) argument
725 realpath_cache_lookup(const char *path, int path_len, time_t t TSRMLS_DC) argument
750 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
1151 virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int use_realpath TSRMLS_DC) argument
1365 virtual_chdir_file(const char *path, int (*p_chdir)(const char *path TSRMLS_DC) TSRMLS_DC) argument
1399 virtual_realpath(const char *path, char *real_path TSRMLS_DC) argument
1445 virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path TSRMLS_DC) argument
1460 virtual_filepath(const char *path, char **filepath TSRMLS_DC) argument
1466 virtual_fopen(const char *path, const char *mode TSRMLS_DC) argument
1658 virtual_creat(const char *path, mode_t mode TSRMLS_DC) argument
1713 virtual_stat(const char *path, struct stat *buf TSRMLS_DC) argument
1731 virtual_lstat(const char *path, struct stat *buf TSRMLS_DC) argument
1925 tsrm_realpath(const char *path, char *real_path TSRMLS_DC) argument
[all...]
H A Dtsrm_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, '
213 char *path; member in struct:_realpath_cache_bucket
[all...]
/PHP_5_4/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...]

Completed in 48 milliseconds

123456