Home
last modified time | relevance | path

Searched refs:fd (Results 76 – 100 of 181) sorted by relevance

12345678

/PHP-5.5/win32/
H A Dflock.h11 PHPAPI int flock(int fd, int op);
H A Dselect.c49 #define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set)) in php_select() argument
/PHP-5.5/sapi/thttpd/
H A Dphp_thttpd.h31 void thttpd_closed_conn(int fd);
/PHP-5.5/sapi/fpm/fpm/events/
H A Dport.c163 if (port_associate(pfd, PORT_SOURCE_FD, ev->fd, POLLIN, (void *)ev) < 0) { in fpm_event_port_add()
177 if (port_dissociate(pfd, PORT_SOURCE_FD, ev->fd) < 0) { in fpm_event_port_remove()
/PHP-5.5/TSRM/
H A Dtsrm_nw.c229 NXHandle_t fd = 0; local
232 fd = fileno(stream);
233 NXClose (fd);
/PHP-5.5/ext/standard/tests/file/
H A Dfile_variation6.phpt7 $fd = fopen($filepath, "w+");
8 fwrite($fd, "Line 1\nLine 2\nLine 3");
9 fclose($fd);
H A Dchmod_variation2-win32.phpt21 $fd = fopen($filepath, "w+");
22 fclose($fd);
H A Dmove_uploaded_file_basic.phpt47 $fd = fopen($destination4, "w");
48 fclose($fd);
H A Dchmod_variation2.phpt21 $fd = fopen($filepath, "w+");
22 fclose($fd);
/PHP-5.5/ext/standard/
H A Dpassword.c136 int fd, n; in php_password_make_salt() local
138 fd = open("/dev/urandom", O_RDONLY); in php_password_make_salt()
139 if (fd >= 0) { in php_password_make_salt()
141 n = read(fd, buffer + read_bytes, raw_length - read_bytes); in php_password_make_salt()
147 close(fd); in php_password_make_salt()
/PHP-5.5/ext/bz2/
H A Dbz2.c258 int fd; in _php_stream_bz2open() local
259 if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in _php_stream_bz2open()
260 bz_file = BZ2_bzdopen(fd, mode); in _php_stream_bz2open()
407 int fd; in PHP_FUNCTION() local
443 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void *) &fd, REPORT_ERRORS)) { in PHP_FUNCTION()
447 bz = BZ2_bzdopen(fd, mode); in PHP_FUNCTION()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_conf.c942 int fd; in fpm_conf_process_all_pools() local
950 close(fd); in fpm_conf_process_all_pools()
1115 int fd; in fpm_conf_write_pid() local
1133 close(fd); in fpm_conf_write_pid()
1136 close(fd); in fpm_conf_write_pid()
1475 int fd, n; in fpm_conf_load_ini_file() local
1487 if (fd < 0) { in fpm_conf_load_ini_file()
1494 close(fd); in fpm_conf_load_ini_file()
1513 close(fd); in fpm_conf_load_ini_file()
1524 close(fd); in fpm_conf_load_ini_file()
[all …]
/PHP-5.5/ext/standard/tests/misc/
H A Dtime_sleep_until_error2.phpt6 Filippo De Santis fd@ideato.it
/PHP-5.5/ext/ftp/
H A Dftp.h49 php_socket_t fd; /* data connection */ member
60 php_socket_t fd; /* control connection */ member
/PHP-5.5/sapi/apache/
H A Dsapi_apache.c48 file_handle.handle.fd = 0; in apache_php_module_main()
/PHP-5.5/ext/standard/tests/http/
H A Dserver.inc78 $fd = fopen($file, 'rb');
79 stream_copy_to_stream($fd, $sock);
/PHP-5.5/sapi/roxen/
H A Droxen.c251 int sent_bytes = 0, fd = MY_FD; in php_roxen_sapi_ub_write() local
252 if(fd) in php_roxen_sapi_ub_write()
257 written = fd_write(fd, str + sent_bytes, str_length - sent_bytes); in php_roxen_sapi_ub_write()
659 int fd = fd_from_object(raw_fd->u.object); in f_php_roxen_request_handler() local
660 if(fd == -1) in f_php_roxen_request_handler()
662 THIS->my_fd = fd; in f_php_roxen_request_handler()
/PHP-5.5/ext/fileinfo/libmagic/
H A Dfuncs.c225 int fd; in file_buffer() local
227 if (stream && SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&fd, 0)) { in file_buffer()
228 if ((m = file_trycdf(ms, fd, ubuf, nb)) != 0) { in file_buffer()
244 nb > 5 && fd != -1) { in file_buffer()
254 if ((m = file_tryelf(ms, fd, ubuf, nb)) != 0) in file_buffer()
/PHP-5.5/ext/spl/tests/
H A DSplFileInfo_getGroup_basic.phpt6 Filippo De Santis <fd@ideato.it>
H A DSplFileInfo_getOwner_basic.phpt6 Filippo De Santis <fd@ideato.it>
H A DDirectoryIterator_getInode_basic.phpt6 Filippo De Santis <fd@ideato.it>
H A DDirectoryIterator_getGroup_basic.phpt9 Filippo De Santis <fd@ideato.it>
H A DDirectoryIterator_getOwner_basic.phpt9 Filippo De Santis <fd@ideato.it>
/PHP-5.5/ext/mcrypt/
H A Dmcrypt.c482 MCG(fd[RANDOM]) = -1; in PHP_MINIT_FUNCTION()
483 MCG(fd[URANDOM]) = -1; in PHP_MINIT_FUNCTION()
494 if (MCG(fd[RANDOM]) > 0) { in PHP_MSHUTDOWN_FUNCTION()
495 close(MCG(fd[RANDOM])); in PHP_MSHUTDOWN_FUNCTION()
498 if (MCG(fd[URANDOM]) > 0) { in PHP_MSHUTDOWN_FUNCTION()
499 close(MCG(fd[URANDOM])); in PHP_MSHUTDOWN_FUNCTION()
1425 int *fd = &MCG(fd[source]); in PHP_FUNCTION()
1428 if (*fd < 0) { in PHP_FUNCTION()
1429 *fd = open(source == RANDOM ? "/dev/random" : "/dev/urandom", O_RDONLY); in PHP_FUNCTION()
1430 if (*fd < 0) { in PHP_FUNCTION()
[all …]
/PHP-5.5/sapi/fpm/
H A Dconfig.m4252 int fd;
254 fd = open(buf, O_RDONLY);
255 if (0 > fd) {
258 if (sizeof(long) != pread(fd, &v2, sizeof(long), (uintptr_t) &v1)) {
259 close(fd);
262 close(fd);
463 e.data.fd = 0;
492 fds[0].fd = 0;
495 fds[1].fd = 0;

Completed in 53 milliseconds

12345678