Searched defs:code (Results 1 - 25 of 84) sorted by relevance

1234

/ast/src/cmd/3d/
H A Dexit3d.c27 _exit3d(int code) argument
39 fscall(mp, MSG_exit, 0, code, state.pid);
41 EXIT(code);
/ast/src/lib/libast/regex/
H A Dregfatal.c33 regfatalpat(regex_t* p, int level, int code, const char* pat) argument
37 regerror(code, p, buf, sizeof(buf));
46 regfatal(regex_t* p, int level, int code) argument
48 regfatalpat(p, level, code, NiL);
H A Dregerror.c59 regerror(int code, const regex_t* p, char* buf, size_t size) argument
64 if (code++ == REG_VERSIONID)
66 else if (code >= 0 && code < elementsof(reg_error))
67 s = reg_error[code];
85 fatal(regdisc_t* disc, int code, const char* pattern) argument
90 (*disc->re_errorf)(NiL, disc, disc->re_errorlevel, "regular expression: %s: %s", pattern, reg_error[code+1]);
92 (*disc->re_errorf)(NiL, disc, disc->re_errorlevel, "regular expression: %s", reg_error[code+1]);
94 return code;
/ast/src/lib/libz/
H A Dinftrees.h12 information needed to do the operation requested by the code that
14 table that indexes more bits of the code. op indicates whether
16 distance, an end-of-block, or an invalid code. For a table
19 is the number of extra bits to get after the code. bits is
20 the number of bits in this code or part of the code to drop off
26 unsigned char bits; /* bits in this part of the code */
27 unsigned short val; /* offset in table or code value */
28 } code; typedef in typeref:struct:__anon451
35 01000000 - invalid code
[all...]
/ast/src/cmd/tests/vmalloc/
H A Dtmmopen.c29 int k, code = 0; local
88 code = twait(&cpid, 1);
106 texit(code);
H A Dtsharemem.c110 int test, flag, code = 2; local
168 code = twait(proc, N_PROC);
174 if (code)
187 texit(code);
/ast/src/lib/libtksh/src/
H A DtclMain.c16 int code, tty; local
75 code = Tcl_EvalFile(interp, fileName);
76 if (code != TCL_OK) {
118 if (argc == 0) /* Called from C code (not shell) */
/ast/src/lib/libast/uwin/
H A Derr.c48 errmsg(int level, int code, const char* fmt, va_list ap) argument
65 exit(code);
68 extern void verr(int code, const char* fmt, va_list ap) argument
70 errmsg(ERROR_ERROR|ERROR_SYSTEM, code, fmt, ap);
73 extern void err(int code, const char* fmt, ...) argument
78 errmsg(ERROR_ERROR|ERROR_SYSTEM, code, fmt, ap);
82 extern void verrx(int code, const char* fmt, va_list ap) argument
84 errmsg(ERROR_ERROR, code, fmt, ap);
87 extern void errx(int code, const char* fmt, ...) argument
92 errmsg(ERROR_ERROR, code, fm
[all...]
/ast/src/lib/libtk/generic/
H A DtkMain.c99 int code;
181 code = Tcl_EvalFile(interp, fileName);
182 if (code != TCL_OK) {
271 int code, count;
308 code = Tcl_RecordAndEval(interp, cmd, TCL_EVAL_GLOBAL);
313 if ((code != TCL_OK) || (tty)) {
363 int code;
386 code = Tcl_Eval(interp, promptCmd);
387 if (code != TCL_OK) {
98 int code; local
269 int code, count; local
360 int code; local
H A DtkFileFilter.c94 int code = TCL_OK;
121 code = TCL_ERROR;
129 code = TCL_ERROR;
136 code = AddClause(interp, filterPtr, typeInfo[1], NULL,
139 code = AddClause(interp, filterPtr, typeInfo[1], typeInfo[2],
142 if (code != TCL_OK) {
159 return code;
227 int code = TCL_OK;
230 code = TCL_ERROR;
236 code
92 int code = TCL_OK; local
223 int code = TCL_OK; local
[all...]
H A DtkImgGIF.c7 * Derived from the giftoppm code found in the pbmplus package
17 * This file also contains code from the giftoppm program, which is
130 * A standard TCL completion code. If TCL_ERROR is returned
237 "error reading extension function code in GIF image";
340 * The code below is copied from the giftoppm program and modified
528 int code, incode;
575 while ((code = GetCode(fd, code_size, 0)) >= 0) {
576 if (code == clear_code) {
593 } else if (code == end_code) {
607 incode = code;
525 int code, incode; local
[all...]
/ast/src/cmd/re/
H A Dsed.h87 next byte command code (a letter)
114 #define code(inst) ((inst)>>2*BYTE & 0xff) macro
H A Dsed3.c30 int code; local
37 if (code = regcomp((regex_t*)rebuf->w,(char*)t->w,reflags|REG_DELIMITED|REG_MUSTDELIM|((reflags&REG_LENIENT)?0:REG_ESCAPE)))
38 badre((regex_t*)rebuf->w,code);
41 if (!(reflags&REG_ICASE) && (code = regcomp((regex_t*)rebuf->w,(char*)t->w-((regex_t*)rebuf->w)->re_npat,reflags|REG_ICASE|REG_DELIMITED|REG_MUSTDELIM|((reflags&REG_LENIENT)?0:REG_ESCAPE))))
42 badre((regex_t*)rebuf->w,code);
52 if (code = regdup(readdr(lastre), (regex_t*)rebuf->w))
53 badre((regex_t*)rebuf->w,code);
63 reerror(regex_t* re, int code) argument
65 if(code && code !
75 int code; local
[all...]
/ast/src/lib/libvcodex/Vcdelta/
H A Dvcdtable.c22 /* Encoding and decoding a code table based on differences to another one.
23 ** This allows efficient embedding of a code table in the compressed data.
38 Vcdcode_t* code = tbl->code; local
41 *str++ = code[i].inst1.type;
43 *str++ = code[i].inst2.type;
45 *str++ = code[i].inst1.size;
47 *str++ = code[i].inst2.size;
49 *str++ = code[i].inst1.mode;
51 *str++ = code[
64 Vcdcode_t* code = tbl->code; local
[all...]
H A Dvcdtblinit.c23 /* Construct default code tables for encoding/decoding delta instructions
28 /* default code table for compression */
55 Vcdcode_t* code = tbl->code; local
59 code[i].inst1.type = VCD_RUN;
60 code[i].inst1.size = 0; /* size coded separately */
61 code[i].inst1.mode = 0; /* there is no mode for RUN */
62 code[i].inst2.type = VCD_NOOP; /* there is no merged inst */
63 code[i].inst1.size = 0;
64 code[
[all...]
H A Dvcdelta.h50 /* buffer size requirement for encoding/decoding code tables */
55 typedef struct _vcdtable_s Vcdtable_t; /* entire code table */
71 Vcdcode_t code[256]; /* codes -> instructions */ member in struct:_vcdtable_s
/ast/src/lib/libdss/
H A Dcxattr.c41 short code; member in struct:Attribute_s
95 else if (!strncasecmp(s, "code=", 5))
178 if (a->code >= 0)
179 f->code = a->code;
/ast/src/cmd/msgcc/
H A Dmsgcvt.c59 int code; member in struct:__anon159
171 c = codes[i].code;
/ast/src/lib/libtksh/tcl/
H A DtclLink.c100 int code;
119 code = Tcl_TraceVar(interp, varName, TCL_GLOBAL_ONLY|TCL_TRACE_READS
122 if (code != TCL_OK) {
126 return code;
174 * changed by C code. It updates the Tcl variable so that
423 * This code only gets executed if the link type is unknown
99 int code; local
H A DtclLoad.c109 int code, c, gotPkgName, namesMatch, filesMatch;
131 code = TCL_ERROR;
192 code = TCL_ERROR;
211 code = TCL_OK;
226 code = TCL_ERROR;
242 * The platform-specific code couldn't figure out the
263 code = TCL_ERROR;
306 * Call platform-specific code to load the package and find the
310 code = TclLoadFile(interp, fullFileName, Tcl_DStringValue(&initName),
312 if (code !
108 int code, c, gotPkgName, namesMatch, filesMatch; local
[all...]
H A DtclPkg.c112 * This procedure is called by code that depends on a particular
151 int code, satisfies, result, pass;
201 code = Tcl_GlobalEval(interp, script);
203 if (code != TCL_OK) {
204 if (code == TCL_ERROR) {
235 code = Tcl_GlobalEval(interp, Tcl_DStringValue(&command));
237 if (code != TCL_OK) {
238 if (code == TCL_ERROR) {
149 int code, satisfies, result, pass; local
/ast/src/lib/libbz/
H A Dhuffman.c18 1. Redistributions of source code must retain the above copyright
176 void hbAssignCodes ( Int32 *code, argument
187 if (length[i] == n) { code[i] = vec; vec++; };
/ast/src/lib/libcodex/
H A Dcodexlib.h45 Codex_t* code; member in struct:Codexcache_s
/ast/src/lib/libjcl/
H A Drun.c136 int code; local
163 code = 0;
245 code = -1;
278 sfprintf(sfstdout, "trap 'code=$?; rm -rf %s*; exit $code' 0 1 2\n", jcl->tmp);
309 if (!jcleval(jcl, jcl->cond, code))
311 if (jcleval(jcl, step->cond, code))
457 sfprintf(jcl->tp, "if (( ! $code ))\nthen\n\trm -rf");
467 sfprintf(jcl->tp, "\nif (( $code ))\nthen\n");
476 sfprintf(jcl->tp, "exit $code\
[all...]
/ast/src/lib/libast/misc/
H A Dfindlib.h82 unsigned short code[FF_MAX][FF_MAX]; member in struct:__anon279
116 Code_t code;
118 #define decode code.code_decode
119 #define encode code.code_encode

Completed in 53 milliseconds

1234