Searched refs:call (Results 1 - 25 of 42) sorted by relevance

12

/ast/src/lib/libast/misc/
H A Dastintercept.c36 astintercept(Shbltin_t* call, int set) argument
38 if (call->shgetenv)
41 intercepts.intercept_getenv = call->shgetenv;
45 if (call->shsetenv)
48 intercepts.intercept_setenviron = call->shsetenv;
H A Dmagic.c69 struct Entry* lab; /* call this function */
482 int call = -1; local
505 call = -1;
538 if (mp->keep[level] && call < (MAXNEST - 1))
540 mp->ret[++call] = ep;
546 ep = mp->ret[call--];
806 if (num > 0 && mp->keep[level] && call < (MAXNEST - 1))
821 mp->ret[++call] = ep;
1759 (*mp->disc->errorf)(mp, mp->disc, 2, "%c: invalid function call argument list", n + 'a');
/ast/src/cmd/warp/
H A Dwarp.c25 * time related system call intercept
251 Syscall_f call; member in struct:__anon240
286 * and intercept call p
423 if (!p->call && !(p->call = (Syscall_f)dlsym(state.dll, p->mangled)))
446 return (*(Alarm_f)p->call)(s);
448 r = (*(Alarm_f)p->call)(s);
459 static Call_t call = { "alarm", "alarm" }; local
461 return warp_alarm(&call, sec);
469 static Call_t call local
477 static Call_t call = { "alarm", "__alarm" }; local
485 static Call_t call = { "alarm", "_libc_alarm" }; local
493 static Call_t call = { "alarm", "__libc_alarm" }; local
519 static Call_t call = { "gettimeofday", "gettimeofday" }; local
529 static Call_t call = { "gettimeofday", "_gettimeofday" }; local
537 static Call_t call = { "gettimeofday", "__gettimeofday" }; local
545 static Call_t call = { "gettimeofday", "_libc_gettimeofday" }; local
553 static Call_t call = { "gettimeofday", "__libc_gettimeofday" }; local
579 static Call_t call = { "poll", "poll" }; local
589 static Call_t call = { "poll", "_poll" }; local
597 static Call_t call = { "poll", "__poll" }; local
605 static Call_t call = { "poll", "_libc_poll" }; local
613 static Call_t call = { "poll", "__libc_poll" }; local
646 static Call_t call = { "select", "select" }; local
656 static Call_t call = { "select", "_select" }; local
664 static Call_t call = { "select", "__select" }; local
672 static Call_t call = { "select", "_libc_select" }; local
680 static Call_t call = { "select", "__libc_select" }; local
710 static Call_t call = { "time", "time" }; local
720 static Call_t call = { "time", "_time" }; local
728 static Call_t call = { "time", "__time" }; local
736 static Call_t call = { "time", "_libc_time" }; local
744 static Call_t call = { "time", "__libc_time" }; local
770 static Call_t call = { "times", "times" }; local
780 static Call_t call = { "times", "_times" }; local
788 static Call_t call = { "times", "__times" }; local
796 static Call_t call = { "times", "_libc_times" }; local
804 static Call_t call = { "times", "__libc_times" }; local
835 static Call_t call = { "utime", "utime" }; local
845 static Call_t call = { "utime", "_utime" }; local
853 static Call_t call = { "utime", "__utime" }; local
861 static Call_t call = { "utime", "_libc_utime" }; local
869 static Call_t call = { "utime", "__libc_utime" }; local
903 static Call_t call = { "utimensat", "utimensat" }; local
913 static Call_t call = { "utimensat", "_utimensat" }; local
921 static Call_t call = { "utimensat", "__utimensat" }; local
929 static Call_t call = { "utimensat", "_libc_utimensat" }; local
937 static Call_t call = { "utimensat", "__libc_utimensat" }; local
971 static Call_t call = { "utimes", "utimes" }; local
981 static Call_t call = { "utimes", "_utimes" }; local
989 static Call_t call = { "utimes", "__utimes" }; local
997 static Call_t call = { "utimes", "_libc_utimes" }; local
1005 static Call_t call = { "utimes", "__libc_utimes" }; local
1039 static Call_t call = { "utimets", "utimets" }; local
1049 static Call_t call = { "utimets", "_utimets" }; local
1057 static Call_t call = { "utimets", "__utimets" }; local
1065 static Call_t call = { "utimets", "_libc_utimets" }; local
1073 static Call_t call = { "utimets", "__libc_utimets" }; local
1127 static Call_t call = { "_fxstat", "_fxstat" }; local
1140 static Call_t call = { "_fxstat", "__fxstat" }; local
1153 static Call_t call = { "_lxstat", "_lxstat" }; local
1166 static Call_t call = { "_lxstat", "__lxstat" }; local
1179 static Call_t call = { "_xstat", "_xstat" }; local
1192 static Call_t call = { "_xstat", "__xstat" }; local
1247 static Call_t call = { "_fxstat64", "_fxstat64" }; local
1260 static Call_t call = { "_fxstat64", "__fxstat64" }; local
1273 static Call_t call = { "_lxstat64", "_lxstat64" }; local
1286 static Call_t call = { "_lxstat64", "__lxstat64" }; local
1299 static Call_t call = { "_xstat64", "_xstat64" }; local
1312 static Call_t call = { "_xstat64", "__xstat64" }; local
1353 static Call_t call = { "fstat", "fstat" }; local
1363 static Call_t call = { "fstat", "_fstat" }; local
1371 static Call_t call = { "fstat", "__fstat" }; local
1379 static Call_t call = { "fstat", "_libc_fstat" }; local
1387 static Call_t call = { "fstat", "__libc_fstat" }; local
1397 static Call_t call = { "__fstat32", "__fstat32" }; local
1420 static Call_t call = { "lstat", "lstat" }; local
1430 static Call_t call = { "lstat", "_lstat" }; local
1438 static Call_t call = { "lstat", "__lstat" }; local
1446 static Call_t call = { "lstat", "_libc_lstat" }; local
1454 static Call_t call = { "lstat", "__libc_lstat" }; local
1464 static Call_t call = { "__lstat32", "__lstat32" }; local
1472 static Call_t call = { "__statlstat32", "__statlstat32" }; local
1495 static Call_t call = { "stat", "stat" }; local
1505 static Call_t call = { "stat", "_stat" }; local
1513 static Call_t call = { "stat", "__stat" }; local
1521 static Call_t call = { "stat", "_libc_stat" }; local
1529 static Call_t call = { "stat", "__libc_stat" }; local
1539 static Call_t call = { "__stat32", "__stat32" }; local
1582 static Call_t call = { "fstat64", "fstat64" }; local
1592 static Call_t call = { "fstat64", "_fstat64" }; local
1600 static Call_t call = { "fstat64", "__fstat64" }; local
1608 static Call_t call = { "fstat64", "_libc_fstat64" }; local
1616 static Call_t call = { "fstat64", "__libc_fstat64" }; local
1637 static Call_t call = { "lstat64", "lstat64" }; local
1647 static Call_t call = { "lstat64", "_lstat64" }; local
1655 static Call_t call = { "lstat64", "__lstat64" }; local
1663 static Call_t call = { "lstat64", "_libc_lstat64" }; local
1671 static Call_t call = { "lstat64", "__libc_lstat64" }; local
1692 static Call_t call = { "stat64", "stat64" }; local
1702 static Call_t call = { "stat64", "_stat64" }; local
1710 static Call_t call = { "stat64", "__stat64" }; local
1718 static Call_t call = { "stat64", "_libc_stat64" }; local
1726 static Call_t call = { "stat64", "__libc_stat64" }; local
1756 static Call_t call = { "clock_gettime", "clock_gettime" }; local
1766 static Call_t call = { "clock_gettime", "_clock_gettime" }; local
1774 static Call_t call = { "clock_gettime", "__clock_gettime" }; local
1782 static Call_t call = { "clock_gettime", "_libc_clock_gettime" }; local
1790 static Call_t call = { "clock_gettime", "__libc_clock_gettime" }; local
1823 static Call_t call = { "getitimer", "getitimer" }; local
1833 static Call_t call = { "getitimer", "_getitimer" }; local
1841 static Call_t call = { "getitimer", "__getitimer" }; local
1849 static Call_t call = { "getitimer", "_libc_getitimer" }; local
1857 static Call_t call = { "getitimer", "__libc_getitimer" }; local
1910 static Call_t call = { "setitimer", "setitimer" }; local
1920 static Call_t call = { "setitimer", "_setitimer" }; local
1928 static Call_t call = { "setitimer", "__setitimer" }; local
1936 static Call_t call = { "setitimer", "_libc_setitimer" }; local
1944 static Call_t call = { "setitimer", "__libc_setitimer" }; local
2085 static Call_t call = { "execve", "execve" }; local
2093 static Call_t call = { "execve", "_execve" }; local
2101 static Call_t call = { "execve", "__execve" }; local
2109 static Call_t call = { "execve", "_libc_execve" }; local
2117 static Call_t call = { "execve", "__libc_execve" }; local
2125 static Call_t call = { "execv", "execv" }; local
2133 static Call_t call = { "execv", "_execv" }; local
2141 static Call_t call = { "execv", "__execv" }; local
2149 static Call_t call = { "execv", "_libc_execv" }; local
2157 static Call_t call = { "execv", "__libc_execv" }; local
2165 static Call_t call = { "execvp", "execvp" }; local
2173 static Call_t call = { "execvp", "_execvp" }; local
2181 static Call_t call = { "execvp", "__execvp" }; local
2189 static Call_t call = { "execvp", "_libc_execvp" }; local
2197 static Call_t call = { "execvp", "__libc_execvp" }; local
2205 static Call_t call = { "execvpe", "execvpe" }; local
2213 static Call_t call = { "execvpe", "_execvpe" }; local
2221 static Call_t call = { "execvpe", "__execvpe" }; local
2229 static Call_t call = { "execvpe", "_libc_execvpe" }; local
2237 static Call_t call = { "execvpe", "__libc_execvpe" }; local
2245 static Call_t call = { "execl", "execl" }; local
2253 static Call_t call = { "execl", "_execl" }; local
2261 static Call_t call = { "execl", "__execl" }; local
2269 static Call_t call = { "execl", "_libc_execl" }; local
2277 static Call_t call = { "execl", "__libc_execl" }; local
2285 static Call_t call = { "execlp", "execlp" }; local
2293 static Call_t call = { "execlp", "_execlp" }; local
2301 static Call_t call = { "execlp", "__execlp" }; local
2309 static Call_t call = { "execlp", "_libc_execlp" }; local
2317 static Call_t call = { "execlp", "__libc_execlp" }; local
[all...]
/ast/src/lib/libcs/
H A Dmsgname.c25 * return name given call
29 msgname(register unsigned long call) argument
35 if ((n = MSG_CALL(call)) > MSG_STD)
40 switch (MSG_VAR(call))
43 if (MSG_ARG(call, 1) == MSG_ARG_file)
H A Dmsguser.c23 * syscall message user side call and return
41 msgvcall(int fd, unsigned long channel, unsigned long call, Msg_return_t* ret, void** xp, va_list ap) argument
75 if (MSG_CALL(call) == MSG_write && !msg_write && (MSG_PURE(call) == MSG_PURE(MSG_write) || MSG_PURE(call) == (MSG_write|MSG_EXT(MSG_ARG_number, 4))))
90 o = MSG_ARG(call, 4) == MSG_ARG_number ? va_arg(ap, off_t) : (off_t)0;
95 if ((t = msgcall(fd, channel, call, ret, ip, b, z, o)) == -1)
110 if (ret) call |= MSG_VALUE;
113 msgputu(&b, e, call);
115 if (call
376 msgcall(int fd, unsigned long channel, unsigned long call, Msg_return_t* ret, ...) argument
393 msgvreturn(int fd, unsigned long call, void** xp, va_list ap) argument
555 msgreturn(int fd, unsigned long call, ...) argument
[all...]
H A Dmsglist.c23 * list system call message
133 r += sfprintf(sp, "%s (", msgname(msg->call));
135 at = msg->call >> MSG_ARG_CALL;
157 if (MSG_MASK(msg->call) & terse) r += sfprintf(sp, " %p", p);
161 if ((msg->call & MSG_VALUE) && !(MSG_MASK(msg->call) & terse))
163 switch (MSG_CALL(msg->call))
239 if (MSG_MASK(msg->call) & terse) r += sfprintf(sp, " %p", vp);
252 if (msg->call & MSG_VALUE) switch (MSG_ARG(msg->call,
[all...]
H A Dmsgsend.c36 msgsend(int fd, register Msg_call_t* msg, unsigned long call, long ret, int err, void* data) argument
46 if (call & MSG_ACK)
56 msgputu(&b, e, call);
59 else if (data) switch (MSG_CALL(call))
135 if (call & MSG_ACK)
H A Dmsgblast.c53 msg->call = msggetu(&b, e);
55 if (msg->call & MSG_ACK)
60 at = msg->call >> MSG_ARG_CALL;
61 if (msg->call & MSG_VALUE) switch (at & ((1 << MSG_ARG_TYPE) - 1))
108 if (msg->call & MSG_VALUE) switch (MSG_CALL(msg->call))
/ast/src/lib/libast/comp/
H A Dconf.sh200 shift; call=$1
279 ?*) call=$sys ;;
281 case $call in
283 *) sys=$call ;;
289 eval CONF_call_${key}='$'call
308 eval call=\"'$'CONF_call_$key\"
316 printf "%29s %35s %8s %2s %1d %5s %s$nl" "$name" "$key" "$standard" "$call" "$section" "$flags" "$define${values:+$sp=$values}${headers:+$sp$headers$nl}${script:+$sp$ob$script$nl$cb}"
420 call=$1
433 call=$1
466 *R*) case $call i
[all...]
/ast/src/cmd/3d/
H A Dsyscall3d.c25 * 3d system call trace
255 bprintf(b, e, " %03d%s %03d %12s", cp - sys_trace, (cp - sys_trace) == cp->index ? " " : "*", cp->call, cp->name);
257 if (MSG_MASK(cp->call) & state.trap.intercept[m].mask)
258 bprintf(b, e, " %p[%d]", state.trap.intercept[m].call, m);
285 sysfunc(int call) argument
288 return sys_trace[call].func;
293 syscall3d(int call, void* a1, void* a2, void* a3, void* a4, void* a5, void* a6) argument
300 syscall3d(int call, ...)
325 va_start(vp, call);
327 cp = sys_trace + call;
[all...]
H A Dfs.c99 * return real fd for up under mount mp to be accessed by call
104 fsreal(register Mount_t* mp, long call, const char* up) argument
118 n = sfsprintf(s, sizeof(dev) - 1, "%s %-*s %s%s%-*s pwd=%s%s%s", msgname(call), lz, mp->logical, up, pz ? " physical=" : "", pz, mp->physical ? mp->physical : "", state.pwd, mp->fs->attr, mp->attr);
143 * do fs call
145 * 0 returned if mounted with state.ret call return value
150 fscall(register Mount_t* mp, long call, int ret, ...) argument
186 switch (MSG_ARG(call, 1))
217 if (!state.kernel && (fs->call & MSG_MASK(call)))
238 if (!(fs->call
[all...]
H A Dftruncate3d.c58 r = (*state.trap.intercept[m].call)(&state.trap.intercept[m], MSG_truncate, SYS3D_ftruncate64, (void*)fd, (void*)&size, NiL, NiL, NiL, NiL);
H A Dtruncate3d.c61 r = (*state.trap.intercept[m].call)(&state.trap.intercept[m], MSG_truncate, SYS3D_truncate64, (void*)sp, (void*)&size, NiL, NiL, NiL, NiL);
H A D3d.h175 unsigned long call; member in struct:Fs
239 #define INTERCEPT_MAX 8 /* max # call intercept layers */
358 #define fssys(p,c) (fson((p)->fs)&&(((p)->fs->call&MSG_MASK(c))||((p)->fs->flags&FS_GLOBAL)&&(fsmount(p),0)))
413 Intercept_f call; member in struct:Intercept_s
446 } call; member in struct:__anon7
503 unsigned long call; member in struct:__anon7::__anon14
H A Dinit.c87 if (fs->call != ~0)
89 n += sfsprintf(buf + n, 0, "/call=");
90 n += msggetmask(buf + n, SHRT_MAX, fs->call);
156 (fs->call != ~0 ? (msggetmask(NiL, 0, fs->call) + 6) : 0) +
248 fs->call = ~0;
299 fs->call = getmsgmask(oe);
439 fs->call |= MSG_MASK(MSG_fork);
440 if (fs->flags & FS_NAME) state.call.name++;
441 else state.call
1495 intercept(Intercept_f call, unsigned long mask) argument
[all...]
H A Dlseek3d.c76 r = (*state.trap.intercept[m].call)(&state.trap.intercept[m], MSG_seek, SYS3D_lseek64, (void*)fd, (void*)&off, (void*)op, NiL, NiL, NiL) ? -1 : off;
/ast/src/lib/libast/port/
H A Dastconf.c114 short call; member in struct:Lookup_s
878 look->call = -1;
887 if (p->call < 0)
895 if (look->call >= 0)
897 look->call = p->call;
903 num.call = p->call;
926 error(-6, "astconf normal name=%s standard=%d section=%d call=%d flags=%04x elements=%d", look->name, look->standard, look->section, look->call, flag
1007 char* call; local
1584 char* call; local
[all...]
/ast/src/cmd/re/
H A Dtestfmt.c72 H(" i invert test the inverse call too\n");
309 Call_f call; local
515 call = fmtmatch;
520 call = fmtre;
528 s = (*call)(re);
534 s = (*call)(re);
/ast/src/cmd/3d/features/
H A Dsyscall.sh241 echo iffe: test: type=$sys header=$SYS_HEADER ${SYS_CALL:+call=$SYS_CALL} ${SYS_PREFIX:+prefix=$SYS_PREFIX} >&$stderr
265 unsigned short call;
370 echo iffe: test: system call $l >&$stderr
578 call=
861 call=sys
866 "") call=sys
869 [0-9]*) call=nosys ;;
870 *) call=nolib ;;
881 [0-9]*) call=nosys ;;
882 *) call
[all...]
/ast/src/cmd/INIT/
H A Dproto.c1300 int call; member in struct:Proto_s
2869 int call = 0; local
2880 do{(ip=proto->ip);(op=proto->op);call=proto->call;}while(0);
2964 do{(proto->ip=ip);(proto->op=op);proto->flags&=~((1L<<5)|(1L<<9)|(1L<<17)|(1L<<27)|(1L<<28));proto->flags|=flags&((1L<<5)|(1L<<9)|(1L<<17)|(1L<<27)|(1L<<28));proto->call=call;}while(0);
3021 do{(proto->ip=ip);(proto->op=op);proto->flags&=~((1L<<5)|(1L<<9)|(1L<<17)|(1L<<27)|(1L<<28));proto->flags|=flags&((1L<<5)|(1L<<9)|(1L<<17)|(1L<<27)|(1L<<28));proto->call=call;}while(0);
3098 do{(proto->ip=ip);(proto->op=op);proto->flags&=~((1L<<5)|(1L<<9)|(1L<<17)|(1L<<27)|(1L<<28));proto->flags|=flags&((1L<<5)|(1L<<9)|(1L<<17)|(1L<<27)|(1L<<28));proto->call=call;}whil
[all...]
/ast/src/cmd/cs/
H A Dcs.c74 "[C:call?Used with \b--cat\b to list only messages for the calls in"
75 " \acall-list\a.]:[call-list]"
79 " \acall-list\a]:[call-list]"
361 msgcat(register Sfio_t* sp, register int flags, unsigned long call, unsigned long terse) argument
371 if (MSG_MASK(msg.call) & call)
394 unsigned long call = ~0; local
459 call = msgsetmask(opt_info.arg);
520 return msgcat(sp, msg, call, terse) != 0;
H A Dfs_env.c181 switch (msg.call)
238 if (msgsend(fd, &msg, msg.call, err ? -1 : ret, err, op) <= 0)
/ast/src/lib/libexpr/
H A Dexlib.h65 } call; /* procedure call */ \
/ast/src/lib/libpp/
H A Dppproto.c71 int call; /* call level */ member in struct:Proto_s
509 #define CACHE() do{CACHEIN();CACHEOUT();call=proto->call;}while(0)
516 #define SYNC() do{SYNCIN();SYNCOUT();proto->flags&=~(EXTERN|INIT|OTHER|VARIADIC|VARIADIC2);proto->flags|=flags&(EXTERN|INIT|OTHER|VARIADIC|VARIADIC2);proto->call=call;}while(0)
603 int call = 0; local
947 call = 0;
1144 else if (flags & INDIRECT) call++;
1649 call
[all...]
/ast/src/cmd/html/
H A Dtroff2html.h73 Call_f call; /* tag implementation */ member in struct:Tag_s

Completed in 74 milliseconds

12