Searched refs:type (Results 1 - 25 of 445) sorted by relevance

1234567891011>>

/ast/src/lib/libvgraph/
H A Dgrhdr.h10 #define NIL(type) ((type)0)
/ast/src/lib/libcoshell/
H A Dcoquote.c26 * if type!=0 then /<getenv(<CO_ENV_TYPE>)/ translated to /$<CO_ENV_TYPE>/
32 coquote(register Sfio_t* sp, register const char* s, int type) argument
36 if (type && (!state.type || !*state.type))
37 type = 0;
47 else if (type && c == '/' && *s == *state.type)
50 register char* t = state.type;
/ast/src/lib/libast/sfio/
H A Dsfmutex.c31 int sfmutex(Sfio_t* f, int type) argument
33 int sfmutex(f, type)
35 int type;
39 NOTUSED(f); NOTUSED(type);
59 if(type == SFMTX_LOCK)
61 else if(type == SFMTX_TRYLOCK)
63 else if(type == SFMTX_UNLOCK)
65 else if(type == SFMTX_CLRLOCK)
H A Dsfraise.c30 static int _sfraiseall(int type, Void_t* data) argument
32 static int _sfraiseall(type, data)
33 int type; /* type of event */
49 if(sfraise(f, type, data) < 0)
57 int sfraise(Sfio_t* f, int type, Void_t* data) argument
59 int sfraise(f, type, data)
61 int type; /* type of event */
70 return _sfraiseall(type,dat
[all...]
H A Dsfwalk.c30 int sfwalk(Sfwalk_f walkf, Void_t* data, int type) argument
32 int sfwalk(walkf, data, type)
35 int type; /* walk streams with all given flags */
54 if(type != 0 && (f->_flags&type) != type )
/ast/src/lib/libast/stdio/
H A D_stdvbuf.c29 _stdsetvbuf(Sfio_t* f, char* buf, int type, size_t size) argument
31 return setvbuf(f, buf, type, size);
H A Dsetvbuf.c27 setvbuf(Sfio_t* f, char* buf, int type, size_t size) argument
29 STDIO_INT(f, "setvbuf", int, (Sfio_t*, char*, int, size_t), (f, buf, type, size))
31 if (type == _IOLBF)
35 else if (type == _IONBF)
40 else if (type == _IOFBF)
/ast/src/lib/libast/aso/
H A Dasometh.c38 asometh(int type, void* data)
40 return _asometh(type, data);
/ast/src/lib/libexpr/
H A Dextype.c34 * return C type name for type
38 extype(int type) argument
40 switch (type)
H A Dexzero.c31 * return 0 value for type
35 exzero(int type) argument
39 switch (type)
H A Dexparse.y125 %type <expr> statement statement_list arg_list
126 %type <expr> else_opt expr_opt expr
127 %type <expr> args variable assign
128 %type <expr> dcl_list dcl_item index
129 %type <expr> initialize switch_item constant
130 %type <expr> formals formal_list formal_item
131 %type <reference> reference
132 %type <id> ID LABEL NAME
133 %type <id> CONSTANT FUNCTION DECLARE
134 %type <i
[all...]
H A Dexexpr.c31 * return the expression for name or sym coerced to type
35 exexpr(Expr_t* ex, const char* name, Exid_t* sym, int type) argument
43 if (type != DELETE)
44 return excast(ex, sym->value->data.procedure.body, type, NiL, 0);
/ast/src/lib/libpp/
H A Dppincref.c26 * the type arg is inclusive or of PP_SYNC_*
32 ppincref(char* parent, char* file, int line, int type) argument
39 if (type & PP_SYNC_PUSH)
43 if (sp->type == IN_FILE)
H A Dppline.c34 static char type[5]; local
45 type[1] = PP_sync_ignore;
51 type[1] = ((pp.flags & PP_linetype) && !*pp.lineid && pp.lastfile) ? (line <= 1 ? (file == pp.firstfile ? PP_sync : PP_sync_push) : PP_sync_pop) : PP_sync;
58 type[1] = ((pp.flags & (PP_hosted|PP_linehosted)) == (PP_hosted|PP_linehosted)) ? PP_sync_hosted : PP_sync;
60 if (!(pp.flags & PP_linetype) || *pp.lineid || type[1] == PP_sync)
61 type[0] = 0;
64 type[0] = ' ';
65 if ((pp.flags & (PP_hosted|PP_linehosted)) == (PP_hosted|PP_linehosted) && type[1] != PP_sync_hosted)
67 type[2] = ' ';
68 type[
[all...]
/ast/src/cmd/tests/sfio/
H A Dtnotify.c26 static void notify(Sfio_t* f, int type, void* data) argument
28 static void notify(f, type, data)
30 int type;
34 switch(type)
41 Type = type;
44 Mttype = type;
47 terror("Unexpected nofity-type: %d",type);
/ast/src/cmd/mailx/port/
H A Ddtrestore.c86 reg int type; local
89 type = dt->data->type&DT_FLATTEN;
91 { if(!type)
98 type = 0;
100 dt->data->type &= ~DT_FLATTEN;
102 if(dt->data->type&DT_HASH)
104 if(type) /* restoring a flattened dictionary */
124 { if(dt->data->type&DT_TREE)
126 else /*if(dt->data->type
[all...]
H A Ddtview.c77 static Void_t* dtvsearch(Dt_t* dt, reg Void_t* obj, reg int type) argument
79 static Void_t* dtvsearch(dt,obj,type)
82 reg int type;
89 if(type&(DT_INSERT|DT_DELETE|DT_CLEAR|DT_RENEW))
90 return (*(dt->meth->searchf))(dt,obj,type);
92 if(!obj && !(type&(DT_FIRST|DT_LAST)) )
95 if(type&(DT_MATCH|DT_SEARCH|DT_FIRST|DT_LAST))
97 { if((o = (*(d->meth->searchf))(d,obj,type)) )
111 for(d = dt->walk, o = (*(d->meth->searchf))(d,obj,type); ; )
122 o = (*(d->meth->searchf))(d,o,type);
[all...]
/ast/src/lib/libast/tm/
H A Dtmweek.c44 * type is week type
55 tmweek(Tm_t* tm, int type, int week, int day) argument
63 week = (tm->tm_yday + offset[day][type]) / 7;
64 if (type == 2)
74 day = type != 0;
79 tm->tm_mday = week * 7 - offset[d][type] + ((day || type != 2) ? day : 7);
/ast/src/lib/libast/regex/
H A Dregrecord.c33 return p && p->env && p->env->rex->type == REX_BM;
H A Dregdecomp.c72 decomp(register Rex_t* e, Sfio_t* sp, int type, int delimiter, regflags_t flags) argument
91 switch (e->type)
94 if (decomp(e->re.group.expr.binary.left, sp, type, delimiter, flags))
97 if (e->re.group.expr.binary.right && decomp(e->re.group.expr.binary.right, sp, type, delimiter, flags))
104 if (type < SRE)
108 if (type < SRE)
112 meta(sp, '<', type, 1, delimiter);
115 meta(sp, '<', type, 1, delimiter);
125 if (type >= SRE)
144 switch (e->type)
398 int type; local
[all...]
/ast/src/lib/libast/cdt/
H A Ddtopen.c31 static int _dttype2005(Dt_t* dt, int type) argument
33 if (type == DT_DELETE && (dt->meth->type&(DT_OBAG|DT_BAG)))
34 type = DT_REMOVE;
35 return type;
49 int ev, type; local
56 type = meth->type;
68 { if((data->type & DT_METHODS) != meth->type)
122 _dtmake(Dt_t* dt, Void_t* obj, int type) argument
146 _dtfree(Dt_t* dt, Dtlink_t* l, int type) argument
157 dtuserlock(Dt_t* dt, unsigned int key, int type) argument
[all...]
H A Ddtview.c35 static Void_t* dtvsearch(Dt_t* dt, reg Void_t* obj, reg int type) argument
37 static Void_t* dtvsearch(dt,obj,type)
40 reg int type;
47 if(type&DT_NOVIEWPATH)
48 return (*(dt->meth->searchf))(dt,obj,type);
52 /* these ops look for the first appearance of an object of the right type */
53 if((type & (DT_MATCH|DT_SEARCH)) ||
54 ((type & (DT_FIRST|DT_LAST|DT_ATLEAST|DT_ATMOST)) && !(dt->meth->type&DT_ORDERED) ) )
56 if((o = (*(d->meth->searchf))(d,obj,type)) )
[all...]
/ast/src/lib/libast/astsa/
H A Daso.c27 asolock(unsigned int volatile* lock, unsigned int key, int type) argument
32 switch (type)
/ast/src/lib/libast/vmalloc/
H A Dvmexit.c77 void exit(int type) argument
79 void exit(type)
80 int type;
92 _exit(type);
93 return type;
/ast/src/lib/libcs/
H A DSERVICE.mk6 * service [ type [ mode ] [ dir ] ] :SERVICE: prerequisites
8 * type defaults to tcp, mode defaults to null
18 local opt service type mode dir
21 if ! ( type = "$(<:O=2:/,/ /G)" )
22 type = tcp macro
35 for dir $(type)
39 for dir $(type)

Completed in 21 milliseconds

1234567891011>>