Searched defs:level (Results 1 - 25 of 88) sorted by relevance

1234

/ast/src/lib/libast/misc/
H A Derrormsg.c33 errormsg(const char* dictionary, int level, ...) argument
37 va_start(ap, level);
38 errorv(dictionary, level, ap);
H A Derrorf.c33 errorf(void* handle, void* discipline, int level, ...) argument
37 va_start(ap, level);
38 errorv((discipline && handle) ? *((char**)handle) : (char*)handle, (discipline || level < 0) ? level : (level | ERROR_LIBRARY), ap);
H A Dsigcrit.c88 * op>0 new region according to SIG_REG_*, return region level
89 * op==0 pop region, return region level
100 static int level; local
114 if (!level++)
118 level--;
143 return level;
172 if (--level <= 0)
174 level = 0;
197 return level;
/ast/src/lib/libpp/
H A Dpperror.c31 pperror(int level, ...) argument
35 va_start(ap, level);
36 errorv(pp.pass, level, ap);
H A Dppincref.c35 int level; local
41 level = 0;
44 level++;
45 if (level > 0)
46 level--;
47 error(0, "%-*s%s", level * 4, "", file);
/ast/src/cmd/cs/vcs_src/
H A Dvcs_message.c26 static void tracev(int level, va_list ap) argument
30 if (!level || debug && level <= debug)
32 if (level)
33 sfprintf(sfstdout, "[%d] ", level);
40 void trace(int level, ...) argument
44 va_start(ap, level);
45 tracev(level, ap);
/ast/src/lib/libast/regex/
H A Dregfatal.c33 regfatalpat(regex_t* p, int level, int code, const char* pat) argument
40 error(level, "regular expression: %s: %s", pat, buf);
42 error(level, "regular expression: %s", buf);
46 regfatal(regex_t* p, int level, int code) argument
48 regfatalpat(p, level, code, NiL);
/ast/src/lib/libast/astsa/
H A Derror.c33 errorv(const char* id, int level, va_list ap) argument
39 if (level < 0)
43 flags = level & ~ERROR_LEVEL;
44 level &= ERROR_LEVEL;
47 if (level && ((s = error_info.id) || (s = (char*)id)))
56 else if (level < 0)
57 sfprintf(sfstderr, "debug%d: ", level);
58 else if (level)
60 if (level == ERROR_WARNING)
68 if (level
85 error(int level, ...) argument
95 errorf(void* handle, void* discipline, int level, ...) argument
[all...]
/ast/src/lib/libast/comp/
H A Dftw.h45 int level; member in struct:FTW
H A Dtsearch.c201 static void _twalk(Tree_t* obj, void(*action)(const Void_t*,VISIT,int), int level) argument
203 static void _twalk(obj,action,level)
206 int level;
209 (*action)((Void_t*)obj,leaf,level);
211 { (*action)((Void_t*)obj,preorder,level);
213 _twalk((Tree_t*)obj->lchild,action,level+1);
214 (*action)((Void_t*)obj,postorder,level);
216 _twalk((Tree_t*)obj->rchild,action,level+1);
217 (*action)((Void_t*)obj,endorder,level);
/ast/src/lib/libast/hash/
H A Dhashdump.c107 int level; local
112 level = 1;
113 while (scope = scope->scope) level++;
114 sfprintf(sfstderr, " level %d scope on 0x%08lx", level, (unsigned long)tab->scope);
/ast/src/lib/libast/uwin/
H A Derr.c48 errmsg(int level, int code, const char* fmt, va_list ap) argument
63 errorv(fmt, level|ERROR_NOID, ap);
64 if ((level & ERROR_LEVEL) >= ERROR_ERROR)
/ast/src/cmd/mailx/port/
H A Ddtstat.c77 static void dttstat(Dtstat_t* ds, Dtlink_t* root, int depth, int* level) argument
79 static void dttstat(ds,root,depth,level)
83 int* level;
87 dttstat(ds,root->left,depth+1,level);
89 dttstat(ds,root->right,depth+1,level);
92 if(level)
93 level[depth] += 1;
/ast/src/cmd/3d/
H A Ddir_3d.h196 int level; /* view level */ member in struct:__anon16
208 int boundary; /* return . at each view level */
H A Dopen3d.c139 int level; local
183 if (state.path.level && LSTAT(sp, &st))
205 level = state.path.level;
210 if ((oflag & O_CREAT) && (!sp || level || (oflag & O_EXCL)) || (sp || level) && ((oflag & O_TRUNC) || (oflag & O_ACCMODE) != O_RDONLY))
216 if (!level)
245 else if (state.level <= 0 || *sp == '/')
248 if (r < 0 && errno == ENOENT && (sp = pathreal(path, P_DOTDOT, NiL)) && state.path.level)
267 if (level
[all...]
H A Derror.c30 * level is the error level
31 * level >= error_info.core!=0 dumps core
32 * level >= ERROR_FATAL calls error_info.exit
33 * level < 0 is for debug tracing
92 errorv(const char* lib, int level, va_list ap) argument
112 if (level > 0)
114 flags = level & ~ERROR_LEVEL;
115 level &= ERROR_LEVEL;
118 if ((fd = fsfd(&state.fs[FS_option])) <= 0 || level < error_inf
213 error(int level, ...) argument
223 errormsg(const char* dictionary, int level, ...) argument
234 errorf(void* handle, void* discipline, int level, ...) argument
[all...]
/ast/src/lib/libdss/
H A Dtag.h62 unsigned int level; /* nesting level */ member in struct:Tagframe_s
/ast/src/lib/libjcl/
H A Dfind.c248 * level>0 is not found error message level
253 jclfind(Jcl_t* jcl, const char* name, unsigned long flags, int level, Sfio_t** spp) argument
308 if (level && jcl->disc->errorf)
309 (*jcl->disc->errorf)(NiL, jcl->disc, ERROR_SYSTEM|level, "%s: not found", name); local
312 if (spp && !(*spp = sfopen(NiL, s, "r")) && level > 0 && jcl->disc->errorf)
313 (*jcl->disc->errorf)(NiL, jcl->disc, ERROR_SYSTEM|level, "%s: cannot read", s); local
/ast/src/cmd/nmake/
H A Dmain.c113 * debug level n enables tracing for all levels less than or equal to n
115 * if debug level < 20 then all levels are disabled during early bootstrap
116 * if debug level = 1 then all levels are disabled until after .INIT is made
118 * level trace
227 intercept(Sfio_t* sp, int level, int flags) argument
240 if ((state.mam.level = level) > 0 && !state.hold && (r = internal.error) && (r->property & (P_functional|P_target)) == (P_functional|P_target) && !state.compileonly && !state.interrupt && (m = stakptr(0)) && (n = staktell()) > 0)
252 sfprintf(tmp, "%d %-.*s", level, n, m);
256 * return [ level | - ] [ message ]
257 * level i
[all...]
H A Dtrap.c122 int level; local
134 if (error_info.trace <= (level = (state.test & 0x00010000) ? 2 : CMDTRACE))
140 error(level, "ALARM TIME RULE");
143 error(level, "%6s %s %s", fmtelapsed((a->time >= now) ? (a->time - now) : 0, 1), timestr(tmxsns(a->time, 0)), a->rule->name);
147 error(level, "ALARM -- NONE");
/ast/src/cmd/pax/
H A Dpax-tnef.c66 unsigned int level; local
86 level = swapget(ap->swap, s + 0, 1);
95 if (level == 2)
97 level = 0;
127 if (level == 2)
/ast/src/cmd/paxlib/rar/
H A Drar.c43 unsigned short level; member in struct:Ar_s
148 if ((ar->level = buf[18]) == 0x30)
/ast/src/cmd/pzip/
H A Dpcmp.c39 int level; member in struct:__anon190
53 if (compress2(t, &used, f, fsize, state.level) != Z_OK)
127 state.level = 6;
132 switch (optget(argv, "c#[cols]l#[compression-level]r#[rows]vT#[test-mask]"))
138 state.level = opt_info.num;
H A Dr2c.c53 int level; member in struct:State_s
180 state.level = 9;
183 switch (optget(argv, "d:[delimiter]l#[compression-level]q:[quote]t:[terminator]vw#[window-size]T#[test-mask]"))
189 state.level = opt_info.num;
219 if (state.level > 0 && sfdcgzip(sfstdout, state.level) < 0)
/ast/src/cmd/re/
H A Dsed0.c105 aopen(char *s, int level) argument
109 error(ERROR_SYSTEM|level, "%s: cannot open", s);

Completed in 133 milliseconds

1234