Home
last modified time | relevance | path

Searched refs:fd (Results 126 – 150 of 180) sorted by relevance

12345678

/PHP-7.0/ext/dba/
H A Ddba_cdb.c233 int cdb_file_lseek(int fd, off_t offset, int whence) { in cdb_file_lseek() argument
234 return lseek(fd, offset, whence); in cdb_file_lseek()
H A Dphp_dba.h49 int fd; member
H A Ddba.c920 if (SUCCESS != php_stream_cast(info->fp, PHP_STREAM_AS_FD, (void*)&info->fd, 1)) { in php_dba_open()
927 int flags = fcntl(info->fd, F_GETFL); in php_dba_open()
928 fcntl(info->fd, F_SETFL, flags & ~O_APPEND); in php_dba_open()
/PHP-7.0/ext/standard/tests/file/
H A Dfile_variation4.phpt24 $fd = fopen($filename, "w+");
25 fwrite($fd, "Line 1\nLine 2\nLine 3");
26 fclose($fd);
H A Dchmod_variation4.phpt26 $fd = fopen($filename, "w+");
27 fclose($fd);
/PHP-7.0/win32/build/
H A Dmkdist.php411 $fd = $dest . '/' . $f;
413 copy_dir($fs, $fd);
415 copy($fs, $fd);
/PHP-7.0/Zend/
H A DZend.m4340 int fd;
343 fd = open("/dev/zero", O_RDWR, S_IRUSR | S_IWUSR);
344 if (fd < 0) {
347 seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
354 if (close(fd) != 0) {
/PHP-7.0/ext/standard/tests/http/
H A Dbug65634.phpt27 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $ctx);
H A Dbug61548.phpt28 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $ctx);
/PHP-7.0/sapi/litespeed/
H A Dlsapilib.h146 int LSAPI_InitRequest( LSAPI_Request * pReq, int fd );
360 void LSAPI_Set_Server_fd( int fd );
/PHP-7.0/ext/mysqli/tests/
H A Dclient-cert.pem48 e6:e9:09:b6:6b:b5:cc:1e:06:fd:bd:3a:11:d3:44:bd:ca:7a:
57 cb:fd:b4:73:40:ba:5d:49:e2:0d:39:77:17:01:49:bb:72:8b:
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_utils.h80 PHPDBG_API void phpdbg_set_async_io(int fd);
/PHP-7.0/ext/fileinfo/libmagic/
H A Dmagic.c290 close_and_restore(const struct magic_set *ms, const char *name, int fd, in close_and_restore() argument
324 magic_descriptor(struct magic_set *ms, int fd) in magic_descriptor() argument
H A Dreadcdf.c441 file_trycdf(struct magic_set *ms, int fd, const unsigned char *buf, in file_trycdf() argument
453 info.i_fd = fd; in file_trycdf()
/PHP-7.0/ext/gd/libgd/
H A Dgd.h361 gdImagePtr gdImageCreateFromPng(FILE *fd);
371 gdImagePtr gdImageCreateFromWebp(FILE *fd);
402 gdImagePtr gdImageCreateFromXbm(FILE *fd);
618 gdImagePtr gdImageCreateFromGif(FILE *fd);
/PHP-7.0/sapi/fpm/tests/
H A D012.phpt68 [%d-%s-%d %d:%d:%d] NOTICE: using inherited socket fd=%d, "127.0.0.1:%d"
/PHP-7.0/ext/date/tests/
H A Drfc-datetime_and_daylight_saving_time-type3-fd.phpt2 RFC: DateTime and Daylight Saving Time Transitions (zone type 3, fd)
/PHP-7.0/ext/standard/tests/strings/
H A Dconvert_cyr_string_basic.phpt126 217: fd
H A Dstrtoupper1-win32.phpt316 fd => dd
/PHP-7.0/ext/standard/
H A Dfile.c807 int fd; in PHP_FUNCTION() local
825 if ((fd = php_open_temporary_fd_ex(dir, ZSTR_VAL(p), &opened_path, 1)) >= 0) { in PHP_FUNCTION()
826 close(fd); in PHP_FUNCTION()
1075 zval *fd; in PHP_FUNCTION() local
1084 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|ls", &fd, &bytes, &allowed_tags, &allowed_tags_len) … in PHP_FUNCTION()
1088 PHP_STREAM_TO_ZVAL(stream, fd); in PHP_FUNCTION()
1954 zval *fd, *len_zv = NULL; in PHP_FUNCTION() local
1963 &fd, &len_zv, &delimiter_str, &delimiter_str_len, in PHP_FUNCTION()
2018 PHP_STREAM_TO_ZVAL(stream, fd); in PHP_FUNCTION()
/PHP-7.0/ext/sockets/
H A Dconversions.c1412 int fd; in to_zval_read_fd_array() local
1415 fd = *((int *)data + i); in to_zval_read_fd_array()
1418 if (fstat(fd, &statbuf) == -1) { in to_zval_read_fd_array()
1420 "descriptor %d: fstat() call failed with errno %d", fd, errno); in to_zval_read_fd_array()
1424 php_socket *sock = socket_import_file_descriptor(fd); in to_zval_read_fd_array()
1427 php_stream *stream = php_stream_fopen_from_fd(fd, "rw", NULL); in to_zval_read_fd_array()
/PHP-7.0/
H A Dserver-tests.php573 $fd = fopen($url, "rb");
575 if ($fd) {
576 while (!feof($fd))
577 $out .= fread($fd, 8192);
578 fclose($fd);
/PHP-7.0/sapi/cli/
H A Dphp_cli.c242 static inline int sapi_cli_select(int fd) in sapi_cli_select() argument
251 PHP_SAFE_FD_SET(fd, &wfd); in sapi_cli_select()
256 ret = php_select(fd+1, &dfd, &wfd, &dfd, &tv); in sapi_cli_select()
/PHP-7.0/main/
H A Dmain.c639 int fd = -1; in php_log_err() local
657 fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, 0644); in php_log_err()
658 if (fd != -1) { in php_log_err()
675 php_flock(fd, 2); in php_log_err()
677 php_ignore_value(write(fd, tmp, (unsigned)len)); in php_log_err()
679 php_ignore_value(write(fd, tmp, len)); in php_log_err()
683 close(fd); in php_log_err()
/PHP-7.0/ext/bz2/tests/
H A D002.phpt2 bzopen() using fd opened in wrong mode

Completed in 88 milliseconds

12345678