Searched refs:mask (Results 1 - 25 of 101) sorted by relevance

12345

/ast/src/lib/libast/comp/
H A Dsetlogmask.c38 setlogmask(int mask)
42 old_mask = log.mask;
43 if (mask)
44 log.mask = mask;
H A Dsigunblock.c43 sigset_t mask;
45 sigemptyset(&mask);
48 sigaddset(&mask, s);
52 return(sigprocmask(op, &mask, NiL));
H A Dsysloglib.h44 unsigned int mask; /* setlogmask mask */ member in struct:__anon255
H A Dfmtmsglib.c46 unsigned int mask;
189 display(register const MM_table_t* tab, int value, int mask)
193 if (value == tab->value || mask && (value & tab->value))
211 unsigned int mask;
219 mm.mask = MM_default;
226 mm.mask = MM_default;
231 mm.mask |= p->value;
282 mask = MM_all;
289 mask = mm.mask;
[all...]
H A Dcloselog.c47 log.mask = ~0;
/ast/src/lib/libcmd/
H A Dmkfifo.c57 register mode_t mask = 0; local
83 mask = umask(0);
86 mode &= ~mask;
87 umask(mask);
88 mask = 0;
93 if (mask)
94 umask(mask);
H A Dmkdir.c70 register mode_t mask = 0; local
108 mask = umask(0);
111 dmode = DIRMODE & ~mask;
118 mode &= ~mask;
119 umask(mask);
120 mask = 0;
186 if (mask)
187 umask(mask);
H A Dmktemp.c70 mode_t mask; local
126 mask = umask(0);
128 mode = (fdp ? (S_IRUSR|S_IWUSR) : S_IRWXU) & ~mask;
167 umask(mask);
H A Dstty.c126 unsigned long mask; member in struct:tty_s
375 sp->c_cflag |= tp->mask;
377 sp->c_cflag &= ~tp->mask;
381 sp->c_iflag |= tp->mask;
383 sp->c_iflag &= ~tp->mask;
387 sp->c_oflag |= tp->mask;
389 sp->c_oflag &= ~tp->mask;
393 sp->c_lflag |= tp->mask;
395 sp->c_lflag &= ~tp->mask;
400 sp->c_cc[tp->mask]
811 listmask(Sfio_t *sp,unsigned int mask,const char *description) argument
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dumask.c22 * umask [-S] [mask]
43 register char *mask; local
61 if(mask = *argv)
64 if(isdigit(*mask))
66 while(c = *mask++)
76 char *cp = mask;
82 errormsg(SH_DICT,ERROR_exit(1),e_format,mask);
/ast/src/lib/libast/misc/
H A Dsigcrit.c70 static long hold; /* held signal mask */
102 static sigset_t mask; local
106 static long mask; local
124 sigprocmask(SIG_BLOCK, &nmask, &mask);
127 mask = 0;
130 mask |= sigmask(signals[i].sig);
131 mask = sigblock(mask);
176 sigprocmask(SIG_SETMASK, &mask, NiL);
179 sigsetmask(mask);
[all...]
H A Dproclib.h50 Sig_mask_t mask; /* original blocked sig mask */ \
H A Dprocclose.c76 sigprocmask(SIG_SETMASK, &p->mask, NiL);
79 sigsetmask(p->mask);
/ast/src/lib/libcs/
H A Dmsggetmask.c25 * put list of msg names in mask into buffer b,n
26 * ! as first char means inverted mask
27 * size of mask is returned
33 msggetmask(char* buf, register int n, register unsigned long mask) argument
47 if (mask & MSG_MASK(m)) n1 += n;
61 if ((mask & MSG_MASK(m)) == 0 == n)
/ast/src/lib/libtksh/src/
H A Dshcompat.c15 int _nv_scan(Hashtab_t *root, void (*fn)(Namval_t *,void*), void *data, int mask, int flags) argument
17 return nv_scan(root, (void (*)(Namval_t *)) fn, mask, flags);
/ast/src/lib/libtksh/tcl/
H A DtclUnixNotfy.c86 * given by fd next becomes ready in the way indicated by mask.
87 * If fd is already registered then the old mask will be replaced
96 Tcl_WatchFile(file, mask)
98 int mask; /* OR'ed combination of TCL_READABLE,
118 if (mask & TCL_READABLE) {
121 if (mask & TCL_WRITABLE) {
124 if (mask & TCL_EXCEPTION) {
151 * The return value is 0 if none of the conditions specified by mask
153 * conditions were true, then the return value is a mask of those
163 Tcl_FileReady(file, mask)
[all...]
H A DtclUnixChan.c112 int mask));
116 int mask));
131 int mask));
133 int mask));
135 static void TcpAccept _ANSI_ARGS_((ClientData data, int mask));
149 int mask));
151 int mask));
537 FileWatchProc(instanceData, mask)
539 int mask; /* Events of interest; an OR-ed
545 if ((mask
[all...]
/ast/src/lib/libast/string/
H A Dstrperm.c51 int mask; local
58 mask = ~0;
155 umask(mask = umask(0));
156 mask = ~mask;
158 typ &= mask;
/ast/src/lib/libdss/
H A Dcxmap.c69 if (!map->mask)
70 map->mask = ~map->mask;
109 if (part->mask)
112 part->mask = ~part->mask;
113 masks = part->item ? part->item->mask : 0;
118 if (item->mask != masks)
120 if (item->mask)
123 item->mask
[all...]
/ast/src/lib/libtk/generic/
H A DtkEvent.c168 * mask occurs for token and is processed by Tk_HandleEvent,
176 Tk_CreateEventHandler(token, mask, proc, clientData)
179 unsigned long mask; /* Events for which proc should
191 * overall event mask for the window (so we can pass this new
194 * change the mask). If no existing handler matches, then create
209 handlerPtr->mask = mask;
227 handlerPtr->mask = mask;
259 Tk_DeleteEventHandler(token, mask, pro
411 unsigned long mask; local
[all...]
H A DtkCursor.c46 char *mask; /* Mask bits. */ member in struct:__anon394
48 * and mask). */
179 Tk_GetCursorFromData(interp, tkwin, source, mask, width, height,
184 char *mask; /* Bitmap data for cursor mask. */
202 dataKey.mask = mask;
233 cursorPtr = TkCreateCursorFromData(tkwin, source, mask, width, height,
/ast/src/lib/libcoshell/
H A Dcolib.h55 int mask; /* previous umask */ \
60 int mask; /* CO_* flags to clear */ \
/ast/src/lib/libtk/unix/
H A DtkUnixCursor.c159 Pixmap mask = None;
177 * If two args, they are name and fg color (ignore mask). If
236 * four (source mask fg bg).
268 &mask, &dummy1, &dummy2) != BitmapSuccess) {
275 "source and mask bitmaps have different sizes";
290 cursor = XCreatePixmapCursor(display, source, mask,
308 if (mask != None) {
309 Tk_FreePixmap(display, mask);
326 * Creates a cursor from the source and mask bits.
338 TkCreateCursorFromData(tkwin, source, mask, widt
158 Pixmap mask = None; local
[all...]
/ast/src/lib/libast/regex/
H A Dregrexec.c45 register Bm_mask_t** mask; local
67 mask = e->re.bm.mask;
79 m = mask[n = exactlen - 1][buf[index]];
84 } while (m &= mask[n][buf[--index]]);
/ast/src/lib/libtksh/include/
H A Dshcompat.h35 int mask, int flags);

Completed in 40 milliseconds

12345