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

1234567891011>>

/osnet-11/usr/src/lib/libast/common/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 )
/osnet-11/usr/src/lib/libast/common/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)
/osnet-11/usr/src/lib/libwrap/
H A Dmystdarg.h15 #define VARARGS(func,type,arg) func(type arg, ...)
16 #define VASTART(ap,type,name) va_start(ap,name)
20 #define VARARGS(func,type,arg) func(va_alist) va_dcl
21 #define VASTART(ap,type,name) {type name; va_start(ap); name = va_arg(ap, type)
/osnet-11/usr/src/cmd/sendmail/libsmutil/
H A Dlockfile.c28 ** type -- type of the lock. Bits can be:
39 lockfile(fd, filename, ext, type)
43 int type;
50 if (bitset(LOCK_UN, type))
52 else if (bitset(LOCK_EX, type))
56 if (bitset(LOCK_NB, type))
67 ** as type "tmp" (that is, served from swap space), the
78 if (flock(fd, type) >= 0)
/osnet-11/usr/src/lib/libcurses/screen/
H A DV3.m_newterm.c49 m_newterm(char *type, FILE *outfptr, FILE *infptr) argument
51 return (newterm(type, outfptr, infptr));
H A DV3.newterm.c51 newterm(char *type, FILE *outfptr, FILE *infptr) argument
54 return (newscreen(type, 0, 0, 0, outfptr, infptr));
H A D_newterm.c49 newterm(char *type, FILE *fout, FILE *fin) argument
51 return (newscreen(type, 0, 0, 0, fout, fin));
H A Dtgetwch.c48 int c, n, type, width; local
57 type = TYPE(c);
58 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1);
H A Dwgetwch.c45 int c, n, type, width; local
56 type = TYPE(c);
57 width = cswidth[type] - ((type == 1 || type == 2) ? 0 : 1);
/osnet-11/usr/src/lib/libpp/common/
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_sync;
60 if (!(pp.flags & PP_linetype) || *pp.lineid || type[1] == PP_sync)
61 type[0] = 0;
64 type[0] = ' ';
67 type[2] = ' ';
68 type[3] = PP_sync_hosted;
71 type[
[all...]
/osnet-11/usr/src/lib/libsocket/socket/
H A Dsocket.c56 _socket(int family, int type, int protocol) argument
58 return (_socket_create(family, type, protocol, SOV_DEFAULT));
65 _socket_bsd(int family, int type, int protocol) argument
67 return (_socket_create(family, type, protocol, SOV_SOCKBSD));
71 _socket_svr4(int family, int type, int protocol) argument
73 return (_socket_create(family, type, protocol, SOV_SOCKSTREAM));
77 __xnet_socket(int family, int type, int protocol) argument
79 return (_socket_create(family, type, protocol, SOV_XPG4_2));
85 * that could be returned due to invalid <family, type, protocol>
93 _socket_create(int family, int type, in argument
[all...]
H A Dsocketpair.c59 _socketpair(int family, int type, int protocol, int sv[2]) argument
61 return (_socketpair_create(family, type, protocol, sv, SOV_DEFAULT));
68 _socketpair_bsd(int family, int type, int protocol, int sv[2]) argument
70 return (_socketpair_create(family, type, protocol, sv, SOV_SOCKBSD));
74 _socketpair_svr4(int family, int type, int protocol, int sv[2]) argument
76 return (_socketpair_create(family, type, protocol, sv,
81 __xnet_socketpair(int family, int type, int protocol, int sv[2]) argument
83 return (_socketpair_create(family, type, protocol, sv,
88 _socketpair_create(int family, int type, int protocol, int sv[2], int version) argument
97 fd1 = _socket_create(family, type, protoco
[all...]
/osnet-11/usr/src/lib/libfruutils/
H A Dfru_tag.h45 unsigned type : 1; member in struct:__anon1689::__anon1690
50 unsigned type : 2; member in struct:__anon1689::__anon1691
55 unsigned type : 3; member in struct:__anon1689::__anon1692
60 unsigned type : 4; member in struct:__anon1689::__anon1693
65 unsigned type : 5; member in struct:__anon1689::__anon1694
70 unsigned type : 6; member in struct:__anon1689::__anon1695
75 unsigned type : 7; member in struct:__anon1689::__anon1696
85 unsigned type : 1; member in struct:__anon1697::__anon1698
90 unsigned type : 2; member in struct:__anon1697::__anon1699
95 unsigned type member in struct:__anon1697::__anon1700
100 unsigned type : 4; member in struct:__anon1697::__anon1701
105 unsigned type : 5; member in struct:__anon1697::__anon1702
110 unsigned type : 6; member in struct:__anon1697::__anon1703
115 unsigned type : 7; member in struct:__anon1697::__anon1704
[all...]
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_accessor.c35 #define DEF_FUNC_PTRS(type) \
36 krb5_error_code (*k5int_encode_##type)(const type *, krb5_data **); \
37 krb5_error_code (*k5int_decode_##type)(const krb5_data *, type **)
39 #define DEF_FUNC_PTRS_ARRAY(type) \
40 krb5_error_code (*k5int_encode_##type)(const type **, krb5_data **); \
41 krb5_error_code (*k5int_decode_##type)(const krb5_data *, type ***)
[all...]
H A Dpkinit_accessor.h39 #define DEF_EXT_FUNC_PTRS(type) \
40 extern krb5_error_code (*k5int_encode_##type)(const type *, krb5_data **); \
41 extern krb5_error_code (*k5int_decode_##type)(const krb5_data *, type **)
43 #define DEF_EXT_FUNC_PTRS_ARRAY(type) \
44 extern krb5_error_code (*k5int_encode_##type)(const type **, krb5_data **); \
45 extern krb5_error_code (*k5int_decode_##type)(const krb5_data *, type ***)
[all...]
/osnet-11/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2.c129 uint64_t type; local
132 &type) == 0);
134 if ((type != SES_ET_DEVICE) &&
135 (type != SES_ET_POWER_SUPPLY) &&
136 (type != SES_ET_COOLING) &&
137 (type != SES_ET_TEMPERATURE_SENSOR) &&
138 (type != SES_ET_DOOR_LOCK) &&
139 (type != SES_ET_AUDIBLE_ALARM) &&
140 (type != SES_ET_ESC_ELECTRONICS) &&
141 (type !
[all...]
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Ddb_shash.h21 * type: the structure type of the elements that are linked in each bucket.
22 * field: the name of the field by which the "type" structures are linked.
26 * hash_func: the hash function that operates on elements of the type of elt
27 * cmp_func: compare elements of the type of elt with those in the table (of
28 * type "type").
33 #define HASHLOOKUP(begin, type, field, elt, r, n, hash, cmp) do { \
39 for (r = SH_TAILQ_FIRST(__bucket, type); \
40 r != NULL; r = SH_TAILQ_NEXT(r, field, type)) \
[all...]
H A Dshqueue.h27 * the normal macros, although the macro calls require an additional type
55 #define SH_LIST_FIRSTP(head, type) \
56 ((struct type *)(((u_int8_t *)(head)) + (head)->slh_first))
58 #define SH_LIST_FIRST(head, type) \
60 ((struct type *)(((u_int8_t *)(head)) + (head)->slh_first)))
62 #define SH_LIST_NEXTP(elm, field, type) \
63 ((struct type *)(((u_int8_t *)(elm)) + (elm)->field.sle_next))
65 #define SH_LIST_NEXT(elm, field, type) \
67 ((struct type *)(((u_int8_t *)(elm)) + (elm)->field.sle_next)))
87 #define SH_LIST_INSERT_AFTER(listelm, elm, field, type) d
[all...]
/osnet-11/usr/src/lib/libast/common/cdt/
H A Ddtrestore.c40 reg int type; local
43 type = dt->data->type&DT_FLATTEN;
45 { if(!type)
52 type = 0;
54 dt->data->type &= ~DT_FLATTEN;
56 if(dt->data->type&(DT_SET|DT_BAG))
58 if(type) /* restoring a flattened dictionary */
77 { if(dt->data->type&(DT_OSET|DT_OBAG))
79 else /*if(dt->data->type
[all...]
/osnet-11/usr/src/lib/libast/common/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);
/osnet-11/usr/src/lib/sun_fc/common/
H A DAdapterEvent.h39 * event of this type will be sent to registered
51 wwn(myWwn), type(myType) { }
53 EVENT_TYPE getType() { return (type); }
57 EVENT_TYPE type; member in class:AdapterEvent

Completed in 89 milliseconds

1234567891011>>