Searched refs:context (Results 1 - 25 of 129) sorted by relevance

123456

/ast/src/lib/libcmd/
H A Dln.c32 b_ln(int argc, register char** argv, Shbltin_t* context) argument
34 return b_cp(argc, argv, context);
H A Dmd5sum.c32 b_md5sum(int argc, register char** argv, Shbltin_t* context) argument
34 return b_cksum(argc, argv, context);
H A Dmv.c32 b_mv(int argc, register char** argv, Shbltin_t* context) argument
34 return b_cp(argc, argv, context);
H A Dsum.c32 b_sum(int argc, register char** argv, Shbltin_t* context) argument
34 return b_cksum(argc, argv, context);
H A Dchown.c35 b_chown(int argc, char** argv, Shbltin_t* context) argument
38 return b_chgrp(argc, argv, context);
H A Dcmdinit.c30 _cmd_init(int argc, char** argv, Shbltin_t* context, const char* catalog, int flags) argument
36 if (context)
45 context->notify = 1;
70 cmdinit(char** argv, Shbltin_t* context, const char* catalog, int flags) argument
72 _cmd_init(0, argv, context, catalog, flags);
H A Dlogname.c53 b_logname(int argc, char** argv, Shbltin_t* context) argument
57 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
H A Dsync.c54 b_sync(int argc, char** argv, Shbltin_t* context) argument
56 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
H A Dtty.c57 b_tty(int argc, char** argv, Shbltin_t* context) argument
66 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
H A Dtee.c110 b_tee(int argc, register char** argv, Shbltin_t* context) argument
120 if (context && (tp = (Tee_t*)sh_context(context)->data))
122 sh_context(context)->data = 0;
127 cmdinit(argc, argv, context, ERROR_CATALOG, ERROR_CALLBACK);
174 if (context)
175 sh_context(context)->data = (void*)tp;
H A Dmktemp.c67 b_mktemp(int argc, char** argv, Shbltin_t* context) argument
81 cmdinit(argc, argv, context, ERROR_CATALOG, ERROR_NOTIFY);
161 if (sh_checksig(context))
H A Dbasename.c102 b_basename(int argc, register char** argv, Shbltin_t* context) argument
108 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
H A Ddirname.c99 b_dirname(int argc, char** argv, Shbltin_t* context) argument
104 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
H A Dmkfifo.c53 b_mkfifo(int argc, char** argv, Shbltin_t* context) argument
60 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
H A Dpids.c95 b_pids(int argc, char** argv, Shbltin_t* context) argument
99 cmdinit(argc, argv, context, ERROR_CATALOG, 0);
/ast/src/cmd/kshlib/codex/
H A Dlib.c28 lib_init(int flag, void* context) argument
31 sh_builtin(context, "codex", b_codex, 0);
/ast/src/cmd/kshlib/cmdtst/
H A Dlib.c35 cmdtst_init(int flag, void* context) argument
40 #define CMDLIST(f) sh_builtin(context, #f, b_##f, 0);
46 lib_init(int flags, void* context) argument
48 cmdtst_init(flags, context);
H A Dxargs.c111 Shbltin_t* context; member in struct:Xargs_s
117 return sh_run(((Xargs_t*)disc)->context, argc, argv);
121 b_xargs(int argc, register char** argv, Shbltin_t* context) argument
137 cmdinit(argc, argv, context, ERROR_CATALOG, ERROR_NOTIFY);
140 xargs.context = context;
237 while (!sh_checksig(context))
253 while (!sh_checksig(context))
/ast/src/lib/libast/string/
H A Dstrsearch.c40 strsearch(const void* tab, size_t num, size_t siz, Strcmp_f comparf, const char* name, void* context) argument
50 if (!(v = context ? (*(Strcmp_context_f)comparf)(name, *((char**)mid), context) : (*comparf)(name, *((char**)mid))))
/ast/src/lib/libpp/
H A Dppcontext.c25 * preprocessor context switch
28 * (0,0) free current context 0
29 * (0,1) save current context current
30 * (p,0) free context p 0
31 * (p,1) make p current context previous
37 ppcontext(void* context, int flags) argument
39 struct ppcontext* np = (struct ppcontext*)context;
44 if (!(op = pp.context)) op = pp.context = newof(0, struct ppcontext, 1, 0);
/ast/src/lib/libtksh/src/
H A DtclMain.c112 int b_tclinit(int argc, char *argv[], Shbltin_t *context) argument
116 if (context)
117 av[0] = (char *) context;
124 Tcl_Main(argc, argv, (context? ((Tcl_AppInitProc *) context) : Tcl_AppInit));
/ast/src/cmd/ksh93/bltins/
H A Dcflow.c44 int b_exit(int n, register char *argv[],Shbltin_t *context){}
46 int b_return(register int n, register char *argv[],Shbltin_t *context) argument
49 register Shell_t *shp = context->shp;
83 int b_continue(int n, register char *argv[],Shbltin_t *context){}
85 int b_break(register int n, register char *argv[],Shbltin_t *context) argument
89 register Shell_t *shp = context->shp;
H A Dmisc.c60 int b_exec(int argc,char *argv[], Shbltin_t *context) argument
66 logdata.sh = context->shp;
98 int B_login(int argc,char *argv[],Shbltin_t *context) argument
105 shp = context->shp;
108 logp = (struct login*)context;
159 int b_let(int argc,char *argv[],Shbltin_t *context) argument
163 Shell_t *shp = context->shp;
182 int b_eval(int argc,char *argv[], Shbltin_t *context) argument
185 register Shell_t *shp = context->shp;
207 int b_dot_cmd(register int n,char *argv[],Shbltin_t *context) argument
325 b_true(int argc,register char *argv[],Shbltin_t *context) argument
336 b_false(int argc,register char *argv[], Shbltin_t *context) argument
344 b_shift(register int n, register char *argv[], Shbltin_t *context) argument
371 b_wait(int n,register char *argv[],Shbltin_t *context) argument
396 b_bg(register int n,register char *argv[],Shbltin_t *context) argument
430 b_jobs(register int n,char *argv[],Shbltin_t *context) argument
469 b_universe(int argc, char *argv[],Shbltin_t *context) argument
511 b_vpath(register int argc,char *argv[], Shbltin_t *context) argument
[all...]
/ast/src/lib/libsum/
H A Dsum-lmd.c45 uintmax_t context; member in struct:Lmd_s::__anon370
46 } context; member in struct:Lmd_s
54 (*lmd->initf)(&lmd->context);
63 (*lmd->updatef)(&lmd->context, s, n);
73 (*lmd->finalf)(lmd->data, &lmd->context);
120 MD4_CTX context; member in struct:Md4_s
160 MD5_CTX context; member in struct:Md5_s
200 SHA1_CTX context; member in struct:Sha1_s
241 SHA256_CTX context; member in struct:Sha256_s
275 SHA384_CTX context; member in struct:Sha384_s
309 SHA512_CTX context; member in struct:Sha512_s
[all...]
H A Dsum-md5.c102 register Md5_t* context = (Md5_t*)p; local
104 context->count[0] = context->count[1] = 0;
105 context->state[0] = 0x67452301;
106 context->state[1] = 0xefcdab89;
107 context->state[2] = 0x98badcfe;
108 context->state[3] = 0x10325476;
271 register Md5_t* context = (Md5_t*)p; local
278 index = (unsigned int)((context->count[0] >> 3) & 0x3f);
281 if ((context
307 register Md5_t* context = (Md5_t*)p; local
[all...]

Completed in 63 milliseconds

123456