Searched defs:dat (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmread.c68 struct strbuf dat; local
87 dat.buf = msgbuf;
88 dat.maxlen = size;
89 dat.len = 0;
96 if (Getmsg(md, &ctl, &dat, &flag) < 0)
103 if (dat.len == 0)
H A Dmwrite.c65 if (_mwrite(md, p->dat->buf, p->dat->len) != 0)
70 Free(p->dat->buf);
71 Free(p->dat);
127 || (p->dat = (struct strbuf *)Malloc(sizeof(struct strbuf))) == NULL
128 || (p->dat->buf = (char *)Malloc(size)) == NULL)
133 (void) memcpy(p->dat->buf, msgbuf, size);
134 p->dat->len = size;
146 if (_mwrite(md, p->dat->buf, p->dat
167 struct strbuf dat; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsend.c83 struct strbuf dat; local
131 dat.maxlen = MAXLINE;
132 dat.len = len;
133 if (dat.len > MAXLINE) {
134 dat.len = MAXLINE;
137 dat.buf = msg;
140 if (_putmsg(s, &ctl, &dat, 0) == 0)
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dupdate.c129 datum dat; local
143 ret = read_from_dit(map->map_name, map->domain, key, &dat);
146 if (NULL == dat.dptr) {
178 res = dbm_store(map->entries, *key, dat, DBM_REPLACE);
179 sfree(dat.dptr);
H A Dyptol_utils.c139 dump_datum(datum *dat) argument
143 if (NULL == dat) {
148 if (NULL == dat->dptr) {
152 for (i = 0; i < dat->dsize; i++)
153 putchar(dat->dptr[i]);
/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl_data.c43 struct tbl_dat *dat; local
67 dat = mandoc_calloc(1, sizeof(*dat));
68 dat->layout = cp;
69 dat->pos = TBL_DATA_NONE;
70 dat->spans = 0;
73 dat->spans++;
78 dp->first = dat;
80 dp->last->next = dat;
81 dp->last = dat;
125 struct tbl_dat *dat; local
[all...]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceLocationManager.java52 protected static DATable dat = null; field in class:ServiceLocationManager
175 accessableScopes = dat.findScopes();
379 if (dat == null) {
380 dat = DATable.getDATable();
H A DUARequester.java54 private static DATable dat = null; field in class:UARequester
66 if (dat == null) {
67 dat = DATable.getDATable();
429 Hashtable daRecords = dat.findDAScopes(scopes);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlfmt_log.c61 struct strbuf dat; local
98 dat.maxlen = MAXMSG;
99 dat.len = (int)msg_offset;
100 dat.buf = msg.buf;
102 if (putmsg(fd, 0, &dat, 0) == -1) {
H A Dsyslog.c180 struct strbuf dat; local
336 dat.maxlen = sizeof (outline);
337 dat.len = clen;
338 dat.buf = outline;
341 if ((putmsg(LogFile, &ctl, &dat, 0) >= 0) && syslogd_ok())
H A Dndbm.c303 dbm_store(DBM *db, datum key, datum dat, int replace) argument
328 if (!additem(db->dbm_pagbuf, key, dat))
344 if (key.dsize + dat.dsize + 3 * (int)sizeof (short) >= PBLKSIZ) {
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrclean.c61 struct strbuf ctl, dat; local
120 dat.buf = msg;
121 dat.maxlen = MSGSIZE;
122 sprintf(dat.buf,
124 dat.len = strlen(dat.buf) + 1;
127 putmsg(fd, &ctl, &dat, 0);
H A Dstrace.c181 struct strbuf ctl, dat; local
191 dat.buf = dbuf;
192 dat.len = dat.maxlen = DATSIZE;
229 while (getmsg(log, &ctl, &dat, &flag) >= 0) {
H A Dstrerr.c108 struct strbuf dat; local
118 dat.buf = dbuf;
119 dat.maxlen = dat.len = DATSIZE;
148 while (getmsg(fd, &ctl, &dat, &flag) >= 0) {
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkeytab.c223 krb5_data *dat; local
226 dat = krb5_princ_component(context, princ, 0);
227 if (strncmp("krbtgt", dat->data, dat->length) != 0)
229 dat = krb5_princ_component(context, princ, 1);
230 if (dat->length != princ->realm.length)
232 if (strncmp(dat->data, princ->realm.data, dat->length) == 0)
/illumos-gate/usr/src/lib/libadm/common/
H A Dfulldevnm.c195 getblkcomplete(char *cp, struct stat64 *dat) argument
214 if (test_if_blk(new_path, dat->st_rdev))
232 if (test_if_blk(new_path, dat->st_rdev))
248 getrawcomplete(char *cp, struct stat64 *dat) argument
269 if (test_if_raw(new_path, dat->st_rdev))
288 if (test_if_raw(new_path, dat->st_rdev))
/illumos-gate/usr/src/lib/libnsl/yp/
H A Ddbm.c185 store(datum key, datum dat) argument
208 if (additem(pagbuf, dat) < 0) {
217 if (key.dsize + dat.dsize + 3 * sizeof (short) >= PBLKSIZ) {
/illumos-gate/usr/src/ucblib/libdbm/
H A Ddbm.c187 store(datum key, datum dat) argument
215 if (additem(pagbuf, dat) < 0) {
223 if (key.dsize+dat.dsize+3*sizeof (short) >= PBLKSIZ) {
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/
H A Dsyslog.c111 struct strbuf ctl, dat; local
127 dat.buf = buf;
128 dat.len = buflen + 1;
135 if (dat.len > LOG_MAXPS) {
146 dat.len = LOG_MAXPS;
158 dat.len = strlen(buf) + 1;
161 if (syslog_file && putmsg(syslog_logfd, &ctl, &dat, 0) != 0) {
166 dat.buf = strchr(buf, ']');
167 dat.len -= (size_t)(dat
[all...]
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dinfcover.c450 static unsigned char dat[] = {0x63, 0, 2, 0}; local
460 return next < sizeof(dat) ? (*buf = dat + next++, 1) : 0;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dndbm.c238 dbm_store(DBM *db, datum key, datum dat, int replace) argument
260 if (!additem(db->dbm_pagbuf, key, dat))
277 if (key.dsize+dat.dsize+3*sizeof(short) >= PBLKSIZ) {
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dflush.c465 struct xFILEdata *dat = getxfdat(iop); local
467 if (dat != NULL)
468 dat->_end = end;
485 struct xFILEdata *dat = getxfdat(iop); local
487 if (dat != NULL)
488 return (dat->_end);
834 struct xFILEdata *dat = getxfdat(iop); local
836 if (dat != NULL)
837 return (&dat->_state);
889 struct xFILEdata *dat; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Ddir.c832 ushort_t tim, dat; local
843 dat = (tm.tm_year - 80) << YEARSHIFT;
844 dat |= tm.tm_mon << MONSHIFT;
845 dat |= tm.tm_mday << DAYSHIFT;
854 if (dat < 80 || dat > 227)
855 dat = tim = 0;
857 pctp->pct_date = LE_16(dat);
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.h53 q_data dat; member in union:io_dat
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_modapi.c907 dptrdat_t *dat = arg; local
909 return (dat->func(buf, nbyte, offset, dat->arg));
924 d64dat_t *dat = arg; local
928 result = dat->func(buf, nbyte, offset, dat->arg);
932 result = dat->func((char *)buf + count, 1,
933 offset + count, dat->arg);
948 dptrdat_t dat; local
951 dat
[all...]

Completed in 106 milliseconds

12