| /PHP_5_4/ext/ |
| H A D | ext_skel_win32.php | 21 $path = getenv("PATH"); variable 22 putenv("PATH=$cygwin_path;$path");
|
| /PHP_5_4/ext/zip/ |
| H A D | zip_stream.c | 103 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/sapi/fpm/fpm/ |
| H A D | fpm_php.c | 233 int fpm_php_limit_extensions(char *path) /* {{{ */ argument 238 if (!path || !limit_extensions) { 243 path_len = strlen(path); 247 char *path_ext = path + path_len - ext_len; 256 zlog(ZLOG_NOTICE, "Access to the script '%s' has been denied (see security.limit_extensions)", path);
|
| H A D | fpm_sockets.c | 203 char *path = ((struct sockaddr_un *) sa)->sun_path; local 208 if (0 > chown(path, wp->socket_uid, wp->socket_gid)) {
|
| /PHP_5_4/scripts/dev/ |
| H A D | find_tested.php | 183 $path = $thisdir->path.$file; variable 184 if(is_dir($path) == true) { 185 get_phpt_files($path , $phpt_file_count , $all_phpt); 188 $all_phpt[$phpt_file_count] = $path;
|
| /PHP_5_4/ext/fileinfo/libmagic/ |
| H A D | apptype.c | 49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], local 62 (void)sprintf(path, "%s%s%s%s", drive, 68 if ((fp = fopen(path, "wb")) == NULL) { 69 file_error(ms, errno, "cannot open tmp file `%s'", path); 74 path); 80 rc = DosQueryAppType((unsigned char *)path, &type); 83 unlink(path);
|
| /PHP_5_4/TSRM/ |
| H A D | tsrm_virtual_cwd.h | 69 #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/Zend/ |
| H A D | zend_extensions.c | 27 int zend_load_extension(const char *path) argument 34 handle = DL_LOAD(path); 37 fprintf(stderr, "Failed loading %s: %s\n", path, DL_ERROR()); 43 fprintf(stderr, "Failed loading %s\n", path); 57 fprintf(stderr, "%s doesn't appear to be a valid Zend extension\n", path);
|
| /PHP_5_4/ext/bz2/ |
| H A D | bz2.c | 208 char *path, 218 if (strncasecmp("compress.bzip2://", path, 17) == 0) { 219 path += 17; 226 virtual_filepath_ex(path, &path_copy, NULL TSRMLS_CC); 228 path_copy = path; 245 stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST, opened_path); 207 _php_stream_bz2open(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
|
| /PHP_5_4/ext/dba/ |
| H A D | php_dba.h | 43 char *path; member in struct:dba_info
|
| /PHP_5_4/ext/pcntl/ |
| H A D | pcntl.c | 116 ZEND_ARG_INFO(0, path) 739 /* {{{ proto bool pcntl_exec(string path [, array args [, array envs]]) 754 char *path; local 758 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|aa", &path, &path_len, &args, &envs) == FAILURE) { 768 *argv = path; 779 *argv = path; 817 if (execve(path, argv, envp) == -1) { 827 if (execv(path, argv) == -1) {
|
| /PHP_5_4/ext/posix/ |
| H A D | posix.c | 674 Generate terminal path name (POSIX.1, 4.7.1) */ 836 char *path; local 841 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pl", &path, &path_len, &mode) == FAILURE) { 845 if (php_check_open_basedir_ex(path, 0 TSRMLS_CC)) { 849 result = mkfifo(path, mode); 865 char *path; local 874 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pl|ll", &path, &path_len, 879 if (php_check_open_basedir_ex(path, 0 TSRMLS_CC)) { 901 result = mknod(path, mode, php_dev); 952 char *filename, *path; local [all...] |
| /PHP_5_4/ext/session/ |
| H A D | mod_mm.c | 217 static int ps_mm_initialize(ps_mm *data, const char *path) argument 220 data->mm = mm_create(0, path);
|
| /PHP_5_4/ext/standard/ |
| H A D | dir.c | 240 add_property_stringl(return_value, "path", dirname, dir_len, 1); 249 /* {{{ proto mixed opendir(string path[, resource context]) 359 char path[MAXPATHLEN]; local 367 ret = VCWD_GETCWD(path, MAXPATHLEN); 369 ret = VCWD_GETWD(path); 373 RETURN_STRING(path, 1); 546 List files & directories inside the specified path */
|
| H A D | php_fopen_wrapper.c | 160 php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) /* {{{ */ argument 169 if (!strncasecmp(path, "php://", 6)) { 170 path += 6; 173 if (!strncasecmp(path, "temp", 4)) { 174 path += 4; 176 if (!strncasecmp(path, "/maxmemory:", 11)) { 177 path += 11; 178 max_memory = strtol(path, NULL, 10); 192 if (!strcasecmp(path, "memory")) { 201 if (!strcasecmp(path, "outpu [all...] |
| H A D | url.h | 29 char *path; member in struct:php_url
|
| H A D | head.c | 76 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode, int httponly TSRMLS_DC) argument 104 if (path) { 146 if (path && path_len > 0) { 147 strlcat(cookie, "; path=", len + 100); 148 strlcat(cookie, path, len + 100); 170 /* php_set_cookie(name, value, expires, path, domain, secure) */ 171 /* {{{ proto bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]]) 175 char *name, *value = NULL, *path = NULL, *domain = NULL; local 181 &name_len, &value, &value_len, &expires, &path, 186 if (php_setcookie(name, name_len, value, value_len, expires, path, path_le 198 char *name, *value = NULL, *path = NULL, *domain = NULL; local [all...] |
| /PHP_5_4/ext/zlib/ |
| H A D | zlib_fopen_wrapper.c | 109 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, argument 123 if (strncasecmp("compress.zlib://", path, 16) == 0) { 124 path += 16; 125 } else if (strncasecmp("zlib:", path, 5) == 0) { 126 path += 5; 129 innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context);
|
| /PHP_5_4/main/ |
| H A D | php_open_temporary_file.c | 97 static int php_do_open_temporary_file(const char *path, const char *pfx, char **opened_path_p TSRMLS_DC) argument 112 if (!path || !path[0]) { 130 if (virtual_file_ex(&new_state, path, NULL, CWD_REALPATH TSRMLS_CC)) {
|
| /PHP_5_4/main/streams/ |
| H A D | cast.c | 346 PHPAPI FILE * _php_stream_open_wrapper_as_file(char *path, char *mode, int options, char **opened_path STREAMS_DC TSRMLS_DC) argument 351 stream = php_stream_open_wrapper_rel(path, mode, options|STREAM_WILL_CAST, opened_path);
|
| H A D | glob_wrapper.c | 44 char *path; member in struct:__anon287 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...] |
| /PHP_5_4/sapi/webjames/ |
| H A D | webjames.c | 170 char *path; local 174 path = __unixify(WG(conn)->filename,0,NULL,1024,0); 175 if (path) SG(request_info).path_translated = estrdup(path);
|
| /PHP_5_4/win32/ |
| H A D | winutil.c | 37 int php_win32_check_trailing_space(const char * path, const int path_len) { argument 41 if (path) { 42 if (path[0] == ' ' || path[path_len - 1] == ' ') {
|
| H A D | registry.c | 60 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...] |
| /PHP_5_4/ext/phar/ |
| H A D | dirstream.c | 189 * files in a phar and retrieving its relative path. From this, construct 242 /* the entry has a path separator and is a subdirectory */ 275 save += dirlen + 1; /* seek to just past the path separator */ 322 php_stream *phar_wrapper_open_dir(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) /* {{{ */ argument 334 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) { 335 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar url \"%s\" is unknown", path); 340 if (!resource->scheme || !resource->host || !resource->path) { 341 if (resource->host && !resource->path) { 342 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: no directory in \"%s\", must have at least phar://%s/ for root directory (always use full path to a new phar)", path, resourc [all...] |