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

123

/PHP_5_6/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_6/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_6/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_6/ext/zip/lib/
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 || 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;
168 /* 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...]
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.
80 struct zip_file *zf, **file;
90 file = (struct zip_file **)realloc(za->file,
92 if (file == NULL) {
98 za->file = file;
101 za->file[za->nfile++] = zf;
77 struct zip_file *zf, **file; local
/PHP_5_6/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:__anon46
57 int file; member in struct:__anon46
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_6/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_6/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_6/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:__anon169
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_6/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_6/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:__anon186
73 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line TSRMLS_DC);
/PHP_5_6/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);
/PHP_5_6/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_6/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)
299 char *file = NULL; local
305 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lp", &options, &file, &file_len) == FAILURE) {
321 file = NULL;
322 } else if (file && *file) { /* user specified file, perfor
[all...]
/PHP_5_6/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:__anon1
82 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *msg, const char *file, int line TSRMLS_DC);
/PHP_5_6/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_6/sapi/phpdbg/
H A Dphpdbg_cmd.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 |
60 } file; member in struct:_phpdbg_param
75 (v)->file.name = NULL; \
76 (v)->file.line = 0; \
H A Dphpdbg_frame.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 |
168 zval **file, **line; local
183 user_defined = zend_hash_find(Z_ARRVAL_PP(tmp), "file", sizeof("file"), (void **)&file);
189 phpdbg_write("frame #%d: {main} at %s:%ld", i, Z_STRVAL_PP(file), Z_LVAL_PP(line));
196 phpdbg_writeln(" at %s:%ld", Z_STRVAL_PP(file), Z_LVAL_PP(line));
H A Dphpdbg_utils.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 |
161 const char *file = zend_get_executed_filename(TSRMLS_C); local
163 if (memcmp(file, "[no active file]", sizeof("[no active file]")) == 0) {
167 return file;
/PHP_5_6/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"
62 ZEND_ARG_INFO(0, file)
261 /* 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_6/sapi/phpdbg/tests/
H A Drun-tests.php263 foreach (scandir($path) as $file) {
264 if ($file == '.' || $file == '..')
267 $test = sprintf('%s/%s', $path, $file);
355 * Constructs a new Test object given a specilized phpdbginit file
358 * @param string file
360 public function __construct(TestsConfiguration $config, $file) {
361 if (($handle = fopen($file, 'r'))) {
424 $this->file = $file; variable
546 public $file; variable
[all...]
/PHP_5_6/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 31 milliseconds

123