Searched defs:query (Results 1 - 10 of 10) sorted by relevance

/ast/src/cmd/re/
H A Dgrep.c173 unsigned char query; /* return status but no output */ member in struct:State_s
329 if (state.query || state.list)
396 if (state.query || state.list)
417 if (state.query || state.list)
545 if (!state.query)
577 if (state.query)
580 if (!state.query)
770 state.query = 1;
822 if (state.count || state.list || state.query || (state.options & REG_INVERT))
848 if (state.query
[all...]
H A Dtestfnmatch.c477 int query; local
658 expand = query = unspecified = kre = sre = 0;
674 if (!query && !(skip & level))
675 bad("locale query expected\n", NiL, NiL, 0);
676 query = 0;
793 query = 1;
872 if (!query && verbose)
876 if (!query)
893 if (query)
907 if (query)
[all...]
H A Dtestmatch.c476 matchcheck(int nmatch, ssize_t* match, char* ans, char* re, char* s, int flags, int query, int unspecified, int expand) argument
507 if (!query)
519 if (!query)
605 int query; local
789 expand = query = unspecified = kre = sre = 0;
807 if (!query && !(skip & level))
808 bad("locale query expected\n", NiL, NiL, 0);
809 query = 0;
939 query = 1;
1007 if (!query
[all...]
H A Dtestglob.c492 int query; local
778 query = unspecified = kre = sre = 0;
782 if (!query && !(skip & level))
783 bad("locale query expected\n", NiL);
784 query = 0;
870 query = 1;
945 if (!m && !query && verbose) {
969 if (!query)
995 if (query)
H A Ded.c121 Sfio_t* query; member in struct:__anon200::__anon201
1314 global(int sense, int query) argument
1325 if (query)
1340 if (!query && s[0] == 'd' && s[1] == '\n' && !s[2])
1347 if (query) {
1355 if (!*(ed.global = sfstrbase(ed.buffer.query)))
1360 ed.global = getrec(ed.buffer.query, '\n', REC_TERMINATE);
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c197 unsigned char query; /* return status but no output */ member in struct:State_s
434 if (state->query || state->list)
636 if (state->query)
639 if (!state->query)
823 state.query = 1;
884 if (state.count || state.list || state.query || (state.options & REG_INVERT))
921 if (state.query && state.any)
943 if ((state.count & 2) && !state.query && !state.list)
955 r = (state.notfound && !state.query) ? 2 : !state.any;
/ast/src/cmd/kshlib/dss/
H A Ddss.c102 struct query struct
104 struct query *next;
106 Cxquery_t *query; member in struct:query
124 struct query *qp;
129 * the following function is added as a builtin for each query
132 static int query(int argc, char *argv[], Shbltin_t *bp) function
136 struct query *pp = dp->qp;
137 Cxquery_t *qp = pp?pp->query:0;
151 pp = newof(NiL,struct query,1,0);
155 pp->query
[all...]
/ast/src/lib/libdss/
H A Dcxopen.c1463 * add a query
1467 cxaddquery(Cx_t* cx, Cxquery_t* query, Cxdisc_t* disc) argument
1495 *copy = *query;
1496 query = copy;
1500 if (dtsearch(dict, query))
1503 (*disc->errorf)(NiL, disc, 2, "%s: query already defined", query->name);
1506 dtinsert(dict, query);
1511 * return query given name
H A Dcx.h511 struct Cxquery_s /* query */
536 Cxquery_t* queries; /* query table */
555 Cxquery_t* query; /* query callouts */ member in struct:Cxexpr_s
558 void* data; /* query private data */
559 char** argv; /* query argv */
/ast/src/cmd/nmake/
H A Dmake.h610 Rule_t* query; /* .QUERY rule pointer */ member in struct:Internal_s

Completed in 47 milliseconds