Searched defs:type (Results 1 - 25 of 297) sorted by relevance

1234567891011>>

/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 Dsfsk.c29 Sfoff_t sfsk(Sfio_t* f, Sfoff_t addr, int type, Sfdisc_t* disc) argument
31 Sfoff_t sfsk(f,addr,type,disc)
34 int type;
61 if((type &= (SEEK_SET|SEEK_CUR|SEEK_END)) > SEEK_END)
68 if(type == SEEK_SET)
70 else if(type == SEEK_CUR)
77 { SFDCSK(f,addr,type,dc,p);
80 { p = syslseekf(f->file,(sfoff_t)addr,type);
H A Dsfungetc.c29 static int _uexcept(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc) argument
31 static int _uexcept(f,type,val,disc)
33 int type;
45 if(type != SF_CLOSING)
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/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 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/libast/astsa/
H A Daso.c27 asolock(unsigned int volatile* lock, unsigned int key, int type) argument
32 switch (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/libpp/
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...]
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 Dppmacref.c31 ppmacref(struct ppsymbol* sym, char* file, int line, int type, unsigned long sum) argument
39 p += sfsprintf(p, MAXTOKEN, "\n#%s %s:%s %s %d", dirname(PRAGMA), pp.pass, keyname(X_MACREF), sym->name, type);
40 if (type > 0)
/ast/src/lib/libast/cdt/
H A Ddtclose.c35 int ev, type; local
51 type = dt->data->type; /* save before memory is freed */
59 if(!(type&DT_INDATA) )
H A Ddtdisc.c52 Dtdisc_t* dtdisc(Dt_t* dt, Dtdisc_t* disc, int type) argument
54 Dtdisc_t* dtdisc(dt,disc,type)
57 int type;
76 if((type & (DT_SAMEHASH|DT_SAMECMP)) != (DT_SAMEHASH|DT_SAMECMP) )
/ast/src/lib/libast/disc/
H A Dmemfatal.c48 nomalloc(Vmalloc_t* region, int type, void* obj, Vmdisc_t* disc) argument
53 switch (type)
H A Dsfdcslow.c31 static int slowexcept(Sfio_t* f, int type, Void_t* v, Sfdisc_t* disc) argument
33 static int slowexcept(f, type, v, disc)
35 int type;
44 switch (type)
/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);
H A Dtmzone.c34 * return timezone pointer given name and type
36 * if type==0 then all time zone types match
37 * otherwise type must be one of tm_info.zone[].type
49 tmzone(register const char* name, char** end, const char* type, int* dst) argument
72 if (zp->type)
73 prev = zp->type;
74 if (!type || type == prev || !prev)
/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/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)
H A Dcsport.c33 * map <type,serv> to port number
38 csport(register Cs_t* state, const char* type, const char* serv) argument
60 if (sp = in_service(serv, type, 0))
64 if (sp = getservbyname(serv, type))
183 _cs_port(const char* type, const char* serv) argument
185 return csport(&cs, type, serv);
/ast/src/lib/librecsort/
H A Drskeydump.c31 dump(register Rskey_t* kp, Sfio_t* sp, register Rskeyfield_t* fp, const char* type) argument
33 dump(kp, sp, fp, type)
37 char* type;
40 sfprintf(sp, "%s[%d]\n", type, fp->index);
74 sfprintf(sp, "\tmerge=%d reverse=%d stable=%d uniq=%d ignore=%d verbose=%d\n", kp->merge, !!(kp->type & RS_REVERSE), !(kp->type & RS_DATA), !!(kp->type & RS_UNIQ), !!(kp->type & RS_IGNORE), kp->verbose);
81 sfprintf(sp, "\trecord format %s data%s 0x%08x key%s %d\n", fmtrec(kp->disc->data, 0), (kp->disc->type & RS_DSAMELEN) ? " DSAMELEN" : "", kp->disc->data, (kp->disc->type
[all...]
/ast/src/lib/libast/include/
H A Dmagicid.h41 char type[12]; /* specific data type */ member in struct:Magicid_s
/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;

Completed in 535 milliseconds

1234567891011>>