/php-src/ext/curl/tests/ |
H A D | curl_write_trampoline.phpt | 19 $fp = fopen($log_file, 'w+'); 20 fwrite($fp, "test"); 21 fclose($fp);
|
/php-src/ext/curl/ |
H A D | curl_private.h | 49 FILE *fp; member 57 FILE *fp; member
|
H A D | interface.c | 172 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 D | php_odbc.c | 1011 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 D | pgsql.c | 2178 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 D | ir_x86.dasc | 3530 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 D | ir_aarch64.dasc | 1596 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 D | php.m4 | 1025 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 D | rename_variation2-win32.phpt | 18 $fp = fopen($file_path."/rename_variation2-win32.tmp", "w"); 19 fclose($fp);
|
/php-src/main/streams/ |
H A D | plain_wrapper.c | 552 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 D | cast.c | 345 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 D | zend_jit_ir.c | 278 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 D | util.c | 105 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 D | phar.c | 226 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 D | stream.c | 280 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 D | jump_loongarch64_sysv_elf_gas.S | 60 # save s0 - s8, fp, ra 70 st.d $fp, $sp, 136 102 ld.d $fp, $sp, 136
|
H A D | jump_sparc64_sysv_elf_gas.S | 32 stx %fp, [%sp + BIAS + SP] 40 ldx [%sp + BIAS + SP], %fp
|
H A D | make_sparc64_sysv_elf_gas.S | 34 # store it in the first stack frame, also clear %fp there to indicate
|
/php-src/ext/openssl/tests/ |
H A D | gh13860.phpt | 33 $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 D | gh10495.phpt | 22 …$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 D | zend_accelerator_blacklist.c | 243 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 D | ZendAccelerator.c | 1040 if (zend_fstat(fileno(file_handle->handle.fp), &statbuf) == -1) { in zend_get_file_handle_timestamp()
|
/php-src/sapi/fpm/tests/ |
H A D | tester.inc | 614 $fp = @fsockopen($host, $this->getPort()); 615 } while ((++$i < $attempts) && ! $fp); 617 if ($fp) { 620 fclose($fp);
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_get_client_stats.phpt | 828 if ($fp = fopen($file, 'w')) { 829 @fwrite($fp, '1;"a"'); 830 fclose($fp);
|
/php-src/ext/zlib/tests/ |
H A D | zlib_filter_deflate.phpt | 9 $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);
|