Searched defs:cat (Results 1 - 14 of 14) sorted by relevance

/ast/src/lib/libast/misc/
H A Derrorx.c32 errorx(const char* loc, const char* cmd, const char* cat, const char* msg) argument
44 if (!cat)
45 cat = (const char*)error_info.catalog;
46 if (s = (*error_info.translate)(loc, cmd, cat, msg))
H A Dtranslate.c47 nl_catd cat; /* message catalog handle */ member in struct:__anon295
57 Catalog_t* cat; /* current catalog pointer */ member in struct:__anon296
180 cp->cat = NOCAT;
224 * return the C locale message pointer for msg in cat
225 * cat may be a : separated list of candidate names
229 match(const char* cat, const char* msg) argument
239 s = (char*)cat;
244 if (s == (char*)cat)
256 mp->cat = cp;
271 * cat th
295 translate(const char* loc, const char* cmd, const char* cat, const char* msg) argument
[all...]
H A Doptget.c194 translate(const char* cmd, const char* cat, const char* msg) argument
196 if (!X(cat))
198 if (cat != (const char*)ID && D(msg))
199 cat = (const char*)ID;
200 return errorx(NiL, cmd, cat, msg);
/ast/src/cmd/msgcc/
H A Dmsgget.c56 char* cat; local
91 if (cat = strchr(cmd, ':'))
92 *cat++ = 0;
93 if (!mcfind(loc, cmd, LC_MESSAGES, 0, path, sizeof(path)) && (!cat || !mcfind(loc, cat, LC_MESSAGES, 0, path, sizeof(path))))
95 if (cat)
96 *--cat = ':';
106 s = errorx(loc, cmd, cat, msg);
/ast/src/lib/libast/comp/
H A Dcatopen.c27 * the ast mc* and native cat* routines do all the work
32 * or a Cc_t* where Cc_t.cat is the native nl_catd
57 nl_catd cat; member in struct:__anon248
113 cc->cat = d;
126 sfprintf(sfstderr, "AHA#%d:%s %s %s native %p\n", __LINE__, __FILE__, s, name, cc->cat);
141 _ast_catgets(_ast_nl_catd cat, int set, int num, const char* msg) argument
143 if (cat == (_ast_nl_catd)(-1))
146 if (!((Cc_t*)cat)->set)
151 msg = (char*)catgets(((Cc_t*)cat)->cat, se
167 _ast_catclose(_ast_nl_catd cat) argument
[all...]
H A Dsetlocale.c2570 int cat[AST_LC_COUNT]; local
2587 cat[j++] = i;
2622 if (!single(cat[i], p, 0))
2628 stk[k++] = cat[i];
2630 else if (!lc_categories[cat[i]].prev && !(ast.locale.set & AST_LC_internal))
2631 lc_categories[cat[i]].prev = p;
2682 int cat[AST_LC_COUNT]; local
2702 cat[i] = -1;
2704 if (cat[i] < 0)
2707 cat[
[all...]
/ast/src/lib/libcoshell/
H A Dcowait.c34 * cat and remove fd {1,2} serialized output
38 cat(Cojob_t* job, char** path, Sfio_t* op) function
360 cat(cj, &cj->out, sfstdout);
362 cat(cj, &cj->err, sfstderr);
/ast/src/lib/libjcl/
H A Drun.c125 register Jclcat_t* cat; local
260 for (cat = dd->cat; cat; cat = cat->next)
261 if (cat->path && *cat->path == '&')
293 for (cat = dd->cat; ca
[all...]
H A Dparse.c1160 register Jclcat_t* cat; local
1311 dd->cat = dd->last = 0;
1321 else if (!(cat = vmnewof(jcl->vs, NiL, Jclcat_t, 1, 0)))
1328 cat->path = name;
1330 dd->last->next = cat;
1332 dd->cat = cat;
1333 dd->last = cat;
2167 register Jclcat_t* cat; local
2231 for (cat
[all...]
H A Djcl.h170 Jclcat_t* cat; member in struct:Jcldd_s
/ast/src/cmd/cs/
H A Dcat.c26 * file cat service
30 static const char id[] = "\n@(#)$Id: cs.cat (AT&T Bell Laboratories) 1995-05-09 $\0\n";
60 File_t* cat[1]; /* user file reference */ member in struct:__anon70
124 state->cat[fd] = fp;
141 register File_t* fp = state->cat[fd];
/ast/src/cmd/mailx/
H A Dcmd3.c277 int cat; local
291 cat = 0;
292 if (all || !s || (streq(s, l) || streq(s, t)) && ++cat) {
301 if (all && !(cp = 0)|| (cp = (const struct cmd*)strpsearch(state.cmdtab, state.cmdnum, sizeof(struct cmd), s, NiL)) || (streq(s, l) || streq(s, t)) && ++cat) {
303 if (!cp && !cat || !a || isall(a)) {
325 if (all || *s == *state.var.escape || (streq(s, t) || streq(s, l) || streq(s, "tilde")) && ++cat) {
336 else if (!cat)
/ast/src/lib/libuu/
H A Duulib.c1154 * cat input to output
1158 cat(register Uu_t* uu) function
1228 0, cat, cat, 0
/ast/src/lib/libast/regex/
H A Dregcomp.c310 cat(Cenv_t* env, Rex_t* e, Rex_t* f) function
2672 if (!(f = rep(env, f, 0, 0)) || !(f = cat(env, f, seq(env))))
2678 f = cat(env, e, f);
2686 return cat(env, e, seq(env));
2862 e = cat(env, e, seq(env));

Completed in 45 milliseconds