Searched defs:file (Results 1 - 25 of 53) sorted by relevance

123

/PHP_5_3/ext/pcre/
H A Dupgrade-pcre.php9 echo "more than one '$pattern' file. aborting\n";
15 die("need one '$pattern' file. aborting.\n");
26 die("file type not recognized: $newpcre\n");
36 foreach (scandir($path) as $file) {
38 if ($file[0] === '.' ||
39 $file === 'CVS' || variable
40 @substr_compare($file, '.lo', -3, 3) === 0 ||
41 @substr_compare($file, '.loT', -4, 4) === 0 ||
42 @substr_compare($file, '.o', -2, 2) === 0) continue;
44 $file variable
[all...]
/PHP_5_3/ext/phar/phar/
H A Dphar.php4 /** @file phar.php
35 function command_include($file)
37 $file = 'phar://' . __FILE__ . '/' . $file; variable
38 if (file_exists($file)) {
39 include($file);
/PHP_5_3/ext/zip/lib/
H A Dzip_fopen_index_encrypted.c2 zip_fopen_index_encrypted.c -- open file for reading by index w/ password
5 This file is part of libzip, a library to manipulate ZIP archives.
165 struct zip_file *zf, **file;
175 file = (struct zip_file **)realloc(za->file,
177 if (file == NULL) {
183 za->file = file;
186 za->file[za->nfile++] = zf;
162 struct zip_file *zf, **file; local
H A Dzip_source_filep.c5 This file is part of libzip, a library to manipulate ZIP archives.
46 char *fname; /* name of file to copy from */
47 FILE *f; /* file to copy from */
64 zip_source_filep(struct zip *za, FILE *file, zip_uint64_t start,
70 if (file == NULL || start < 0 || len < -1) {
75 return _zip_source_file_or_p(za, NULL, file, start, len, 1, NULL);
82 _zip_source_file_or_p(struct zip *za, const char *fname, FILE *file,
89 if (file == NULL && fname == NULL) {
107 f->f = file;
165 /* we might share this file wit
62 zip_source_filep(struct zip *za, FILE *file, zip_uint64_t start, zip_int64_t len) argument
79 _zip_source_file_or_p(struct zip *za, const char *fname, FILE *file, zip_uint64_t start, zip_int64_t len, int closep, const struct zip_stat *st) argument
[all...]
/PHP_5_3/scripts/dev/
H A Dcheck_parameters.php8 | This source file is subject to version 3.01 of the PHP license, |
9 | that is bundled with this package in the file LICENSE, and is |
295 foreach (scandir($path) as $file) {
296 if ($file == '.' || $file == '..' || $file == 'CVS') continue;
298 $file = "$path/$file"; variable
299 if (is_dir($file)) {
300 recurse($file);
[all...]
/PHP_5_3/ext/fileinfo/libmagic/
H A Dmagic.c9 * notice immediately at the beginning of the file, without modification,
28 #include "file.h"
160 /* First, try to get user-specific magic file */
174 /* Second, try to get a magic file from Common Files */
180 /* Third, try to get magic file relative to dll location */
200 /* Don't put MAGIC constant - it likely points to a file within MSys
240 ms->file = "unknown";
267 unreadable_info(struct magic_set *ms, mode_t md, const char *file) argument
270 if (access(file, W_OK) == 0)
273 if (access(file, X_O
[all...]
/PHP_5_3/ext/bz2/
H A Dbz2.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
31 #include "ext/standard/file.h"
61 ZEND_ARG_INFO(0, file)
254 /* remove the file created by php_stream_open_wrapper(), it is not needed since BZ2 functions
366 /* {{{ proto resource bzopen(string|int file|fp, string mode)
370 zval **file; /* The file to open */ local
374 BZFILE *bz; /* The compressed file stream */
377 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs", &file,
[all...]
/PHP_5_3/ext/dba/
H A Ddba_cdb.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
54 php_stream *file; member in struct:__anon27
57 int file; member in struct:__anon27
66 php_stream* file = 0; local
69 int file = 0;
78 file = info->fp;
80 file = VCWD_OPEN(info->path, O_RDONLY);
81 if (file < 0) {
82 *error = "Unable to open file";
[all...]
/PHP_5_3/ext/fileinfo/
H A Dfileinfo.c7 | This source file is subject to version 3.0 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
37 #include "ext/standard/file.h" /* needed for context stuff */
174 ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC)
294 char *file = NULL; local
300 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ls", &options, &file, &file_len) == FAILURE) {
316 file = NULL;
317 } else if (file && *file) { /* user specified file, perfor
[all...]
/PHP_5_3/ext/ftp/
H A Dphp_ftp.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
39 #include "ext/standard/file.h"
219 ZEND_ARG_INFO(0, file)
601 Sets permissions on a file */
735 Retrieves a file from the FTP server and writes it to an open file */
742 char *file; local
746 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrsl|l", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) {
769 if (!ftp_get(ftp, stream, file, xtyp
786 char *file; local
1233 char *file; local
1253 char *file; local
1298 char *file; local
[all...]
/PHP_5_3/ext/gd/
H A Dgd_ctx.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
53 char *file = NULL; local
69 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs!|ll", &imgind, &file, &file_len, &quality, &basefilter) == FAILURE) {
77 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!ll", &imgind, &file, &file_len, &quality, &basefilter) == FAILURE) {
94 if (strlen(file) != file_len) {
97 PHP_GD_CHECK_OPEN_BASEDIR(file, "Invalid filename");
99 fp = VCWD_FOPEN(file, "wb");
101 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open '%s' for writing: %s", file, strerror(errno));
118 /* This is a binary file alread
[all...]
/PHP_5_3/ext/interbase/
H A Dibase_blobs.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
537 /* {{{ proto string ibase_blob_import([ resource link_identifier, ] resource file)
538 Create blob, copy file in it, and close it */
541 zval *link = NULL, *file; local
553 (ZEND_NUM_ARGS()-1) ? &link : &file, &file)) {
559 php_stream_from_zval(stream, &file);
/PHP_5_3/ext/pdo_firebird/
H A Dfirebird_driver.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
42 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, long line TSRMLS_DC) /* {{{ */ argument
/PHP_5_3/ext/pdo_mysql/
H A Dmysql_driver.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
57 int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC) argument
65 PDO_DBG_INF_FMT("file=%s line=%d", file, line);
85 einfo->file = file;
H A Dphp_pdo_mysql_int.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
93 const char *file; member in struct:__anon135
152 extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC);
/PHP_5_3/ext/pdo_oci/
H A Doci_driver.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
60 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isinit, const char *file, int line TSRMLS_DC) /* {{{ */ argument
84 einfo->file = file;
89 slprintf(tmp_buf, sizeof(tmp_buf), "%s (%s:%d)", what, file, line);
99 slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line);
104 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, line);
108 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NEED_DATA (%s:%d)", what, file, line);
112 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NO_DATA (%s:%d)", what, file, lin
[all...]
H A Dphp_pdo_oci_int.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
24 const char *file; member in struct:__anon140
89 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isinit, const char *file, int line TSRMLS_DC);
/PHP_5_3/ext/pdo_odbc/
H A Dodbc_driver.c7 | This source file is subject to version 3.0 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
49 einfo->file, einfo->line);
59 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line TSRMLS_DC) /* {{{ */ argument
100 einfo->file = file;
210 H->einfo.file = S->einfo.file;
H A Dphp_pdo_odbc_int.h7 | This source file is subject to version 3.0 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
124 const char *file, *what; member in struct:__anon145
170 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line TSRMLS_DC);
/PHP_5_3/ext/pdo_pgsql/
H A Dphp_pdo_pgsql_int.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
33 const char *file; member in struct:__anon151
86 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *file, int line TSRMLS_DC);
/PHP_5_3/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
27 const char *file; member in struct:__anon157
73 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC);
H A Dsqlite_driver.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
34 int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC) /* {{{ */ argument
41 einfo->file = file;
/PHP_5_3/ext/standard/
H A Ddl.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
263 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now TSRMLS_DC) argument
266 if (php_load_extension(file, type, start_now TSRMLS_CC) == FAILURE) {
281 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now TSRMLS_DC) argument
283 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot dynamically load %s - dynamic modules are not supported", file);
H A Dhead.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
219 /* {{{ proto bool headers_sent([string &$file [, int &$line]])
224 char *file=""; local
232 file = php_get_output_start_filename(TSRMLS_C);
241 if (file) {
242 ZVAL_STRING(arg1, file, 1);
H A Dphp_fopen_wrapper.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
167 FILE *file = NULL; local
208 php_error_docref(NULL TSRMLS_CC, E_WARNING, "URL file-access is disabled in the server configuration");
218 php_error_docref(NULL TSRMLS_CC, E_WARNING, "URL file-access is disabled in the server configuration");
229 file = stdin;
242 file = stdout;
255 file = stderr;
268 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Direct access to file descriptors is only available from command-line PHP");
275 php_error_docref(NULL TSRMLS_CC, E_WARNING, "URL file
[all...]

Completed in 27 milliseconds

123