Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 132) sorted by relevance

123456

/plan9/sys/src/cmd/gs/lib/
H A Dlprsetup.sh61 for device in $DEVICES
64 case "$device" in
65 *.dq) device=`basename $device .dq` ; dualqueue=t ;;
67 rm -f $GSFILTERDIR/$device
69 rm -f $GSFILTERDIR/indirect/$device
70 ln -s . $GSFILTERDIR/indirect/$device
72 rm -f $GSFILTERDIR/direct/$device
73 ln -s . $GSFILTERDIR/direct/$device
100 for device in $DEVICES
103 case "$device" in
[all …]
H A Dunix-lpr.sh60 device=`dirname $0`
61 type=`dirname ${device}`
62 device=`basename ${device}`
63 fdevname=$device
70 colorspec="`echo ${device} | sed 's/.*\.[0-9][0-9]*\.\([0-9][0-9]*\)$/\1/'`"
71 if test "$colorspec" = "${device}"
75 device=`basename ${device} .$colorspec`
79 bpp="`echo ${device} | sed 's/.*\.\([0-9][0-9]*\)$/\1/'`"
80 if test "$bpp" = "${device}"
84 device=`basename ${device} .$bpp`
[all …]
/plan9/sys/src/cmd/gs/src/
H A Dgdevdsp.h180 int (*display_open)(void *handle, void *device);
184 int (*display_preclose)(void *handle, void *device);
188 int (*display_close)(void *handle, void *device);
193 int (*display_presize)(void *handle, void *device,
198 int (*display_size)(void *handle, void *device, int width, int height,
202 int (*display_sync)(void *handle, void *device);
206 int (*display_page)(void *handle, void *device, int copies, int flush);
213 int (*display_update)(void *handle, void *device, int x, int y,
223 void *(*display_memalloc)(void *handle, void *device, unsigned long size);
227 int (*display_memfree)(void *handle, void *device, void *mem);
[all …]
H A Ddwmainc.c141 int display_open(void *handle, void *device) in display_open() argument
145 fprintf(stdout, "display_open(0x%x, 0x%x)\n", handle, device); in display_open()
147 img = image_new(handle, device); /* create and add to list */ in display_open()
154 int display_preclose(void *handle, void *device) in display_preclose() argument
158 fprintf(stdout, "display_preclose(0x%x, 0x%x)\n", handle, device); in display_preclose()
160 img = image_find(handle, device); in display_preclose()
168 int display_close(void *handle, void *device) in display_close() argument
172 fprintf(stdout, "display_close(0x%x, 0x%x)\n", handle, device); in display_close()
174 img = image_find(handle, device); in display_close()
186 int display_presize(void *handle, void *device, int width, int height, in display_presize() argument
[all …]
H A Ddwmain.c108 static int display_open(void *handle, void *device) in display_open() argument
113 sprintf(buf, "display_open(0x%x, 0x%x)\n", handle, device); in display_open()
116 img = image_new(handle, device); /* create and add to list */ in display_open()
124 static int display_preclose(void *handle, void *device) in display_preclose() argument
128 sprintf(buf, "display_preclose(0x%x, 0x$x)\n", handle, device); in display_preclose()
137 static int display_close(void *handle, void *device) in display_close() argument
142 sprintf(buf, "display_close(0x%x, 0x$x)\n", handle, device); in display_close()
145 img = image_find(handle, device); in display_close()
155 static int display_presize(void *handle, void *device, int width, int height, in display_presize() argument
162 handle, device, width, height, raster, format); in display_presize()
[all …]
H A Dgsdllwin.h25 GSDLLEXPORT HGLOBAL GSDLLAPI gsdll_copy_dib(unsigned char * device);
26 GSDLLEXPORT HPALETTE GSDLLAPI gsdll_copy_palette(unsigned char * device);
27 GSDLLEXPORT void GSDLLAPI gsdll_draw(unsigned char * device, HDC hdc, LPRECT dest,
29 GSDLLEXPORT int GSDLLAPI gsdll_get_bitmap_row(unsigned char *device,
41 (unsigned char *device, LPBITMAPINFOHEADER pbmih, LPRGBQUAD prgbquad,
H A Ddpmain.c326 void *device; member
347 static IMAGE *image_find(void *handle, void *device);
350 image_find(void *handle, void *device) in image_find() argument
354 if ((img->handle == handle) && (img->device == device)) in image_find()
381 sprintf(id, ID_NAME, img->pid, (ULONG)img->device); in run_gspmdrv()
547 int display_open(void *handle, void *device) in display_open() argument
560 fprintf(stdout, "display_open(0x%x, 0x%x)\n", handle, device); in display_open()
593 img->device = device; in display_open()
601 sprintf(id, ID_NAME, img->pid, (ULONG) img->device); in display_open()
660 int display_preclose(void *handle, void *device) in display_preclose() argument
[all …]
H A Ddmmain.c67 void *device; member
79 static IMAGE *image_find(void *handle, void *device);
86 static int display_open(void *handle, void *device);
87 static int display_preclose(void *handle, void *device);
88 static int display_close(void *handle, void *device);
89 static int display_presize(void *handle, void *device, int width, int height,
91 static int display_size(void *handle, void *device, int width, int height,
93 static int display_sync(void *handle, void *device);
94 static int display_page(void *handle, void *device, int copies, int flush);
95 static int display_update(void *handle, void *device,
[all …]
H A Ddxmain.c49 static int display_open(void *handle, void *device);
50 static int display_preclose(void *handle, void *device);
51 static int display_close(void *handle, void *device);
52 static int display_presize(void *handle, void *device, int width, int height,
54 static int display_size(void *handle, void *device, int width, int height,
56 static int display_sync(void *handle, void *device);
57 static int display_page(void *handle, void *device, int copies, int flush);
58 static int display_update(void *handle, void *device, int x, int y,
154 void *device; member
175 static IMAGE *image_find(void *handle, void *device);
[all …]
H A Dgsdfilt.c63 rc_increment(pgs->device); in gs_push_device_filter()
64 dfs->next_device = pgs->device; in gs_push_device_filter()
65 code = df->push(df, mem, pgs, &new_dev, pgs->device); in gs_push_device_filter()
83 gx_device *tos_device = pgs->device; in gs_pop_device_filter()
H A Ddwimg.h41 void *device; member
80 IMAGE *image_find(void *handle, void *device);
81 IMAGE *image_new(void *handle, void *device);
H A Dgdevwpr2.c275 const char* device = (char*)(devnames)+(devnames->wDeviceOffset); in win_pr2_open() local
278 wdev->hdcprn = CreateDC(driver, device, output, devmode); in win_pr2_open()
861 char *device; in win_pr2_getdc() local
889 device = wdev->fname + 8; /* skip over \\spool\ */ in win_pr2_getdc()
892 device = wdev->fname + 9; /* skip over %printer% */ in win_pr2_getdc()
904 if (stricmp(p, device) == 0) in win_pr2_getdc()
915 GetProfileString("Devices", device, "", driverbuf, sizeof(driverbuf)); in win_pr2_getdc()
926 if (!OpenPrinter(device, &hprinter, NULL)) in win_pr2_getdc()
928 size = DocumentProperties(NULL, hprinter, device, NULL, NULL, 0); in win_pr2_getdc()
938 DocumentProperties(NULL, hprinter, device, podevmode, NULL, DM_OUT_BUFFER); in win_pr2_getdc()
[all …]
H A Dgscssub.c83 return (!pgs->device->UseCIEColor || in gs_current_DeviceGray_space()
92 return (!pgs->device->UseCIEColor || in gs_current_DeviceRGB_space()
101 return (!pgs->device->UseCIEColor || in gs_current_DeviceCMYK_space()
H A Dgdevwdib.c115 private int win_dib_lock_device(unsigned char *device, int flag);
302 gsdll_copy_dib(unsigned char *device) in gsdll_copy_dib() argument
304 gx_device_win_dib *dev = (gx_device_win_dib *) device; in gsdll_copy_dib()
314 gsdll_copy_palette(unsigned char *device) in gsdll_copy_palette() argument
316 gx_device_win_dib *dev = (gx_device_win_dib *) device; in gsdll_copy_palette()
330 gsdll_draw(unsigned char *device, HDC hdc, LPRECT dest, LPRECT src) in gsdll_draw() argument
332 gx_device_win_dib *dev = (gx_device_win_dib *) device; in gsdll_draw()
629 win_dib_lock_device(unsigned char *device, int flag) in win_dib_lock_device() argument
631 gx_device *dev = (gx_device *) device; in win_dib_lock_device()
654 gsdll_lock_device(unsigned char *device, int flag) in gsdll_lock_device() argument
[all …]
H A Dgsdevice.c182 return pgs->device; in gs_currentdevice()
343 gx_set_cmap_procs((gs_imager_state *)pgs, pgs->device); in gs_state_update_device()
349 int code = gs_putdeviceparams(pgs->device, plist); in gs_state_putdeviceparams()
413 if (pgs->device != NULL && pgs->device->rc.ref_count == 1 && in gs_setdevice_no_init()
414 pgs->device != dev) { in gs_setdevice_no_init()
415 int code = gs_closedevice(pgs->device); in gs_setdevice_no_init()
420 rc_assign(pgs->device, dev, "gs_setdevice_no_init"); in gs_setdevice_no_init()
483 if (pgs->device == 0 || !gx_device_is_null(pgs->device)) { in gs_nulldevice()
523 rc_assign(pgs->device, dev, "gx_set_device_only"); in gx_set_device_only()
H A Dgzstate.h134 gx_device *device; member
136 #define gs_currentdevice_inline(pgs) ((pgs)->device)
H A Dgxclpage.c44 memcpy(&page->device, pdev, sizeof(gx_device)); in gdev_prn_save_page()
75 memcmp(&page->device.color_info, &pdev->color_info, in gdev_prn_render_pages()
/plan9/sys/doc/fs/
H A Dp65 largest and most complicated device driver in the file server.
7 It implements a read/write pseudo-device (the cw-device)
8 and a read-only pseudo-device (the dump device)
10 the read-write c-device and the write-once-read-many
11 w-device.
22 The cw-driver uses the w-device as the
26 exact copies of blocks of the w-device are kept on the c-device.
27 The c-device is much smaller than the w-device and
28 so the subset of w-blocks that are kept on the c-device are
29 mapped through a hash table kept on a partition of the c-device.
[all …]
H A Dp44 The block device I/O system is like a
10 Each pseudo-device and device has a set of entry points
12 requires of a device.
19 The device stack can best be described by
29 string that specifies a block device.
33 are concatenated to form a single device.
34 The size of the catenated device is the
35 sum of the sizes of each sub-device.
41 then the pseudo-device is the N-way block
43 The size of the interleaved device is
[all …]
H A Dp312 particular block on a particular device.
17 the data will be read from the requested device.
21 the buffer will be written to the device before
26 device to access the buffers,
/plan9/sys/src/cmd/cwfs/doc/
H A Dworm.fs57 ideinit(device 9ce00948 ctrl 0 targ 0) driveno 0 dp 802eff24
61 ideinit(device 9ce00988 ctrl 0 targ 0) driveno 0 dp 802eff24
76 ideinit(device 9ce00a68 ctrl 0 targ 0) driveno 0 dp 802eff24
82 ideinit(device 9ce00ae8 ctrl 0 targ 2) driveno 2 dp 802f4324
89 ideinit(device 9ce00bc8 ctrl 0 targ 0) driveno 0 dp 802eff24
93 ideinit(device 9ce00c48 ctrl 0 targ 2) driveno 2 dp 802f4324
117 ideinit(device 9ce00ca8 ctrl 0 targ 3) driveno 3 dp 802f44f0
/plan9/sys/src/cmd/ip/
H A Drarpd.c29 char *device = "ether0"; variable
71 device = p; in main()
99 edata = dial(netmkaddr("0x8035", device, 0), 0, 0, &ectl); in main()
105 sprint(ebuf, "%s/%s", net, device); in main()
/plan9/sys/src/cmd/gs/doc/
H A Dgs-vms.hlp27 device xyz as the initial output device, include the switch
46 as the desired default device name. The order of precedence for these
51 (first device in build list)
54 gs "-sDEVICE=<device>" -r<xres>x<yres>
61 If you select a printer as the output device, Ghostscript also
62 allows you to control where the device sends its output. Normally,
245 Suppresses the normal initialization of the output device. This may be
268 -sDEVICE=device
269 Selects an alternate initial output device, as described above.
272 Selects an alternate output file for the initial output device, as
/plan9/sys/src/cmd/postscript/postbgi/
H A DREADME4 device space coordinates. Helps eliminate variations in line widths
10 and need require device specific tuning to get things just right. An
/plan9/sys/src/cmd/postscript/mcolor/
H A Dcolor.sr23 . \" Implementation details are device dependent and are handled in the
28 . \" All colors may not be supported on every output device, and the direct
30 . \" be device dependent. In any case, to be safe on PostScript devices, all

123456