file 522 Zend/zend_exceptions.c zval **file, **tmp; file 537 Zend/zend_exceptions.c if (zend_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) { file 538 Zend/zend_exceptions.c if (Z_TYPE_PP(file) != IS_STRING) { file 552 Zend/zend_exceptions.c s_tmp = emalloc(Z_STRLEN_PP(file) + MAX_LENGTH_OF_LONG + 4 + 1); file 553 Zend/zend_exceptions.c sprintf(s_tmp, "%s(%ld): ", Z_STRVAL_PP(file), line); file 638 Zend/zend_exceptions.c zval message, file, line, *trace, *exception; file 654 Zend/zend_exceptions.c _default_exception_get_entry(exception, "file", sizeof("file")-1, &file TSRMLS_CC); file 658 Zend/zend_exceptions.c convert_to_string(&file); file 680 Zend/zend_exceptions.c Z_OBJCE_P(exception)->name, Z_STRVAL(message), Z_STRVAL(file), Z_LVAL(line), file 685 Zend/zend_exceptions.c Z_OBJCE_P(exception)->name, Z_STRVAL(file), Z_LVAL(line), file 691 Zend/zend_exceptions.c zval_dtor(&file); file 850 Zend/zend_exceptions.c zend_error_cb(type, file, lineno, format, args); file 860 Zend/zend_exceptions.c zval *str, *file, *line; file 877 Zend/zend_exceptions.c file = zend_read_property(default_exception_ce, EG(exception), "file", sizeof("file")-1, 1 TSRMLS_CC); file 880 Zend/zend_exceptions.c convert_to_string(file); file 881 Zend/zend_exceptions.c file = (Z_STRLEN_P(file) > 0) ? file : NULL; file 884 Zend/zend_exceptions.c file = NULL; file 887 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 891 Zend/zend_exceptions.c file = zend_read_property(default_exception_ce, exception, "file", sizeof("file")-1, 1 TSRMLS_CC); file 895 Zend/zend_exceptions.c convert_to_string(file); file 898 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 65 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is being destroyed", file, line, ht); file 68 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is already destroyed", file, line, ht); file 71 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is being cleaned", file, line, ht); file 74 Zend/zend_hash.c zend_output_debug_string(1, "%s(%d) : ht=%p is inconsistent", file, line, ht); file 1064 Zend/zend_vm_gen.php $in = @file($def); file 1072 Zend/zend_vm_gen.php $skl = @file($skel); file 370 ext/bz2/bz2.c zval **file; /* The file to open */ file 377 ext/bz2/bz2.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs", &file, &mode, &mode_len) == FAILURE) { file 387 ext/bz2/bz2.c if (Z_TYPE_PP(file) == IS_STRING) { file 388 ext/bz2/bz2.c if (Z_STRLEN_PP(file) == 0) { file 393 ext/bz2/bz2.c if (CHECK_ZVAL_NULL_PATH(*file)) { file 398 ext/bz2/bz2.c Z_STRVAL_PP(file), file 402 ext/bz2/bz2.c } else if (Z_TYPE_PP(file) == IS_RESOURCE) { file 407 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 1700 ext/dom/document.c char *file; file 1703 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Op|l", &id, dom_document_class_entry, &file, &file_len, &options) == FAILURE) { file 1722 ext/dom/document.c bytes = xmlSaveFormatFileEnc(file, docp, NULL, format); file 2229 ext/dom/document.c char *file; file 2232 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Op", &id, dom_document_class_entry, &file, &file_len) == FAILURE) { file 2248 ext/dom/document.c bytes = htmlSaveFileFormat(file, docp, encoding, format); file 1761 ext/dom/node.c char *file = NULL; file 1775 ext/dom/node.c "Os|bba!a!", &id, dom_node_class_entry, &file, &file_len, &exclusive, file 1877 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 1559 ext/exif/exif.c file_section_list file; file 1601 ext/exif/exif.c int count = ImageInfo->file.count; file 1603 ext/exif/exif.c tmp = safe_erealloc(ImageInfo->file.list, (count+1), sizeof(file_section), 0); file 1604 ext/exif/exif.c ImageInfo->file.list = tmp; file 1605 ext/exif/exif.c ImageInfo->file.list[count].type = 0xFFFF; file 1606 ext/exif/exif.c ImageInfo->file.list[count].data = NULL; file 1607 ext/exif/exif.c ImageInfo->file.list[count].size = 0; file 1608 ext/exif/exif.c ImageInfo->file.count = count+1; file 1614 ext/exif/exif.c ImageInfo->file.list[count].type = type; file 1615 ext/exif/exif.c ImageInfo->file.list[count].data = data; file 1616 ext/exif/exif.c ImageInfo->file.list[count].size = size; file 1631 ext/exif/exif.c if (section_index >= ImageInfo->file.count) { file 1635 ext/exif/exif.c tmp = safe_erealloc(ImageInfo->file.list[section_index].data, 1, size, 0); file 1636 ext/exif/exif.c ImageInfo->file.list[section_index].data = tmp; file 1637 ext/exif/exif.c ImageInfo->file.list[section_index].size = size; file 1649 ext/exif/exif.c if (ImageInfo->file.count) { file 1650 ext/exif/exif.c for (i=0; i<ImageInfo->file.count; i++) { file 1651 ext/exif/exif.c EFREE_IF(ImageInfo->file.list[i].data); file 1654 ext/exif/exif.c EFREE_IF(ImageInfo->file.list); file 1655 ext/exif/exif.c ImageInfo->file.count = 0; file 3278 ext/exif/exif.c exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Needing section %d @ 0x%08X", ImageInfo->file.count, fpos); file 3337 ext/exif/exif.c Data = ImageInfo->file.list[sn].data; file 3360 ext/exif/exif.c Data = ImageInfo->file.list[sn].data; file 3537 ext/exif/exif.c php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); file 3538 ext/exif/exif.c num_entries = php_ifd_get16u(ImageInfo->file.list[sn].data, ImageInfo->motorola_intel); file 3547 ext/exif/exif.c php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); file 3549 ext/exif/exif.c next_offset = php_ifd_get32u(ImageInfo->file.list[sn].data + dir_size - 4, ImageInfo->motorola_intel); file 3556 ext/exif/exif.c dir_entry = ImageInfo->file.list[sn].data+2+i*12; file 3623 ext/exif/exif.c if (ImageInfo->FileSize >= dir_offset + ImageInfo->file.list[sn].size) { file 3636 ext/exif/exif.c php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_size); file 3643 ext/exif/exif.c dir_entry = ImageInfo->file.list[sn].data+2+i*12; file 3701 ext/exif/exif.c (char*)(ImageInfo->file.list[sn].data-dir_offset), file 3734 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 299 ext/fileinfo/fileinfo.c char *file = NULL; file 305 ext/fileinfo/fileinfo.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lp", &options, &file, &file_len) == FAILURE) { file 321 ext/fileinfo/fileinfo.c file = NULL; file 322 ext/fileinfo/fileinfo.c } else if (file && *file) { /* user specified file, perform open_basedir checks */ file 324 ext/fileinfo/fileinfo.c if (php_check_open_basedir(file TSRMLS_CC)) { file 328 ext/fileinfo/fileinfo.c if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND TSRMLS_CC)) { file 332 ext/fileinfo/fileinfo.c file = resolved_path; file 347 ext/fileinfo/fileinfo.c if (magic_load(finfo->magic, file) == -1) { file 348 ext/fileinfo/fileinfo.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to load magic database at '%s'.", file); file 488 ext/fileinfo/libmagic/apprentice.c ms->file = "unknown"; file 965 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 1237 ext/ftp/php_ftp.c char *file; file 1240 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rp", &z_ftp, &file, &file_len) == FAILURE) { file 1247 ext/ftp/php_ftp.c RETURN_LONG(ftp_size(ftp, file)); file 1257 ext/ftp/php_ftp.c char *file; file 1260 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rp", &z_ftp, &file, &file_len) == FAILURE) { file 1267 ext/ftp/php_ftp.c RETURN_LONG(ftp_mdtm(ftp, file)); file 1302 ext/ftp/php_ftp.c char *file; file 1305 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_ftp, &file, &file_len) == FAILURE) { file 1312 ext/ftp/php_ftp.c if (!ftp_delete(ftp, file)) { file 1429 ext/gd/gd.c char *file; file 1435 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &file, &file_name) == FAILURE) { file 1439 ext/gd/gd.c stream = php_stream_open_wrapper(file, "rb", IGNORE_PATH | IGNORE_URL_WIN | REPORT_ERRORS, NULL); file 2363 ext/gd/gd.c char *file; file 2372 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pllll", &file, &file_len, &srcx, &srcy, &width, &height) == FAILURE) { file 2380 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &file, &file_len) == FAILURE) { file 2386 ext/gd/gd.c stream = php_stream_open_wrapper(file, "rb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_WIN, NULL); file 2439 ext/gd/gd.c im = gdImageCreateFromXpm(file); file 2465 ext/gd/gd.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "'%s' is not a valid %s file", file, tn); file 2566 ext/gd/gd.c char *file = NULL; file 2578 ext/gd/gd.c if (zend_parse_parameters(argc TSRMLS_CC, "r|pll", &imgind, &file, &file_len, &quality, &type) == FAILURE) { file 2585 ext/gd/gd.c fn = file; file 3937 ext/gd/gd.c char *file; file 3943 ext/gd/gd.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &file, &file_len) == FAILURE) { file 3948 ext/gd/gd.c if (VCWD_STAT(file, &st) < 0) { file 3949 ext/gd/gd.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Font file not found (%s)", file); file 3954 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 187 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 539 ext/interbase/ibase_blobs.c zval *link = NULL, *file; file 551 ext/interbase/ibase_blobs.c (ZEND_NUM_ARGS()-1) ? &link : &file, &file)) { file 557 ext/interbase/ibase_blobs.c php_stream_from_zval(stream, &file); file 494 ext/libxml/libxml.c error_copy.file = NULL; file 1018 ext/libxml/libxml.c if (error->file) { file 1019 ext/libxml/libxml.c add_property_string(return_value, "file", error->file, 1); file 1058 ext/libxml/libxml.c if (error->file) { file 1059 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 976 ext/openssl/openssl.c if (file == NULL) { file 977 ext/openssl/openssl.c file = RAND_file_name(buffer, sizeof(buffer)); file 979 ext/openssl/openssl.c } else if (RAND_egd(file) > 0) { file 986 ext/openssl/openssl.c if (file == NULL || !RAND_load_file(file, -1)) { file 1009 ext/openssl/openssl.c if (file == NULL) { file 1010 ext/openssl/openssl.c file = RAND_file_name(buffer, sizeof(buffer)); file 1012 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 85 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 2555 ext/phar/phar.c php_stream *file, *oldfile, *newfile, *stubfile; file 2805 ext/phar/phar.c file = phar_get_efp(entry, 0 TSRMLS_CC); file 2819 ext/phar/phar.c CRC32(newcrc32, php_stream_getc(file)); file 2860 ext/phar/phar.c php_stream_flush(file); file 2872 ext/phar/phar.c if (SUCCESS != php_stream_copy_to_stream_ex(file, entry->cfp, entry->uncompressed_filesize, NULL)) { file 3074 ext/phar/phar.c file = entry->cfp; file 3075 ext/phar/phar.c php_stream_rewind(file); file 3077 ext/phar/phar.c file = phar_get_efp(entry, 0 TSRMLS_CC); file 3090 ext/phar/phar.c if (!file) { file 3104 ext/phar/phar.c if (php_stream_copy_to_stream_ex(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 906 ext/soap/soap.c zval *faultcode, *faultstring, *file, *line, *trace; file 918 ext/soap/soap.c file = zend_read_property(soap_fault_class_entry, this_ptr, "file", sizeof("file")-1, 1 TSRMLS_CC); file 937 ext/soap/soap.c convert_to_string(file); file 942 ext/soap/soap.c Z_STRVAL_P(faultcode), Z_STRVAL_P(faultstring), Z_STRVAL_P(file), Z_LVAL_P(line), file 289 ext/spl/spl.php $this->file = __FILE__; // of throw clause file 313 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 282 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 288 ext/spl/spl_directory.c intern->u.file.context = php_stream_context_from_zval(intern->u.file.zcontext, 0); file 289 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 291 ext/spl/spl_directory.c if (!intern->file_name_len || !intern->u.file.stream) { file 296 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 300 ext/spl/spl_directory.c if (intern->u.file.zcontext) { file 301 ext/spl/spl_directory.c zend_list_addref(Z_RESVAL_P(intern->u.file.zcontext)); file 308 ext/spl/spl_directory.c intern->orig_path = estrndup(intern->u.file.stream->orig_path, strlen(intern->u.file.stream->orig_path)); file 311 ext/spl/spl_directory.c intern->u.file.open_mode = estrndup(intern->u.file.open_mode, intern->u.file.open_mode_len); file 314 ext/spl/spl_directory.c ZVAL_RESOURCE(&intern->u.file.zresource, php_stream_get_resource_id(intern->u.file.stream)); file 315 ext/spl/spl_directory.c Z_SET_REFCOUNT(intern->u.file.zresource, 1); file 317 ext/spl/spl_directory.c intern->u.file.delimiter = ','; file 318 ext/spl/spl_directory.c intern->u.file.enclosure = '"'; file 319 ext/spl/spl_directory.c intern->u.file.escape = '\\'; file 321 ext/spl/spl_directory.c zend_hash_find(&intern->std.ce->function_table, "getcurrentline", sizeof("getcurrentline"), (void **) &intern->u.file.func_getCurr); file 534 ext/spl/spl_directory.c intern->u.file.open_mode = "r"; file 535 ext/spl/spl_directory.c intern->u.file.open_mode_len = 1; file 538 ext/spl/spl_directory.c &intern->u.file.open_mode, &intern->u.file.open_mode_len, file 539 ext/spl/spl_directory.c &use_include_path, &intern->u.file.zcontext) == FAILURE) { file 541 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 648 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 651 ext/spl/spl_directory.c stmp[0] = intern->u.file.delimiter; file 655 ext/spl/spl_directory.c stmp[0] = intern->u.file.enclosure; file 2058 ext/spl/spl_directory.c long line_add = (intern->u.file.current_line || intern->u.file.current_zval) ? 1 : 0; file 2062 ext/spl/spl_directory.c if (php_stream_eof(intern->u.file.stream)) { file 2069 ext/spl/spl_directory.c if (intern->u.file.max_line_len > 0) { file 2070 ext/spl/spl_directory.c buf = safe_emalloc((intern->u.file.max_line_len + 1), sizeof(char), 0); file 2071 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 2078 ext/spl/spl_directory.c buf = php_stream_get_line(intern->u.file.stream, NULL, 0, &line_len); file 2082 ext/spl/spl_directory.c intern->u.file.current_line = estrdup(""); file 2083 ext/spl/spl_directory.c intern->u.file.current_line_len = 0; file 2090 ext/spl/spl_directory.c intern->u.file.current_line = buf; file 2091 ext/spl/spl_directory.c intern->u.file.current_line_len = line_len; file 2093 ext/spl/spl_directory.c intern->u.file.current_line_num += line_add; file 2103 ext/spl/spl_directory.c zval * zresource_ptr = &intern->u.file.zresource, *retval = NULL; file 2165 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 2168 ext/spl/spl_directory.c size_t buf_len = intern->u.file.current_line_len; file 2169 ext/spl/spl_directory.c char *buf = estrndup(intern->u.file.current_line, buf_len); file 2171 ext/spl/spl_directory.c if (intern->u.file.current_zval) { file 2172 ext/spl/spl_directory.c zval_ptr_dtor(&intern->u.file.current_zval); file 2174 ext/spl/spl_directory.c ALLOC_INIT_ZVAL(intern->u.file.current_zval); file 2176 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 2182 ext/spl/spl_directory.c ZVAL_ZVAL(return_value, intern->u.file.current_zval, 1, 0); file 2194 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 2195 ext/spl/spl_directory.c if (php_stream_eof(intern->u.file.stream)) { file 2202 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 2204 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 2207 ext/spl/spl_directory.c if (intern->u.file.current_line || intern->u.file.current_zval) { file 2208 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2212 ext/spl/spl_directory.c intern->u.file.current_line = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); file 2213 ext/spl/spl_directory.c intern->u.file.current_line_len = Z_STRLEN_P(retval); file 2215 ext/spl/spl_directory.c MAKE_STD_ZVAL(intern->u.file.current_zval); file 2216 ext/spl/spl_directory.c ZVAL_ZVAL(intern->u.file.current_zval, retval, 1, 0); file 2230 ext/spl/spl_directory.c if (intern->u.file.current_line) { file 2231 ext/spl/spl_directory.c return intern->u.file.current_line_len == 0; file 2232 ext/spl/spl_directory.c } else if (intern->u.file.current_zval) { file 2233 ext/spl/spl_directory.c switch(Z_TYPE_P(intern->u.file.current_zval)) { file 2235 ext/spl/spl_directory.c return Z_STRLEN_P(intern->u.file.current_zval) == 0; file 2238 ext/spl/spl_directory.c && zend_hash_num_elements(Z_ARRVAL_P(intern->u.file.current_zval)) == 1) { file 2239 ext/spl/spl_directory.c zval ** first = Z_ARRVAL_P(intern->u.file.current_zval)->pListHead->pData; file 2243 ext/spl/spl_directory.c return zend_hash_num_elements(Z_ARRVAL_P(intern->u.file.current_zval)) == 0; file 2270 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2274 ext/spl/spl_directory.c if (-1 == php_stream_rewind(intern->u.file.stream)) { file 2278 ext/spl/spl_directory.c intern->u.file.current_line_num = 0; file 2298 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 2299 ext/spl/spl_directory.c intern->u.file.open_mode_len = 0; file 2303 ext/spl/spl_directory.c &intern->u.file.open_mode, &intern->u.file.open_mode_len, file 2304 ext/spl/spl_directory.c &use_include_path, &intern->u.file.zcontext) == FAILURE) { file 2305 ext/spl/spl_directory.c intern->u.file.open_mode = NULL; file 2311 ext/spl/spl_directory.c if (intern->u.file.open_mode == NULL) { file 2312 ext/spl/spl_directory.c intern->u.file.open_mode = "r"; file 2313 ext/spl/spl_directory.c intern->u.file.open_mode_len = 1; file 2317 ext/spl/spl_directory.c tmp_path_len = strlen(intern->u.file.stream->orig_path); file 2319 ext/spl/spl_directory.c if (tmp_path_len > 1 && IS_SLASH_AT(intern->u.file.stream->orig_path, tmp_path_len-1)) { file 2323 ext/spl/spl_directory.c tmp_path = estrndup(intern->u.file.stream->orig_path, tmp_path_len); file 2339 ext/spl/spl_directory.c intern->_path = estrndup(intern->u.file.stream->orig_path, intern->_path_len); file 2372 ext/spl/spl_directory.c intern->u.file.open_mode = "wb"; file 2373 ext/spl/spl_directory.c intern->u.file.open_mode_len = 1; file 2374 ext/spl/spl_directory.c intern->u.file.zcontext = NULL; file 2406 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2411 ext/spl/spl_directory.c RETURN_BOOL(php_stream_eof(intern->u.file.stream)); file 2425 ext/spl/spl_directory.c RETURN_BOOL(intern->u.file.current_line || intern->u.file.current_zval); file 2427 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2430 ext/spl/spl_directory.c RETVAL_BOOL(!php_stream_eof(intern->u.file.stream)); file 2444 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2452 ext/spl/spl_directory.c RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len, 1); file 2465 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2470 ext/spl/spl_directory.c if (!intern->u.file.current_line && !intern->u.file.current_zval) { file 2473 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 2474 ext/spl/spl_directory.c RETURN_STRINGL(intern->u.file.current_line, intern->u.file.current_line_len, 1); file 2475 ext/spl/spl_directory.c } else if (intern->u.file.current_zval) { file 2476 ext/spl/spl_directory.c RETURN_ZVAL(intern->u.file.current_zval, 1, 0); file 2495 ext/spl/spl_directory.c RETURN_LONG(intern->u.file.current_line_num); file 2512 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2556 ext/spl/spl_directory.c intern->u.file.max_line_len = max_len; file 2569 ext/spl/spl_directory.c RETURN_LONG((long)intern->u.file.max_line_len); file 2607 ext/spl/spl_directory.c char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; file 2613 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2654 ext/spl/spl_directory.c char delimiter = intern->u.file.delimiter, enclosure = intern->u.file.enclosure, escape = intern->u.file.escape; file 2687 ext/spl/spl_directory.c ret = php_fputcsv(intern->u.file.stream, fields, delimiter, enclosure, escape TSRMLS_CC); file 2729 ext/spl/spl_directory.c intern->u.file.delimiter = delimiter; file 2730 ext/spl/spl_directory.c intern->u.file.enclosure = enclosure; file 2731 ext/spl/spl_directory.c intern->u.file.escape = escape; file 2745 ext/spl/spl_directory.c delimiter[0] = intern->u.file.delimiter; file 2747 ext/spl/spl_directory.c enclosure[0] = intern->u.file.enclosure; file 2766 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2771 ext/spl/spl_directory.c RETURN_BOOL(!php_stream_flush(intern->u.file.stream)); file 2781 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2786 ext/spl/spl_directory.c ret = php_stream_tell(intern->u.file.stream); file 2806 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2812 ext/spl/spl_directory.c RETURN_LONG(php_stream_seek(intern->u.file.stream, pos, whence)); file 2823 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2830 ext/spl/spl_directory.c result = php_stream_getc(intern->u.file.stream); file 2836 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2853 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2858 ext/spl/spl_directory.c if (intern->u.file.max_line_len > 0) { file 2859 ext/spl/spl_directory.c ZVAL_LONG(arg2, intern->u.file.max_line_len); file 2865 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2878 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2883 ext/spl/spl_directory.c RETURN_LONG(php_stream_passthru(intern->u.file.stream)); file 2892 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2898 ext/spl/spl_directory.c intern->u.file.current_line_num++; file 2917 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2929 ext/spl/spl_directory.c RETURN_LONG(php_stream_write(intern->u.file.stream, str, str_len)); file 2941 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2952 ext/spl/spl_directory.c Z_STRLEN_P(return_value) = php_stream_read(intern->u.file.stream, Z_STRVAL_P(return_value), length); file 2975 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 2980 ext/spl/spl_directory.c if (!php_stream_truncate_supported(intern->u.file.stream)) { file 2985 ext/spl/spl_directory.c RETURN_BOOL(0 == php_stream_truncate_set_size(intern->u.file.stream, size)); file 2998 ext/spl/spl_directory.c if(!intern->u.file.stream) { file 3010 ext/spl/spl_directory.c while(intern->u.file.current_line_num < line_pos) { file 103 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 3082 ext/standard/basic_functions.c PHP_FE(file, arginfo_file) file 3618 ext/standard/basic_functions.c BASIC_MINIT_SUBMODULE(file) file 3697 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 182 ext/standard/php_fopen_wrapper.c FILE *file = NULL; file 255 ext/standard/php_fopen_wrapper.c file = stdin; file 268 ext/standard/php_fopen_wrapper.c file = stdout; file 281 ext/standard/php_fopen_wrapper.c file = stderr; file 395 ext/standard/php_fopen_wrapper.c if (file) { file 396 ext/standard/php_fopen_wrapper.c stream = php_stream_fopen_from_file(file, mode); file 71 ext/zip/lib/zip_discard.c if (za->file[i]->error.zip_err == ZIP_ER_OK) { file 72 ext/zip/lib/zip_discard.c _zip_error_set(&za->file[i]->error, ZIP_ER_ZIPCLOSED, 0); file 73 ext/zip/lib/zip_discard.c za->file[i]->za = NULL; file 78 ext/zip/lib/zip_discard.c free(za->file); file 53 ext/zip/lib/zip_fclose.c if (zf->za->file[i] == zf) { file 54 ext/zip/lib/zip_fclose.c zf->za->file[i] = zf->za->file[zf->za->nfile-1]; file 77 ext/zip/lib/zip_fopen_index_encrypted.c struct zip_file *zf, **file; file 87 ext/zip/lib/zip_fopen_index_encrypted.c file = (struct zip_file **)realloc(za->file, file 89 ext/zip/lib/zip_fopen_index_encrypted.c if (file == NULL) { file 95 ext/zip/lib/zip_fopen_index_encrypted.c za->file = file; file 98 ext/zip/lib/zip_fopen_index_encrypted.c za->file[za->nfile++] = zf; file 68 ext/zip/lib/zip_new.c za->file = NULL; file 68 ext/zip/lib/zip_source_filep.c if (file == NULL || 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 292 ext/zip/lib/zipint.h struct zip_file **file; /* opened files within archive */ file 190 ext/zip/php_zip.c virtual_file_ex(&new_state, file, NULL, CWD_EXPAND TSRMLS_CC); file 197 ext/zip/php_zip.c if (path_cleaned_len >= MAXPATHLEN || zip_stat(za, file, 0, &sb) != 0) { file 203 ext/zip/php_zip.c len = spprintf(&file_dirname_fullpath, 0, "%s/%s", dest, file); file 294 ext/zip/php_zip.c zf = zip_fopen(za, file, 0); file 2709 ext/zip/php_zip.c char *file = (char*)zip_get_name(intern, i, ZIP_FL_UNCHANGED); file 2710 ext/zip/php_zip.c if (!php_zip_extract_file(intern, pathto, file, strlen(file) TSRMLS_CC)) { file 2048 main/main.c if (file) { file 2049 main/main.c len = _snprintf(buf, sizeof(buf)-1, "Invalid parameter detected in CRT function '%ws' (%ws:%d)", function, file, line); file 2719 main/main.c op_array = zend_compile_file(file, ZEND_INCLUDE TSRMLS_CC); file 2720 main/main.c zend_destroy_file_handle(file TSRMLS_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 478 main/streams/memory.c php_stream *file; file 508 main/streams/memory.c file = php_stream_fopen_tmpfile(); file 509 main/streams/memory.c php_stream_write(file, membuf, memsize); file 513 main/streams/memory.c ts->innerstream = file; 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 TSRMLS_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 TSRMLS_CC) file 113 main/streams/plain_wrapper.c FILE *file; file 138 main/streams/plain_wrapper.c #define PHP_STDIOP_GET_FD(anfd, data) anfd = (data)->file ? fileno((data)->file) : (data)->fd file 161 main/streams/plain_wrapper.c self->file = NULL; file 177 main/streams/plain_wrapper.c self->file = file; file 182 main/streams/plain_wrapper.c self->fd = fileno(file); file 266 main/streams/plain_wrapper.c php_stream *stream = php_stream_fopen_from_file_int_rel(file, mode); file 289 main/streams/plain_wrapper.c stream->position = ftell(file); file 303 main/streams/plain_wrapper.c self->file = file; file 307 main/streams/plain_wrapper.c self->fd = fileno(file); file 329 main/streams/plain_wrapper.c fseek(data->file, 0, SEEK_CUR); file 334 main/streams/plain_wrapper.c return fwrite(buf, 1, count, data->file); file 388 main/streams/plain_wrapper.c fseek(data->file, 0, SEEK_CUR); file 392 main/streams/plain_wrapper.c ret = fread(buf, 1, count, data->file); file 394 main/streams/plain_wrapper.c stream->eof = feof(data->file); file 423 main/streams/plain_wrapper.c if (data->file) { file 426 main/streams/plain_wrapper.c ret = pclose(data->file); file 434 main/streams/plain_wrapper.c ret = fclose(data->file); file 435 main/streams/plain_wrapper.c data->file = NULL; file 451 main/streams/plain_wrapper.c data->file = NULL; file 471 main/streams/plain_wrapper.c if (data->file) { file 472 main/streams/plain_wrapper.c return fflush(data->file); file 500 main/streams/plain_wrapper.c ret = fseek(data->file, offset, whence); file 501 main/streams/plain_wrapper.c *newoffset = ftell(data->file); file 520 main/streams/plain_wrapper.c if (data->file == NULL) { file 525 main/streams/plain_wrapper.c data->file = fdopen(data->fd, fixed_mode); file 526 main/streams/plain_wrapper.c if (data->file == NULL) { file 531 main/streams/plain_wrapper.c *(FILE**)ret = data->file; file 552 main/streams/plain_wrapper.c if (data->file) { file 553 main/streams/plain_wrapper.c fflush(data->file); file 610 main/streams/plain_wrapper.c if (data->file == NULL) { file 621 main/streams/plain_wrapper.c return setvbuf(data->file, NULL, _IONBF, 0); file 624 main/streams/plain_wrapper.c return setvbuf(data->file, NULL, _IOLBF, size); file 627 main/streams/plain_wrapper.c return setvbuf(data->file, NULL, _IOFBF, size); file 1309 main/streams/plain_wrapper.c FILE *file = VCWD_FOPEN(url, "w"); file 1310 main/streams/plain_wrapper.c if (file == NULL) { file 1314 main/streams/plain_wrapper.c fclose(file); file 539 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 1497 sapi/cli/php_cli_server.c const char **file = index_files; file 1501 sapi/cli/php_cli_server.c while (*file) { file 1502 sapi/cli/php_cli_server.c size_t l = strlen(*file); file 1503 sapi/cli/php_cli_server.c memmove(q, *file, l + 1); file 1508 sapi/cli/php_cli_server.c file++; file 1510 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 283 sapi/phpdbg/phpdbg.c char *file = NULL; file 287 sapi/phpdbg/phpdbg.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", &file, &flen, &line) == FAILURE) { file 291 sapi/phpdbg/phpdbg.c phpdbg_set_breakpoint_file(file, line TSRMLS_CC); file 204 sapi/phpdbg/phpdbg_bp.c conditional->param.file.name, conditional->param.file.line, file 616 sapi/phpdbg/phpdbg_bp.c new_break.class_len = strlen(file); file 617 sapi/phpdbg/phpdbg_bp.c new_break.class_name = estrndup(file, new_break.class_len); file 918 sapi/phpdbg/phpdbg_bp.c if (param->file.line == zend_get_executed_lineno(TSRMLS_C)) { file 920 sapi/phpdbg/phpdbg_bp.c size_t lengths[2] = {strlen(param->file.name), strlen(str)}; file 924 sapi/phpdbg/phpdbg_bp.c param->file.name, str, lengths[0]) == SUCCESS); file 1596 sapi/phpdbg/phpdbg_bp.c brake->param.file.name, file 1597 sapi/phpdbg/phpdbg_bp.c brake->param.file.line, file 77 sapi/phpdbg/phpdbg_cmd.c efree(param->file.name); file 123 sapi/phpdbg/phpdbg_cmd.c param->file.name, file 124 sapi/phpdbg/phpdbg_cmd.c param->file.line, file 129 sapi/phpdbg/phpdbg_cmd.c param->file.name, file 130 sapi/phpdbg/phpdbg_cmd.c param->file.line); file 187 sapi/phpdbg/phpdbg_cmd.c dest->file.name = estrdup(src->file.name); file 188 sapi/phpdbg/phpdbg_cmd.c dest->file.line = src->file.line; file 232 sapi/phpdbg/phpdbg_cmd.c hash += zend_inline_hash_func(param->file.name, strlen(param->file.name)); file 233 sapi/phpdbg/phpdbg_cmd.c hash += param->file.line; file 295 sapi/phpdbg/phpdbg_cmd.c if (l->file.line == r->file.line) { file 297 sapi/phpdbg/phpdbg_cmd.c strlen(l->file.name), strlen(r->file.name)}; file 302 sapi/phpdbg/phpdbg_cmd.c l->file.name, r->file.name, lengths[0]) == SUCCESS); file 355 sapi/phpdbg/phpdbg_cmd.c fprintf(stderr, "%s NUMERIC_FILE_PARAM(%s:#%lu)\n", msg, param->file.name, param->file.line); file 359 sapi/phpdbg/phpdbg_cmd.c fprintf(stderr, "%s FILE_PARAM(%s:%lu)\n", msg, param->file.name, param->file.line); file 422 sapi/phpdbg/phpdbg_cmd.c if (remove->file.name) file 423 sapi/phpdbg/phpdbg_cmd.c free(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 168 sapi/phpdbg/phpdbg_frame.c zval **file, **line; file 183 sapi/phpdbg/phpdbg_frame.c user_defined = zend_hash_find(Z_ARRVAL_PP(tmp), "file", sizeof("file"), (void **)&file); file 189 sapi/phpdbg/phpdbg_frame.c phpdbg_write("frame #%d: {main} at %s:%ld", i, Z_STRVAL_PP(file), Z_LVAL_PP(line)); file 196 sapi/phpdbg/phpdbg_frame.c phpdbg_writeln(" at %s:%ld", Z_STRVAL_PP(file), Z_LVAL_PP(line)); file 64 sapi/phpdbg/phpdbg_list.c phpdbg_list_file(param->file.name, param->file.line, 0, 0 TSRMLS_CC); file 1477 sapi/phpdbg/phpdbg_parser.c (yyval).file.name = (yyvsp[(2) - (3)]).str; file 1478 sapi/phpdbg/phpdbg_parser.c (yyval).file.line = (yyvsp[(3) - (3)]).num; file 1487 sapi/phpdbg/phpdbg_parser.c (yyval).file.name = (yyvsp[(1) - (4)]).str; file 1488 sapi/phpdbg/phpdbg_parser.c (yyval).file.line = (yyvsp[(4) - (4)]).num; file 1497 sapi/phpdbg/phpdbg_parser.c (yyval).file.name = malloc((yyvsp[(1) - (4)]).len + (yyvsp[(2) - (4)]).len + 1); file 1498 sapi/phpdbg/phpdbg_parser.c if ((yyval).file.name) { file 1499 sapi/phpdbg/phpdbg_parser.c memcpy(&(yyval).file.name[0], (yyvsp[(1) - (4)]).str, (yyvsp[(1) - (4)]).len); file 1500 sapi/phpdbg/phpdbg_parser.c memcpy(&(yyval).file.name[(yyvsp[(1) - (4)]).len], (yyvsp[(2) - (4)]).str, (yyvsp[(2) - (4)]).len); file 1501 sapi/phpdbg/phpdbg_parser.c (yyval).file.name[(yyvsp[(1) - (4)]).len + (yyvsp[(2) - (4)]).len] = '\0'; file 1503 sapi/phpdbg/phpdbg_parser.c (yyval).file.line = (yyvsp[(4) - (4)]).num; file 1512 sapi/phpdbg/phpdbg_parser.c (yyval).file.name = malloc((yyvsp[(1) - (5)]).len + (yyvsp[(2) - (5)]).len + 1); file 1513 sapi/phpdbg/phpdbg_parser.c if ((yyval).file.name) { file 1514 sapi/phpdbg/phpdbg_parser.c memcpy(&(yyval).file.name[0], (yyvsp[(1) - (5)]).str, (yyvsp[(1) - (5)]).len); file 1515 sapi/phpdbg/phpdbg_parser.c memcpy(&(yyval).file.name[(yyvsp[(1) - (5)]).len], (yyvsp[(2) - (5)]).str, (yyvsp[(2) - (5)]).len); file 1516 sapi/phpdbg/phpdbg_parser.c (yyval).file.name[(yyvsp[(1) - (5)]).len + (yyvsp[(2) - (5)]).len] = '\0'; file 1518 sapi/phpdbg/phpdbg_parser.c (yyval).file.line = (yyvsp[(5) - (5)]).num; file 79 sapi/phpdbg/phpdbg_parser.y $$.file.name = $2.str; file 80 sapi/phpdbg/phpdbg_parser.y $$.file.line = $3.num; file 84 sapi/phpdbg/phpdbg_parser.y $$.file.name = $1.str; file 85 sapi/phpdbg/phpdbg_parser.y $$.file.line = $4.num; file 89 sapi/phpdbg/phpdbg_parser.y $$.file.name = malloc($1.len + $2.len + 1); file 90 sapi/phpdbg/phpdbg_parser.y if ($$.file.name) { file 91 sapi/phpdbg/phpdbg_parser.y memcpy(&$$.file.name[0], $1.str, $1.len); file 92 sapi/phpdbg/phpdbg_parser.y memcpy(&$$.file.name[$1.len], $2.str, $2.len); file 93 sapi/phpdbg/phpdbg_parser.y $$.file.name[$1.len + $2.len] = '\0'; file 95 sapi/phpdbg/phpdbg_parser.y $$.file.line = $4.num; file 99 sapi/phpdbg/phpdbg_parser.y $$.file.name = malloc($1.len + $2.len + 1); file 100 sapi/phpdbg/phpdbg_parser.y if ($$.file.name) { file 101 sapi/phpdbg/phpdbg_parser.y memcpy(&$$.file.name[0], $1.str, $1.len); file 102 sapi/phpdbg/phpdbg_parser.y memcpy(&$$.file.name[$1.len], $2.str, $2.len); file 103 sapi/phpdbg/phpdbg_parser.y $$.file.name[$1.len + $2.len] = '\0'; file 105 sapi/phpdbg/phpdbg_parser.y $$.file.line = $5.num; file 144 sapi/phpdbg/phpdbg_prompt.c next->file.name, next->file.line); file 150 sapi/phpdbg/phpdbg_prompt.c next->file.name, next->file.line); file 815 sapi/phpdbg/phpdbg_prompt.c phpdbg_set_breakpoint_file(param->file.name, param->file.line TSRMLS_CC); file 818 sapi/phpdbg/phpdbg_prompt.c phpdbg_set_breakpoint_file_opline(param->file.name, param->file.line TSRMLS_CC); file 161 sapi/phpdbg/phpdbg_utils.c const char *file = zend_get_executed_filename(TSRMLS_C); file 163 sapi/phpdbg/phpdbg_utils.c if (memcmp(file, "[no active file]", sizeof("[no active file]")) == 0) { file 167 sapi/phpdbg/phpdbg_utils.c return file; file 424 sapi/phpdbg/tests/run-tests.php $this->file = $file; file 433 sapi/phpdbg/tests/run-tests.php $options = sprintf('-i%s -nqb', $this->file); file 507 sapi/phpdbg/tests/run-tests.php dirname($this->file), basename($this->file)); file 534 sapi/phpdbg/tests/run-tests.php dirname($this->file), basename($this->file)); 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 450 win32/build/mkdist.php $stub = file($path_to_phar . '/phar/phar.php');