Searched defs:fd (Results 1 - 25 of 31) sorted by relevance

12

/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbc_open_device.c59 int fd; /* Graphics device file descriptor # */ local
62 device->fd = -1;
83 fd = open(device->path, O_RDWR);
84 if (fd == -1) {
93 if (ioctl(fd, VIS_GETIDENTIFIER, &device->vis_ident.name[0]) < 0) {
96 close(fd);
100 device->fd = fd;
H A Dfbc_dev.h50 int fd; /* File descriptor number, else -1 */ member in struct:__anon21
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/ast/
H A Ddma.c35 register int const fd)
48 dma_test(&rp, fd);
64 register int const fd)
70 ast_info.ast_fd = fd;
34 ast_test_dma( register int const fd) argument
62 dma_test( register return_packet *const rp, register int const fd) argument
H A Dmapper.c36 register int const fd)
44 if (gfx_vts_check_fd(fd, &rp))
50 rc = ioctl(fd, VIS_GETIDENTIFIER, &vis_identifier);
69 map_me(&rp, fd);
89 register int const fd)
94 ast_info.ast_fd = fd;
35 ast_test_open( register int const fd) argument
87 map_me( register return_packet *const rp, register int const fd) argument
H A Dchip.c34 register int const fd)
50 chip_test(&rp, fd);
67 register int const fd)
73 ast_info.ast_fd = fd;
33 ast_test_chip( register int const fd) argument
65 chip_test( register return_packet *const rp, register int const fd) argument
H A Dmemory.c50 register int const fd)
66 memory_test(&rp, fd);
82 register int const fd)
94 ast_info.ast_fd = fd;
49 ast_test_memory( register int const fd) argument
80 memory_test( register return_packet *const rp, register int const fd) argument
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/mga/
H A Ddma.c29 register int const fd)
42 dma_test(&rp, fd);
58 register int const fd)
68 mga_info.mga_fd = fd;
71 close(fd);
77 close(fd);
85 close(fd);
91 close(fd);
126 close(fd);
138 close(fd);
28 mga_test_dma( register int const fd) argument
56 dma_test( register return_packet *const rp, register int const fd) argument
[all...]
H A Dchip.c34 register int const fd)
51 chip_test(&rp, fd);
68 register int const fd)
74 mga_info.mga_fd = fd;
77 close(fd);
83 close(fd);
91 close(fd);
97 close(fd);
112 close(fd);
120 close(fd);
33 mga_test_chip( register int const fd) argument
66 chip_test( register return_packet *const rp, register int const fd) argument
[all...]
H A Dmapper.c35 register int const fd)
43 if (gfx_vts_check_fd(fd, &rp)) {
50 rc = ioctl(fd, VIS_GETIDENTIFIER, &vis_identifier);
70 map_me(&rp, fd);
87 register int const fd)
90 mga_info.mga_fd = fd;
93 close(fd);
99 close(fd);
105 close(fd);
111 close(fd);
34 mga_test_open( register int const fd) argument
85 map_me( register return_packet *const rp, register int const fd) argument
[all...]
H A Dmemory.c50 register int const fd)
67 memory_test(&rp, fd);
83 register int const fd)
95 mga_info.mga_fd = fd;
98 close(fd);
104 close(fd);
199 close(fd);
204 if (close(fd) != 0) {
49 mga_test_memory( register int const fd) argument
81 memory_test( register return_packet *const rp, register int const fd) argument
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/efb/
H A Dmapper.c36 register int const fd)
44 if (gfx_vts_check_fd(fd, &rp))
50 rc = ioctl(fd, VIS_GETIDENTIFIER, &vis_identifier);
69 map_me(&rp, fd);
89 register int const fd)
92 efb_info.efb_fd = fd;
35 efb_test_open( register int const fd) argument
87 map_me( register return_packet *const rp, register int const fd) argument
H A Dchip.c34 register int const fd)
49 chip_test(&rp, fd);
65 register int const fd)
71 efb_info.efb_fd = fd;
33 efb_test_chip( register int const fd) argument
63 chip_test( register return_packet *const rp, register int const fd) argument
H A DlibvtsSUNWefb.c717 register int const fd)
716 efb_test_dma( register int const fd) argument
H A Dmemory.c50 register int const fd)
66 memory_test(&rp, fd);
82 register int const fd)
94 efb_info.efb_fd = fd;
49 efb_test_memory( register int const fd) argument
80 memory_test( register return_packet *const rp, register int const fd) argument
/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Dpix_grab.h51 u_int fd; /* server's per client file descrptr*/ member in struct:shpx_client_entry
H A Dcmap_grab.h194 int fd; member in struct:cmap_devlist
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/gfx_common/vts/
H A Dgfx_vts.c198 int fd, /* File descriptor number */
202 if (fd < 0) {
197 gfx_vts_check_fd( int fd, return_packet *rp) argument
/solaris-x11-s11/open-src/driver/xf86-video-ast/sun-src/src/
H A Dast_sparc_driver.c104 if ((status = ioctl(info->fd, VIS_GETPCICONFIG, &pciCfg))
160 int fd; local
170 if (((fd = open(dev, O_RDWR, 0)) >= 0)) {
175 info->fd = fd;
201 fdd = info->fd;
257 status = ioctl(info->fd, VIS_STOREVIDEOMODENAME, &mode);
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A Dcsconndi.c165 int fd = -1; /* file descriptor to return */ local
321 if ((fd = (*connfunc) (phostname, iagent, X_CONNECTION_RETRIES,
333 ioctl (fd, FIOSNBIO, &arg);
337 (void) fcntl (fd, F_SETFL, O_NONBLOCK);
339 (void) fcntl (fd, F_SETFL, FNDELAY);
341 (void) fcntl (fd, F_SETFL, O_NDELAY);
345 (void) fcntl (fd, F_SETFD, 1);
366 return fd;
373 if (fd >= 0) (void) close (fd);
430 int fd; local
502 int fd; /* socket file descriptor */ local
559 int fd; /* file descriptor to return */ local
[all...]
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1AsciiSrc.c850 int fd; local
852 if ( ((fd = creat(name, 0666)) == -1 ) ||
853 (write(fd, string, sizeof(unsigned char) * strlen(string)) == -1) ) {
859 if ( close(fd) == -1 ) {
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DAsciiSrc.c921 int fd; local
923 if ( ((fd = creat(name, 0666)) == -1 ) ||
924 (write(fd, string, sizeof(unsigned char) * strlen(string)) == -1) )
927 if ( close(fd) == -1 )
H A DMultiSrc.c1006 int fd; local
1008 if ( ((fd = creat(name, 0666)) == -1 ) ||
1009 (write(fd, string, sizeof(unsigned char) * strlen(string)) == -1) )
1012 if ( close(fd) == -1 )
/solaris-x11-s11/open-src/app/dsession/sun-src/
H A Ddsession.c178 FILE *fd; local
185 fd = fdopen(p_fd[0], "r");
190 while (fgets(buf, size, fd) != NULL) {
209 while (fgets(buf, 256, fd) != NULL);
214 fclose(fd);
378 FILE *fd; local
386 fd = fdopen(p_fd[0], "r");
391 while (fgets(buf, BUFSIZ, fd) != NULL) {
483 fclose(fd);
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_io32.h99 int fd; member in struct:drm_buf_map_32
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_io32.h116 int fd; member in struct:drm_buf_map_32

Completed in 50 milliseconds

12