file 577 Zend/zend_exceptions.c zval *file, *tmp; file 583 Zend/zend_exceptions.c file = zend_hash_str_find(ht, "file", sizeof("file")-1); file 584 Zend/zend_exceptions.c if (file) { file 585 Zend/zend_exceptions.c if (Z_TYPE_P(file) != IS_STRING) { file 601 Zend/zend_exceptions.c smart_str_append(str, Z_STR_P(file)); file 727 Zend/zend_exceptions.c zend_string *file = zval_get_string(GET_PROPERTY(exception, "file")); file 756 Zend/zend_exceptions.c ZSTR_VAL(Z_OBJCE_P(exception)->name), ZSTR_VAL(message), ZSTR_VAL(file), line, file 762 Zend/zend_exceptions.c ZSTR_VAL(Z_OBJCE_P(exception)->name), ZSTR_VAL(file), line, file 769 Zend/zend_exceptions.c zend_string_release(file); file 972 Zend/zend_exceptions.c static void zend_error_va(int type, const char *file, uint lineno, const char *format, ...) /* {{{ */ file 977 Zend/zend_exceptions.c zend_error_cb(type, file, lineno, format, args); file 1002 Zend/zend_exceptions.c zend_string *file = zval_get_string(GET_PROPERTY_SILENT(&exception, "file")); file 1005 Zend/zend_exceptions.c zend_error_helper(E_PARSE, ZSTR_VAL(file), line, "%s", ZSTR_VAL(message)); file 1007 Zend/zend_exceptions.c zend_string_release(file); file 1011 Zend/zend_exceptions.c zend_string *str, *file = NULL; file 1030 Zend/zend_exceptions.c file = zval_get_string(GET_PROPERTY_SILENT(&zv, "file")); file 1034 Zend/zend_exceptions.c zend_error_va(E_WARNING, (file && ZSTR_LEN(file) > 0) ? ZSTR_VAL(file) : NULL, line, file 1038 Zend/zend_exceptions.c if (file) { file 1039 Zend/zend_exceptions.c zend_string_release(file); file 1044 Zend/zend_exceptions.c file = zval_get_string(GET_PROPERTY_SILENT(&exception, "file")); file 1047 Zend/zend_exceptions.c zend_error_va(severity, (file && ZSTR_LEN(file) > 0) ? ZSTR_VAL(file) : NULL, line, file 1051 Zend/zend_exceptions.c zend_string_release(file); file 45 Zend/zend_hash.c static void _zend_is_inconsistent(const HashTable *ht, const char *file, int line) file 52 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is being destroyed", file, line, ht); file 55 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is already destroyed", file, line, ht); file 58 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is being cleaned", file, line, ht); file 61 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is inconsistent", file, line, ht); file 62 ext/bz2/bz2.c ZEND_ARG_INFO(0, file) file 393 ext/bz2/bz2.c zval *file; /* The file to open */ file 400 ext/bz2/bz2.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs", &file, &mode, &mode_len) == FAILURE) { file 410 ext/bz2/bz2.c if (Z_TYPE_P(file) == IS_STRING) { file 411 ext/bz2/bz2.c if (Z_STRLEN_P(file) == 0) { file 416 ext/bz2/bz2.c if (CHECK_ZVAL_NULL_PATH(file)) { file 420 ext/bz2/bz2.c stream = php_stream_bz2open(NULL, Z_STRVAL_P(file), mode, REPORT_ERRORS, NULL); file 421 ext/bz2/bz2.c } else if (Z_TYPE_P(file) == IS_RESOURCE) { file 426 ext/bz2/bz2.c php_stream_from_zval(stream, file); file 98 ext/curl/interface.c static void php_curl_ssl_lock(int mode, int n, const char * file, int line) file 54 ext/dba/dba_cdb.c php_stream *file; file 57 ext/dba/dba_cdb.c int file; file 66 ext/dba/dba_cdb.c php_stream* file = 0; file 69 ext/dba/dba_cdb.c int file = 0; file 78 ext/dba/dba_cdb.c file = info->fp; file 80 ext/dba/dba_cdb.c file = VCWD_OPEN(info->path, O_RDONLY); file 81 ext/dba/dba_cdb.c if (file < 0) { file 90 ext/dba/dba_cdb.c file = info->fp; file 107 ext/dba/dba_cdb.c cdb_make_start(&cdb->m, file); file 109 ext/dba/dba_cdb.c cdb_init(&cdb->c, file); file 113 ext/dba/dba_cdb.c cdb_init(&cdb->c, file); file 115 ext/dba/dba_cdb.c cdb->file = file; file 134 ext/dba/dba_cdb.c close(cdb->file); file 222 ext/dba/dba_cdb.c if (cdb_file_read(cdb->file, buf, n) < n) return NULL; \ file 241 ext/dba/dba_cdb.c if (cdb_file_lseek(cdb->file, (off_t)n, SEEK_SET) != (off_t) n) return NULL; \ file 272 ext/dba/dba_cdb.c if (cdb_file_read(cdb->file, key, klen) < klen) { file 304 ext/dba/dba_cdb.c if (cdb_file_read(cdb->file, key, klen) < klen) { file 126 ext/dom/document.c ZEND_ARG_INFO(0, file) file 165 ext/dom/document.c ZEND_ARG_INFO(0, file) file 1571 ext/dom/document.c char *file; file 1574 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Op|l", &id, dom_document_class_entry, &file, &file_len, &options) == FAILURE) { file 1593 ext/dom/document.c bytes = xmlSaveFormatFileEnc(file, docp, NULL, format); file 2117 ext/dom/document.c char *file; file 2120 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Op", &id, dom_document_class_entry, &file, &file_len) == FAILURE) { file 2136 ext/dom/document.c bytes = htmlSaveFileFormat(file, docp, encoding, format); file 1676 ext/dom/node.c char *file = NULL; file 1691 ext/dom/node.c "Os|bba!a!", &id, dom_node_class_entry, &file, &file_len, &exclusive, file 1788 ext/dom/node.c buf = xmlOutputBufferCreateFilename(file, NULL, 0); file 174 ext/enchant/enchant.c const char * const file, file 184 ext/enchant/enchant.c add_assoc_string(&tmp_array, "file", (char *)file); file 198 ext/enchant/enchant.c const char * const file, file 206 ext/enchant/enchant.c add_assoc_string(zdesc, "file", (char *)file); file 304 ext/enchant/enchant.c const char * const file, file 307 ext/enchant/enchant.c php_info_print_table_row(3, name, desc, file); file 1553 ext/exif/exif.c file_section_list file; file 1595 ext/exif/exif.c int count = ImageInfo->file.count; file 1597 ext/exif/exif.c tmp = safe_erealloc(ImageInfo->file.list, (count+1), sizeof(file_section), 0); file 1598 ext/exif/exif.c ImageInfo->file.list = tmp; file 1599 ext/exif/exif.c ImageInfo->file.list[count].type = 0xFFFF; file 1600 ext/exif/exif.c ImageInfo->file.list[count].data = NULL; file 1601 ext/exif/exif.c ImageInfo->file.list[count].size = 0; file 1602 ext/exif/exif.c ImageInfo->file.count = count+1; file 1608 ext/exif/exif.c ImageInfo->file.list[count].type = type; file 1609 ext/exif/exif.c ImageInfo->file.list[count].data = data; file 1610 ext/exif/exif.c ImageInfo->file.list[count].size = size; file 1625 ext/exif/exif.c if (section_index >= ImageInfo->file.count) { file 1629 ext/exif/exif.c tmp = safe_erealloc(ImageInfo->file.list[section_index].data, 1, size, 0); file 1630 ext/exif/exif.c ImageInfo->file.list[section_index].data = tmp; file 1631 ext/exif/exif.c ImageInfo->file.list[section_index].size = size; file 1643 ext/exif/exif.c if (ImageInfo->file.count) { file 1644 ext/exif/exif.c for (i=0; i<ImageInfo->file.count; i++) { file 1645 ext/exif/exif.c EFREE_IF(ImageInfo->file.list[i].data); file 1648 ext/exif/exif.c EFREE_IF(ImageInfo->file.list); file 1649 ext/exif/exif.c ImageInfo->file.count = 0; file 3269 ext/exif/exif.c exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Needing section %d @ 0x%08X", ImageInfo->file.count, fpos); file 3328 ext/exif/exif.c Data = ImageInfo->file.list[sn].data; file 3351 ext/exif/exif.c Data = ImageInfo->file.list[sn].data; file 3528 ext/exif/exif.c php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); file 3529 ext/exif/exif.c num_entries = php_ifd_get16u(ImageInfo->file.list[sn].data, ImageInfo->motorola_intel); file 3538 ext/exif/exif.c php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); file 3540 ext/exif/exif.c next_offset = php_ifd_get32u(ImageInfo->file.list[sn].data + dir_size - 4, ImageInfo->motorola_intel); file 3547 ext/exif/exif.c dir_entry = ImageInfo->file.list[sn].data+2+i*12; file 3614 ext/exif/exif.c if (ImageInfo->FileSize >= dir_offset + ImageInfo->file.list[sn].size) { file 3627 ext/exif/exif.c php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_size); file 3634 ext/exif/exif.c dir_entry = ImageInfo->file.list[sn].data+2+i*12; file 3692 ext/exif/exif.c (char*)(ImageInfo->file.list[sn].data-dir_offset), file 3725 ext/exif/exif.c exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_WARNING, "Error in TIFF: filesize(x%04X) less than size of IFD(x%04X)", ImageInfo->FileSize, dir_offset+ImageInfo->file.list[sn].size); file 168 ext/fileinfo/fileinfo.c ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC) file 287 ext/fileinfo/fileinfo.c char *file = NULL; file 295 ext/fileinfo/fileinfo.c if (zend_parse_parameters_ex(flags, ZEND_NUM_ARGS(), "|lp", &options, &file, &file_len) == FAILURE) { file 312 ext/fileinfo/fileinfo.c file = NULL; file 313 ext/fileinfo/fileinfo.c } else if (file && *file) { /* user specified file, perform open_basedir checks */ file 315 ext/fileinfo/fileinfo.c if (php_check_open_basedir(file)) { file 324 ext/fileinfo/fileinfo.c if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND)) { file 333 ext/fileinfo/fileinfo.c file = resolved_path; file 353 ext/fileinfo/fileinfo.c if (magic_load(finfo->magic, file) == -1) { file 354 ext/fileinfo/fileinfo.c php_error_docref(NULL, E_WARNING, "Failed to load magic database at '%s'.", file); file 500 ext/fileinfo/libmagic/apprentice.c ms->file = "unknown"; file 1033 ext/fileinfo/libmagic/apprentice.c ms->file = fn; file 395 ext/fileinfo/libmagic/file.h const char *file; file 234 ext/fileinfo/libmagic/magic.c unreadable_info(struct magic_set *ms, mode_t md, const char *file) file 236 ext/fileinfo/libmagic/magic.c if (file) { file 238 ext/fileinfo/libmagic/magic.c if (access(file, W_OK) == 0) file 241 ext/fileinfo/libmagic/magic.c if (access(file, X_OK) == 0) file 108 ext/fileinfo/libmagic/softmagic.c const char *file, size_t line) file 114 ext/fileinfo/libmagic/softmagic.c " with `%s'", file, line, m->desc, def); file 219 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, file) file 788 ext/ftp/php_ftp.c char *file; file 792 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrsl|l", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) { file 817 ext/ftp/php_ftp.c if (!ftp_get(ftp, stream, file, xtype, resumepos)) { file 834 ext/ftp/php_ftp.c char *file; file 838 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrsl|l", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) { file 867 ext/ftp/php_ftp.c if ((ret = ftp_nb_get(ftp, stream, file, xtype, resumepos)) == PHP_FTP_FAILED) { file 1305 ext/ftp/php_ftp.c char *file; file 1308 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rp", &z_ftp, &file, &file_len) == FAILURE) { file 1317 ext/ftp/php_ftp.c RETURN_LONG(ftp_size(ftp, file)); file 1327 ext/ftp/php_ftp.c char *file; file 1330 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rp", &z_ftp, &file, &file_len) == FAILURE) { file 1339 ext/ftp/php_ftp.c RETURN_LONG(ftp_mdtm(ftp, file)); file 1376 ext/ftp/php_ftp.c char *file; file 1379 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &file, &file_len) == FAILURE) { file 1388 ext/ftp/php_ftp.c if (!ftp_delete(ftp, file)) { file 1324 ext/gd/gd.c zend_string *file; file 1330 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "P", &file) == FAILURE) { file 1334 ext/gd/gd.c stream = php_stream_open_wrapper(ZSTR_VAL(file), "rb", IGNORE_PATH | IGNORE_URL_WIN | REPORT_ERRORS, NULL); file 2292 ext/gd/gd.c char *file; file 2303 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "pllll", &file, &file_len, &srcx, &srcy, &width, &height) == FAILURE) { file 2311 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &file, &file_len) == FAILURE) { file 2317 ext/gd/gd.c stream = php_stream_open_wrapper(file, "rb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_WIN, NULL); file 2373 ext/gd/gd.c im = gdImageCreateFromXpm(file); file 2399 ext/gd/gd.c php_error_docref(NULL, E_WARNING, "'%s' is not a valid %s file", file, tn); file 2500 ext/gd/gd.c char *file = NULL; file 2513 ext/gd/gd.c if (zend_parse_parameters(argc, "r|pll", &imgind, &file, &file_len, &quality, &type) == FAILURE) { file 2522 ext/gd/gd.c fn = file; file 75 ext/gd/gd_ctx.c char *file = NULL; file 91 ext/gd/gd_ctx.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rp!|ll", &imgind, &file, &file_len, &quality, &basefilter) == FAILURE) { file 137 ext/gd/gd_ctx.c } else if (argc > 1 && file != NULL) { file 138 ext/gd/gd_ctx.c stream = php_stream_open_wrapper(file, "wb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_WIN, NULL); file 189 ext/gd/gd_ctx.c (*func_p)(im, file ? file : "", q, ctx); file 47 ext/gd/libgd/gd_gif_in.c #define ReadOK(file,buffer,len) (gdGetBuf(buffer, len, file) > 0) file 307 ext/imap/php_imap.c ZEND_ARG_INFO(0, file) file 538 ext/interbase/ibase_blobs.c zval *link = NULL, *file; file 550 ext/interbase/ibase_blobs.c (ZEND_NUM_ARGS()-1) ? &link : &file, &file)) { file 556 ext/interbase/ibase_blobs.c php_stream_from_zval(stream, file); file 152 ext/interbase/interbase.c ZEND_ARG_INFO(0, file) file 500 ext/libxml/libxml.c error_copy.file = NULL; file 1024 ext/libxml/libxml.c if (error->file) { file 1025 ext/libxml/libxml.c add_property_string(return_value, "file", error->file); file 1063 ext/libxml/libxml.c if (error->file) { file 1064 ext/libxml/libxml.c add_property_string_ex(&z_error, "file", sizeof("file") - 1, error->file); file 51 ext/mysqlnd/mysqlnd_debug.c unsigned int line, const char * const file, file 112 ext/mysqlnd/mysqlnd_debug.c snprintf(file_buffer, sizeof(file_buffer) - 1, "%14s: ", file); file 146 ext/mysqlnd/mysqlnd_debug.c unsigned int line, const char * const file, file 209 ext/mysqlnd/mysqlnd_debug.c snprintf(file_buffer, sizeof(file_buffer) - 1, "%14s: ", file); file 249 ext/mysqlnd/mysqlnd_debug.c unsigned int line, const char * const file, file 290 ext/mysqlnd/mysqlnd_debug.c self->m->log_va(self, line, file, zend_stack_count(&self->call_stack) - 1, NULL, ">%s", func_name); file 316 ext/mysqlnd/mysqlnd_debug.c MYSQLND_METHOD(mysqlnd_debug, func_leave)(MYSQLND_DEBUG * self, unsigned int line, const char * const file, uint64_t call_time) file 348 ext/mysqlnd/mysqlnd_debug.c self->m->log_va(self, line, file, zend_stack_count(&self->call_stack) - 1, NULL, "<%s", *func_name); file 357 ext/mysqlnd/mysqlnd_debug.c self->m->log_va(self, line, file, zend_stack_count(&self->call_stack) - 1, NULL, "<%s (total=%u own=%u in_calls=%u)", file 33 ext/mysqlnd/mysqlnd_debug.h enum_func_status (*log)(MYSQLND_DEBUG * self, unsigned int line, const char * const file, file 35 ext/mysqlnd/mysqlnd_debug.h enum_func_status (*log_va)(MYSQLND_DEBUG * self, unsigned int line, const char * const file, file 37 ext/mysqlnd/mysqlnd_debug.h zend_bool (*func_enter)(MYSQLND_DEBUG * self, unsigned int line, const char * const file, file 39 ext/mysqlnd/mysqlnd_debug.h enum_func_status (*func_leave)(MYSQLND_DEBUG * self, unsigned int line, const char * const file, uint64_t call_time); file 52 ext/opcache/zend_accelerator_module.c ZEND_ARG_INFO(0, file) file 1009 ext/openssl/openssl.c static int php_openssl_load_rand_file(const char * file, int *egdsocket, int *seeded) /* {{{ */ file 1016 ext/openssl/openssl.c if (file == NULL) { file 1017 ext/openssl/openssl.c file = RAND_file_name(buffer, sizeof(buffer)); file 1019 ext/openssl/openssl.c } else if (RAND_egd(file) > 0) { file 1026 ext/openssl/openssl.c if (file == NULL || !RAND_load_file(file, -1)) { file 1038 ext/openssl/openssl.c static int php_openssl_write_rand_file(const char * file, int egdsocket, int seeded) /* {{{ */ file 1048 ext/openssl/openssl.c if (file == NULL) { file 1049 ext/openssl/openssl.c file = RAND_file_name(buffer, sizeof(buffer)); file 1051 ext/openssl/openssl.c if (file == NULL || !RAND_write_file(file)) { file 38 ext/pdo_firebird/firebird_driver.c void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, zend_long line) /* {{{ */ file 131 ext/pdo_firebird/php_pdo_firebird_int.h void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, zend_long line); file 46 ext/pdo_mysql/mysql_driver.c int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line) file 54 ext/pdo_mysql/mysql_driver.c PDO_DBG_INF_FMT("file=%s line=%d", file, line); file 70 ext/pdo_mysql/mysql_driver.c einfo->file = file; file 97 ext/pdo_mysql/php_pdo_mysql_int.h const char *file; file 154 ext/pdo_mysql/php_pdo_mysql_int.h extern int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line); file 60 ext/pdo_oci/oci_driver.c ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isinit, const char *file, int line) /* {{{ */ file 84 ext/pdo_oci/oci_driver.c einfo->file = file; file 89 ext/pdo_oci/oci_driver.c slprintf(tmp_buf, sizeof(tmp_buf), "%s (%s:%d)", what, file, line); file 99 ext/pdo_oci/oci_driver.c slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line); file 104 ext/pdo_oci/oci_driver.c slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, line); file 108 ext/pdo_oci/oci_driver.c slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NEED_DATA (%s:%d)", what, file, line); file 112 ext/pdo_oci/oci_driver.c slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NO_DATA (%s:%d)", what, file, line); file 116 ext/pdo_oci/oci_driver.c slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_INVALID_HANDLE (%s:%d)", what, file, line); file 120 ext/pdo_oci/oci_driver.c slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_STILL_EXECUTING (%s:%d)", what, file, line); file 124 ext/pdo_oci/oci_driver.c slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_CONTINUE (%s:%d)", what, file, line); file 24 ext/pdo_oci/php_pdo_oci_int.h const char *file; file 90 ext/pdo_oci/php_pdo_oci_int.h ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isinit, const char *file, int line); file 49 ext/pdo_odbc/odbc_driver.c einfo->file, einfo->line); file 59 ext/pdo_odbc/odbc_driver.c void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line) /* {{{ */ file 100 ext/pdo_odbc/odbc_driver.c einfo->file = file; file 210 ext/pdo_odbc/odbc_driver.c H->einfo.file = S->einfo.file; file 124 ext/pdo_odbc/php_pdo_odbc_int.h const char *file, *what; file 170 ext/pdo_odbc/php_pdo_odbc_int.h void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line); file 77 ext/pdo_pgsql/pgsql_driver.c 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) /* {{{ */ file 85 ext/pdo_pgsql/pgsql_driver.c einfo->file = file; file 33 ext/pdo_pgsql/php_pdo_pgsql_int.h const char *file; file 82 ext/pdo_pgsql/php_pdo_pgsql_int.h 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); file 27 ext/pdo_sqlite/php_pdo_sqlite_int.h const char *file; file 73 ext/pdo_sqlite/php_pdo_sqlite_int.h extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line); file 34 ext/pdo_sqlite/sqlite_driver.c int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line) /* {{{ */ file 41 ext/pdo_sqlite/sqlite_driver.c einfo->file = file; file 2509 ext/phar/phar.c php_stream *file, *oldfile, *newfile, *stubfile; file 2759 ext/phar/phar.c file = phar_get_efp(entry, 0); file 2773 ext/phar/phar.c CRC32(newcrc32, php_stream_getc(file)); file 2814 ext/phar/phar.c php_stream_flush(file); file 2826 ext/phar/phar.c if (SUCCESS != php_stream_copy_to_stream_ex(file, entry->cfp, entry->uncompressed_filesize, NULL)) { file 3029 ext/phar/phar.c file = entry->cfp; file 3030 ext/phar/phar.c php_stream_rewind(file); file 3032 ext/phar/phar.c file = phar_get_efp(entry, 0); file 3045 ext/phar/phar.c if (!file) { file 3059 ext/phar/phar.c if (php_stream_copy_to_stream_ex(file, newfile, entry->compressed_filesize, &wrote) == FAILURE) { file 566 ext/phar/phar_internal.h zend_string *phar_find_in_include_path(char *file, int file_len, phar_archive_data **pphar); file 39 ext/phar/phar_object.c static int phar_file_type(HashTable *mimes, char *file, char **mime_type) /* {{{ */ file 43 ext/phar/phar_object.c ext = strrchr(file, '.'); file 177 ext/posix/posix.c ZEND_ARG_INFO(0, file) file 940 ext/soap/soap.c zval *faultcode, *faultstring, *file, *line, trace, rv1, rv2, rv3, rv4; file 952 ext/soap/soap.c file = zend_read_property(soap_fault_class_entry, this_ptr, "file", sizeof("file")-1, 1, &rv3); file 971 ext/soap/soap.c convert_to_string(file); file 976 ext/soap/soap.c Z_STRVAL_P(faultcode), Z_STRVAL_P(faultstring), Z_STRVAL_P(file), Z_LVAL_P(line), file 65 ext/spl/spl_directory.c if (intern->u.file.current_line) { file 66 ext/spl/spl_directory.c efree(intern->u.file.current_line); file 67 ext/spl/spl_directory.c intern->u.file.current_line = NULL; file 69 ext/spl/spl_directory.c if (!Z_ISUNDEF(intern->u.file.current_zval)) { file 70 ext/spl/spl_directory.c zval_ptr_dtor(&intern->u.file.current_zval); file 71 ext/spl/spl_directory.c ZVAL_UNDEF(&intern->u.file.current_zval); file 104 ext/spl/spl_directory.c if (intern->u.file.stream) { file 110 ext/spl/spl_directory.c if (!intern->u.file.stream->is_persistent) { file 111 ext/spl/spl_directory.c php_stream_close(intern->u.file.stream); file 113 ext/spl/spl_directory.c php_stream_pclose(intern->u.file.stream); file 115 ext/spl/spl_directory.c if (intern->u.file.open_mode) { file 116 ext/spl/spl_directory.c efree(intern->u.file.open_mode); file 268 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 274 ext/spl/spl_directory.c intern->u.file.context = php_stream_context_from_zval(intern->u.file.zcontext, 0); file 275 ext/spl/spl_directory.c intern->u.file.stream = php_stream_open_wrapper_ex(intern->file_name, intern->u.file.open_mode, (use_include_path ? USE_PATH : 0) | REPORT_ERRORS, NULL, intern->u.file.context); file 277 ext/spl/spl_directory.c if (!intern->file_name_len || !intern->u.file.stream) { file 282 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 297 ext/spl/spl_directory.c intern->orig_path = estrndup(intern->u.file.stream->orig_path, strlen(intern->u.file.stream->orig_path)); file 300 ext/spl/spl_directory.c intern->u.file.open_mode = estrndup(intern->u.file.open_mode, intern->u.file.open_mode_len); file 303 ext/spl/spl_directory.c ZVAL_RES(&intern->u.file.zresource, intern->u.file.stream->res); file 308 ext/spl/spl_directory.c intern->u.file.delimiter = ','; file 309 ext/spl/spl_directory.c intern->u.file.enclosure = '"'; file 310 ext/spl/spl_directory.c intern->u.file.escape = '\\'; file 312 ext/spl/spl_directory.c intern->u.file.func_getCurr = zend_hash_str_find_ptr(&intern->std.ce->function_table, "getcurrentline", sizeof("getcurrentline") - 1); file 523 ext/spl/spl_directory.c intern->u.file.open_mode = "r"; file 524 ext/spl/spl_directory.c intern->u.file.open_mode_len = 1; file 527 ext/spl/spl_directory.c &intern->u.file.open_mode, &intern->u.file.open_mode_len, file 528 ext/spl/spl_directory.c &use_include_path, &intern->u.file.zcontext) == FAILURE) { file 530 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 636 ext/spl/spl_directory.c ZVAL_STRINGL(&tmp, intern->u.file.open_mode, intern->u.file.open_mode_len); file 640 ext/spl/spl_directory.c stmp[0] = intern->u.file.delimiter; file 645 ext/spl/spl_directory.c stmp[0] = intern->u.file.enclosure; file 2014 ext/spl/spl_directory.c zend_long line_add = (intern->u.file.current_line || !Z_ISUNDEF(intern->u.file.current_zval)) ? 1 : 0; file 2018 ext/spl/spl_directory.c if (php_stream_eof(intern->u.file.stream)) { file 2025 ext/spl/spl_directory.c if (intern->u.file.max_line_len > 0) { file 2026 ext/spl/spl_directory.c buf = safe_emalloc((intern->u.file.max_line_len + 1), sizeof(char), 0); file 2027 ext/spl/spl_directory.c if (php_stream_get_line(intern->u.file.stream, buf, intern->u.file.max_line_len + 1, &line_len) == NULL) { file 2034 ext/spl/spl_directory.c buf = php_stream_get_line(intern->u.file.stream, NULL, 0, &line_len); file 2038 ext/spl/spl_directory.c intern->u.file.current_line = estrdup(""); file 2039 ext/spl/spl_directory.c intern->u.file.current_line_len = 0; file 2046 ext/spl/spl_directory.c intern->u.file.current_line = buf; file 2047 ext/spl/spl_directory.c intern->u.file.current_line_len = line_len; file 2049 ext/spl/spl_directory.c intern->u.file.current_line_num += line_add; file 2058 ext/spl/spl_directory.c zval *zresource_ptr = &intern->u.file.zresource, retval; file 2123 ext/spl/spl_directory.c } while (ret == SUCCESS && !intern->u.file.current_line_len && SPL_HAS_FLAG(intern->flags, SPL_FILE_OBJECT_SKIP_EMPTY)); file 2126 ext/spl/spl_directory.c size_t buf_len = intern->u.file.current_line_len; file 2127 ext/spl/spl_directory.c char *buf = estrndup(intern->u.file.current_line, buf_len); file 2129 ext/spl/spl_directory.c if (!Z_ISUNDEF(intern->u.file.current_zval)) { file 2130 ext/spl/spl_directory.c zval_ptr_dtor(&intern->u.file.current_zval); file 2131 ext/spl/spl_directory.c ZVAL_UNDEF(&intern->u.file.current_zval); file 2134 ext/spl/spl_directory.c php_fgetcsv(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, &intern->u.file.current_zval); file 2137 ext/spl/spl_directory.c value = &intern->u.file.current_zval; file 2151 ext/spl/spl_directory.c if (SPL_HAS_FLAG(intern->flags, SPL_FILE_OBJECT_READ_CSV) || intern->u.file.func_getCurr->common.scope != spl_ce_SplFileObject) { file 2152 ext/spl/spl_directory.c if (php_stream_eof(intern->u.file.stream)) { file 2159 ext/spl/spl_directory.c return spl_filesystem_file_read_csv(intern, intern->u.file.delimiter, intern->u.file.enclosure, intern->u.file.escape, NULL); file 2162 ext/spl/spl_directory.c zend_call_method_with_0_params(this_ptr, Z_OBJCE(EX(This)), &intern->u.file.func_getCurr, "getCurrentLine", &retval); file 2165 ext/spl/spl_directory.c if (intern->u.file.current_line || !Z_ISUNDEF(intern->u.file.current_zval)) { file 2166 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2170 ext/spl/spl_directory.c intern->u.file.current_line = estrndup(Z_STRVAL(retval), Z_STRLEN(retval)); file 2171 ext/spl/spl_directory.c intern->u.file.current_line_len = Z_STRLEN(retval); file 2176 ext/spl/spl_directory.c ZVAL_COPY(&intern->u.file.current_zval, value); file 2190 ext/spl/spl_directory.c if (intern->u.file.current_line) { file 2191 ext/spl/spl_directory.c return intern->u.file.current_line_len == 0; file 2192 ext/spl/spl_directory.c } else if (!Z_ISUNDEF(intern->u.file.current_zval)) { file 2193 ext/spl/spl_directory.c switch(Z_TYPE(intern->u.file.current_zval)) { file 2195 ext/spl/spl_directory.c return Z_STRLEN(intern->u.file.current_zval) == 0; file 2198 ext/spl/spl_directory.c && zend_hash_num_elements(Z_ARRVAL(intern->u.file.current_zval)) == 1) { file 2202 ext/spl/spl_directory.c while (Z_ISUNDEF(Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val)) { file 2205 ext/spl/spl_directory.c first = &Z_ARRVAL(intern->u.file.current_zval)->arData[idx].val; file 2208 ext/spl/spl_directory.c return zend_hash_num_elements(Z_ARRVAL(intern->u.file.current_zval)) == 0; file 2235 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2239 ext/spl/spl_directory.c if (-1 == php_stream_rewind(intern->u.file.stream)) { file 2243 ext/spl/spl_directory.c intern->u.file.current_line_num = 0; file 2261 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 2262 ext/spl/spl_directory.c intern->u.file.open_mode_len = 0; file 2266 ext/spl/spl_directory.c &intern->u.file.open_mode, &intern->u.file.open_mode_len, file 2267 ext/spl/spl_directory.c &use_include_path, &intern->u.file.zcontext) == FAILURE) { file 2268 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 2273 ext/spl/spl_directory.c if (intern->u.file.open_mode == NULL) { file 2274 ext/spl/spl_directory.c intern->u.file.open_mode = "r"; file 2275 ext/spl/spl_directory.c intern->u.file.open_mode_len = 1; file 2281 ext/spl/spl_directory.c tmp_path_len = strlen(intern->u.file.stream->orig_path); file 2283 ext/spl/spl_directory.c if (tmp_path_len > 1 && IS_SLASH_AT(intern->u.file.stream->orig_path, tmp_path_len-1)) { file 2287 ext/spl/spl_directory.c tmp_path = estrndup(intern->u.file.stream->orig_path, tmp_path_len); file 2303 ext/spl/spl_directory.c intern->_path = estrndup(intern->u.file.stream->orig_path, intern->_path_len); file 2333 ext/spl/spl_directory.c intern->u.file.open_mode = "wb"; file 2334 ext/spl/spl_directory.c intern->u.file.open_mode_len = 1; file 2367 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2372 ext/spl/spl_directory.c RETURN_BOOL(php_stream_eof(intern->u.file.stream)); file 2386 ext/spl/spl_directory.c RETURN_BOOL(intern->u.file.current_line || !Z_ISUNDEF(intern->u.file.current_zval)); file 2388 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2391 ext/spl/spl_directory.c RETVAL_BOOL(!php_stream_eof(intern->u.file.stream)); file 2405 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2413 ext/spl/spl_directory.c RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len); file 2426 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2431 ext/spl/spl_directory.c if (!intern->u.file.current_line && Z_ISUNDEF(intern->u.file.current_zval)) { file 2434 ext/spl/spl_directory.c if (intern->u.file.current_line && (!SPL_HAS_FLAG(intern->flags, SPL_FILE_OBJECT_READ_CSV) || Z_ISUNDEF(intern->u.file.current_zval))) { file 2435 ext/spl/spl_directory.c RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len); file 2436 ext/spl/spl_directory.c } else if (!Z_ISUNDEF(intern->u.file.current_zval)) { file 2437 ext/spl/spl_directory.c zval *value = &intern->u.file.current_zval; file 2460 ext/spl/spl_directory.c RETURN_LONG(intern->u.file.current_line_num); file 2477 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2521 ext/spl/spl_directory.c intern->u.file.max_line_len = max_len; file 2534 ext/spl/spl_directory.c RETURN_LONG((zend_long)intern->u.file.max_line_len); file 2572 ext/spl/spl_directory.c char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; file 2578 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2619 ext/spl/spl_directory.c char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; file 2653 ext/spl/spl_directory.c ret = php_fputcsv(intern->u.file.stream, fields, delimiter, enclosure, escape); file 2695 ext/spl/spl_directory.c intern->u.file.delimiter = delimiter; file 2696 ext/spl/spl_directory.c intern->u.file.enclosure = enclosure; file 2697 ext/spl/spl_directory.c intern->u.file.escape = escape; file 2711 ext/spl/spl_directory.c delimiter[0] = intern->u.file.delimiter; file 2713 ext/spl/spl_directory.c enclosure[0] = intern->u.file.enclosure; file 2732 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2737 ext/spl/spl_directory.c RETURN_BOOL(!php_stream_flush(intern->u.file.stream)); file 2747 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2752 ext/spl/spl_directory.c ret = php_stream_tell(intern->u.file.stream); file 2772 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2778 ext/spl/spl_directory.c RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, (int)whence)); file 2789 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2796 ext/spl/spl_directory.c result = php_stream_getc(intern->u.file.stream); file 2802 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2818 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2823 ext/spl/spl_directory.c if (intern->u.file.max_line_len > 0) { file 2824 ext/spl/spl_directory.c ZVAL_LONG(&arg2, intern->u.file.max_line_len); file 2830 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2841 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2846 ext/spl/spl_directory.c RETURN_LONG(php_stream_passthru(intern->u.file.stream)); file 2855 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2861 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2880 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2897 ext/spl/spl_directory.c RETURN_LONG(php_stream_write(intern->u.file.stream, str, str_len)); file 2909 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2920 ext/spl/spl_directory.c Z_STRLEN_P(return_value) = php_stream_read(intern->u.file.stream, Z_STRVAL_P(return_value), length); file 2942 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2947 ext/spl/spl_directory.c if (!php_stream_truncate_supported(intern->u.file.stream)) { file 2952 ext/spl/spl_directory.c RETURN_BOOL(0 == php_stream_truncate_set_size(intern->u.file.stream, size)); file 2965 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2977 ext/spl/spl_directory.c while(intern->u.file.current_line_num < line_pos) { file 102 ext/spl/spl_directory.h } file; file 78201 ext/sqlite3/libsqlite/sqlite3.c SorterFile file; /* Temp file for level-0 PMAs */ file 78946 ext/sqlite3/libsqlite/sqlite3.c if( pTask->file.pFd ){ file 78947 ext/sqlite3/libsqlite/sqlite3.c sqlite3OsCloseFree(pTask->file.pFd); file 79441 ext/sqlite3/libsqlite/sqlite3.c i64 iSz = pList->szPMA + sqlite3VarintLen(pList->szPMA) + pTask->file.iEof; file 79449 ext/sqlite3/libsqlite/sqlite3.c if( pTask->file.pFd==0 ){ file 79450 ext/sqlite3/libsqlite/sqlite3.c rc = vdbeSorterOpenTempFile(db, 0, &pTask->file.pFd); file 79451 ext/sqlite3/libsqlite/sqlite3.c assert( rc!=SQLITE_OK || pTask->file.pFd ); file 79452 ext/sqlite3/libsqlite/sqlite3.c assert( pTask->file.iEof==0 ); file 79458 ext/sqlite3/libsqlite/sqlite3.c vdbeSorterExtendFile(db, pTask->file.pFd, pTask->file.iEof+pList->szPMA+9); file 79470 ext/sqlite3/libsqlite/sqlite3.c vdbePmaWriterInit(pTask->file.pFd, &writer, pTask->pSorter->pgsz, file 79471 ext/sqlite3/libsqlite/sqlite3.c pTask->file.iEof); file 79481 ext/sqlite3/libsqlite/sqlite3.c rc = vdbePmaWriterFinish(&writer, &pTask->file.iEof); file 79486 ext/sqlite3/libsqlite/sqlite3.c assert( rc!=SQLITE_OK || pTask->file.iEof==iSz ); file 80195 ext/sqlite3/libsqlite/sqlite3.c rc = vdbePmaReaderInit(pTask, &pTask->file, iOff, pReadr, &nDummy); file 1441 ext/standard/basic_functions.c ZEND_ARG_INFO(1, file) file 3091 ext/standard/basic_functions.c PHP_FE(file, arginfo_file) file 3629 ext/standard/basic_functions.c BASIC_MINIT_SUBMODULE(file) file 3711 ext/standard/basic_functions.c BASIC_MSHUTDOWN_SUBMODULE(file) file 219 ext/standard/dl.c PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now) file 222 ext/standard/dl.c if (php_load_extension(file, type, start_now) == FAILURE) { file 237 ext/standard/dl.c PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now) file 239 ext/standard/dl.c php_error_docref(NULL, E_WARNING, "Cannot dynamically load %s - dynamic modules are not supported", file); file 27 ext/standard/dl.h PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now); file 171 ext/standard/file.c PHP_MINIT_FUNCTION(file) file 319 ext/standard/file.c PHP_MSHUTDOWN_FUNCTION(file) /* {{{ */ file 705 ext/standard/file.c PHP_FUNCTION(file) file 28 ext/standard/file.h PHP_MINIT_FUNCTION(file); file 29 ext/standard/file.h PHP_MSHUTDOWN_FUNCTION(file); file 58 ext/standard/file.h PHP_FUNCTION(file); file 707 ext/standard/filestat.c FILE *file; file 771 ext/standard/filestat.c file = VCWD_FOPEN(filename, "w"); file 772 ext/standard/filestat.c if (file == NULL) { file 776 ext/standard/filestat.c fclose(file); file 234 ext/standard/head.c const char *file=""; file 242 ext/standard/head.c file = php_output_get_start_filename(); file 251 ext/standard/head.c if (file) { file 252 ext/standard/head.c ZVAL_STRING(arg1, file); file 182 ext/standard/php_fopen_wrapper.c FILE *file = NULL; file 258 ext/standard/php_fopen_wrapper.c file = stdin; file 274 ext/standard/php_fopen_wrapper.c file = stdout; file 290 ext/standard/php_fopen_wrapper.c file = stderr; file 408 ext/standard/php_fopen_wrapper.c if (file) { file 409 ext/standard/php_fopen_wrapper.c stream = php_stream_fopen_from_file(file, mode); file 296 ext/tidy/tidy.c ZEND_ARG_INFO(0, file) file 32 ext/xmlrpc/libxmlrpc/base64.h void *_malloc_real(size_t s, char *file, int line); file 33 ext/xmlrpc/libxmlrpc/base64.h void _free_real(void *p, char *file, int line); file 91 ext/zip/lib/zip_source_filep.c zip_source_filep(zip_t *za, FILE *file, zip_uint64_t start, zip_int64_t len) file 96 ext/zip/lib/zip_source_filep.c return zip_source_filep_create(file, start, len, &za->error); file 101 ext/zip/lib/zip_source_filep.c zip_source_filep_create(FILE *file, zip_uint64_t start, zip_int64_t length, zip_error_t *error) file 103 ext/zip/lib/zip_source_filep.c if (file == NULL || length < -1) { file 108 ext/zip/lib/zip_source_filep.c return _zip_source_file_or_p(NULL, file, start, length, NULL, error); file 113 ext/zip/lib/zip_source_filep.c _zip_source_file_or_p(const char *fname, FILE *file, zip_uint64_t start, zip_int64_t len, const zip_stat_t *st, zip_error_t *error) file 118 ext/zip/lib/zip_source_filep.c if (file == NULL && fname == NULL) { file 136 ext/zip/lib/zip_source_filep.c ctx->f = file; file 135 ext/zip/php_zip.c static int php_zip_extract_file(struct zip * za, char *dest, char *file, int file_len) file 160 ext/zip/php_zip.c virtual_file_ex(&new_state, file, NULL, CWD_EXPAND); file 167 ext/zip/php_zip.c if (path_cleaned_len >= MAXPATHLEN || zip_stat(za, file, 0, &sb) != 0) { file 248 ext/zip/php_zip.c zf = zip_fopen(za, file, 0); file 2669 ext/zip/php_zip.c char *file = (char*)zip_get_name(intern, i, ZIP_FL_UNCHANGED); file 2670 ext/zip/php_zip.c if (!file || !php_zip_extract_file(intern, pathto, file, strlen(file))) { file 1975 main/main.c const wchar_t *file, file 1987 main/main.c if (file) { file 1988 main/main.c len = _snprintf(buf, sizeof(buf)-1, "Invalid parameter detected in CRT function '%ws' (%ws:%u)", function, file, line); file 2607 main/main.c PHPAPI int php_lint_script(zend_file_handle *file) file 2613 main/main.c op_array = zend_compile_file(file, ZEND_INCLUDE); file 2614 main/main.c zend_destroy_file_handle(file); file 45 main/php_main.h PHPAPI int php_lint_script(zend_file_handle *file); file 73 main/php_streams.h #define php_stream_fopen_from_file_rel(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_REL_CC) file 75 main/php_streams.h #define php_stream_fopen_from_pipe_rel(file, mode) _php_stream_fopen_from_pipe((file), (mode) STREAMS_REL_CC) file 377 main/streams/memory.c php_stream *file = php_stream_fopen_temporary_file(ts->tmpdir, "php", NULL); file 378 main/streams/memory.c if (file == NULL) { file 382 main/streams/memory.c php_stream_write(file, membuf, memsize); file 384 main/streams/memory.c ts->innerstream = file; file 476 main/streams/memory.c php_stream *file; file 506 main/streams/memory.c file = php_stream_fopen_tmpfile(); file 507 main/streams/memory.c php_stream_write(file, membuf, memsize); file 511 main/streams/memory.c ts->innerstream = file; file 36 main/streams/php_stream_plain_wrapper.h PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC); file 37 main/streams/php_stream_plain_wrapper.h #define php_stream_fopen_from_file(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_CC) file 42 main/streams/php_stream_plain_wrapper.h PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC); file 43 main/streams/php_stream_plain_wrapper.h #define php_stream_fopen_from_pipe(file, mode) _php_stream_fopen_from_pipe((file), (mode) STREAMS_CC) file 49 main/streams/plain_wrapper.c #define php_stream_fopen_from_file_int(file, mode) _php_stream_fopen_from_file_int((file), (mode) STREAMS_CC) file 50 main/streams/plain_wrapper.c #define php_stream_fopen_from_file_int_rel(file, mode) _php_stream_fopen_from_file_int((file), (mode) STREAMS_REL_CC) file 119 main/streams/plain_wrapper.c FILE *file; file 145 main/streams/plain_wrapper.c #define PHP_STDIOP_GET_FD(anfd, data) anfd = (data)->file ? fileno((data)->file) : (data)->fd file 168 main/streams/plain_wrapper.c self->file = NULL; file 181 main/streams/plain_wrapper.c static php_stream *_php_stream_fopen_from_file_int(FILE *file, const char *mode STREAMS_DC) file 187 main/streams/plain_wrapper.c self->file = file; file 192 main/streams/plain_wrapper.c self->fd = fileno(file); file 277 main/streams/plain_wrapper.c PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC) file 279 main/streams/plain_wrapper.c php_stream *stream = php_stream_fopen_from_file_int_rel(file, mode); file 302 main/streams/plain_wrapper.c stream->position = zend_ftell(file); file 309 main/streams/plain_wrapper.c PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC) file 316 main/streams/plain_wrapper.c self->file = file; file 320 main/streams/plain_wrapper.c self->fd = fileno(file); file 353 main/streams/plain_wrapper.c zend_fseek(data->file, 0, SEEK_CUR); file 358 main/streams/plain_wrapper.c return fwrite(buf, 1, count, data->file); file 412 main/streams/plain_wrapper.c zend_fseek(data->file, 0, SEEK_CUR); file 416 main/streams/plain_wrapper.c ret = fread(buf, 1, count, data->file); file 418 main/streams/plain_wrapper.c stream->eof = feof(data->file); file 447 main/streams/plain_wrapper.c if (data->file) { file 450 main/streams/plain_wrapper.c ret = pclose(data->file); file 458 main/streams/plain_wrapper.c ret = fclose(data->file); file 459 main/streams/plain_wrapper.c data->file = NULL; file 475 main/streams/plain_wrapper.c data->file = NULL; file 495 main/streams/plain_wrapper.c if (data->file) { file 496 main/streams/plain_wrapper.c return fflush(data->file); file 524 main/streams/plain_wrapper.c ret = zend_fseek(data->file, offset, whence); file 525 main/streams/plain_wrapper.c *newoffset = zend_ftell(data->file); file 544 main/streams/plain_wrapper.c if (data->file == NULL) { file 549 main/streams/plain_wrapper.c data->file = fdopen(data->fd, fixed_mode); file 550 main/streams/plain_wrapper.c if (data->file == NULL) { file 555 main/streams/plain_wrapper.c *(FILE**)ret = data->file; file 576 main/streams/plain_wrapper.c if (data->file) { file 577 main/streams/plain_wrapper.c fflush(data->file); file 635 main/streams/plain_wrapper.c if (data->file == NULL) { file 646 main/streams/plain_wrapper.c return setvbuf(data->file, NULL, _IONBF, 0); file 649 main/streams/plain_wrapper.c return setvbuf(data->file, NULL, _IOLBF, size); file 652 main/streams/plain_wrapper.c return setvbuf(data->file, NULL, _IOFBF, size); file 1337 main/streams/plain_wrapper.c FILE *file = VCWD_FOPEN(url, "w"); file 1338 main/streams/plain_wrapper.c if (file == NULL) { file 1342 main/streams/plain_wrapper.c fclose(file); file 1390 sapi/cli/php_cli_server.c const char **file = index_files; file 1394 sapi/cli/php_cli_server.c while (*file) { file 1395 sapi/cli/php_cli_server.c size_t l = strlen(*file); file 1396 sapi/cli/php_cli_server.c memmove(q, *file, l + 1); file 1401 sapi/cli/php_cli_server.c file++; file 1403 sapi/cli/php_cli_server.c if (!*file || is_static_file) { file 331 sapi/phpdbg/phpdbg.c char *file; file 335 sapi/phpdbg/phpdbg.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl", &file, &flen, &line) == FAILURE) { file 339 sapi/phpdbg/phpdbg.c phpdbg_set_breakpoint_file(file, line); file 691 sapi/phpdbg/phpdbg.c ZEND_ARG_INFO(0, file) file 823 sapi/phpdbg/phpdbg.c zend_string *file = zend_string_init(file_char, strlen(file_char), 0); file 824 sapi/phpdbg/phpdbg.c phpdbg_list_file(file, 3, zend_get_executed_lineno() - 1, zend_get_executed_lineno()); file 825 sapi/phpdbg/phpdbg.c zend_string_release(file); file 904 sapi/phpdbg/phpdbg.c FILE *file; file 205 sapi/phpdbg/phpdbg_bp.c conditional->param.file.name, conditional->param.file.line, file 290 sapi/phpdbg/phpdbg_bp.c zend_string *file; file 291 sapi/phpdbg/phpdbg_bp.c ZEND_HASH_FOREACH_STR_KEY(&PHPDBG_G(file_sources), file) { file 294 sapi/phpdbg/phpdbg_bp.c phpdbg_debug("Compare against loaded %s\n", file); file 296 sapi/phpdbg/phpdbg_bp.c if (!(pending = ((fileht = phpdbg_resolve_pending_file_break_ex(ZSTR_VAL(file), ZSTR_LEN(file), path_str, broken)) == NULL))) { file 319 sapi/phpdbg/phpdbg_bp.c PHPDBG_API HashTable *phpdbg_resolve_pending_file_break_ex(const char *file, uint filelen, zend_string *cur, HashTable *fileht) /* {{{ */ file 321 sapi/phpdbg/phpdbg_bp.c phpdbg_debug("file: %s, filelen: %u, cur: %s, curlen %u, pos: %c, memcmp: %d\n", file, filelen, ZSTR_VAL(cur), ZSTR_LEN(cur), filelen > ZSTR_LEN(cur) ? file[filelen - ZSTR_LEN(cur) - 1] : '?', filelen > ZSTR_LEN(cur) ? memcmp(file + filelen - ZSTR_LEN(cur), ZSTR_VAL(cur), ZSTR_LEN(cur)) : 0); file 324 sapi/phpdbg/phpdbg_bp.c # define WIN32_PATH_CHECK file[filelen - ZSTR_LEN(cur) - 1] == '\\' file 329 sapi/phpdbg/phpdbg_bp.c if (((ZSTR_LEN(cur) < filelen && (file[filelen - ZSTR_LEN(cur) - 1] == '/' || WIN32_PATH_CHECK)) || filelen == ZSTR_LEN(cur)) && !memcmp(file + filelen - ZSTR_LEN(cur), ZSTR_VAL(cur), ZSTR_LEN(cur))) { file 335 sapi/phpdbg/phpdbg_bp.c if (!(master = zend_hash_str_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE], file, filelen))) { file 338 sapi/phpdbg/phpdbg_bp.c master = zend_hash_str_add_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_FILE], file, filelen, &new_ht, sizeof(HashTable)); file 343 sapi/phpdbg/phpdbg_bp.c new_brake.filename = estrndup(file, filelen); file 357 sapi/phpdbg/phpdbg_bp.c phpdbg_debug("compiled file: %s, cur bp file: %s\n", file, cur); file 365 sapi/phpdbg/phpdbg_bp.c PHPDBG_API void phpdbg_resolve_pending_file_break(const char *file) /* {{{ */ file 368 sapi/phpdbg/phpdbg_bp.c uint filelen = strlen(file); file 371 sapi/phpdbg/phpdbg_bp.c phpdbg_debug("was compiled: %s\n", file); file 376 sapi/phpdbg/phpdbg_bp.c phpdbg_resolve_pending_file_break_ex(file, filelen, cur, fileht); file 714 sapi/phpdbg/phpdbg_bp.c PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong opline) /* {{{ */ file 722 sapi/phpdbg/phpdbg_bp.c new_break.class_len = strlen(file); file 723 sapi/phpdbg/phpdbg_bp.c new_break.class_name = estrndup(file, new_break.class_len); file 1009 sapi/phpdbg/phpdbg_bp.c if (param->file.line == zend_get_executed_lineno()) { file 1011 sapi/phpdbg/phpdbg_bp.c size_t lengths[2] = {strlen(param->file.name), strlen(str)}; file 1015 sapi/phpdbg/phpdbg_bp.c param->file.name, str, lengths[0]) == SUCCESS); file 1592 sapi/phpdbg/phpdbg_bp.c brake->id, brake->param.file.name, brake->param.file.line, brake->code, file 124 sapi/phpdbg/phpdbg_bp.h PHPDBG_API HashTable *phpdbg_resolve_pending_file_break_ex(const char *file, uint filelen, zend_string *cur, HashTable *fileht); file 125 sapi/phpdbg/phpdbg_bp.h PHPDBG_API void phpdbg_resolve_pending_file_break(const char *file); /* }}} */ file 136 sapi/phpdbg/phpdbg_bp.h PHPDBG_API void phpdbg_set_breakpoint_file_opline(const char *file, zend_ulong opline); file 78 sapi/phpdbg/phpdbg_cmd.c efree(param->file.name); file 115 sapi/phpdbg/phpdbg_cmd.c ZEND_IGNORE_VALUE(asprintf(pointer, "%s:%lu#%lu", param->file.name, param->file.line, param->num)); file 117 sapi/phpdbg/phpdbg_cmd.c ZEND_IGNORE_VALUE(asprintf(pointer, "%s:%lu", param->file.name, param->file.line)); file 168 sapi/phpdbg/phpdbg_cmd.c dest->file.name = estrdup(src->file.name); file 169 sapi/phpdbg/phpdbg_cmd.c dest->file.line = src->file.line; file 213 sapi/phpdbg/phpdbg_cmd.c hash += zend_inline_hash_func(param->file.name, strlen(param->file.name)); file 214 sapi/phpdbg/phpdbg_cmd.c hash += param->file.line; file 276 sapi/phpdbg/phpdbg_cmd.c if (l->file.line == r->file.line) { file 278 sapi/phpdbg/phpdbg_cmd.c strlen(l->file.name), strlen(r->file.name)}; file 283 sapi/phpdbg/phpdbg_cmd.c l->file.name, r->file.name, lengths[0]) == SUCCESS); file 336 sapi/phpdbg/phpdbg_cmd.c fprintf(stderr, "%s NUMERIC_FILE_PARAM(%s:#%lu)\n", msg, param->file.name, param->file.line); file 340 sapi/phpdbg/phpdbg_cmd.c fprintf(stderr, "%s FILE_PARAM(%s:%lu)\n", msg, param->file.name, param->file.line); file 410 sapi/phpdbg/phpdbg_cmd.c if (remove->file.name) { file 411 sapi/phpdbg/phpdbg_cmd.c efree(remove->file.name); file 60 sapi/phpdbg/phpdbg_cmd.h } file; file 75 sapi/phpdbg/phpdbg_cmd.h (v)->file.name = NULL; \ file 76 sapi/phpdbg/phpdbg_cmd.h (v)->file.line = 0; \ file 89 sapi/phpdbg/phpdbg_frame.c zend_string *file = zend_string_init(file_chr, strlen(file_chr), 0); file 90 sapi/phpdbg/phpdbg_frame.c phpdbg_list_file(file, 3, zend_get_executed_lineno() - 1, zend_get_executed_lineno()); file 91 sapi/phpdbg/phpdbg_frame.c efree(file); file 191 sapi/phpdbg/phpdbg_frame.c zval *file = &startfile, *line = &startline; file 219 sapi/phpdbg/phpdbg_frame.c if (file) { /* userland */ file 221 sapi/phpdbg/phpdbg_frame.c phpdbg_xml("<frame %r id=\"%d\" file=\"%s\" line=\"" ZEND_LONG_FMT "\"", i, Z_STRVAL_P(file), Z_LVAL_P(line)); file 223 sapi/phpdbg/phpdbg_frame.c phpdbg_out(" at %s:%ld\n", Z_STRVAL_P(file), Z_LVAL_P(line)); file 232 sapi/phpdbg/phpdbg_frame.c file = zend_hash_str_find(Z_ARRVAL_P(tmp), ZEND_STRL("file")); file 237 sapi/phpdbg/phpdbg_frame.c phpdbg_writeln("frame", "id=\"%d\" symbol=\"{main}\" file=\"%s\" line=\"%d\"", "frame #%d: {main} at %s:%ld", i, Z_STRVAL_P(file), Z_LVAL_P(line)); file 59 sapi/phpdbg/phpdbg_list.c zend_string *file = zend_string_init(char_file, strlen(char_file), 0); file 60 sapi/phpdbg/phpdbg_list.c phpdbg_list_file(file, param->num < 0 ? 1 - param->num : param->num, (param->num < 0 ? param->num : 0) + zend_get_executed_lineno(), 0); file 61 sapi/phpdbg/phpdbg_list.c efree(file); file 65 sapi/phpdbg/phpdbg_list.c zend_string *file = zend_string_init(param->file.name, strlen(param->file.name), 0); file 66 sapi/phpdbg/phpdbg_list.c phpdbg_list_file(file, param->file.line, 0, 0); file 67 sapi/phpdbg/phpdbg_list.c efree(file); file 235 sapi/phpdbg/phpdbg_list.c zend_op_array *phpdbg_compile_file(zend_file_handle *file, int type) { file 239 sapi/phpdbg/phpdbg_list.c char *filename = (char *)(file->opened_path ? ZSTR_VAL(file->opened_path) : file->filename); file 244 sapi/phpdbg/phpdbg_list.c if (zend_stream_fixup(file, &bufptr, &data.len) == FAILURE) { file 262 sapi/phpdbg/phpdbg_list.c fake.opened_path = file->opened_path; file 295 sapi/phpdbg/phpdbg_list.c zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) { file 296 sapi/phpdbg/phpdbg_list.c char *filename = (char *)(file->opened_path ? ZSTR_VAL(file->opened_path) : file->filename); file 305 sapi/phpdbg/phpdbg_list.c op_array = PHPDBG_G(init_compile_file)(file, type); file 90 sapi/phpdbg/phpdbg_parser.y $$.file.name = $2.str; file 91 sapi/phpdbg/phpdbg_parser.y $$.file.line = $3.num; file 95 sapi/phpdbg/phpdbg_parser.y $$.file.name = $1.str; file 96 sapi/phpdbg/phpdbg_parser.y $$.file.line = $4.num; file 100 sapi/phpdbg/phpdbg_parser.y $$.file.name = malloc($1.len + $2.len + 1); file 101 sapi/phpdbg/phpdbg_parser.y if ($$.file.name) { file 102 sapi/phpdbg/phpdbg_parser.y memcpy(&$$.file.name[0], $1.str, $1.len); file 103 sapi/phpdbg/phpdbg_parser.y memcpy(&$$.file.name[$1.len], $2.str, $2.len); file 104 sapi/phpdbg/phpdbg_parser.y $$.file.name[$1.len + $2.len] = '\0'; file 106 sapi/phpdbg/phpdbg_parser.y $$.file.line = $4.num; file 110 sapi/phpdbg/phpdbg_parser.y $$.file.name = malloc($1.len + $2.len + 1); file 111 sapi/phpdbg/phpdbg_parser.y if ($$.file.name) { file 112 sapi/phpdbg/phpdbg_parser.y memcpy(&$$.file.name[0], $1.str, $1.len); file 113 sapi/phpdbg/phpdbg_parser.y memcpy(&$$.file.name[$1.len], $2.str, $2.len); file 114 sapi/phpdbg/phpdbg_parser.y $$.file.name[$1.len + $2.len] = '\0'; file 116 sapi/phpdbg/phpdbg_parser.y $$.file.line = $5.num; file 166 sapi/phpdbg/phpdbg_prompt.c spprintf(&buffered, 0, "%s:%ld", next->file.name, next->file.line); file 171 sapi/phpdbg/phpdbg_prompt.c spprintf(&buffered, 0, "%s:#%ld", next->file.name, next->file.line); file 635 sapi/phpdbg/phpdbg_prompt.c zend_string *msg, *file; file 643 sapi/phpdbg/phpdbg_prompt.c file = zval_get_string(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("file"), 1, &rv)); file 655 sapi/phpdbg/phpdbg_prompt.c phpdbg_error("exception", "name=\"%s\" file=\"%s\" line=\"" ZEND_LONG_FMT "\"", "Uncaught %s in %s on line " ZEND_LONG_FMT, ZSTR_VAL(ex->ce->name), ZSTR_VAL(file), line); file 656 sapi/phpdbg/phpdbg_prompt.c zend_string_release(file); file 976 sapi/phpdbg/phpdbg_prompt.c phpdbg_set_breakpoint_file(param->file.name, param->file.line); file 979 sapi/phpdbg/phpdbg_prompt.c phpdbg_set_breakpoint_file_opline(param->file.name, param->file.line); file 1441 sapi/phpdbg/phpdbg_prompt.c zend_string *file = zend_string_init(file_char, strlen(file_char), 0); \ file 1442 sapi/phpdbg/phpdbg_prompt.c phpdbg_list_file(file, 3, zend_get_executed_lineno()-1, zend_get_executed_lineno()); \ file 1443 sapi/phpdbg/phpdbg_prompt.c efree(file); \ file 1502 sapi/phpdbg/phpdbg_prompt.c zend_string *file, *msg; file 1520 sapi/phpdbg/phpdbg_prompt.c file = zval_get_string(zend_read_property(zend_get_exception_base(&zv), &zv, ZEND_STRL("file"), 1, &rv)); file 1527 sapi/phpdbg/phpdbg_prompt.c ZSTR_VAL(exception->ce->name), ZSTR_VAL(file), line, file 1530 sapi/phpdbg/phpdbg_prompt.c zend_string_release(file); file 162 sapi/phpdbg/phpdbg_utils.c const char *file = zend_get_executed_filename(); file 164 sapi/phpdbg/phpdbg_utils.c if (memcmp(file, "[no active file]", sizeof("[no active file]")) == 0) { file 168 sapi/phpdbg/phpdbg_utils.c return file;