Searched refs:test (Results 1 - 25 of 86) sorted by relevance

1234

/ast/src/cmd/dsslib/tests/
H A Dlib.c24 DSSLIB(test)
/ast/src/cmd/3d/
H A Daccess3d.c30 mode_t test; local
77 test = 0;
80 if (mode & R_OK) test |= S_IRUSR;
81 if (mode & W_OK) test |= S_IWUSR;
82 if (mode & X_OK) test |= S_IXUSR;
86 if (mode & R_OK) test |= S_IRGRP;
87 if (mode & W_OK) test |= S_IWGRP;
88 if (mode & X_OK) test |= S_IXGRP;
92 if (mode & R_OK) test |= S_IROTH;
93 if (mode & W_OK) test |
[all...]
/ast/src/cmd/re/
H A Dtestregex.c4 * regex(3) test harness
16 * The following license covers testregex.c and all associated test data.
169 T(" testregex - regex(3) test harness\n");
175 T(" testregex reads regex(3) test specifications, one per line, from the\n");
176 T(" standard input and writes one output line for each failed test. A\n");
178 T(" test is run again with REG_NOSUB. Unsupported features are noted\n");
179 T(" before the first test, and tests requiring these features are\n");
191 T(" -v list each test line\n");
192 T(" -A list failed test lines with actual answers\n");
193 T(" -B list all test line
574 quote(char* s, int len, unsigned long test) argument
654 report(char* comment, char* fun, char* re, char* s, int len, char* msg, int flags, unsigned long test) argument
717 bad(char* comment, char* re, char* s, int len, unsigned long test) argument
860 matchprint(regmatch_t* match, int nmatch, int nsub, char* ans, unsigned long test) argument
884 matchcheck(regmatch_t* match, int nmatch, int nsub, char* ans, char* re, char* s, int len, int flags, unsigned long test) argument
1063 note(unsigned long level, char* msg, unsigned long skip, unsigned long test) argument
1080 extract(int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test) argument
1140 catchfree(regex_t* preg, int flags, int* tabs, char* spec, char* re, char* s, char* ans, char* msg, char* accept, regmatch_t* match, int nmatch, int nsub, unsigned long skip, unsigned long level, unsigned long test) argument
1265 unsigned long test = 0; local
[all...]
/ast/src/cmd/INIT/
H A DTEST.mk2 * regression test support
6 * test management is still in the design phase
21 * :TEST: xxx.c [ :: test-prereq ... :: ] [ args [ : args ... ] ]
23 * :TEST: xxx.sh [ :: test-prereq ... :: ] [ args [ : args ... ] ]
33 test : .INSERT .TESTINIT
43 test : - test.$(T)
45 test.$$(T) : $$(B).tst
60 test : - test
[all...]
H A DCONVERT.mk154 test -d $(<:D) || $(MKDIR) -p $(<:D)
173 test -d $(<) || $(MKDIR) -p $(<)
184 test -d $(T) || $$(MKDIR) -p $(T)
193 test -d $(T) || $$(MKDIR) -p $(T)
202 test -d $(T) || $$(MKDIR) -p $(T)
238 test -d $$(<:D) || $$(MKDIR) -p $$(<:D)
H A DWWW.mk48 if { test '' = '$(*)' || { strings $(*) | egrep -q '\[\+NAME\?|libcmd\.|cmd[0-9][0-9]\.' ;} ;} && [[ "$( $(<:B) '--???html' -- 2>&1 )" == version=[1-9]* ]]
62 $(SILENT) test -d $(<) || mkdir $(<)
95 elif test '' != '$$(*:N=*.1)'
/ast/src/cmd/mailx/
H A Dspam.c133 long test; local
137 test = *((long*)vp->variable);
144 test = 0;
146 test = SPAM_DEFAULT;
152 test |= p->type;
158 *((long*)vp->variable) = test;
490 long test; local
499 test = 0;
507 test |= SPAM_from_spam;
545 test |
[all...]
/ast/src/cmd/vczip/tests/
H A Dtvcrdb.c82 Vcchar_t test[sizeof(Data)]; local
141 /* test table construction with filled data */
145 terror("vcrdparse(): Can't open test table");
157 r = vcrdextract(tst, -1, test, sizeof(test), VCRD_RECORD);
163 r = vcrdextract(tst, -1, test, sizeof(test), VCRD_RECORD);
166 if(memcmp(Data, test, dtsz) != 0)
169 /* test transformation plan making */
181 /* test transformatio
[all...]
/ast/src/cmd/tests/vmalloc/
H A Dtsharemem.c110 int test, flag, code = 2; local
144 for(test = 0; test < 2; ++test )
145 { if (test)
/ast/src/cmd/dss/
H A Ddss.c103 "{\fmethods\f} [T:test?Enable test code defined by \amask\a. Test code "
198 Dssflags_t test; local
218 test = 0;
268 test = opt_info.num;
301 if (!(dss = dssopen(flags, test, &disc, meth)))
/ast/src/cmd/tests/
H A DTESTLIB.mk2 * testlib library test harness operator
4 * unit :TESTLIB: library [ testhdr*.h ] [ -ltestlib* ] test*.c
20 test.$$(>:N=*.h:O=1:B:/\(..\).*/\1/:-$(<:B:/\(..\).*/\1/)) : .TEST.DEBUG.SYMBOLS testlib $$(>:V:O>1:N!=*.c) $$$(*.ARGS:D=$(<):B:S=.c) .CLEARARGS
/ast/src/cmd/nmake/
H A Dmsgcat.mk67 test -d $(<) || mkdir $(<)
87 if test -x $(>)
/ast/src/cmd/mailx/port/
H A Dmime.c101 char* test; member in struct:Cap_s
287 if (!strcasecmp(k, "test"))
288 cap->test = att->value;
301 if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test))
589 if (!view || strcasecmp(view, "test"))
[all...]
/ast/src/cmd/paxlib/calib/
H A Dcalib.c26 * test registry
319 if (pax->test & 0x20000)
325 if (pax->test & 0x20000)
408 if (pax->test & 0x00200)
416 version = (pax->test & 0x00400) ? -1 : ar->version;
440 if (pax->test & 0x08000)
442 if (pax->test & 0x10000)
444 if (pax->test & 0x20000)
490 if (pax->test & 0x04000)
496 if (pax->test
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dtest.c22 * test expression
37 #include "test.h"
73 struct test struct
81 static char *nxtarg(struct test*,int);
82 static int expr(struct test*,int);
83 static int e3(struct test*);
113 struct test tdata;
138 /* posix portion for test */
192 * evaluate a test expression.
197 static int expr(struct test *t
[all...]
/ast/src/cmd/pzip/
H A Dpcmp.c38 int test; member in struct:__anon190
132 switch (optget(argv, "c#[cols]l#[compression-level]r#[rows]vT#[test-mask]"))
150 state.test |= opt_info.num;
H A Dr2c.c56 int test; member in struct:State_s
183 switch (optget(argv, "d:[delimiter]l#[compression-level]q:[quote]t:[terminator]vw#[window-size]T#[test-mask]"))
204 state.test |= opt_info.num;
/ast/src/lib/libpp/
H A Dppsearch.c32 #define SEARCH_TEST (SEARCH_USER<<3)/* test for binding */
46 * multiple include test
49 * test
52 * INC_TEST test if include required
55 * test!=INC_CLEAR returns 1 if file can be included again
70 ppmultiple(register struct ppfile* fp, register struct ppsymbol* test) argument
75 message((-3, "search: %s: status=%s%s test=%s", fp->name, status == INC_CLEAR ? "[CLEAR]" : status == INC_TEST ? "[ONCE]" : status == INC_IGNORE ? "[IGNORE]" : status->name, (pp.mode & HOSTED) ? "[HOSTED]" : "", test == INC_CLEAR ? "[CLEAR]" : test == INC_TEST ? "[TEST]" : test
[all...]
H A Dppinput.c162 if (!(pp.option & NOPROTO) && !(pp.test & TEST_noproto) && ((pp.state & (COMPATIBILITY|TRANSITION)) == COMPATIBILITY || (pp.option & PLUSPLUS) || (pp.mode & EXTERNALIZE)) && (cur->buffer = pppopen(NiL, cur->fd, NiL, NiL, NiL, NiL, (PROTO_HEADER|PROTO_RETAIN)|(((pp.mode & EXTERNALIZE) || (pp.option & PROTOTYPED)) ? PROTO_FORCE : PROTO_PASS)|((pp.mode & EXTERNALIZE) ? PROTO_EXTERNALIZE : 0)|((pp.mode & MARKC) ? PROTO_PLUSPLUS : 0))))
556 if (pp.test & 0x0200) error(2, "%s: %s p=%lu next=<%lu,%lu> keep=<%lu,%lu> skip=<-,%lu> guard=%s", keyname(X_CHECKPOINT), fp->name, p, next_begin, next_end, keep_begin, keep_end, skip_end, fp->guard == INC_CLEAR ? "[CLEAR]" : fp->guard == INC_TEST ? "[TEST]" : fp->guard == INC_IGNORE ? "[IGNORE]" : fp->guard->name);
562 if (pp.test & 0x0100) error(2, "%s: %s IGNORE", keyname(X_CHECKPOINT), fp->name);
571 if (pp.test & 0x0100) error(2, "%s: copy <%lu,%lu> n=%lu p=%lu", keyname(X_CHECKPOINT), keep_begin, next_begin - 1, n, p);
617 if (pp.test & 0x0100) error(2, "%s: loop", keyname(X_CHECKPOINT));
660 if (pp.test & 0x1000) error(2, "checkpoint SKIP %s=%s [%s]", sym->name, s, sym->macro->value);
689 if (pp.test & 0x1000) error(2, "checkpoint LOAD %s=%s", sym->name, mac->value);
/ast/src/cmd/sort/
H A Dmain.c182 "[X:test?Enables implementation defined test code. Some or all of these "
183 "may be disabled.]:[test]"
190 "[+test?Immediatly exit with status 0; used to verify this "
300 unsigned long test; /* test bit mask */ member in struct:Sort_s
555 sp->verbose = key->verbose || (key->test & TEST_show);
671 else if (streq(s, "test"))
677 error(1, "%s: unknown test", s);
680 key->test
[all...]
/ast/src/cmd/sortlib/vcodex/
H A Dvcodex.c45 "[T:test?Enable test code defined by \amask\a. Test code is "
83 unsigned long test; member in struct:State_s
164 if (state->test & 0x10)
311 state->test |= opt_info.num;
/ast/src/lib/libast/misc/
H A Dmime.c49 char* test; member in struct:Cap_s
235 if (!strcasecmp(k, "test"))
236 cap->test = att->value;
249 if (!cap->test && !dup->test || cap->test && dup->test && streq(cap->test, dup->test))
645 if (!view || strcasecmp(view, "test"))
[all...]
/ast/src/cmd/ksh93/data/
H A Dbuiltins.c69 "test", NV_BLTIN|BLT_ENV, bltin(test),
70 "[", NV_BLTIN|BLT_ENV, bltin(test),
1425 "[I:regress]:[intercept?Enable the regression test \aintercept\a. Must be "
1433 "[T?Enable implementation specific test code defined by mask.]#[mask]"
/ast/src/cmd/html/
H A Dtroff2html.h188 unsigned long test; /* test mask */ member in struct:State_s
/ast/src/cmd/sortlib/sync/
H A Dtest.c23 * sort -lsync exit test stubs
119 SORTLIB(test)

Completed in 295 milliseconds

1234