Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 624) sorted by last modified time

12345678910>>...25

/PHP-7.4/ext/gd/
H A Dgd.c1068 if (fp->data) { in php_free_gd_font()
1069 efree(fp->data); in php_free_gd_font()
1072 efree(fp); in php_free_gd_font()
2450 FILE * fp = NULL; in _php_image_create_from() local
2519 if (!im && fp) { in _php_image_create_from()
2542 fflush(fp); in _php_image_create_from()
2677 FILE *fp; in _php_image_output() local
2707 if (!fp) { in _php_image_output()
2723 (*func_p)(im, fp); in _php_image_output()
2734 fflush(fp); in _php_image_output()
[all …]
/PHP-7.4/ext/phar/
H A Dphar.c249 phar->fp = 0; in PHP_INI_END()
437 …if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != ida… in phar_entry_delref()
463 …if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != ida… in phar_entry_remove()
481 if (fp) {\
1209 mydata->fp = fp; in phar_parse_pharfile()
1221 fp = NULL; in phar_parse_pharfile()
1363 if (fp) { in phar_create_or_parse_filename()
1520 if (!fp) { in phar_open_from_filename()
2316 if (!fp) { in phar_open_executed_filename()
2348 php_stream *fp = idata->fp; in phar_postprocess_file() local
[all …]
H A Dphar_object.c184 if (!fp) { in phar_file_action()
1441 if (!fp) { in phar_build()
1616 if (!fp) { in phar_build()
2165 pphar->fp = phar->fp; in phar_rename_archive()
3952 fp = phar_obj->archive->fp; in PHP_METHOD()
3990 fp = phar_obj->archive->fp; in PHP_METHOD()
3995 if (!fp) { in PHP_METHOD()
4006 if (fp != phar_obj->archive->fp) { in PHP_METHOD()
4020 if (fp != phar_obj->archive->fp) { in PHP_METHOD()
4273 if (!fp) { in phar_extract_file()
[all …]
/PHP-7.4/ext/pgsql/
H A Dpgsql.c3162 FILE *fp = NULL; local
3187 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) {
3192 PQtrace(pgsql, fp);
/PHP-7.4/sapi/fpm/tests/
H A Dtester.inc446 $fp = @fsockopen($host, $this->getPort());
447 } while ((++$i < $attempts) && !$fp);
449 if ($fp) {
451 fclose($fp);
/PHP-7.4/main/streams/
H A Dcast.c349 FILE *fp = NULL; in _php_stream_open_wrapper_as_file() local
358 …STREAM_AS_STDIO|PHP_STREAM_CAST_TRY_HARD|PHP_STREAM_CAST_RELEASE, (void**)&fp, REPORT_ERRORS) == F… in _php_stream_open_wrapper_as_file()
365 return fp; in _php_stream_open_wrapper_as_file()
/PHP-7.4/ext/curl/
H A Dinterface.c202 ch->handlers->read->fp = 0; in _php_curl_verify_handlers()
229 ch->handlers->write->fp = 0; in _php_curl_verify_handlers()
1644 if (t->fp) { in curl_read()
2051 ch->handlers->write->fp = source->handlers->write->fp; in _php_setup_easy_copy_handlers()
2052 ch->handlers->write_header->fp = source->handlers->write_header->fp; in _php_setup_easy_copy_handlers()
2053 ch->handlers->read->fp = source->handlers->read->fp; in _php_setup_easy_copy_handlers()
2760 FILE *fp = NULL; in _php_curl_setopt() local
2773 if (!fp) { in _php_curl_setopt()
2790 ch->handlers->write->fp = fp; in _php_curl_setopt()
2808 ch->handlers->write_header->fp = fp; in _php_curl_setopt()
[all …]
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c977 if (zend_fstat(fileno(file_handle->handle.fp), &statbuf) == -1) { in zend_get_file_handle_timestamp()
H A Dzend_accelerator_blacklist.c240 FILE *fp; in zend_accel_blacklist_loadone() local
243 if ((fp = fopen(filename, "r")) == NULL) { in zend_accel_blacklist_loadone()
258 while (fgets(buf, MAXPATHLEN, fp) != NULL) { in zend_accel_blacklist_loadone()
305 fclose(fp); in zend_accel_blacklist_loadone()
312 fclose(fp); in zend_accel_blacklist_loadone()
/PHP-7.4/sapi/cli/tests/
H A Dbug81305.phpt13 $fp = php_cli_server_connect();
15 if (fwrite($fp, <<<HEADER
23 fpassthru($fp);
26 fclose($fp);
H A Dbug73630.phpt19 $fp = php_cli_server_connect();
23 if (fwrite($fp, <<<HEADER
30 while (!feof($fp)) {
31 echo fgets($fp);
H A Dbug73630a.phpt19 $fp = php_cli_server_connect();
H A Dphp_cli_server_021.phpt13 $fp = php_cli_server_connect();
15 if(fwrite($fp, <<<HEADER
23 fpassthru($fp);
/PHP-7.4/sapi/cli/
H A Dphp_cli.c594 FILE *fp = VCWD_FOPEN(script_file, "rb"); in cli_seek_file_begin() local
595 if (!fp) { in cli_seek_file_begin()
600 zend_stream_init_fp(file_handle, fp, script_file); in cli_seek_file_begin()
931 fclose(file_handle.handle.fp); in do_cli()
/PHP-7.4/ext/standard/tests/file/
H A Dbug81145.phpt28 $fp = fopen($src, "ab");
29 fwrite($fp, random_bytes(0x200));
30 fclose($fp);
/PHP-7.4/main/
H A Dfopen_wrappers.c340 FILE *fp; local
345 fp = VCWD_FOPEN(path, mode);
346 if (fp && opened_path) {
354 return fp;
639 FILE *fp; local
702 fp = php_fopen_and_set_opened_path(trypath, mode, opened_path);
703 if (fp) {
705 return fp;
/PHP-7.4/ext/pdo_firebird/tests/
H A Dpayload_server.inc47 $fp = fsockopen("tcp://$bound");
54 if ($fp) {
60 if ($fp) {
61 fclose($fp);
/PHP-7.4/ext/ftp/
H A Dphp_ftp.c129 ZEND_ARG_INFO(0, fp)
137 ZEND_ARG_INFO(0, fp)
171 ZEND_ARG_INFO(0, fp)
179 ZEND_ARG_INFO(0, fp)
/PHP-7.4/ext/odbc/
H A Dphp_odbc.c1302 int fp; in PHP_FUNCTION() member
1335 params[i].fp = -1; in PHP_FUNCTION()
1344 close(params[i].fp); in PHP_FUNCTION()
1356 close(params[i].fp); in PHP_FUNCTION()
1364 params[i-1].fp = -1; in PHP_FUNCTION()
1388 close(params[i].fp); in PHP_FUNCTION()
1400 close(params[i].fp); in PHP_FUNCTION()
1434 close(params[i].fp); in PHP_FUNCTION()
1455 int fp, nbytes; in PHP_FUNCTION() local
1481 if (params[i].fp != -1) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/dba/
H A Ddba.c431 if (info->fp && info->fp != info->lock.fp) { in dba_close()
438 if (info->lock.fp) { in dba_close()
904 if (!info->lock.fp) { in php_dba_open()
914 if (!info->lock.fp) { in php_dba_open()
916 if (info->lock.fp) { in php_dba_open()
930 if (!info->lock.fp) { in php_dba_open()
947 info->fp = info->lock.fp; /* use the same stream for locking and database access */ in php_dba_open()
951 if (!info->fp) { in php_dba_open()
974 close_both = (info->fp != info->lock.fp); in php_dba_open()
979 info->fp = NULL; in php_dba_open()
[all …]
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c1326 if ( file_handle.handle.fp ) { in cli_main()
1335 fclose( file_handle.handle.fp ); in cli_main()
H A Dlsapilib.c2753 int LSAPI_Init_Prefork_Server( int max_children, fn_select_t fp, int avoidFork ) in LSAPI_Init_Prefork_Server() argument
2770 if ( fp != NULL ) in LSAPI_Init_Prefork_Server()
2771 g_fnSelect = fp; in LSAPI_Init_Prefork_Server()
3940 int LSAPI_Init_Env_Parameters( fn_select_t fp ) in LSAPI_Init_Env_Parameters() argument
4031 LSAPI_Init_Prefork_Server( n, fp, avoidFork != 0 ); in LSAPI_Init_Env_Parameters()
/PHP-7.4/
H A Drun-tests.php921 $fp = fopen("php://stdin", "r+");
933 $user_input = fgets($fp, 10);
1038 fclose($fp);
1794 if (!feof($fp)) {
1795 $line = fgets($fp);
1811 while (!feof($fp)) {
1812 $line = fgets($fp);
1897 fclose($fp);
3328 $fp = null;
3329 } else if (!$fp = fopen($JUNIT, 'w')) {
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_prompt.c320 FILE *fp = fopen(init_file, "r"); in phpdbg_try_file_init() local
321 if (fp) { in phpdbg_try_file_init()
327 while (fgets(cmd, PHPDBG_MAX_CMD, fp) != NULL) { in phpdbg_try_file_init()
335 fclose(fp); in phpdbg_try_file_init()
/PHP-7.4/ext/standard/
H A Dfile.c928 FILE *fp; in PHP_FUNCTION() local
948 if (!fp) { in PHP_FUNCTION()
1533 zval *fp; in PHP_NAMED_FUNCTION() local
1538 Z_PARAM_RESOURCE(fp) in PHP_NAMED_FUNCTION()
1547 PHP_STREAM_TO_ZVAL(stream, fp); in PHP_NAMED_FUNCTION()
1562 zval *fp; in PHP_NAMED_FUNCTION() local
1573 Z_PARAM_RESOURCE(fp) in PHP_NAMED_FUNCTION()
1576 PHP_STREAM_TO_ZVAL(stream, fp); in PHP_NAMED_FUNCTION()
1860 zval *fp = NULL, *fields = NULL; in PHP_FUNCTION() local
1866 Z_PARAM_RESOURCE(fp) in PHP_FUNCTION()
[all …]

Completed in 142 milliseconds

12345678910>>...25