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

123

/PHP_5_5/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_5/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_5/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_5/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_5/ext/fileinfo/libmagic/
H A Dmagic.c9 * notice immediately at the beginning of the file, without modification,
28 #include "file.h"
166 /* First, try to get user-specific magic file */
180 /* Second, try to get a magic file from Common Files */
186 /* Third, try to get magic file relative to dll location */
206 /* Don't put MAGIC constant - it likely points to a file within MSys
234 unreadable_info(struct magic_set *ms, mode_t md, const char *file) argument
237 if (access(file, W_OK) == 0)
240 if (access(file, X_OK) == 0)
244 if (file_printf(ms, "regular file, ")
[all...]
/PHP_5_5/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 |
46 int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC) argument
54 PDO_DBG_INF_FMT("file=%s line=%d", file, line);
70 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:__anon163
150 extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC);
/PHP_5_5/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:__anon168
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_5/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:__anon1
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_5/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:__anon179
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_5/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:__anon185
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_5/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 |
265 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now TSRMLS_DC) argument
268 if (php_load_extension(file, type, start_now TSRMLS_CC) == FAILURE) {
283 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now TSRMLS_DC) argument
285 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 |
223 /* {{{ proto bool headers_sent([string &$file [, int &$line]])
228 const char *file=""; local
236 file = php_output_get_start_filename(TSRMLS_C);
245 if (file) {
246 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...]
/PHP_5_5/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:__anon45
57 int file; member in struct:__anon45
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_5/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 */
173 ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC)
293 char *file = NULL; local
299 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lp", &options, &file, &file_len) == FAILURE) {
315 file = NULL;
316 } else if (file && *file) { /* user specified file, perfor
[all...]
/PHP_5_5/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
1237 char *file; local
1257 char *file; local
1302 char *file; local
[all...]
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd_bt.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 |
156 zval **file, **tmp; local
173 if (zend_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) {
179 s_tmp = emalloc(Z_STRLEN_PP(file) + MAX_LENGTH_OF_LONG + 4 + 1);
180 sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_PP(file), line);
/PHP_5_5/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 |
535 /* {{{ proto string ibase_blob_import([ resource link_identifier, ] resource file)
536 Create blob, copy file in it, and close it */
539 zval *link = NULL, *file; local
551 (ZEND_NUM_ARGS()-1) ? &link : &file, &file)) {
557 php_stream_from_zval(stream, &file);
/PHP_5_5/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)
260 /* remove the file created by php_stream_open_wrapper(), it is not needed since BZ2 functions
365 /* {{{ proto resource bzopen(string|int file|fp, string mode)
369 zval **file; /* The file to open */ local
373 BZFILE *bz; /* The compressed file stream */
376 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs", &file,
[all...]
/PHP_5_5/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 |
80 char *file = NULL; local
96 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rp!|ll", &imgind, &file, &file_len, &quality, &basefilter) == FAILURE) {
148 /* This is a binary file already: avoid EBCDIC->ASCII conversion */
187 (*func_p)(im, file, q, ctx);

Completed in 20 milliseconds

123