Searched defs:ref (Results 1 - 17 of 17) sorted by relevance

/ast/src/cmd/ksh93/
H A Dmamstate.c45 long ref; local
54 ref = (long)st.st_mtime;
58 printf("%s %ld\n", s, (long)st.st_mtime - ref);
69 printf("%s %ld\n", buf, (long)st.st_mtime - ref);
/ast/src/cmd/mam/
H A Dmamstate.c43 unsigned long ref; local
58 ref = (unsigned long)st.st_mtime;
63 printf("%s %ld\n", s, (unsigned long)st.st_mtime - ref);
68 printf("%s %ld\n", s, (unsigned long)st.st_mtime - ref);
/ast/src/lib/libast/hash/
H A Dhashalloc.c41 hashalloc(Hash_table_t* ref, ...) argument
53 va_start(ap, ref);
60 if (!ref && n == HASH_region)
72 if (ref)
74 tab->flags = ref->flags & ~HASH_RESET;
75 tab->root = ref->root;
101 if (ref) goto out;
113 if (ref) goto out;
117 if (ref) goto out;
121 if (ref) got
[all...]
/ast/src/lib/libpp/
H A Dppmisc.c31 * macro symbol def|ref
35 pprefmac(char* name, int ref) argument
39 if (!(sym = ppsymget(pp.symtab, name)) && (ref <= REF_NORMAL && pp.macref || ref == REF_CREATE || ref == REF_DELETE && (pp.mode & (INIT|READONLY))))
45 if (sym && ref <= REF_NORMAL)
47 if (pp.macref) (*pp.macref)(sym, error_info.file, error_info.line, ref == REF_NORMAL && (pp.state & CONDITIONAL) ? REF_IF : ref, 0L);
53 if (ref == REF_IF && sym && (sym->flags & SYM_PREDEFINED) && *name != '_' && !(pp.mode & (HOSTED|INACTIVE)))
/ast/src/lib/libexpr/
H A Dexgram.h308 * force ref . sym qualification
312 qualify(register Exref_t* ref, register Exid_t* sym) argument
317 while (ref->next)
318 ref = ref->next;
319 sfprintf(expr.program->tmp, "%s.%s", ref->symbol->name, sym->name);
344 call(Exref_t* ref, register Exid_t* fun, register Exnode_t* args) argument
353 x->data.variable.symbol = fun = QUALIFY(ref, fun);
354 x->data.variable.reference = ref;
/ast/src/cmd/tw/
H A Dexpr.c117 deref(register Ftw_t* ftw, Exid_t* sym, register Exref_t* ref) argument
122 while (ref)
124 if (!ftw || ref->symbol->index != F_parent)
126 if (ftw && !ref->next && MEMINDEX(sym->index)) break;
127 error(3, "%s: invalid %s.%s reference", path, ref->symbol->name, sym->name);
129 ref = ref->next;
201 getval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, void* env, int elt, Exdisc_t* disc) argument
220 if (ref && !(ftw = deref(ftw, sym, ref)))
431 refval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, char* str, int elt, Exdisc_t* disc) argument
594 setval(Expr_t* pgm, Exnode_t* node, Exid_t* sym, Exref_t* ref, void* env, int elt, Extype_t val, Exdisc_t* disc) argument
[all...]
/ast/src/cmd/cs/
H A Ddbm.c80 int ref; /* reference count */ member in struct:__anon74
171 if (!--cp->db->ref) dbm_close(cp->db->dbm);
235 if (!--cp->db->ref) dbm_close(cp->db->dbm);
245 if (dp->ref > 0 && dp->ino == st.st_ino && dp->dev == st.st_dev)
247 dp->ref++;
252 if (dp->ref <= 0)
257 dp->ref = 1;
324 if (cp->db && !--cp->db->ref) dbm_close(cp->db->dbm);
359 if (dp->ref > 0)
361 dp->ref
[all...]
/ast/src/lib/libdss/
H A Ddsstags.c433 Cxmap_t* ref; local
436 if (ref = cxmap(NiL, data, state->disc))
444 fp->prev->data = map = ref;
H A Dcxcomp.c622 code(Cx_t* cx, Cxcompile_t* cc, Cxexpr_t* expr, int op, int pp, Cxtype_t* type1, Cxtype_t* type2, void* pointer, Cxnumber_t number, Cxvariable_t* ref) argument
680 v1 = ref ? ref : i1->op == CX_GET ? i1->data.variable : (Cxvariable_t*)0;
944 parse(Cx_t* cx, Cxcompile_t* cc, Cxexpr_t* expr, int precedence, Cxvariable_t** ref) argument
1550 if (ref)
1551 *ref = h;
1576 if (ref)
1577 *ref = h;
1876 if (fp->query->ref && (*fp->query->ref)(c
[all...]
H A Dcxopen.c2040 Cxreference_t* ref; local
2088 if (!(ref = newof(0, Cxreference_t, 1, 0)))
2094 ref->variable = v;
2096 ref->member = m->member;
2098 tail->next = ref;
2100 head = ref;
2101 tail = ref;
2144 Cxreference_t* ref; local
2173 if (ref = var->reference)
2178 x.data.variable = ref
[all...]
H A Dcx.h519 Cxquery_f ref; /* compile-time reference */ member in struct:Cxquery_s
/ast/src/cmd/html/
H A Dhtmlrefs.c274 add(register State_t* state, register char* s, unsigned int flags, const char* path, int prefix, File_t* ref) argument
285 if (ref && (ref->flags & SECURE))
314 if (ref && !streq(s, ref->name))
402 if (ref && state->dependents)
404 for (lp = fp->refs; lp && lp->file != ref; lp = lp->next);
409 lp->file = ref;
503 refs(register State_t* state, const char* path, register Sfio_t* ip, File_t* ref) argument
585 f = add(state, s, flags, path, prefix, ref);
[all...]
H A Dhtml2rtf.c112 anchor(int ref, register char* s) argument
118 if (ref)
134 if (ref)
H A Dtroff2html.h242 Sfio_t* ref; /* reference buffer */ member in struct:State_s
/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c532 int r=0, ref=0, comvar=(flag&NV_COMVAR),iarray=(flag&NV_IARRAY); local
549 ref=1;
664 if(flag==NV_ASSIGN && !ref && tp->aflag!='-' && !strchr(name,'='))
811 if(ref)
/ast/src/lib/libast/regex/
H A Dreglib.h460 struct Rex_s* ref; member in struct:Rep_catch_s
/ast/src/cmd/dsslib/flat/
H A Dflat.c3807 Cxreference_t* ref; local
3809 if (ref = var->reference)
3811 x.data.variable = ref->variable;
3814 while (ref = ref->next)
3816 x.data.variable = ref->variable;
3817 if ((*ref->member->getf)(flatten->cx, &x, &flatten->value, NiL, NiL, NiL, flatten->cx->disc))

Completed in 66 milliseconds