Searched defs:set (Results 1 - 25 of 54) sorted by relevance

123

/ast/src/lib/libast/misc/
H A Dastintercept.c32 * set/clear ast intercept callouts
36 astintercept(Shbltin_t* call, int set) argument
40 if (set)
47 if (set)
H A Ddebug.c44 debug_elapsed(int set) argument
53 if (set)
61 debug_elapsed(int set) argument
H A Dstack.c164 * set|get stack position
168 stacktell(register STACK stack, int set, STACKPOS* position) argument
170 if (set) stack->position = *position;
H A Dtranslate.c58 int set; /* set number */ member in struct:__anon296
105 entry(Dt_t* dict, int set, int seq, const char* msg) argument
112 mp->set = set;
120 sfprintf(sfstderr, "AHA#%d:%s set %d seq %d msg `%s'\n", __LINE__, __FILE__, set, seq, msg);
142 ast.locale.set |= AST_LC_internal;
149 ast.locale.set &= ~AST_LC_internal;
165 register int set; local
[all...]
H A Dstk.c105 int set; member in struct:__anon294
335 * otherwise, the top of the stack is set to stkbot+<offset>
347 increment(set);
380 /* set stack back to the beginning */
/ast/src/cmd/ksh93/tests/
H A Dtimetype.sh41 set() function
H A Dtypes.sh381 function set function
404 [[ ${!foo.l[*]} == *0* ]] && '0-th elment of foo.l should not be set'
/ast/src/lib/libast/sfio/
H A Dsfset.c30 int sfset(Sfio_t* f, int flags, int set) argument
32 int sfset(f,flags,set)
35 int set;
43 if(flags == 0 && set == 0)
48 if(set && (flags & (SF_LINE|SF_WCWIDTH)) && !(f->flags & (SF_LINE|SF_WCWIDTH)))
69 /* set the flag */
70 if(set)
83 { if(!set)
/ast/src/lib/libjcl/
H A Dsym.c40 const char* set; local
44 if (!(set = name))
98 if (!(set = vmstrdup(jcl->vs, set)) || !setenviron(set))
107 message((-2, "set %s=%s", v->name, v->value));
H A Dlib.c54 * if value!=0 then value is set
55 * if (set&DEFAULT) then no set if already defined
56 * if (set&MUST) then error message if not found
61 lookup(register Jcl_t* jcl, const char* name, const char* value, int flags, int set) argument
87 if (!(set & DEFAULT))
179 if ((set & MUST) && jcl->disc->errorf)
184 else if ((set & MUST) && jcl->disc->errorf)
/ast/src/cmd/msgcc/
H A Dmsgget.c35 " \b-\b then the message set and number are determined by looking up"
39 "\nlocale [command:]catalog [set.]number [ text ]\n"
58 int set; local
82 set = num = 0;
84 mcindex(s, NiL, &set, &num);
103 if (set)
104 s = mcget(mc, set, num, msg);
H A Dmsggen.c34 " \acatfile\a. If set and message numbers collide, the new message"
56 "[s:set?Convert the \acatfile\a operand to a message set number and"
66 " [+$delset \an\a \acomment\a?This line deletes message set"
68 " denotes the set number [1, \bNL_SETMAX\b]]. Any"
69 " text following the set number is treated as a"
78 " [+$set \an\a \acomment\a?This line specifies the set"
80 " \b$set\b or end-of-file appears. \an\a denotes the set"
230 int set = 0; local
[all...]
/ast/src/lib/libast/include/
H A Dmc.h36 * #max set number
37 * #set-id 1
38 * #msgs in set 1
40 * #set-id #sets
41 * #msgs in set #sets
73 Mcset_t* set; member in struct:Mc_s
H A Derror.h57 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
85 #define ERROR_SET 0x0080 /* set context */
138 int set; /* default set ERROR_* flags */ member in struct:Error_info_s
/ast/src/lib/libast/comp/
H A Dcatopen.c31 * this is either an Mc_t* (Mc_t.set != 0)
56 Mcset_t* set; member in struct:__anon248
114 if ((s || *name == '/') && (ast.locale.set & (1<<AST_LC_MESSAGES)))
141 _ast_catgets(_ast_nl_catd cat, int set, int num, const char* msg) argument
146 if (!((Cc_t*)cat)->set)
151 msg = (char*)catgets(((Cc_t*)cat)->cat, set, num, msg);
163 return mcget((Mc_t*)cat, set, num, msg);
172 if (!((Cc_t*)cat)->set)
/ast/src/cmd/std/
H A Dtouch.c36 "member. On most systems the file status change time is always set to "
69 "\ast_ctime\a. Most systems summarily set \ast_ctime\a to the current "
91 "times that can be set. These limitations may not show up until a "
92 "subsequent \bstat\b(2) call (yes, the time can be set but not checked!) "
111 int set = 0; local
137 set |= ATIME;
163 set |= MTIME;
169 set |= CTIME;
219 if (!set)
220 set
[all...]
/ast/src/cmd/mailx/
H A Dquit.c328 int set; local
401 set = clr = 0;
405 set |= MSTATUS;
408 if ((mp->m_flag | set) & MSTATUS)
411 set |= MPRESERVE;
413 set |= holdbit;
414 if (set || clr)
415 msgflags(mp, set, clr);
/ast/src/lib/libast/port/
H A Dmc.c188 if (ast.locale.set & AST_LC_find)
192 if (ast.locale.set & (AST_LC_find|AST_LC_setlocale))
286 if (!(mc->set = vmnewof(vm, 0, Mcset_t, mc->num + 1, 0)))
296 * get the set dimensions and initialize the msg pointers
304 mc->set[i].num = n;
305 mc->set[i].msg = mp;
310 * read the msg sizes and set up the msg pointers
314 for (j = 1; j <= mc->set[i].num; j++)
317 mc->set[i].msg[j] = sp;
339 * return the <set,nu
345 mcget(register Mc_t* mc, int set, int num, const char* msg) argument
373 mcput(register Mc_t* mc, int set, int num, const char* msg) argument
613 mcindex(register const char* s, char** e, int* set, int* msg) argument
[all...]
/ast/src/lib/libast/tm/
H A Dtmxscan.c70 * generate a Time_t from tm + set
74 gen(register Tm_t* tm, register Set_t* set) argument
80 if (set->year >= 0)
81 tm->tm_year = set->year;
82 if (set->mon >= 0)
84 if (set->year < 0 && set->mon < tm->tm_mon)
86 tm->tm_mon = set->mon;
87 if (set->yday < 0 && set
183 Set_t set; local
[all...]
H A Dtmxdate.c68 * parse cron range into set
73 range(register char* s, char** e, char* set, int lo, int hi) argument
87 memset(set, 0, hi + 1);
110 set[n] = 1;
162 unsigned long set; local
214 set = state = 0;
229 if ((set|state) & (YEAR|MONTH|DAY))
231 message((-1, "AHA#%d state=" FFMT " set=" FFMT, __LINE__, FLAGS(state), FLAGS(set)));
236 if (((set|stat
[all...]
/ast/src/lib/libast/uwin/
H A Drcmd.c103 sigset_t set, oset; local
133 sigemptyset (&set);
134 sigaddset (&set, SIGURG);
135 sigprocmask (SIG_BLOCK, &set, &oset);
/ast/src/cmd/dsslib/netflow/
H A Dflowlib.h44 unsigned short set; member in struct:Netflow_field_s
55 unsigned int set; member in struct:Netflow_template_s
/ast/src/cmd/builtin/
H A Dtr.c307 unsigned int set[1<<(CHAR_BIT+1)]; local
334 while ((c = nextchar(tr)) >=0 && n < elementsof(set))
340 set[n++] = c;
350 set[c++] = n;
358 c = set[tr->dst];
376 c = set[tr->dst++];
/ast/src/lib/libast/astsa/
H A Dast.h60 unsigned int set; member in struct:__anon244::__anon245
/ast/src/lib/libcmd/
H A Dstty.c31 "[+NAME?stty - set or get terminal modes]"
56 "[+0?All modes reported or set successfully.]"
117 #define SS 0x0004 /* set in sane mode */
633 static void set(char *argv[], struct termios *sp) function
700 error(ERROR_system(1),"cannot set %s",tp->name);
715 error(ERROR_system(1),"cannot set %s",tp->name);
845 listgroup(sp,SPEED,"Attempt to set input and output baud rate to number given. A value of \b0\b causes immediate hangup");
964 set(argv, &tty);
966 error(ERROR_system(1), "cannot set tty");

Completed in 193 milliseconds

123