Searched refs:__LINE__ (Results 1 - 25 of 39) sorted by relevance

12

/ast/src/lib/libtksh/include/
H A Ddebug.h8 __FILE__, __LINE__); fprintf x; break; }
17 # define dprintf(x) do { if (__dprintfOK(__FILE__, __LINE__, 1)) \
19 # define dprintf2(x) do { if (__dprintfOK(__FILE__, __LINE__, 2)) \
21 # define dprintfArgs(s,c,v) do { if (__dprintfOK(__FILE__,__LINE__,1))\
23 # define dprintfNum(b,n,a) do { if (__dprintfOK(__FILE__,__LINE__,1))\
H A Dtcl.h423 # define Tcl_Alloc(x) Tcl_DbCkalloc(x, __FILE__, __LINE__)
424 # define Tcl_Free(x) Tcl_DbCkfree(x, __FILE__, __LINE__)
425 # define Tcl_Realloc(x,y) Tcl_DbCkrealloc((x), (y),__FILE__, __LINE__)
426 # define ckalloc(x) Tcl_DbCkalloc(x, __FILE__, __LINE__)
427 # define ckfree(x) Tcl_DbCkfree(x, __FILE__, __LINE__)
428 # define ckrealloc(x,y) Tcl_DbCkrealloc((x), (y),__FILE__, __LINE__)
H A Dtkshlib.h10 #define NTcl_FreeResult(interp) do { sfprintf(sfstderr, "Free of %s at %s %d (%x)\n", (interp)->result, __FILE__, __LINE__, (interp)->freeProc); (interp)->freeProc = 0; } while(0)
/ast/src/lib/libvgraph/
H A Dkpvdebug.h9 #ifndef __LINE__
10 #define __LINE__ 0 macro
37 #define ASSERT(p) ((p) ? 0 : (_oops(__FILE__, __LINE__),0))
45 #define RETURN(x) (_oops(__FILE__, __LINE__), (x))
46 #define BREAK (_oops(__FILE__, __LINE__))
47 #define GOTO(label) do { _oops(__FILE__, __LINE__); goto label; } while(0)
/ast/src/cmd/ksh93/include/
H A Dregress.h43 #define REGRESS(r,i,f) do { if (sh_isregress(REGRESS_##r)) sh_regress(REGRESS_##r, i, sfprints f, __LINE__, __FILE__); } while (0)
52 #define SHOPT_P_SUID sh_regress_p_suid(__LINE__, __FILE__)
/ast/src/cmd/vczip/tests/
H A Dterror.h71 #ifdef __LINE__
72 #define terror (Tstline=__LINE__),tsterror
77 #ifdef __LINE__
78 #define twarn (Tstline=__LINE__),tstwarn
83 #ifdef __LINE__
84 #define tsuccess (Tstline=__LINE__),tstsuccess
92 #ifdef __LINE__
93 #define TSTDEBUG(x) (Tstline=__LINE__),tstwarn x
/ast/src/lib/libast/include/
H A Ddebug.h46 #define DEBUG_ASSERT(p) ((p) ? 0 : (debug_fatal(__FILE__, __LINE__),0))
58 #define DEBUG_GOTO(label) do { debug_fatal(__FILE__, __LINE__); goto label; } while(0)
59 #define DEBUG_RETURN(x) do { debug_fatal(__FILE__, __LINE__); return(x); } while(0)
H A Dvmalloc.h221 #if defined(__LINE__)
222 #define _VMLINE_(vm) (_VM_(vm)->line = __LINE__)
/ast/src/cmd/tests/sfio/
H A Dtbadargs.c24 #if defined(__LINE__)
25 #define CALL(x) ((Code_line = __LINE__), (x))
H A Dtpipe.c24 #define SYNC line = __LINE__;
/ast/src/lib/libast/comp/
H A Dcatopen.c84 sfprintf(sfstderr, "AHA#%d:%s %s LC_MESSAGES=%s:%s\n", __LINE__, __FILE__, name, _ast_setlocale(LC_MESSAGES, 0), setlocale(LC_MESSAGES, 0));
89 sfprintf(sfstderr, "AHA#%d:%s %s\n", __LINE__, __FILE__, s);
126 sfprintf(sfstderr, "AHA#%d:%s %s %s native %p\n", __LINE__, __FILE__, s, name, cc->cat);
H A Diconv.c179 error(DEBUG_TRACE, "AHA#%d _win_codeset name=%s", __LINE__, name);
242 error(DEBUG_TRACE, "AHA#%d _win_iconv_open f=%s t=%s\n", __LINE__, f, t);
249 error(DEBUG_TRACE, "AHA#%d _win_iconv_open f=0x%04x t=0x%04x\n", __LINE__, cc->from.index, cc->to.index);
272 error(DEBUG_TRACE, "AHA#%d _win_iconv from=0x%04x to=0x%04x\n", __LINE__, cc->from.index, cc->to.index);
389 error(DEBUG_TRACE, "AHA#%d _win_iconv *fn=%u fz=%u[%u] *tn=%u tz=%u\n", __LINE__, *fn, fz, fz * sizeof(WCHAR), *tn, tz);
445 if (error_info.trace < DEBUG_TRACE) sfprintf(sfstderr, "%s: debug-%d: AHA%d _ast_iconv_name m=\"%s\"\n", error_info.id, error_info.trace, __LINE__, m);
450 if (error_info.trace < DEBUG_TRACE) sfprintf(sfstderr, "%s: debug-%d: AHA%d _ast_iconv_name n=%d bp=%p cp=%p ccode=%d name=\"%s\"\n", error_info.id, error_info.trace, __LINE__, n, bp, cp, cp->ccode, cp->name);
509 if (error_info.trace < DEBUG_TRACE) sfprintf(sfstderr, "%s: debug-%d: AHA%d _ast_iconv_name ccode=%d canon=\"%s\"\n", error_info.id, error_info.trace, __LINE__, cp->ccode, o);
521 if (error_info.trace < DEBUG_TRACE) sfprintf(sfstderr, "%s: debug-%d: AHA%d _ast_iconv_name ccode=%d canon=\"%s\"\n", error_info.id, error_info.trace, __LINE__, CC_ICONV, o);
1058 error(DEBUG_TRACE, "AHA#%d _ast_iconv_open f=%s t=%s\n", __LINE__,
[all...]
/ast/src/cmd/cs/
H A Dmbb.c122 message((-1, "[%d] %d backlog", __LINE__, to->fp->fd));
146 message((-1, "[%d] %s: create log", __LINE__, state->logs[log].name));
148 message((-1, "[%d] %s: %d log", __LINE__, state->logs[log].name, to->fp->fd));
156 message((-1, "[%d] %s: block", __LINE__, state->logs[log].name));
160 message((-1, "[%d] %s: %d offset %I*d", __LINE__, state->logs[log].name, to->fp->fd, sizeof(to->blocked[log]), to->blocked[log]));
166 message((-1, "[%d] %s: %d unblock", __LINE__, state->logs[log].name, to->fp->fd));
174 message((-1, "[%d] %s: clear", __LINE__, state->logs[log].name));
193 message((-1, "[%d] %s reserve n %I*d offset %I*d", __LINE__, state->logs[log].name, sizeof(n), n, sizeof(con->blocked[log]), con->blocked[log]));
/ast/src/lib/libast/tm/
H A Dtmxdate.c231 message((-1, "AHA#%d state=" FFMT " set=" FFMT, __LINE__, FLAGS(state), FLAGS(set)));
708 message((-1, "AHA#%d n=%d w=%d u='%c' f=%d t=\"%s\"", __LINE__, n, w, *u, f, t));
810 message((-1, "AHA#%d n=%d", __LINE__, n));
814 message((-1, "AHA#%d n=%d", __LINE__, n));
830 message((-1, "AHA#%d f=%d n=%d state=" FFMT, __LINE__, f, n, FLAGS(state)));
835 message((-1, "AHA#%d n=%d u=\"%s\"", __LINE__, n, u));
840 message((-1, "AHA#%d t=\"%s\"", __LINE__, t));
851 message((-1, "AHA#%d t=\"%s\"", __LINE__, t));
971 message((-1, "AHA#%d s=\"%s\"", __LINE__, s));
1033 message((-1, "AHA#%d f=%d i=%d j=%d k=%d l=%d", __LINE__,
[all...]
/ast/src/lib/libast/misc/
H A Dtranslate.c120 sfprintf(sfstderr, "AHA#%d:%s set %d seq %d msg `%s'\n", __LINE__, __FILE__, set, seq, msg);
352 sfprintf(sfstderr, "AHA#%d:%s cmd %s cat %s:%s id %s msg `%s'\n", __LINE__, __FILE__, cmd, cat, error_info.catalog, ast.id, msg);
363 sfprintf(sfstderr, "AHA#%d:%s cp->locale `%s' %p loc `%s' %p\n", __LINE__, __FILE__, cp->locale, cp->locale, loc, loc);
381 sfprintf(sfstderr, "AHA#%d:%s cp->cat %p cp->debug %d NOCAT %p\n", __LINE__, __FILE__, cp->cat, cp->debug, NOCAT);
/ast/src/cmd/3d/
H A Dstrmatch.c339 error(-4, "subgroup#%d n=%d beg=%p end=%p len=%d", __LINE__, n, mp->current.beg[n], mp->current.end[n], mp->current.end[n] - mp->current.beg[n]);
351 error(-4, "subgroup#%d n=%d beg=%p end=%p len=%d", __LINE__, n, mp->current.beg[n], mp->current.end[n], mp->current.end[n] - mp->current.beg[n]);
394 error(-3, "best#%d groups=%d next=\"%s\"", __LINE__, mp->best.groups, mp->best.next_s);
405 error(-2, "backref#%d n=%d g=%d beg=%p end=%p len=%d", __LINE__, n, g, mp->current.beg[n], mp->current.end[n], mp->current.end[n] - mp->current.beg[n]);
452 error(-3, "best#%d groups=%d next=\"%s\"", __LINE__, mp->best.groups, mp->best.next_s);
696 error(-2, "backref#%d n=%d g=%d beg=%p end=%p len=%d", __LINE__, n, g, mp->current.beg[n], mp->current.end[n], mp->current.end[n] - mp->current.beg[n]);
/ast/src/lib/libcmd/
H A Djoin.c452 #define getrec(p,n,d) (u1 = getrec(p, n, d), sfprintf(sfstdout, "[G%d#%d@%I*d:%-.8s]", __LINE__, n, sizeof(Sfoff_t), sftell(p->file[n].iop), u1), u1)
546 #define outfield(p,i,n,f) (sfprintf(sfstdout, "[F%d#%d:%d,%d]", __LINE__, i1=i, i2=n, i3=f), outfield(p, i1, i2, i3))
626 #define outrec(p,n) (sfprintf(sfstdout, "[R#%d,%d,%lld,%lld:%-.*s{%d}:%-.*s{%d}]", __LINE__, i1=n, lo, hi, jp->file[0].fieldlen, cp1, jp->file[0].hit, jp->file[1].fieldlen, cp2, jp->file[1].hit), outrec(p, i1))
654 sfprintf(sfstdout, "[C#%d:%d(%c-%c),%d,%lld,%lld%s]", __LINE__, cmp, *cp1, *cp2, same, lo, hi, (jp->outmode & C_COMMON) ? ",COMMON" : "");
693 sfprintf(sfstdout, "[2#%d:0,%lld,%lld]", __LINE__, lo, hi);
737 sfprintf(sfstdout, "[2#%d:0,%lld,%lld]", __LINE__, lo, hi);
773 sfprintf(sfstdout, "[X#%d:?,%p,%p,%d,%d,%d%s]", __LINE__, cp1, cp2, cmp, lo, hi, (jp->outmode & C_COMMON) ? ",COMMON" : "");
785 sfprintf(sfstdout, "[O#%d:%02o:%02o]", __LINE__, jp->ooutmode, jp->outmode);
797 sfprintf(sfstdout, "[X#%d:%d,%p,%p,%d,%02o,%02o%s]", __LINE__, n, cp1, cp2, cmp, jp->ooutmode, jp->outmode, (jp->outmode & C_COMMON) ? ",COMMON" : "");
/ast/src/cmd/pax/
H A Dnocomment.c44 #define sfputc(a,b) line_sfputc(__LINE__,a,b)
46 #define sfputr(a,b,c) line_sfputr(__LINE__,a,b,c)
H A Dcopy.c242 error(3, "%s: base archive mismatch [%s#%d]", f->name, __FILE__, __LINE__);
252 error(3, "%s: base archive mismatch [%s#%d]", f->name, __FILE__, __LINE__);
270 error(3, "%s: base archive mismatch [%s#%d]", f->name, __FILE__, __LINE__);
278 error(3, "%s: base archive mismatch [%s#%d]", f->name, __FILE__, __LINE__);
/ast/src/lib/libast/regex/
H A Dregnexec.c408 DEBUG_TEST(0x0010,(sfprintf(sfstdout, "AHA#%04d 0x%04x parserep %s %d %d %d %d `%-.*s'\n", __LINE__, debug_flag, rexname(rex->re.group.expr.rex), rex->re.group.number, rex->lo, n, rex->hi, env->end - s, s)),(0));
444 DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x PUSH %d (%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)(%z,%z)\n", __LINE__, debug_flag, rex->re.group.number, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo, env->match[2].rm_so, env->match[2].rm_eo)),(0));
447 DEBUG_TEST(0x0010,(sfprintf(sfstdout, "AHA#%04d 0x%04x parserep parse %d %d `%-.*s'\n", __LINE__, debug_flag, rex->re.group.number, r, env->end - s, s)),(0));
452 DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x POP %d %d (%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)(%z,%z)\n", __LINE__, debug_flag, rex->re.group.number, r, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo, env->match[2].rm_so, env->match[2].rm_eo)),(0));
819 DEBUG_TEST(0x0008,(sfprintf(sfstdout, "AHA#%04d 0x%04x parse %s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), env->end - s, s)),(0));
1040 DEBUG_TEST(0x0100,(sfprintf(sfstdout,"AHA#%04d 0x%04x %s (%z,%z)(%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)\n", __LINE__, debug_flag, rexname(rex), env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->best[3].rm_so, env->best[3].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo)),(0));
1071 DEBUG_TEST(0x0100,(sfprintf(sfstdout,"AHA#%04d 0x%04x %s (%z,%z)(%z,%z)(%z,%z)(%z,%z) (%z,%z)(%z,%z)\n", __LINE__, debug_flag, rexname(rex), env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so, env->best[2].rm_eo, env->best[3].rm_so, env->best[3].rm_eo, env->match[0].rm_so, env->match[0].rm_eo, env->match[1].rm_so, env->match[1].rm_eo)),(0));
1179 DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), env->end - s, s)),(0));
1201 DEBUG_TEST(0x0200,(sfprintf(sfstdout,"AHA#%04d 0x%04x parse %s=>%s `%-.*s'\n", __LINE__, debug_flag, rexname(rex), rexname(rex->re.group_catch.cont), env->end - s, s)),(0));
1678 DEBUG_TEST(0x0020,(sfprintf(sfstdout, "AHA#%04d 0x%04x %s n %d len %d s `%-.*s'\n", __LINE__, debug_fla
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dregress.c44 #define TRACE(r,i,f) sh_regress(REGRESS_##r, i, sfprints f, __LINE__, __FILE__)
/ast/src/lib/libpp/
H A Dpp.h34 * this disables __LINE__, __FILE__, __DATE__ and __TIME__
37 #undef __LINE__ macro
38 #define __LINE__ 0 macro
/ast/src/cmd/ksh93/sh/
H A Djobs.c366 if(sfprintf(sfstderr,"ksh: job line %4d: reap pid=%d critical=%d signal=%d\n",__LINE__,getpid(),job.in_critical,sig) <=0)
436 sfprintf(sfstderr,"ksh: job line %4d: reap pid=%d critical=%d unknown job pid=%d pw=%x\n",__LINE__,getpid(),job.in_critical,pid,pw);
541 sfprintf(sfstderr,"ksh: job line %4d: reap pid=%d critical=%d job %d with pid %d flags=%o complete with status=%x exit=%d\n",__LINE__,getpid(),job.in_critical,pw->p_job,pid,pw->p_flag,wstat,pw->p_exit);
1385 sfprintf(sfstderr,"ksh: job line %4d: post pid=%d critical=%d job=%d pid=%d pgid=%d savesig=%d join=%d\n",__LINE__,getpid(),job.in_critical,pw->p_job,
1537 sfprintf(sfstderr,"ksh: job line %4d: wait pid=%d critical=%d job=%d pid=%d\n",__LINE__,getpid(),job.in_critical,jobid,pid);
1539 sfprintf(sfstderr,"ksh: job line %4d: wait pid=%d critical=%d flags=%o\n",__LINE__,getpid(),job.in_critical,pw->p_flag);
1793 sfprintf(sfstderr,"ksh: job line %4d: drop pid=%d critical=%d pid=%d env=%d\n",__LINE__,getpid(),job.in_critical,pwtop->p_pid,pwtop->p_env);
1832 sfprintf(sfstderr,"ksh: job line %4d: free pid=%d critical=%d job=%d\n",__LINE__,getpid(),job.in_critical,pwtop->p_job);
2038 sfprintf(sfstderr,"ksh: job line %4d: fork pid=%d critical=%d parent=%d\n",__LINE__,getpid(),job.in_critical,parent);
/ast/src/cmd/mailx/
H A Dspam.c793 note(0, "spam: host ok#%d `%s' `%s'", __LINE__, local, s);
800 note(0, "spam: host ok#%d `%s' `%s'", __LINE__, local, s);
/ast/src/lib/libvcodex/
H A Dvcodex.h440 #if defined(__FILE__) && defined(__LINE__)
443 ((vv)->file = __FILE__, (vv)->line = __LINE__, \

Completed in 63 milliseconds

12