file 467 Zend/zend_exceptions.c zval **file, **tmp; file 482 Zend/zend_exceptions.c if (zend_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) { file 483 Zend/zend_exceptions.c if (Z_TYPE_PP(file) != IS_STRING) { file 497 Zend/zend_exceptions.c s_tmp = emalloc(Z_STRLEN_PP(file) + MAX_LENGTH_OF_LONG + 4 + 1); file 498 Zend/zend_exceptions.c sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_PP(file), line); file 579 Zend/zend_exceptions.c zval message, file, line, *trace, *exception; file 595 Zend/zend_exceptions.c _default_exception_get_entry(exception, "file", sizeof("file")-1, &file TSRMLS_CC); file 599 Zend/zend_exceptions.c convert_to_string(&file); file 621 Zend/zend_exceptions.c Z_OBJCE_P(exception)->name, Z_STRVAL(message), Z_STRVAL(file), Z_LVAL(line), file 626 Zend/zend_exceptions.c Z_OBJCE_P(exception)->name, Z_STRVAL(file), Z_LVAL(line), file 632 Zend/zend_exceptions.c zval_dtor(&file); file 791 Zend/zend_exceptions.c zend_error_cb(type, file, lineno, format, args); file 801 Zend/zend_exceptions.c zval *str, *file, *line; file 818 Zend/zend_exceptions.c file = zend_read_property(default_exception_ce, EG(exception), "file", sizeof("file")-1, 1 TSRMLS_CC); file 821 Zend/zend_exceptions.c convert_to_string(file); file 822 Zend/zend_exceptions.c file = (Z_STRLEN_P(file) > 0) ? file : NULL; file 825 Zend/zend_exceptions.c file = NULL; file 828 Zend/zend_exceptions.c zend_error_va(E_WARNING, file ? Z_STRVAL_P(file) : NULL, line ? Z_LVAL_P(line) : 0, "Uncaught %s in exception handling during call to %s::__tostring()", Z_OBJCE_P(EG(exception))->name, ce_exception->name); file 832 Zend/zend_exceptions.c file = zend_read_property(default_exception_ce, exception, "file", sizeof("file")-1, 1 TSRMLS_CC); file 836 Zend/zend_exceptions.c convert_to_string(file); file 839 Zend/zend_exceptions.c zend_error_va(severity, (Z_STRLEN_P(file) > 0) ? Z_STRVAL_P(file) : NULL, Z_LVAL_P(line), "Uncaught %s\n thrown", Z_STRVAL_P(str)); file 59 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is being destroyed", file, line, ht); file 62 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is already destroyed", file, line, ht); file 65 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is being cleaned", file, line, ht); file 68 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is inconsistent", file, line, ht); file 1037 Zend/zend_vm_gen.php $in = @file($def); file 1045 Zend/zend_vm_gen.php $skl = @file($skel); file 363 ext/bz2/bz2.c zval **file; /* The file to open */ file 370 ext/bz2/bz2.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs", &file, &mode, &mode_len) == FAILURE) { file 380 ext/bz2/bz2.c if (Z_TYPE_PP(file) == IS_STRING) { file 381 ext/bz2/bz2.c if (Z_STRLEN_PP(file) == 0) { file 386 ext/bz2/bz2.c if (CHECK_ZVAL_NULL_PATH(*file)) { file 391 ext/bz2/bz2.c Z_STRVAL_PP(file), file 395 ext/bz2/bz2.c } else if (Z_TYPE_PP(file) == IS_RESOURCE) { file 400 ext/bz2/bz2.c php_stream_from_zval(stream, file); 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 TSRMLS_CC); file 109 ext/dba/dba_cdb.c cdb_init(&cdb->c, file TSRMLS_CC); 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 TSRMLS_CC) != (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 1751 ext/dom/document.c char *file; file 1754 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|l", &id, dom_document_class_entry, &file, &file_len, &options) == FAILURE) { file 1773 ext/dom/document.c bytes = xmlSaveFormatFileEnc(file, docp, NULL, format); file 2268 ext/dom/document.c char *file; file 2271 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &file, &file_len) == FAILURE) { file 2287 ext/dom/document.c bytes = htmlSaveFileFormat(file, docp, encoding, format); file 1758 ext/dom/node.c char *file = NULL; file 1772 ext/dom/node.c "Os|bba!a!", &id, dom_node_class_entry, &file, &file_len, &exclusive, file 1874 ext/dom/node.c buf = xmlOutputBufferCreateFilename(file, NULL, 0); file 191 ext/enchant/enchant.c add_assoc_string(tmp_array, "file", (char *)file, 1); file 213 ext/enchant/enchant.c add_assoc_string(zdesc, "file", (char *)file, 1); file 310 ext/enchant/enchant.c php_info_print_table_row(3, name, desc, file); file 1569 ext/exif/exif.c file_section_list file; file 1611 ext/exif/exif.c int count = ImageInfo->file.count; file 1613 ext/exif/exif.c tmp = safe_erealloc(ImageInfo->file.list, (count+1), sizeof(file_section), 0); file 1614 ext/exif/exif.c ImageInfo->file.list = tmp; file 1615 ext/exif/exif.c ImageInfo->file.list[count].type = 0xFFFF; file 1616 ext/exif/exif.c ImageInfo->file.list[count].data = NULL; file 1617 ext/exif/exif.c ImageInfo->file.list[count].size = 0; file 1618 ext/exif/exif.c ImageInfo->file.count = count+1; file 1624 ext/exif/exif.c ImageInfo->file.list[count].type = type; file 1625 ext/exif/exif.c ImageInfo->file.list[count].data = data; file 1626 ext/exif/exif.c ImageInfo->file.list[count].size = size; file 1641 ext/exif/exif.c if (section_index >= ImageInfo->file.count) { file 1645 ext/exif/exif.c tmp = safe_erealloc(ImageInfo->file.list[section_index].data, 1, size, 0); file 1646 ext/exif/exif.c ImageInfo->file.list[section_index].data = tmp; file 1647 ext/exif/exif.c ImageInfo->file.list[section_index].size = size; file 1659 ext/exif/exif.c if (ImageInfo->file.count) { file 1660 ext/exif/exif.c for (i=0; i<ImageInfo->file.count; i++) { file 1661 ext/exif/exif.c EFREE_IF(ImageInfo->file.list[i].data); file 1664 ext/exif/exif.c EFREE_IF(ImageInfo->file.list); file 1665 ext/exif/exif.c ImageInfo->file.count = 0; file 3288 ext/exif/exif.c exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Needing section %d @ 0x%08X", ImageInfo->file.count, fpos); file 3347 ext/exif/exif.c Data = ImageInfo->file.list[sn].data; file 3370 ext/exif/exif.c Data = ImageInfo->file.list[sn].data; file 3547 ext/exif/exif.c php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); file 3548 ext/exif/exif.c num_entries = php_ifd_get16u(ImageInfo->file.list[sn].data, ImageInfo->motorola_intel); file 3557 ext/exif/exif.c php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); file 3559 ext/exif/exif.c next_offset = php_ifd_get32u(ImageInfo->file.list[sn].data + dir_size - 4, ImageInfo->motorola_intel); file 3566 ext/exif/exif.c dir_entry = ImageInfo->file.list[sn].data+2+i*12; file 3633 ext/exif/exif.c if (ImageInfo->FileSize >= dir_offset + ImageInfo->file.list[sn].size) { file 3646 ext/exif/exif.c php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_size); file 3653 ext/exif/exif.c dir_entry = ImageInfo->file.list[sn].data+2+i*12; file 3711 ext/exif/exif.c (char*)(ImageInfo->file.list[sn].data-dir_offset), file 3744 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 173 ext/fileinfo/fileinfo.c ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC) file 293 ext/fileinfo/fileinfo.c char *file = NULL; file 299 ext/fileinfo/fileinfo.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lp", &options, &file, &file_len) == FAILURE) { file 315 ext/fileinfo/fileinfo.c file = NULL; file 316 ext/fileinfo/fileinfo.c } else if (file && *file) { /* user specified file, perform open_basedir checks */ file 319 ext/fileinfo/fileinfo.c if ((PG(safe_mode) && (!php_checkuid(file, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(file TSRMLS_CC)) { file 321 ext/fileinfo/fileinfo.c if (php_check_open_basedir(file TSRMLS_CC)) { file 326 ext/fileinfo/fileinfo.c if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND TSRMLS_CC)) { file 330 ext/fileinfo/fileinfo.c file = resolved_path; file 345 ext/fileinfo/fileinfo.c if (magic_load(finfo->magic, file) == -1) { file 346 ext/fileinfo/fileinfo.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to load magic database at '%s'.", file); file 482 ext/fileinfo/libmagic/apprentice.c ms->file = "unknown"; file 948 ext/fileinfo/libmagic/apprentice.c ms->file = fn; file 391 ext/fileinfo/libmagic/file.h const char *file; file 237 ext/fileinfo/libmagic/magic.c if (access(file, W_OK) == 0) file 240 ext/fileinfo/libmagic/magic.c if (access(file, X_OK) == 0) file 742 ext/ftp/php_ftp.c char *file; file 746 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrsl|l", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) { file 769 ext/ftp/php_ftp.c if (!ftp_get(ftp, stream, file, xtype, resumepos TSRMLS_CC)) { file 786 ext/ftp/php_ftp.c char *file; file 790 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrsl|l", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) { file 817 ext/ftp/php_ftp.c if ((ret = ftp_nb_get(ftp, stream, file, xtype, resumepos TSRMLS_CC)) == PHP_FTP_FAILED) { file 1233 ext/ftp/php_ftp.c char *file; file 1236 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rp", &z_ftp, &file, &file_len) == FAILURE) { file 1243 ext/ftp/php_ftp.c RETURN_LONG(ftp_size(ftp, file)); file 1253 ext/ftp/php_ftp.c char *file; file 1256 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rp", &z_ftp, &file, &file_len) == FAILURE) { file 1263 ext/ftp/php_ftp.c RETURN_LONG(ftp_mdtm(ftp, file)); file 1298 ext/ftp/php_ftp.c char *file; file 1301 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_ftp, &file, &file_len) == FAILURE) { file 1308 ext/ftp/php_ftp.c if (!ftp_delete(ftp, file)) { file 1414 ext/gd/gd.c char *file; file 1420 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &file, &file_name) == FAILURE) { file 1424 ext/gd/gd.c stream = php_stream_open_wrapper(file, "rb", IGNORE_PATH | IGNORE_URL_WIN | REPORT_ERRORS, NULL); file 2342 ext/gd/gd.c char *file; file 2351 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sllll", &file, &file_len, &srcx, &srcy, &width, &height) == FAILURE) { file 2359 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &file, &file_len) == FAILURE) { file 2365 ext/gd/gd.c stream = php_stream_open_wrapper(file, "rb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_WIN, NULL); file 2418 ext/gd/gd.c im = gdImageCreateFromXpm(file); file 2444 ext/gd/gd.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' is not a valid %s file", file, tn); file 2545 ext/gd/gd.c char *file = NULL; file 2557 ext/gd/gd.c if (zend_parse_parameters(argc TSRMLS_CC, "r|pll", &imgind, &file, &file_len, &quality, &type) == FAILURE) { file 2564 ext/gd/gd.c fn = file; file 3903 ext/gd/gd.c char *file; file 3909 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &file, &file_len) == FAILURE) { file 3914 ext/gd/gd.c if (VCWD_STAT(file, &st) < 0) { file 3915 ext/gd/gd.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Font file not found (%s)", file); file 3920 ext/gd/gd.c f_ind = T1_AddFont(file); file 80 ext/gd/gd_ctx.c char *file = NULL; file 96 ext/gd/gd_ctx.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rp!|ll", &imgind, &file, &file_len, &quality, &basefilter) == FAILURE) { file 182 ext/gd/gd_ctx.c (*func_p)(im, file, q, ctx); file 47 ext/gd/libgd/gd_gif_in.c #define ReadOK(file,buffer,len) (gdGetBuf(buffer, len, file) > 0) file 541 ext/interbase/ibase_blobs.c zval *link = NULL, *file; file 553 ext/interbase/ibase_blobs.c (ZEND_NUM_ARGS()-1) ? &link : &file, &file)) { file 559 ext/interbase/ibase_blobs.c php_stream_from_zval(stream, &file); file 478 ext/libxml/libxml.c error_copy.file = NULL; file 996 ext/libxml/libxml.c if (error->file) { file 997 ext/libxml/libxml.c add_property_string(return_value, "file", error->file, 1); file 1036 ext/libxml/libxml.c if (error->file) { file 1037 ext/libxml/libxml.c add_property_string(z_error, "file", error->file, 1); file 156 ext/mysqlnd/mysqlnd_bt.c zval **file, **tmp; file 173 ext/mysqlnd/mysqlnd_bt.c if (zend_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) { file 179 ext/mysqlnd/mysqlnd_bt.c s_tmp = emalloc(Z_STRLEN_PP(file) + MAX_LENGTH_OF_LONG + 4 + 1); file 180 ext/mysqlnd/mysqlnd_bt.c sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_PP(file), line); file 58 ext/mysqlnd/mysqlnd_debug.c unsigned int line, const char * const file, file 120 ext/mysqlnd/mysqlnd_debug.c snprintf(file_buffer, sizeof(file_buffer) - 1, "%14s: ", file); file 154 ext/mysqlnd/mysqlnd_debug.c unsigned int line, const char * const file, file 218 ext/mysqlnd/mysqlnd_debug.c snprintf(file_buffer, sizeof(file_buffer) - 1, "%14s: ", file); file 258 ext/mysqlnd/mysqlnd_debug.c unsigned int line, const char * const file, file 299 ext/mysqlnd/mysqlnd_debug.c self->m->log_va(self, line, file, zend_stack_count(&self->call_stack) - 1, NULL, ">%s", func_name); file 325 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 357 ext/mysqlnd/mysqlnd_debug.c self->m->log_va(self, line, file, zend_stack_count(&self->call_stack) - 1, NULL, "<%s", func_name); file 366 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 911 ext/openssl/openssl.c if (file == NULL) { file 912 ext/openssl/openssl.c file = RAND_file_name(buffer, sizeof(buffer)); file 913 ext/openssl/openssl.c } else if (RAND_egd(file) > 0) { file 919 ext/openssl/openssl.c if (file == NULL || !RAND_load_file(file, -1)) { file 942 ext/openssl/openssl.c if (file == NULL) { file 943 ext/openssl/openssl.c file = RAND_file_name(buffer, sizeof(buffer)); file 945 ext/openssl/openssl.c if (file == NULL || !RAND_write_file(file)) { 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 93 ext/pdo_mysql/php_pdo_mysql_int.h const char *file; 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 49 ext/pdo_odbc/odbc_driver.c einfo->file, einfo->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 71 ext/pdo_pgsql/pgsql_driver.c einfo->file = file; file 33 ext/pdo_pgsql/php_pdo_pgsql_int.h const char *file; file 27 ext/pdo_sqlite/php_pdo_sqlite_int.h const char *file; file 41 ext/pdo_sqlite/sqlite_driver.c einfo->file = file; file 31 ext/phar/build_precommand.php $f = file(dirname(__FILE__) . '/phar/' . strtolower($name) . '.inc'); file 2575 ext/phar/phar.c php_stream *file, *oldfile, *newfile, *stubfile; file 2825 ext/phar/phar.c file = phar_get_efp(entry, 0 TSRMLS_CC); file 2839 ext/phar/phar.c CRC32(newcrc32, php_stream_getc(file)); file 2880 ext/phar/phar.c php_stream_flush(file); file 2892 ext/phar/phar.c if (SUCCESS != phar_stream_copy_to_stream(file, entry->cfp, entry->uncompressed_filesize, NULL)) { file 3094 ext/phar/phar.c file = entry->cfp; file 3095 ext/phar/phar.c php_stream_rewind(file); file 3097 ext/phar/phar.c file = phar_get_efp(entry, 0 TSRMLS_CC); file 3110 ext/phar/phar.c if (!file) { file 3124 ext/phar/phar.c if (phar_stream_copy_to_stream(file, newfile, entry->compressed_filesize, &wrote) == FAILURE) { file 43 ext/phar/phar_object.c ext = strrchr(file, '.'); file 650 ext/phar/tests/files/pear2coverage.phar.php $this->source = file($path); file 899 ext/soap/soap.c zval *faultcode, *faultstring, *file, *line, *trace; file 911 ext/soap/soap.c file = zend_read_property(soap_fault_class_entry, this_ptr, "file", sizeof("file")-1, 1 TSRMLS_CC); file 929 ext/soap/soap.c Z_STRVAL_P(faultcode), Z_STRVAL_P(faultstring), Z_STRVAL_P(file), Z_LVAL_P(line), file 292 ext/spl/spl.php $this->file = __FILE__; // of throw clause file 316 ext/spl/spl.php return $this->file; 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 (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 intern->u.file.current_zval = NULL; file 104 ext/spl/spl_directory.c if (intern->u.file.stream) { file 105 ext/spl/spl_directory.c if (intern->u.file.zcontext) { file 108 ext/spl/spl_directory.c if (!intern->u.file.stream->is_persistent) { file 109 ext/spl/spl_directory.c php_stream_free(intern->u.file.stream, PHP_STREAM_FREE_CLOSE); file 111 ext/spl/spl_directory.c php_stream_free(intern->u.file.stream, PHP_STREAM_FREE_CLOSE_PERSISTENT); file 113 ext/spl/spl_directory.c if (intern->u.file.open_mode) { file 114 ext/spl/spl_directory.c efree(intern->u.file.open_mode); file 279 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 285 ext/spl/spl_directory.c intern->u.file.context = php_stream_context_from_zval(intern->u.file.zcontext, 0); file 286 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 288 ext/spl/spl_directory.c if (!intern->file_name_len || !intern->u.file.stream) { file 293 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 297 ext/spl/spl_directory.c if (intern->u.file.zcontext) { file 298 ext/spl/spl_directory.c zend_list_addref(Z_RESVAL_P(intern->u.file.zcontext)); file 305 ext/spl/spl_directory.c intern->orig_path = estrndup(intern->u.file.stream->orig_path, strlen(intern->u.file.stream->orig_path)); file 308 ext/spl/spl_directory.c intern->u.file.open_mode = estrndup(intern->u.file.open_mode, intern->u.file.open_mode_len); file 311 ext/spl/spl_directory.c ZVAL_RESOURCE(&intern->u.file.zresource, php_stream_get_resource_id(intern->u.file.stream)); file 312 ext/spl/spl_directory.c Z_SET_REFCOUNT(intern->u.file.zresource, 1); file 314 ext/spl/spl_directory.c intern->u.file.delimiter = ','; file 315 ext/spl/spl_directory.c intern->u.file.enclosure = '"'; file 316 ext/spl/spl_directory.c intern->u.file.escape = '\\'; file 318 ext/spl/spl_directory.c zend_hash_find(&intern->std.ce->function_table, "getcurrentline", sizeof("getcurrentline"), (void **) &intern->u.file.func_getCurr); file 531 ext/spl/spl_directory.c intern->u.file.open_mode = "r"; file 532 ext/spl/spl_directory.c intern->u.file.open_mode_len = 1; file 535 ext/spl/spl_directory.c &intern->u.file.open_mode, &intern->u.file.open_mode_len, file 536 ext/spl/spl_directory.c &use_include_path, &intern->u.file.zcontext) == FAILURE) { file 538 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 645 ext/spl/spl_directory.c add_assoc_stringl_ex(&zrv, pnstr, pnlen+1, intern->u.file.open_mode, intern->u.file.open_mode_len, 1); file 648 ext/spl/spl_directory.c stmp[0] = intern->u.file.delimiter; file 652 ext/spl/spl_directory.c stmp[0] = intern->u.file.enclosure; file 2054 ext/spl/spl_directory.c long line_add = (intern->u.file.current_line || intern->u.file.current_zval) ? 1 : 0; file 2058 ext/spl/spl_directory.c if (php_stream_eof(intern->u.file.stream)) { file 2065 ext/spl/spl_directory.c if (intern->u.file.max_line_len > 0) { file 2066 ext/spl/spl_directory.c buf = safe_emalloc((intern->u.file.max_line_len + 1), sizeof(char), 0); file 2067 ext/spl/spl_directory.c if (php_stream_get_line(intern->u.file.stream, buf, intern->u.file.max_line_len, &line_len) == NULL) { file 2074 ext/spl/spl_directory.c buf = php_stream_get_line(intern->u.file.stream, NULL, 0, &line_len); file 2078 ext/spl/spl_directory.c intern->u.file.current_line = estrdup(""); file 2079 ext/spl/spl_directory.c intern->u.file.current_line_len = 0; file 2086 ext/spl/spl_directory.c intern->u.file.current_line = buf; file 2087 ext/spl/spl_directory.c intern->u.file.current_line_len = line_len; file 2089 ext/spl/spl_directory.c intern->u.file.current_line_num += line_add; file 2099 ext/spl/spl_directory.c zval * zresource_ptr = &intern->u.file.zresource, *retval; file 2161 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 2164 ext/spl/spl_directory.c size_t buf_len = intern->u.file.current_line_len; file 2165 ext/spl/spl_directory.c char *buf = estrndup(intern->u.file.current_line, buf_len); file 2167 ext/spl/spl_directory.c if (intern->u.file.current_zval) { file 2168 ext/spl/spl_directory.c zval_ptr_dtor(&intern->u.file.current_zval); file 2170 ext/spl/spl_directory.c ALLOC_INIT_ZVAL(intern->u.file.current_zval); file 2172 ext/spl/spl_directory.c php_fgetcsv(intern->u.file.stream, delimiter, enclosure, escape, buf_len, buf, intern->u.file.current_zval TSRMLS_CC); file 2178 ext/spl/spl_directory.c ZVAL_ZVAL(return_value, intern->u.file.current_zval, 1, 0); file 2190 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 2191 ext/spl/spl_directory.c if (php_stream_eof(intern->u.file.stream)) { file 2198 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 TSRMLS_CC); file 2200 ext/spl/spl_directory.c zend_call_method_with_0_params(&this_ptr, Z_OBJCE_P(getThis()), &intern->u.file.func_getCurr, "getCurrentLine", &retval); file 2203 ext/spl/spl_directory.c if (intern->u.file.current_line || intern->u.file.current_zval) { file 2204 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2208 ext/spl/spl_directory.c intern->u.file.current_line = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); file 2209 ext/spl/spl_directory.c intern->u.file.current_line_len = Z_STRLEN_P(retval); file 2211 ext/spl/spl_directory.c MAKE_STD_ZVAL(intern->u.file.current_zval); file 2212 ext/spl/spl_directory.c ZVAL_ZVAL(intern->u.file.current_zval, retval, 1, 0); file 2226 ext/spl/spl_directory.c if (intern->u.file.current_line) { file 2227 ext/spl/spl_directory.c return intern->u.file.current_line_len == 0; file 2228 ext/spl/spl_directory.c } else if (intern->u.file.current_zval) { file 2229 ext/spl/spl_directory.c switch(Z_TYPE_P(intern->u.file.current_zval)) { file 2231 ext/spl/spl_directory.c return Z_STRLEN_P(intern->u.file.current_zval) == 0; file 2234 ext/spl/spl_directory.c && zend_hash_num_elements(Z_ARRVAL_P(intern->u.file.current_zval)) == 1) { file 2235 ext/spl/spl_directory.c zval ** first = Z_ARRVAL_P(intern->u.file.current_zval)->pListHead->pData; file 2239 ext/spl/spl_directory.c return zend_hash_num_elements(Z_ARRVAL_P(intern->u.file.current_zval)) == 0; file 2266 ext/spl/spl_directory.c if (-1 == php_stream_rewind(intern->u.file.stream)) { file 2270 ext/spl/spl_directory.c intern->u.file.current_line_num = 0; file 2290 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 2291 ext/spl/spl_directory.c intern->u.file.open_mode_len = 0; file 2295 ext/spl/spl_directory.c &intern->u.file.open_mode, &intern->u.file.open_mode_len, file 2296 ext/spl/spl_directory.c &use_include_path, &intern->u.file.zcontext) == FAILURE) { file 2297 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 2303 ext/spl/spl_directory.c if (intern->u.file.open_mode == NULL) { file 2304 ext/spl/spl_directory.c intern->u.file.open_mode = "r"; file 2305 ext/spl/spl_directory.c intern->u.file.open_mode_len = 1; file 2309 ext/spl/spl_directory.c tmp_path_len = strlen(intern->u.file.stream->orig_path); file 2311 ext/spl/spl_directory.c if (tmp_path_len > 1 && IS_SLASH_AT(intern->u.file.stream->orig_path, tmp_path_len-1)) { file 2315 ext/spl/spl_directory.c tmp_path = estrndup(intern->u.file.stream->orig_path, tmp_path_len); file 2331 ext/spl/spl_directory.c intern->_path = estrndup(intern->u.file.stream->orig_path, intern->_path_len); file 2364 ext/spl/spl_directory.c intern->u.file.open_mode = "wb"; file 2365 ext/spl/spl_directory.c intern->u.file.open_mode_len = 1; file 2366 ext/spl/spl_directory.c intern->u.file.zcontext = NULL; file 2398 ext/spl/spl_directory.c RETURN_BOOL(php_stream_eof(intern->u.file.stream)); file 2412 ext/spl/spl_directory.c RETURN_BOOL(intern->u.file.current_line || intern->u.file.current_zval); file 2414 ext/spl/spl_directory.c RETVAL_BOOL(!php_stream_eof(intern->u.file.stream)); file 2431 ext/spl/spl_directory.c RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len, 1); file 2444 ext/spl/spl_directory.c if (!intern->u.file.current_line && !intern->u.file.current_zval) { file 2447 ext/spl/spl_directory.c if (intern->u.file.current_line && (!SPL_HAS_FLAG(intern->flags, SPL_FILE_OBJECT_READ_CSV) || !intern->u.file.current_zval)) { file 2448 ext/spl/spl_directory.c RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len, 1); file 2449 ext/spl/spl_directory.c } else if (intern->u.file.current_zval) { file 2450 ext/spl/spl_directory.c RETURN_ZVAL(intern->u.file.current_zval, 1, 0); file 2469 ext/spl/spl_directory.c RETURN_LONG(intern->u.file.current_line_num); file 2486 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2530 ext/spl/spl_directory.c intern->u.file.max_line_len = max_len; file 2543 ext/spl/spl_directory.c RETURN_LONG((long)intern->u.file.max_line_len); file 2581 ext/spl/spl_directory.c char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; file 2622 ext/spl/spl_directory.c char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; file 2648 ext/spl/spl_directory.c ret = php_fputcsv(intern->u.file.stream, fields, delimiter, enclosure, escape TSRMLS_CC); file 2690 ext/spl/spl_directory.c intern->u.file.delimiter = delimiter; file 2691 ext/spl/spl_directory.c intern->u.file.enclosure = enclosure; file 2692 ext/spl/spl_directory.c intern->u.file.escape = escape; file 2706 ext/spl/spl_directory.c delimiter[0] = intern->u.file.delimiter; file 2708 ext/spl/spl_directory.c enclosure[0] = intern->u.file.enclosure; file 2727 ext/spl/spl_directory.c RETURN_BOOL(!php_stream_flush(intern->u.file.stream)); file 2735 ext/spl/spl_directory.c long ret = php_stream_tell(intern->u.file.stream); file 2756 ext/spl/spl_directory.c RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, whence)); file 2769 ext/spl/spl_directory.c result = php_stream_getc(intern->u.file.stream); file 2775 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2792 ext/spl/spl_directory.c if (intern->u.file.max_line_len > 0) { file 2793 ext/spl/spl_directory.c ZVAL_LONG(arg2, intern->u.file.max_line_len); file 2799 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2812 ext/spl/spl_directory.c RETURN_LONG(php_stream_passthru(intern->u.file.stream)); file 2822 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2848 ext/spl/spl_directory.c RETURN_LONG(php_stream_write(intern->u.file.stream, str, str_len)); file 2867 ext/spl/spl_directory.c if (!php_stream_truncate_supported(intern->u.file.stream)) { file 2872 ext/spl/spl_directory.c RETURN_BOOL(0 == php_stream_truncate_set_size(intern->u.file.stream, size)); file 2892 ext/spl/spl_directory.c while(intern->u.file.current_line_num < line_pos) { file 103 ext/spl/spl_directory.h } file; file 3111 ext/standard/basic_functions.c PHP_FE(file, arginfo_file) file 3643 ext/standard/basic_functions.c BASIC_MINIT_SUBMODULE(file) file 3722 ext/standard/basic_functions.c BASIC_MSHUTDOWN_SUBMODULE(file) file 268 ext/standard/dl.c if (php_load_extension(file, type, start_now TSRMLS_CC) == FAILURE) { file 285 ext/standard/dl.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot dynamically load %s - dynamic modules are not supported", file); file 719 ext/standard/filestat.c FILE *file; file 783 ext/standard/filestat.c file = VCWD_FOPEN(filename, "w"); file 784 ext/standard/filestat.c if (file == NULL) { file 788 ext/standard/filestat.c fclose(file); file 228 ext/standard/head.c const char *file=""; file 236 ext/standard/head.c file = php_output_get_start_filename(TSRMLS_C); file 245 ext/standard/head.c if (file) { file 246 ext/standard/head.c ZVAL_STRING(arg1, file, 1); file 167 ext/standard/php_fopen_wrapper.c FILE *file = NULL; file 229 ext/standard/php_fopen_wrapper.c file = stdin; file 242 ext/standard/php_fopen_wrapper.c file = stdout; file 255 ext/standard/php_fopen_wrapper.c file = stderr; file 369 ext/standard/php_fopen_wrapper.c if (file) { file 370 ext/standard/php_fopen_wrapper.c stream = php_stream_fopen_from_file(file, mode); file 51 ext/zip/lib/zip_fclose.c if (zf->za->file[i] == zf) { file 52 ext/zip/lib/zip_fclose.c zf->za->file[i] = zf->za->file[zf->za->nfile-1]; file 162 ext/zip/lib/zip_fopen_index_encrypted.c struct zip_file *zf, **file; file 172 ext/zip/lib/zip_fopen_index_encrypted.c file = (struct zip_file **)realloc(za->file, file 174 ext/zip/lib/zip_fopen_index_encrypted.c if (file == NULL) { file 180 ext/zip/lib/zip_fopen_index_encrypted.c za->file = file; file 183 ext/zip/lib/zip_fopen_index_encrypted.c za->file[za->nfile++] = zf; file 72 ext/zip/lib/zip_free.c if (za->file[i]->error.zip_err == ZIP_ER_OK) { file 73 ext/zip/lib/zip_free.c _zip_error_set(&za->file[i]->error, ZIP_ER_ZIPCLOSED, 0); file 74 ext/zip/lib/zip_free.c za->file[i]->za = NULL; file 78 ext/zip/lib/zip_free.c free(za->file); file 66 ext/zip/lib/zip_new.c za->file = NULL; file 68 ext/zip/lib/zip_source_filep.c if (file == NULL || start < 0 || len < -1) { file 73 ext/zip/lib/zip_source_filep.c return _zip_source_file_or_p(za, NULL, file, start, len, 1, NULL); file 86 ext/zip/lib/zip_source_filep.c if (file == NULL && fname == NULL) { file 104 ext/zip/lib/zip_source_filep.c f->f = file; file 202 ext/zip/lib/zipint.h struct zip_file **file; /* opened files within archive */ file 164 ext/zip/php_zip.c virtual_file_ex(&new_state, file, NULL, CWD_EXPAND TSRMLS_CC); file 171 ext/zip/php_zip.c if (path_cleaned_len >= MAXPATHLEN || zip_stat(za, file, 0, &sb) != 0) { file 177 ext/zip/php_zip.c len = spprintf(&file_dirname_fullpath, 0, "%s/%s", dest, file); file 268 ext/zip/php_zip.c zf = zip_fopen(za, file, 0); file 1706 ext/zip/php_zip.c char *file, *file_stripped, *entry_name; file 1712 ext/zip/php_zip.c file = Z_STRVAL_PP(zval_file); file 2491 ext/zip/php_zip.c char *file = (char*)zip_get_name(intern, i, ZIP_FL_UNCHANGED); file 2492 ext/zip/php_zip.c if (!php_zip_extract_file(intern, pathto, file, strlen(file) TSRMLS_CC)) { file 1970 main/main.c if (file) { file 1971 main/main.c len = _snprintf(buf, sizeof(buf)-1, "Invalid parameter detected in CRT function '%ws' (%ws:%d)", function, file, line); file 2628 main/main.c op_array = zend_compile_file(file, ZEND_INCLUDE TSRMLS_CC); file 2629 main/main.c zend_destroy_file_handle(file TSRMLS_CC); file 372 main/streams/memory.c php_stream *file = php_stream_fopen_tmpfile(); file 373 main/streams/memory.c php_stream_write(file, membuf, memsize); file 375 main/streams/memory.c ts->innerstream = file; file 465 main/streams/memory.c php_stream *file; file 495 main/streams/memory.c file = php_stream_fopen_tmpfile(); file 496 main/streams/memory.c php_stream_write(file, membuf, memsize); file 500 main/streams/memory.c ts->innerstream = file; file 48 main/streams/plain_wrapper.c #define php_stream_fopen_from_file_int(file, mode) _php_stream_fopen_from_file_int((file), (mode) STREAMS_CC TSRMLS_CC) file 49 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 TSRMLS_CC) file 112 main/streams/plain_wrapper.c FILE *file; file 137 main/streams/plain_wrapper.c #define PHP_STDIOP_GET_FD(anfd, data) anfd = (data)->file ? fileno((data)->file) : (data)->fd file 160 main/streams/plain_wrapper.c self->file = NULL; file 176 main/streams/plain_wrapper.c self->file = file; file 181 main/streams/plain_wrapper.c self->fd = fileno(file); file 271 main/streams/plain_wrapper.c php_stream *stream = php_stream_fopen_from_file_int_rel(file, mode); file 294 main/streams/plain_wrapper.c stream->position = ftell(file); file 308 main/streams/plain_wrapper.c self->file = file; file 312 main/streams/plain_wrapper.c self->fd = fileno(file); file 334 main/streams/plain_wrapper.c fseek(data->file, 0, SEEK_CUR); file 339 main/streams/plain_wrapper.c return fwrite(buf, 1, count, data->file); file 365 main/streams/plain_wrapper.c fseek(data->file, 0, SEEK_CUR); file 369 main/streams/plain_wrapper.c ret = fread(buf, 1, count, data->file); file 371 main/streams/plain_wrapper.c stream->eof = feof(data->file); file 400 main/streams/plain_wrapper.c if (data->file) { file 403 main/streams/plain_wrapper.c ret = pclose(data->file); file 411 main/streams/plain_wrapper.c ret = fclose(data->file); file 412 main/streams/plain_wrapper.c data->file = NULL; file 428 main/streams/plain_wrapper.c data->file = NULL; file 448 main/streams/plain_wrapper.c if (data->file) { file 449 main/streams/plain_wrapper.c return fflush(data->file); file 477 main/streams/plain_wrapper.c ret = fseek(data->file, offset, whence); file 478 main/streams/plain_wrapper.c *newoffset = ftell(data->file); file 497 main/streams/plain_wrapper.c if (data->file == NULL) { file 502 main/streams/plain_wrapper.c data->file = fdopen(data->fd, fixed_mode); file 503 main/streams/plain_wrapper.c if (data->file == NULL) { file 508 main/streams/plain_wrapper.c *(FILE**)ret = data->file; file 529 main/streams/plain_wrapper.c if (data->file) { file 530 main/streams/plain_wrapper.c fflush(data->file); file 587 main/streams/plain_wrapper.c if (data->file == NULL) { file 598 main/streams/plain_wrapper.c return setvbuf(data->file, NULL, _IONBF, 0); file 601 main/streams/plain_wrapper.c return setvbuf(data->file, NULL, _IOLBF, size); file 604 main/streams/plain_wrapper.c return setvbuf(data->file, NULL, _IOFBF, size); file 1302 main/streams/plain_wrapper.c FILE *file = VCWD_FOPEN(url, "w"); file 1303 main/streams/plain_wrapper.c if (file == NULL) { file 1307 main/streams/plain_wrapper.c fclose(file); file 538 run-tests.php $test_list = file($argv[++$i]); file 1159 sapi/apache_hooks/php_apache.c char *file; file 1163 sapi/apache_hooks/php_apache.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &file, &file_len) == FAILURE) { file 1168 sapi/apache_hooks/php_apache.c sub_r = ap_sub_req_lookup_uri(file, r); file 1184 sapi/apache_hooks/php_apache.c char *file; file 1188 sapi/apache_hooks/php_apache.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &file, &file_len) == FAILURE) { file 1194 sapi/apache_hooks/php_apache.c sub_r = ap_sub_req_lookup_file(file, r); file 1210 sapi/apache_hooks/php_apache.c char *file, *method; file 1214 sapi/apache_hooks/php_apache.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &method, &method_len, &file, &file_len) == FAILURE) { file 1220 sapi/apache_hooks/php_apache.c sub_r = ap_sub_req_method_uri(method, file, r); file 1488 sapi/cli/php_cli_server.c const char **file = index_files; file 1492 sapi/cli/php_cli_server.c while (*file) { file 1493 sapi/cli/php_cli_server.c size_t l = strlen(*file); file 1494 sapi/cli/php_cli_server.c memmove(q, *file, l + 1); file 1499 sapi/cli/php_cli_server.c file++; file 1501 sapi/cli/php_cli_server.c if (!*file || is_static_file) { file 329 sapi/isapi/stresstest/stresstest.cpp parsestate = file; file 350 sapi/isapi/stresstest/stresstest.cpp case file: file 20 scripts/dev/extern_c.php foreach (file($file) as $nr => $line) { file 24 scripts/dev/generate-phpt/src/gtCodeSnippet.php $lines = file($filename); file 46 scripts/dev/generate-phpt/src/gtCodeSnippet.php $text = file($filename); file 438 win32/build/mkdist.php $stub = file($path_to_phar . '/phar/phar.php');