Home
last modified time | relevance | path

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

12345678910>>...24

/php-src/ext/curl/tests/
H A Dcurl_write_trampoline.phpt19 $fp = fopen($log_file, 'w+');
20 fwrite($fp, "test");
21 fclose($fp);
/php-src/ext/curl/
H A Dcurl_private.h49 FILE *fp; member
57 FILE *fp; member
H A Dinterface.c172 ch->handlers.read->fp = 0; in _php_curl_verify_handlers()
199 ch->handlers.write->fp = 0; in _php_curl_verify_handlers()
767 if (read_handler->fp) { in curl_read()
1191 ch->handlers.write->fp = source->handlers.write->fp; in _php_setup_easy_copy_handlers()
1192 ch->handlers.write_header->fp = source->handlers.write_header->fp; in _php_setup_easy_copy_handlers()
1193 ch->handlers.read->fp = source->handlers.read->fp; in _php_setup_easy_copy_handlers()
1902 FILE *fp = NULL; in _php_curl_setopt() local
1915 if (!fp) { in _php_curl_setopt()
1932 ch->handlers.write->fp = fp; in _php_curl_setopt()
1950 ch->handlers.write_header->fp = fp; in _php_curl_setopt()
[all …]
/php-src/ext/odbc/
H A Dphp_odbc.c1011 int fp; member
1018 if (params[i].fp != -1) { in odbc_release_params()
1019 close(params[i].fp); in odbc_release_params()
1055 params[i].fp = -1; in PHP_FUNCTION()
1069 params[i-1].fp = -1; in PHP_FUNCTION()
1096 if ((params[i-1].fp = open(filename,O_RDONLY)) == -1) { in PHP_FUNCTION()
1109 (void *)(intptr_t)params[i-1].fp, 0, in PHP_FUNCTION()
1144 int fp, nbytes; in PHP_FUNCTION() local
1146 rc = SQLParamData(result->stmt, (void*)&fp); in PHP_FUNCTION()
1148 while ((nbytes = read(fp, &buf, 4096)) > 0) { in PHP_FUNCTION()
/php-src/ext/pgsql/
H A Dpgsql.c2178 FILE *fp = NULL; in PHP_FUNCTION() local
2202 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) { in PHP_FUNCTION()
2207 PQtrace(pgsql, fp); in PHP_FUNCTION()
/php-src/ext/opcache/jit/ir/
H A Dir_x86.dasc3530 ir_reg fp;
3553 ir_reg fp;
3572 ir_reg fp;
6557 ir_reg fp;
6568 ir_reg fp;
7385 ir_reg fp;
7402 ir_reg fp;
7425 ir_reg fp;
7454 ir_reg fp;
7894 ir_reg fp;
[all …]
H A Dir_aarch64.dasc1596 ir_reg fp;
1656 ir_reg fp;
3297 ir_reg fp;
3356 ir_reg fp;
3462 ir_reg fp;
3488 ir_reg fp;
3715 ir_reg fp;
3730 ir_reg fp;
3754 ir_reg fp;
4174 ir_reg fp;
[all …]
/php-src/build/
H A Dphp.m41025 FILE *fp = fopen("conftestval", "w");
1026 if (!fp) return(1);
1027 fprintf(fp, "%d\n", sizeof($1));
1372 FILE *fp = fopencookie(&g, "r", funcs);
1374 if (fp && fseek(fp, 8192, SEEK_SET) == 0 && g.pos == 8192)
/php-src/ext/standard/tests/file/
H A Drename_variation2-win32.phpt18 $fp = fopen($file_path."/rename_variation2-win32.tmp", "w");
19 fclose($fp);
/php-src/main/streams/
H A Dplain_wrapper.c552 FILE *fp; in php_stdiop_sync() local
555 if (php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS) == FAILURE) { in php_stdiop_sync()
H A Dcast.c345 FILE *fp = NULL; in _php_stream_open_wrapper_as_file() local
354 …STREAM_AS_STDIO|PHP_STREAM_CAST_TRY_HARD|PHP_STREAM_CAST_RELEASE, (void**)&fp, REPORT_ERRORS) == F… in _php_stream_open_wrapper_as_file()
361 return fp; in _php_stream_open_wrapper_as_file()
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c278 ir_ref fp; member
861 if (jit->fp == IR_UNUSED) { in jit_FP()
863 jit->fp = ir_RLOAD_A(ZREG_FP); in jit_FP()
869 if (ref == jit->fp) { in jit_FP()
874 jit->fp = ir_RLOAD_A(ZREG_FP); in jit_FP()
880 return jit->fp; in jit_FP()
886 jit->fp = IR_UNUSED; in jit_STORE_FP()
2706 jit->fp = IR_UNUSED; in zend_jit_init_ctx()
/php-src/ext/phar/
H A Dutil.c105 return entry->fp; in phar_get_efp()
108 if (!entry->fp) { in phar_get_efp()
111 return entry->fp; in phar_get_efp()
121 if (!fp) { in phar_seek_efp()
564 if (!etemp.fp) { in phar_get_or_create_entry_data()
617 ret->fp = entry->fp; in phar_get_or_create_entry_data()
802 dummy.fp = ufp; in phar_open_entry_fp()
842 if (!entry->fp) { in phar_create_writeable_entry()
865 php_stream *fp; in phar_separate_entry_fp() local
877 if (fp == NULL) { in phar_separate_entry_fp()
[all …]
H A Dphar.c226 phar->fp = 0; in PHP_INI_END()
396 …if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != ida… in phar_entry_delref()
422 …if (idata->fp && idata->fp != idata->phar->fp && idata->fp != idata->phar->ufp && idata->fp != ida… in phar_entry_remove()
440 if (fp) {\
1254 mydata->fp = fp; in phar_parse_pharfile()
1266 fp = NULL; in phar_parse_pharfile()
1408 if (fp) { in phar_create_or_parse_filename()
1565 if (!fp) { in phar_open_from_filename()
2356 if (!fp) { in phar_open_executed_filename()
2387 php_stream *fp = idata->fp; in phar_postprocess_file() local
[all …]
H A Dstream.c280 idata->fp = stream; in phar_wrapper_open_url()
390 php_stream_seek(data->fp, data->position + data->zero, SEEK_SET); in phar_stream_read()
392 …got = php_stream_read(data->fp, buf, MIN(count, (size_t)(entry->uncompressed_filesize - data->posi… in phar_stream_read()
393 data->position = php_stream_tell(data->fp) - data->zero; in phar_stream_read()
437 res = php_stream_seek(data->fp, temp, SEEK_SET); in phar_stream_seek()
438 *newoffset = php_stream_tell(data->fp) - data->zero; in phar_stream_seek()
451 php_stream_seek(data->fp, data->position, SEEK_SET); in phar_stream_write()
452 if (count != php_stream_write(data->fp, buf, count)) { in phar_stream_write()
456 data->position = php_stream_tell(data->fp); in phar_stream_write()
856 entry->fp = NULL; in phar_wrapper_rename()
/php-src/Zend/asm/
H A Djump_loongarch64_sysv_elf_gas.S60 # save s0 - s8, fp, ra
70 st.d $fp, $sp, 136
102 ld.d $fp, $sp, 136
H A Djump_sparc64_sysv_elf_gas.S32 stx %fp, [%sp + BIAS + SP]
40 ldx [%sp + BIAS + SP], %fp
H A Dmake_sparc64_sysv_elf_gas.S34 # store it in the first stack frame, also clear %fp there to indicate
/php-src/ext/openssl/tests/
H A Dgh13860.phpt33 $fp = stream_socket_client($serverUri);
34 stream_set_blocking($fp, false);
36 fread($fp, 2);
39 while (!($in = fread($fp, 2))) {
43 var_dump(feof($fp));
44 fclose($fp);
H A Dgh10495.phpt22 …$fp = stream_socket_client("tlsv1.2://127.0.0.1:10012", $errornum, $errorstr, 1, STREAM_CLIENT_CON…
27 var_dump(feof($fp));
30 var_dump(stream_get_contents($fp, 6));
41 $fp = stream_socket_server("tlsv1.2://127.0.0.1:10011", $errornum, $errorstr, $flags, $context);
44 $conn = stream_socket_accept($fp);
67 foreach ($read as $fp) {
68 $data = stream_get_contents($fp);
69 if ($fp === $conn) {
/php-src/ext/opcache/
H A Dzend_accelerator_blacklist.c243 FILE *fp; in zend_accel_blacklist_loadone() local
246 if ((fp = fopen(filename, "r")) == NULL) { in zend_accel_blacklist_loadone()
261 while (fgets(buf, MAXPATHLEN, fp) != NULL) { in zend_accel_blacklist_loadone()
308 fclose(fp); in zend_accel_blacklist_loadone()
315 fclose(fp); in zend_accel_blacklist_loadone()
H A DZendAccelerator.c1040 if (zend_fstat(fileno(file_handle->handle.fp), &statbuf) == -1) { in zend_get_file_handle_timestamp()
/php-src/sapi/fpm/tests/
H A Dtester.inc614 $fp = @fsockopen($host, $this->getPort());
615 } while ((++$i < $attempts) && ! $fp);
617 if ($fp) {
620 fclose($fp);
/php-src/ext/mysqli/tests/
H A Dmysqli_get_client_stats.phpt828 if ($fp = fopen($file, 'w')) {
829 @fwrite($fp, '1;"a"');
830 fclose($fp);
/php-src/ext/zlib/tests/
H A Dzlib_filter_deflate.phpt9 $fp = fopen('php://stdout', 'w');
10 stream_filter_append($fp, 'zlib.deflate', STREAM_FILTER_WRITE);
11 stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE);
12 fwrite($fp, $text);
13 fclose($fp);

Completed in 161 milliseconds

12345678910>>...24