Home
last modified time | relevance | path

Searched refs:type (Results 251 – 275 of 4318) sorted by relevance

1...<<11121314151617181920>>...173

/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmweek.c55 tmweek(Tm_t* tm, int type, int week, int day) in tmweek() argument
63 week = (tm->tm_yday + offset[day][type]) / 7; in tmweek()
64 if (type == 2) in tmweek()
74 day = type != 0; in tmweek()
79 tm->tm_mday = week * 7 - offset[d][type] + ((day || type != 2) ? day : 7); in tmweek()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dcudbg.c56 set_dbg_bitmap(u8 *bitmap, enum CUDBG_DBG_ENTITY_TYPE type) in set_dbg_bitmap() argument
58 int index = type / 8; in set_dbg_bitmap()
59 int bit = type % 8; in set_dbg_bitmap()
65 reset_dbg_bitmap(u8 *bitmap, enum CUDBG_DBG_ENTITY_TYPE type) in reset_dbg_bitmap() argument
67 int index = type / 8; in reset_dbg_bitmap()
68 int bit = type % 8; in reset_dbg_bitmap()
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_hout.c209 if (streq(decl->type, "bool")) in puniondef()
219 if (decl && !streq(decl->type, "void")) in puniondef()
488 char *type; in pdeclaration() local
490 if (streq(dec->type, "void")) in pdeclaration()
495 if (streq(dec->type, "string")) { in pdeclaration()
499 if (streq(dec->type, "bool")) { in pdeclaration()
500 type = "bool_t"; in pdeclaration()
502 type = "char"; in pdeclaration()
509 type = dec->type; in pdeclaration()
539 undefined2(char *type, char *stop) in undefined2() argument
[all …]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfopen.c63 fopen(const char *name, const char *type) /* open name, return new stream */ in fopen() argument
73 rc = _endopen(name, type, iop, LARGE_OPEN); in fopen()
82 _freopen_null(const char *type, FILE *iop) in _freopen_null() argument
123 mode = type[0]; in _freopen_null()
132 if ((plus = type[1]) == 'b') in _freopen_null()
133 plus = type[2]; in _freopen_null()
210 freopen(const char *name, const char *type, FILE *iop) in freopen() argument
221 rc = _freopen_null(type, iop); in freopen()
238 rc = _endopen(name, type, iop, LARGE_OPEN); in freopen()
/illumos-gate/usr/src/boot/efi/loader/
H A Dmemmap.c45 smap_type(int type) in smap_type() argument
47 switch (type) { in smap_type()
81 int type = -1; in efi_getsmap() local
116 type = SMAP_TYPE_MEMORY; in efi_getsmap()
118 type = smap_type(p->Type); in efi_getsmap()
119 next->sb_smap.type = type; in efi_getsmap()
128 if ((smap_type(p->Type) == type) && in efi_getsmap()
178 " len=%016" PRIx64 "\n", smapbase[i].type, in command_smap()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfwalk.c30 int sfwalk(Sfwalk_f walkf, Void_t* data, int type) in sfwalk() argument
32 int sfwalk(walkf, data, type) in sfwalk()
35 int type; /* walk streams with all given flags */
54 if(type != 0 && (f->_flags&type) != type )
H A Dsfsk.c29 Sfoff_t sfsk(Sfio_t* f, Sfoff_t addr, int type, Sfdisc_t* disc) in sfsk() argument
31 Sfoff_t sfsk(f,addr,type,disc) in sfsk()
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);
/illumos-gate/usr/src/tools/smatch/src/
H A Dparse.dtd5 <!ATTLIST symbol type (uninitialized|preprocessor|basetype|node|pointer|function|array|struct|union… attribute
15 base-type IDREF #IMPLIED
16type-builtin (char|signed char|unsigned char|short|signed short|unsigned short|int|signed int|unsi…
46 type-type (0|1) #IMPLIED
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddtmethod.c82 int dtcustomize(Dt_t* dt, int type, int action) in dtcustomize() argument
86 if((type&DT_SHARE) && in dtcustomize()
89 dt->data->type &= ~DT_SHARE; in dtcustomize()
90 else dt->data->type |= DT_SHARE; in dtcustomize()
94 if((type&DT_ANNOUNCE) && in dtcustomize()
97 dt->data->type &= ~DT_ANNOUNCE; in dtcustomize()
98 else dt->data->type |= DT_ANNOUNCE; in dtcustomize()
102 if((type&DT_OPTIMIZE) && in dtcustomize()
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dbtree_auto.h14 u_int32_t type; member
29 u_int32_t type; member
43 u_int32_t type; member
61 u_int32_t type; member
76 u_int32_t type; member
91 u_int32_t type; member
106 u_int32_t type; member
119 u_int32_t type; member
H A Dhash_auto.h14 u_int32_t type; member
30 u_int32_t type; member
47 u_int32_t type; member
61 u_int32_t type; member
75 u_int32_t type; member
92 u_int32_t type; member
110 u_int32_t type; member
125 u_int32_t type; member
/illumos-gate/usr/src/cmd/bnu/
H A Dsystat.c42 systat(name, type, text, retry) in systat() argument
43 register int type; in systat()
71 switch (type) {
121 type, count, prestime, retry, text, name);
140 int count, type; local
159 sscanf(line, "%d%d%ld%ld", &type, &count, &lasttime, &retrytime);
160 t = type;
180 return(type);
/illumos-gate/usr/src/lib/udapl/libdat/common/
H A Dudat_sr_parser.c93 DAT_SR_TOKEN_TYPE type; member
118 DAT_SR_API_TYPE type; member
151 DAT_SR_TOKEN_TYPE type);
382 DAT_SR_TOKEN_TYPE type) in dat_sr_type_to_str() argument
386 if ((type < 0) || (2 < type)) { in dat_sr_type_to_str()
390 return (str_array[type]); in dat_sr_type_to_str()
455 entry.api_version.type, in dat_sr_parse_entry()
1162 token->type = DAT_SR_TOKEN_EOF; in dat_sr_read_token()
1167 token->type = DAT_SR_TOKEN_EOR; in dat_sr_read_token()
1254 token->type = DAT_SR_TOKEN_STRING; in dat_sr_read_str()
[all …]
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv.c678 const char *type, const char *value) in add_pair() argument
691 if (strcmp(type, "DATA_TYPE_STRING") == 0) { in add_pair()
702 rv = lzbe_add_pair(nv, key, type, &v, size); in add_pair()
710 rv = lzbe_add_pair(nv, key, type, &v, size); in add_pair()
722 rv = lzbe_add_pair(nv, key, type, &v, size); in add_pair()
734 rv = lzbe_add_pair(nv, key, type, &v, size); in add_pair()
859 char *name, *key, *type, *nvlist, *value; in main() local
865 type = NULL; in main()
915 type = optarg; in main()
949 if (type == NULL) in main()
[all …]
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Dzfopen.c39 zfopen(int severity, char *path, char *type) in zfopen() argument
43 if ((fp = fopen(path, type)) == NULL) { in zfopen()
46 if (type[1] == '+') in zfopen()
49 switch (type[0]) { in zfopen()
60 mode = type; in zfopen()
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_mountd.c74 uint32_t buf[4], type; local
89 (void) aug_get_machine(clname, buf, &type);
90 aug_save_tid_ex(aug_get_port(), buf, type);
100 uint32_t buf[4], type; local
116 (void) aug_get_machine(clname, buf, &type);
117 aug_save_tid_ex(aug_get_port(), buf, type);
/illumos-gate/usr/src/uts/intel/asm/
H A Datomic.h80 #define __ATOMIC_OPXX(fxn, type, op) \ argument
82 fxn(volatile type *target) \
168 #define __ATOMIC_OPXX(fxn, type, op, reg) \ argument
169 extern __GNU_INLINE type \
170 fxn(volatile type *target, type cmp, type new) \
172 type ret; \
212 #define __ATOMIC_OPXX(fxn, type, op, reg) \ argument
213 extern __GNU_INLINE type \
214 fxn(volatile type *target, type val) \
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dputmessage.c37 int putmessage(char * buf, short type, ... ) in putmessage() argument
39 int putmessage(buf, type, va_alist) in putmessage()
41 short type;
50 va_start(arg, type);
55 size = _putmessage(buf, type, arg);
H A Dgetmessage.c39 int getmessage ( char * buf, short type, ... ) in getmessage() argument
41 int getmessage (buf, type, va_alist) in getmessage()
43 short type;
52 va_start(arg, type);
57 rval = _getmessage(buf, type, arg);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnvpair.c132 data_type_t type; member
168 data_type_t type) in nvpair_print_value() argument
181 } else if (type == DATA_TYPE_BOOLEAN_VALUE || in nvpair_print_value()
182 type == DATA_TYPE_BOOLEAN_ARRAY) { in nvpair_print_value()
220 data_type_t type = DATA_TYPE_UNKNOWN; in nvpair_print() local
252 type = NVP_TYPE(nvpair); in nvpair_print()
255 if (nvpair_info[i].type == type) { in nvpair_print()
274 mdb_printf(" type=0x%x", type); in nvpair_print()
301 if (type == DATA_TYPE_NVLIST) { in nvpair_print()
322 } else if (type == DATA_TYPE_NVLIST_ARRAY) { in nvpair_print()
[all …]
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptraceutil.c45 type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) in type_name() argument
47 if (ctf_type_name(ctfp, type, buf, len) == NULL) in type_name()
48 (void) snprintf(buf, len, "<%ld>", type); in type_name()
54 print_value(ctf_file_t *ctfp, ctf_id_t type, ulong_t value) in print_value() argument
56 ctf_id_t rtype = ctf_type_resolve(ctfp, type); in print_value()
62 type = ctf_type_reference(ctfp, rtype); in print_value()
63 rtype = ctf_type_resolve(ctfp, type); in print_value()
299 char type[256]; in elt_print() local
314 if (ctf_type_name(ctfp, id, type, sizeof (type)) == NULL) in elt_print()
315 (void) snprintf(type, sizeof (type), "<%ld>", id); in elt_print()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dsensor_link.c38 char *type, *name, *c; in sensor_link() local
46 if ((type = strdup(t)) == NULL) { in sensor_link()
50 c = type; in sensor_link()
59 free(type); in sensor_link()
64 free(type); in sensor_link()
86 free(type); in sensor_link()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dfhc_bd.c355 bdp->sc.type = type; in fhc_bd_init()
449 switch (type) { in fhc_bd_typestr()
571 uip->type = sc->type; in fhc_bd_ks_update()
765 enum board_type type; in fhc_bdlist_prime() local
768 switch (type) { in fhc_bdlist_prime()
801 sc->type = type; in fhc_bdlist_prime()
902 enum board_type type; in fhc_bdlist_scan() local
918 if (type == -1) in fhc_bdlist_scan()
920 sc->type = type; in fhc_bdlist_scan()
922 type = sc->type; in fhc_bdlist_scan()
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthr_barrier.c92 int type; in pthread_barrier_init() local
95 type = PTHREAD_PROCESS_PRIVATE; in pthread_barrier_init()
97 type = ap->pshared; in pthread_barrier_init()
99 type = -1; in pthread_barrier_init()
102 (type != PTHREAD_PROCESS_PRIVATE && type != PTHREAD_PROCESS_SHARED)) in pthread_barrier_init()
109 (void) mutex_init(mp, type, NULL); in pthread_barrier_init()
110 (void) cond_init(cvp, type, NULL); in pthread_barrier_init()
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-device.c57 LibHalPropertyType type; member
227 int type; in dump_devices() local
240 type = libhal_psi_get_type(&it); in dump_devices()
241 switch (type) { in dump_devices()
288 printf("Unknown type %d = 0x%02x\n", type, type); in dump_devices()
480 p->type = LIBHAL_PROPERTY_TYPE_INVALID; in process_property()
493 p->type = LIBHAL_PROPERTY_TYPE_STRING; in process_property()
499 p->type = LIBHAL_PROPERTY_TYPE_STRLIST; in process_property()
521 p->type = LIBHAL_PROPERTY_TYPE_INT32; in process_property()
564 ( p->type != old_type || p->type == LIBHAL_PROPERTY_TYPE_STRLIST)) { in add_properties()
[all …]

1...<<11121314151617181920>>...173