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

123

/PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/ext/zip/lib/
H A Dzip_source_filep.c5 This file is part of libzip, a library to manipulate ZIP archives.
45 char *fname; /* name of file to copy from */
46 FILE *f; /* file to copy from */
62 zip_source_filep(struct zip *za, FILE *file, zip_uint64_t start, argument
68 if (file == NULL || len < -1) {
73 return _zip_source_file_or_p(za, NULL, file, start, len, 1, NULL);
79 _zip_source_file_or_p(struct zip *za, const char *fname, FILE *file, argument
86 if (file == NULL && fname == NULL) {
104 f->f = file;
164 /* we might share this file wit
[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.
77 struct zip_file *zf, **file; local
87 file = (struct zip_file **)realloc(za->file,
89 if (file == NULL) {
95 za->file = file;
98 za->file[za->nfile++] = zf;
/PHP_TRUNK/ext/pdo_oci/
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:__anon176
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);
/PHP_TRUNK/ext/pdo_odbc/
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:__anon181
170 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line);
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) /* {{{ */ argument
100 einfo->file = file;
210 H->einfo.file = S->einfo.file;
/PHP_TRUNK/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:__anon193
73 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.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 |
102 } file; member in union:_spl_filesystem_object::__anon220
/PHP_TRUNK/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_TRUNK/ext/standard/
H A Dfile.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 |
28 PHP_MINIT_FUNCTION(file); variable
29 PHP_MSHUTDOWN_FUNCTION(file); variable
58 PHP_FUNCTION(file); variable
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 |
219 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now) argument
222 if (php_load_extension(file, type, start_now) == FAILURE) {
237 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now) argument
239 php_error_docref(NULL, 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 |
227 /* {{{ proto bool headers_sent([string &$file [, int &$line]])
232 const char *file=""; local
240 file = php_output_get_start_filename();
249 if (file) {
250 ZVAL_STRING(arg1, file);
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 |
182 FILE *file = NULL; local
225 php_error_docref(NULL, E_WARNING, "URL file-access is disabled in the server configuration");
244 php_error_docref(NULL, E_WARNING, "URL file-access is disabled in the server configuration");
255 file = stdin;
268 file = stdout;
281 file = stderr;
294 php_error_docref(NULL, E_WARNING, "Direct access to file descriptors is only available from command-line PHP");
301 php_error_docref(NULL, E_WARNING, "URL file
[all...]
/PHP_TRUNK/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 |
75 char *file = NULL; local
91 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rp!|ll", &imgind, &file, &file_len, &quality, &basefilter) == FAILURE) {
145 /* This is a binary file already: avoid EBCDIC->ASCII conversion */
184 (*func_p)(im, file, q, ctx);
/PHP_TRUNK/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 |
542 /* {{{ proto string ibase_blob_import([ resource link_identifier, ] resource file)
543 Create blob, copy file in it, and close it */
546 zval *link = NULL, *file; local
559 (ZEND_NUM_ARGS()-1) ? &link : &file, &file)) {
565 php_stream_from_zval(stream, file);
/PHP_TRUNK/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
236 if (file) {
238 if (access(file, W_OK) == 0)
241 if (access(file, X_O
[all...]
/PHP_TRUNK/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_list.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 |
58 zend_string *file = zend_string_init(char_file, strlen(char_file), 0); local
59 phpdbg_list_file(file, param->num < 0 ? 1 - param->num : param->num, (param->num < 0 ? param->num : 0) + zend_get_executed_lineno(), 0);
60 efree(file);
64 zend_string *file = zend_string_init(param->file.name, strlen(param->file.name), 0); local
65 phpdbg_list_file(file, param->file
234 phpdbg_compile_file(zend_file_handle *file, int type) argument
[all...]
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 |
89 zend_string *file = zend_string_init(file_chr, strlen(file_chr), 0); local
90 phpdbg_list_file(file, 3, zend_get_executed_lineno() - 1, zend_get_executed_lineno());
91 efree(file);
187 zval *file = &startfile, *line = &startline; local
215 if (file) { /* userland */
217 phpdbg_xml("<frame %r id=\"%d\" file=\"%s\" line=\"%d\"", i, Z_STRVAL_P(file), Z_LVAL_P(line));
219 phpdbg_out(" at %s:%ld\n", Z_STRVAL_P(file), Z_LVAL_
[all...]
/PHP_TRUNK/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)
634 Sets permissions on a file */
778 Retrieves a file from the FTP server and writes it to an open file */
785 char *file; local
789 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrsl|l", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) {
814 if (!ftp_get(ftp, stream, file, xtyp
831 char *file; local
1302 char *file; local
1324 char *file; local
1373 char *file; local
[all...]
/PHP_TRUNK/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 */
172 ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC)
291 char *file = NULL; local
299 if (zend_parse_parameters_ex(flags, ZEND_NUM_ARGS(), "|lp", &options, &file, &file_len) == FAILURE) {
316 file = NULL;
317 } else if (file && *file) { /* user specified file, perfor
[all...]
/PHP_TRUNK/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);

Completed in 40 milliseconds

123