Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 37) sorted by relevance

12

/plan9/sys/src/cmd/gs/src/
H A Dsfxstdio.c68 s->file_modes = s->modes; in sread_file()
77 if (s->file == 0 || s->modes != s_mode_read + s_mode_seek || in sread_subfile()
191 s->file_modes = s->modes; in swrite_file()
200 s->modes = s_mode_write + s_mode_append; /* no seek */ in sappend_file()
201 s->file_modes = s->modes; in sappend_file()
269 uint modes = s->file_modes; in s_file_switch() local
280 if (modes & s_mode_append) { in s_file_switch()
286 s->modes = modes; in s_file_switch()
297 s->modes |= modes & s_mode_append; /* don't lose append info */ in s_file_switch()
300 s->file_modes = modes; in s_file_switch()
H A Dsfxfd.c130 s->file_modes = s->modes; in sread_fileno()
144 if (s->file == 0 || s->modes != s_mode_read + s_mode_seek || in sread_subfile()
271 s->file_modes = s->modes; in swrite_fileno()
280 s->modes = s_mode_write + s_mode_append; /* no seek */ in sappend_fileno()
281 s->file_modes = s->modes; in sappend_fileno()
349 uint modes = s->file_modes; in s_fileno_switch() local
360 if (modes & s_mode_append) { in s_fileno_switch()
366 s->modes = modes; in s_fileno_switch()
377 s->modes |= modes & s_mode_append; /* don't lose append info */ in s_fileno_switch()
380 s->file_modes = modes; in s_fileno_switch()
H A Dstream.h133 byte modes; /* access modes allowed for this stream */ member
138 #define s_is_valid(s) ((s)->modes != 0)
139 #define s_is_reading(s) (((s)->modes & s_mode_read) != 0)
140 #define s_is_writing(s) (((s)->modes & s_mode_write) != 0)
141 #define s_can_seek(s) (((s)->modes & s_mode_seek) != 0)
H A Dzfunc0.c61 if (!(s->modes & s_mode_seek)) in gs_build_function_0()
H A Dstream.c156 int modes) in s_std_init() argument
164 s->modes = modes; in s_std_init()
176 (ulong) s, (ulong) ptr, len, modes); in s_std_init()
293 s->modes = 0; in s_disable()
H A Dzfrsd.c168 if (~s->modes & (s_mode_read | s_mode_seek)) in zreusablestream()
H A Dzfilter.c388 if (s->modes == 0 /* stream is closed */ || s->bsize >= min_size) in filter_ensure_buf()
H A Ddevs.mak53 # * ali SuperVGA using Avance Logic Inc. chipset, 256-color modes
54 # * atiw ATI Wonder SuperVGA, 256-color modes
55 # * cirr SuperVGA using Cirrus Logic CL-GD54XX chips, 256-color modes
58 # * tseng SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes
59 # * tvga SuperVGA using Trident chipset, 256-color modes
76 # * lvga256 Linux vgalib, 256-color VGA modes [Linux only]
77 # + vgalib Linux vgalib, 16-color VGA modes [Linux only]
337 # where NNN is the display mode in decimal. See Use.htm for the modes
406 ### Note that the vgalib device supports only 16-color VGA modes. ###
/plan9/sys/src/cmd/unix/u9fs/
H A Ddirmodeconv.c4 static char *modes[] = variable
19 strncpy(s, modes[m], 3); in rwx()
/plan9/sys/src/cmd/unix/drawterm/libc/
H A Ddirmodefmt.c5 static char *modes[] = variable
20 strncpy(s, modes[m], 3); in rwx()
/plan9/sys/src/libc/9sys/
H A Ddirmodefmt.c5 static char *modes[] = variable
20 strncpy(s, modes[m], 3); in rwx()
/plan9/sys/src/cmd/graph/
H A Dgraph.c50 char *modes[] = { variable
169 if(temp>=sizeof(modes)/sizeof(*modes)) in setopt()
630 pen(modes[j%(sizeof modes/sizeof *modes-1)+1]); in plot()
635 pen(modes[mode]); in plot()
656 pen(modes[1]); in plot()
/plan9/sys/src/cmd/disk/
H A Dmkfs.c72 int modes; variable
123 modes = 1; in main()
311 }else if(modes){ in copyfile()
719 m = modes; in setusers()
720 modes = 1; in setusers()
747 modes = m; in setusers()
/plan9/sys/src/games/mp3dec/
H A Dlayer3.c1322 short modes[39]; in III_stereo() local
1332 modes[i] = header->mode_extension; in III_stereo()
1392 modes[i] = header->mode_extension & ~I_STEREO; in III_stereo()
1399 modes[i] = header->mode_extension & ~I_STEREO; in III_stereo()
1422 modes[i] = header->mode_extension & ~I_STEREO; in III_stereo()
1437 if (!(modes[sfbi] & I_STEREO)) in III_stereo()
1441 modes[sfbi] &= ~I_STEREO; in III_stereo()
1473 if (!(modes[sfbi] & I_STEREO)) in III_stereo()
1479 modes[sfbi] &= ~I_STEREO; in III_stereo()
1507 if (modes[sfbi] != MS_STEREO) in III_stereo()
/plan9/sys/doc/
H A Dasm.ms162 Note the use of an offset; the complete list of addressing modes is given below.
201 Addressing modes
203 The simple addressing modes are shared by all the assemblers.
204 Here, for completeness, follows a table of all the 68020 addressing modes,
211 Many of the modes listed have the same name;
854 The addressing modes have syntax like
1059 The register indirect addressing modes use the same syntax as the SPARC,
1275 Addressing modes are supported by suffixes to the instructions:
1309 Shifts and rotates in addressing modes are supported by binary operators
H A Dape.ms164 the emacs and vi editing modes.
/plan9/sys/src/cmd/9nfs/
H A Dnfs.c198 static int modes[] = { in xfopen() local
208 omode = modes[(xf->mode|flag) & Open]; in xfopen()
/plan9/sys/src/cmd/aux/vga/
H A Dnotes.txt74 This is the function actually used to switch modes.
98 For a good introduction to video modes, read Eric Raymond's XFree86
108 5. Now we are almost ready to switch video modes. We dump the
299 as it can use one of the standard clock modes rather than
H A Dadventure314 All 15 bit modes work perfectly.
318 All 16 bit modes work perfectly.
369 that 32-bit modes don't really work all that well,
/plan9/sys/src/cmd/gs/jpeg/
H A Dchange.log126 decoding modes available to suspending-input applications. However,
206 supported in all operating modes.
H A Dstructure.doc84 low-quality modes may not meet the JPEG standard's accuracy requirements;
300 * In some processing modes, a given interstep buffer need only be a "strip"
302 modes, a full-image buffer is needed and several passes are required.
474 all but the highest-quality operating modes, upsampling and color
495 Note that some high-speed operating modes might condense the entire
/plan9/sys/src/cmd/gs/zlib/
H A Dalgorithm.txt52 modes (level parameter 1 to 3). For these fast modes, new strings
/plan9/acme/bin/source/acd/
H A Daccess23 You may choose to support either one, or both of these modes.
/plan9/sys/src/cmd/gs/libpng/
H A DCHANGES751 Added modes PNG_CREATED_READ_STRUCT and PNG_CREATED_WRITE_STRUCT which
753 code to check these modes in png_read_init() and png_write_init() and
754 generate a libpng error if the modes aren't set and PNG_LEGACY_SUPPORTED
762 Removed the new PNG_CREATED_READ_STRUCT and PNG_CREATED_WRITE_STRUCT modes
/plan9/sys/src/ape/cmd/patch/
H A DChangeLog512 When creating temporaries, use file modes of original files.
515 (create_output_file): New function, which preserves modes of original files
539 (copy_file, move_file): Add support for preserving file modes.

12