Searched defs:datum (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/lib/libtnf/
H A Drecord.c31 * Check a record datum
35 _tnf_check_record(tnf_datum_t datum) argument
37 CHECK_DATUM(datum);
40 if (!INFO_TAGGED(DATUM_INFO(datum)))
41 _tnf_error(DATUM_TNF(datum), TNF_ERR_TYPEMISMATCH);
49 tnf_get_tag_arg(tnf_datum_t datum) argument
54 CHECK_RECORD(datum);
56 tnf = DATUM_TNF(datum);
60 arg = _tnf_get_tag_arg(tnf, DATUM_RECORD(datum));
H A Dtype.c35 _tnf_check_type(tnf_datum_t datum) argument
37 CHECK_RECORD(datum);
38 CHECK_SLOTS(datum);
40 if (!INFO_TYPE(DATUM_INFO(datum)))
41 _tnf_error(DATUM_TNF(datum), TNF_ERR_TYPEMISMATCH);
49 tnf_type_get_kind(tnf_datum_t datum) argument
53 CHECK_TYPE(datum);
57 info = _tnf_get_info(DATUM_TNF(datum), DATUM_RECORD(datum));
62 * Retrieve type name for datum typ
66 tnf_type_get_name(tnf_datum_t datum) argument
79 tnf_type_get_size(tnf_datum_t datum) argument
101 tnf_type_get_base(tnf_datum_t datum) argument
122 tnf_type_get_property(tnf_datum_t datum, char *name) argument
[all...]
H A Daccess.c69 tnf_get_block_relative(tnf_datum_t datum, int adjust) argument
75 CHECK_DATUM(datum);
77 tnf = DATUM_TNF(datum);
78 bhdr = _GET_BLOCK(tnf, DATUM_VAL(datum));
85 tnf_is_block_header(tnf_datum_t datum) argument
91 CHECK_DATUM(datum);
93 info = DATUM_INFO(datum);
94 val = DATUM_VAL(datum);
102 tnf_get_block_header(tnf_datum_t datum) argument
107 CHECK_DATUM(datum);
122 tnf_get_next_record(tnf_datum_t datum) argument
[all...]
H A Darray.c49 _tnf_check_array(tnf_datum_t datum) argument
53 CHECK_RECORD(datum); /* XXX */
55 info = DATUM_INFO(datum);
58 _tnf_error(DATUM_TNF(datum), TNF_ERR_TYPEMISMATCH);
68 tnf_datum_t datum,
75 info = DATUM_INFO(datum);
79 _tnf_error(DATUM_TNF(datum), TNF_ERR_INTERNAL);
95 tnf_get_element_count(tnf_datum_t datum) argument
100 CHECK_ARRAY(datum);
102 (void) get_array_info(datum,
67 get_array_info( tnf_datum_t datum, struct taginfo **basep, struct taginfo **eltp, struct taginfo **elt_basep) argument
116 tnf_get_element(tnf_datum_t datum, unsigned index) argument
161 tnf_get_element_type(tnf_datum_t datum) argument
177 tnf_get_chars(tnf_datum_t datum) argument
196 tnf_get_elements(tnf_datum_t datum) argument
[all...]
H A Ddatum.c55 _tnf_datum_info(tnf_datum_t datum) argument
57 return ((struct taginfo *)_DATUM_HI(datum));
61 _tnf_datum_val(tnf_datum_t datum) argument
63 return ((caddr_t)_DATUM_LO(datum));
69 * Check for valid datum
73 _tnf_check_datum(tnf_datum_t datum) argument
78 if (datum == TNF_DATUM_NULL)
81 val = DATUM_VAL(datum);
82 tnf = DATUM_TNF(datum);
89 * Retrieve datum kin
93 tnf_get_kind(tnf_datum_t datum) argument
105 has_prop(tnf_datum_t datum, tag_props_t prop) argument
114 tnf_is_inline(tnf_datum_t datum) argument
120 tnf_is_scalar(tnf_datum_t datum) argument
126 tnf_is_record(tnf_datum_t datum) argument
132 tnf_is_array(tnf_datum_t datum) argument
138 tnf_is_string(tnf_datum_t datum) argument
144 tnf_is_struct(tnf_datum_t datum) argument
150 tnf_is_type(tnf_datum_t datum) argument
160 tnf_get_type(tnf_datum_t datum) argument
176 tnf_get_type_name(tnf_datum_t datum) argument
187 tnf_get_size(tnf_datum_t datum) argument
210 tnf_get_raw(tnf_datum_t datum) argument
[all...]
H A Dscalar.c34 #define CHECK_SCALAR(datum) check_scalar(datum)
36 #define DATUM_NATIVE(x) DATUM_TNF(datum)->file_native
51 check_scalar(tnf_datum_t datum) argument
53 CHECK_DATUM(datum);
54 if (!INFO_SCALAR(DATUM_INFO(datum)))
55 _tnf_error(DATUM_TNF(datum), TNF_ERR_TYPEMISMATCH);
66 tnf_get_char(tnf_datum_t datum) argument
68 CHECK_SCALAR(datum);
69 return (*(char *)DATUM_VAL(datum));
73 tnf_get_int8(tnf_datum_t datum) argument
80 tnf_get_int16(tnf_datum_t datum) argument
93 tnf_get_int32(tnf_datum_t datum) argument
135 tnf_get_int64(tnf_datum_t datum) argument
144 tnf_get_float32(tnf_datum_t datum) argument
159 tnf_get_float64(tnf_datum_t datum) argument
[all...]
H A Dstruct.c44 _tnf_check_slots(tnf_datum_t datum) argument
48 CHECK_DATUM(datum);
50 info = DATUM_INFO(datum);
54 _tnf_error(DATUM_TNF(datum), TNF_ERR_TYPEMISMATCH);
62 get_slotinfo(tnf_datum_t datum) argument
66 info = DATUM_INFO(datum);
71 _tnf_error(DATUM_TNF(datum), TNF_ERR_BADTNF);
103 get_slot(tnf_datum_t datum, struct slot *slot) argument
106 _tnf_error(DATUM_TNF(datum), TNF_ERR_BADSLOT); /* XXX */
113 tnf = DATUM_TNF(datum);
131 tnf_get_slot_count(tnf_datum_t datum) argument
146 tnf_get_slot_index(tnf_datum_t datum, char *name) argument
169 tnf_get_slot_name(tnf_datum_t datum, unsigned index) argument
191 tnf_get_slot_named(tnf_datum_t datum, char *name) argument
209 tnf_get_slot_indexed(tnf_datum_t datum, unsigned index) argument
[all...]
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dtable.h43 char *datum; member in struct:tablenode
/illumos-gate/usr/src/head/rpcsvc/
H A Ddbm.h67 } datum; typedef in typeref:struct:__anon111
69 datum fetch(datum);
70 datum makdatum(char *, int);
71 datum firstkey(void);
72 datum nextkey(datum);
73 datum firsthash(long);
74 long calchash(datum);
H A Dypupd.h80 yp_buf datum; member in struct:ypupdate_args
/illumos-gate/usr/src/ucbhead/
H A Ddbm.h71 } datum; typedef in typeref:struct:__anon135
76 datum fetch(datum);
77 datum makdatum(char *, int);
78 datum firstkey(void);
79 datum nextkey(datum);
80 datum firsthash(long);
81 long calchash(datum);
84 datum fetc
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-ndbm.h60 } datum; typedef in typeref:struct:__anon2569
79 int dbm_delete __P((DBM *, datum));
80 datum dbm_fetch __P((DBM *, datum));
81 datum dbm_firstkey __P((DBM *));
82 long dbm_forder __P((DBM *, datum));
83 datum dbm_nextkey __P((DBM *));
85 int dbm_store __P((DBM *, datum, datum, int));
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c196 uint32_t datum; local
199 datum = (uint32_t)ftell(pwp->dfp);
201 (void) fwrite((char *)&datum, sizeof (datum), 1, pwp->ifp);
235 uint32_t datum; local
256 if (!fread((char *)&datum, sizeof (datum), 1, pwp->ifp)) {
260 if (fseek(pwp->dfp, datum, 0)) {
/illumos-gate/usr/src/head/
H A Dndbm.h85 } datum; typedef in typeref:struct:__anon2291
90 } datum; typedef in typeref:struct:__anon2292
95 datum dbm_fetch(DBM *, datum);
96 datum dbm_firstkey(DBM *);
97 datum dbm_nextkey(DBM *);
98 int dbm_delete(DBM *, datum);
99 int dbm_store(DBM *, datum, datum, int);
/illumos-gate/usr/src/cmd/tnf/tnfdump/
H A Dcooked.c109 describe_c_record(tnf_datum_t datum) argument
114 switch (tnf_get_kind(datum)) {
118 schedule_rec = tnf_get_tag_arg(datum);
121 insert_event(datum, schedule_rec);
129 name_str = tnf_get_type_name(datum);
132 describe_probe_type(datum);
136 tnf_get_raw(datum), tnf_get_kind(datum));
143 describe_probe_type(tnf_datum_t datum) argument
149 n = tnf_get_slot_count(datum);
176 insert_event(tnf_datum_t datum, tnf_datum_t schedule_rec) argument
198 describe_event(tnf_datum_t datum, tnf_datum_t schedule_rec, hrtime_t evt_time) argument
260 describe_c_struct(tnf_datum_t datum) argument
285 describe_c_brief(tnf_datum_t datum) argument
310 describe_target(tnf_datum_t datum) argument
[all...]
H A Dmain.c215 describe_record(tnf_datum_t datum) argument
217 (void) printf("0x%-8x: {\n", OFF(tnf_get_raw(datum)));
219 switch (tnf_get_kind(datum)) {
222 describe_struct(datum);
226 describe_array(datum);
229 describe_type(datum);
233 tnf_get_raw(datum), tnf_get_kind(datum));
241 describe_scalar(tnf_datum_t datum) argument
243 switch (tnf_get_kind(datum)) {
306 describe_struct(tnf_datum_t datum) argument
332 describe_array(tnf_datum_t datum) argument
351 describe_type(tnf_datum_t datum) argument
357 describe_brief(tnf_datum_t datum) argument
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dndbm.h51 } datum; typedef in typeref:struct:__anon2756
61 datum dbm_fetch();
62 datum dbm_firstkey();
63 datum dbm_nextkey();
64 datum dbm_do_nextkey();
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_marshal.c43 ndr_typeinfo_t *ti, void *datum)
50 if (ndo_operation(nds, ti, opnum, datum))
502 (struct ndr_bind_ack_hdr *)encl_ref->datum;
594 (ndr_alter_context_rsp_hdr_t *)encl_ref->datum;
42 ndr_encode_decode_common(ndr_stream_t *nds, unsigned opnum, ndr_typeinfo_t *ti, void *datum) argument
H A Dndr_process.c132 * An ndr reference indicates the local datum (i.e. native "C" data
136 * element/datum, and the enclosing construct for the element. The
141 * The ndr-reference.datum is a pointer to the local memory that
234 * datum (local memory) for TOP-MOST constructs (structs) is allocated
243 ndo_process(ndr_stream_t *nds, ndr_typeinfo_t *ti, char *datum) argument
249 myref.datum = datum;
257 ndo_operation(ndr_stream_t *nds, ndr_typeinfo_t *ti, int opnum, char *datum) argument
263 myref.datum = datum;
[all...]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_hash.c58 void *datum; member in struct:DAPL_HASH_ELEM
99 /* datum value in empty table slots (use 0UL or ~0UL as appropriate) */
108 if (NO_DATUM(element->datum)) { \
111 (out_datum) = element->datum; \
134 * key, datum datum for key head
141 void **datum,
149 dapl_os_assert(!NO_DATUM(element->datum));
159 *datum = element->datum;
138 dapli_hash_rehash( DAPL_HASH_ELEM *element, DAPL_HASH_KEY key, void **datum, DAPL_HASH_ELEM ** head) argument
178 dapli_hash_add( DAPL_HASH_TABLEP p_table, DAPL_HASH_KEY key, void *datum, DAT_BOOLEAN allow_dup, DAT_BOOLEAN *report_dup) argument
[all...]
/illumos-gate/usr/src/lib/libbc/libc/yp/
H A Dyp_prot.h119 } datum; typedef in typeref:struct:__anon2839
137 datum keydat;
162 datum valdat;
167 datum keydat;
168 datum valdat;
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dndr.h177 char *datum; /* referent in local memory */ member in struct:ndr_reference
260 #define NDR_M_OP_MARSHALL 0x01 /* data moving from datum to PDU */
261 #define NDR_M_OP_UNMARSHALL 0x02 /* data moving from PDU to datum */
336 myref.datum = (char *)&val->MEMBER; \
373 myref.datum = (char *)&val->MEMBER; \
418 myref.datum = (char *)&val->MEMBER; \
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c505 dt_quantize_total(dtrace_hdl_t *dtp, int64_t datum, long double *total) argument
507 long double val = dt_fabsl((long double)datum);
697 long double datum, long double total)
730 if (datum == 0)
733 if (datum < 0) {
735 val = dt_fabsl(datum * (len - 1)) / total;
740 int block = DTRACE_AGGPACK_BASE + (unsigned int)(((datum *
750 val = (datum * (len - 1)) / total;
1960 * data, skipping the first datum (the tuple member created by the
696 dt_print_packed(dtrace_hdl_t *dtp, FILE *fp, long double datum, long double total) argument
/illumos-gate/usr/src/cmd/sendmail/db/
H A Ddb.h931 } datum; typedef in typeref:struct:__anon1360
936 } datum; typedef in typeref:struct:__anon1361
962 int __db_dbm_delete __P((datum));
964 datum __db_dbm_fetch __P((datum));
965 datum __db_dbm_firstkey __P((void));
967 datum __db_dbm_nextkey __P((datum));
969 int __db_dbm_store __P((datum, datum));
[all...]

Completed in 100 milliseconds