Searched defs:lp (Results 1 - 25 of 114) sorted by relevance

12345

/osnet-11/usr/src/lib/libast/common/tm/
H A Dtmxleap.c40 register Tm_leap_t* lp; local
47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++);
48 t = tmxsns(sec + lp->total, tmxnsec(t));
H A Dtmxtime.c49 register Tm_leap_t* lp; local
130 for (lp = &tm_data.leap[0]; t < lp->time - (lp+1)->total; lp++);
131 t += lp->total;
132 n = lp->total - (lp+1)->total;
133 if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59))
H A Dtmxmake.c43 register Tm_leap_t* lp; local
59 for (lp = &tm_data.leap[0]; n < lp->time; lp++);
60 if (lp->total)
62 if (n == lp->time && (leapsec = (lp->total - (lp+1)->total)) < 0)
64 t = tmxsns(n - lp->total, tmxnsec(t));
/osnet-11/usr/src/cmd/sendmail/db/os/
H A Dos_tmpdir.c61 const char * const *lp, *p; local
108 for (lp = list; *lp != NULL; ++lp)
109 if (__os_exists(p = *lp, NULL) == 0)
/osnet-11/usr/src/lib/libc/port/gen/
H A Dl3.c41 ltol3(char *cp, const long *lp, int n) argument
47 b = (char *)lp;
71 l3tol(long *lp, const char *cp, int n) argument
76 a = (char *)lp;
/osnet-11/usr/src/lib/libshadowfs/common/
H A Dshadow_list.c40 shadow_list_append(shadow_list_t *lp, void *new) argument
42 shadow_list_t *p = lp->l_prev; /* p = tail list element */
45 lp->l_prev = q;
53 assert(lp->l_next == NULL);
54 lp->l_next = q;
59 shadow_list_prepend(shadow_list_t *lp, void *new) argument
62 shadow_list_t *q = lp->l_next; /* q = head list element */
64 lp->l_next = p;
72 assert(lp->l_prev == NULL);
73 lp
78 shadow_list_insert_before(shadow_list_t *lp, void *before_me, void *new) argument
95 shadow_list_insert_after(shadow_list_t *lp, void *after_me, void *new) argument
112 shadow_list_delete(shadow_list_t *lp, void *existing) argument
[all...]
/osnet-11/usr/src/lib/libipmi/common/
H A Dipmi_list.c43 ipmi_list_append(ipmi_list_t *lp, void *new) argument
45 ipmi_list_t *p = lp->l_prev; /* p = tail list element */
48 lp->l_prev = q;
56 assert(lp->l_next == NULL);
57 lp->l_next = q;
62 ipmi_list_prepend(ipmi_list_t *lp, void *new) argument
65 ipmi_list_t *q = lp->l_next; /* q = head list element */
67 lp->l_next = p;
75 assert(lp->l_prev == NULL);
76 lp
81 ipmi_list_insert_before(ipmi_list_t *lp, void *before_me, void *new) argument
98 ipmi_list_insert_after(ipmi_list_t *lp, void *after_me, void *new) argument
115 ipmi_list_delete(ipmi_list_t *lp, void *existing) argument
[all...]
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_apprec.c46 DB_LOG *lp; local
54 lp = dbenv->lg_info;
64 is_thread = F_ISSET(lp, DB_AM_THREAD);
65 F_CLR(lp, DB_AM_THREAD);
100 if ((ret = log_get(lp, &ckp_lsn, &data, DB_CHECKPOINT)) != 0) {
106 first: if ((ret = log_get(lp, &ckp_lsn, &data, DB_FIRST)) != 0) {
119 (ret = log_get(lp, &ckp_args->last_ckp, &data, DB_SET)) != 0)
133 ret = dbenv->tx_recover(lp,
136 ret = __db_dispatch(lp,
140 if ((ret = log_get(lp,
[all...]
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_get.c97 LOG *lp; local
105 lp = dblp->lp;
111 nlsn = lp->chkpt_lsn;
160 nlsn.file = lp->lsn.file;
161 nlsn.offset = lp->lsn.offset - lp->len;
170 if (nlsn.file > lp->lsn.file ||
171 (nlsn.file == lp->lsn.file && nlsn.offset >= lp
[all...]
H A Dlog_put.c79 LOG *lp; local
83 lp = dblp->lp;
91 lsn->file = lp->lsn.file;
92 lsn->offset = lp->lsn.offset;
97 if (lp->lsn.offset + sizeof(HDR) + dbt->size > lp->persist.lg_max) {
99 sizeof(LOGP) + dbt->size > lp->persist.lg_max) {
113 lastoff = lp->lsn.offset;
116 ++lp
208 LOG *lp; local
264 LOG *lp; local
361 LOG *lp; local
420 LOG *lp; local
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_list.c54 topo_list_append(topo_list_t *lp, void *new) argument
56 topo_list_t *p = lp->l_prev; /* p = tail list element */
59 lp->l_prev = q;
67 assert(lp->l_next == NULL);
68 lp->l_next = q;
73 topo_list_prepend(topo_list_t *lp, void *new) argument
76 topo_list_t *q = lp->l_next; /* q = head list element */
78 lp->l_next = p;
86 assert(lp->l_prev == NULL);
87 lp
92 topo_list_insert_before(topo_list_t *lp, void *before_me, void *new) argument
109 topo_list_insert_after(topo_list_t *lp, void *after_me, void *new) argument
126 topo_list_delete(topo_list_t *lp, void *existing) argument
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dxdr_alloc.c110 long *lp)
117 long *lp)
119 int l = htonl((uint32_t) *lp); /* XXX need bounds checking */
158 unsigned int lp)
108 xdralloc_notsup_getlong( register XDR *xdrs, long *lp) argument
115 xdralloc_putlong( register XDR *xdrs, long *lp) argument
156 xdralloc_notsup_setpos( register XDR *xdrs, unsigned int lp) argument
/osnet-11/usr/src/grub/grub2/include/grub/lib/
H A DLzmaEnc.h41 int lp; /* 0 <= lp <= 4, default = 0 */ member in struct:_CLzmaEncProps
/osnet-11/usr/src/lib/libbsm/common/
H A Dadr.c91 adr_long(adr_t *adr, int32_t *lp, int count);
93 adr_int32(adr_t *adr, int32_t *lp, int count) argument
98 for (; count-- > 0; lp++) {
99 for (i = 0, l = *(uint32_t *)lp; i < 4; i++) {
130 adr_int64(adr_t *adr, int64_t *lp, int count) argument
135 for (; count-- > 0; lp++) {
136 for (i = 0, l = *(uint64_t *)lp; i < 8; i++) {
H A Dadrf.c93 int adrf_int(adrf_t *adrf, int32_t *lp, int count);
94 int adrf_long(adrf_t *adrf, int32_t *lp, int count);
100 adrf_int32(adrf_t *adrf, int32_t *lp, int count) argument
107 for (; count--; lp++) {
108 *lp = 0;
112 *lp <<= 8;
113 *lp |= c & 0x000000ff;
121 adrf_int64(adrf_t *adrf, int64_t *lp, int count) argument
128 for (; count--; lp++) {
129 *lp
160 adrf_u_int64(adrf_t *adrf, uint64_t *lp, int count) argument
[all...]
H A Dadrm.c66 void adrm_int(adr_t *adr, int32_t *lp, int count);
67 void adrm_long(adr_t *adr, int32_t *lp, int count);
72 adrm_int32(adr_t *adr, int32_t *lp, int count) argument
76 for (; count-- > 0; lp++) {
77 *lp = 0;
79 *lp <<= 8;
80 *lp += ((int32_t)*adr->adr_now++) & 0x000000ff;
100 adrm_int64(adr_t *adr, int64_t *lp, int count) argument
104 for (; count-- > 0; lp++) {
105 *lp
131 adrm_u_int64(adr_t *adr, uint64_t *lp, int count) argument
148 adrm_putint32(adr_t *adr, int32_t *lp, int count) argument
163 adrm_putint64(adr_t *adr, int64_t *lp, int count) argument
[all...]
/osnet-11/usr/src/lib/libwrap/
H A Dfix_options.c44 char lbuf[BUFFER_SIZE], *lp; local
105 lp = lbuf;
106 for (cp = optbuf; optsize > 0; cp++, optsize--, lp += 3)
107 sprintf(lp, " %2.2x", *cp);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dxdr_stdio.c84 xdrstdio_getint32(XDR *xdrs, int32_t *lp) argument
86 if (fread((caddr_t)lp, sizeof (int32_t), 1,
90 *lp = ntohl(*lp);
95 xdrstdio_putint32(XDR *xdrs, int32_t *lp) argument
98 int32_t mycopy = htonl(*lp);
99 lp = &mycopy;
101 if (fwrite((caddr_t)lp, sizeof (int32_t), 1,
109 xdrstdio_getlong(XDR *xdrs, long *lp) argument
115 *lp
120 xdrstdio_putlong(XDR *xdrs, long *lp) argument
[all...]
H A Dxdr_float.c325 int *lp; local
338 lp = (int *)dp;
339 return (XDR_PUTINT32(xdrs, lp++) && XDR_PUTINT32(xdrs, lp));
342 lp = (int *)dp;
343 lp++;
344 return (XDR_PUTINT32(xdrs, lp--) && XDR_PUTINT32(xdrs, lp));
368 lp = (int32_t *)&id;
385 lp
[all...]
H A Dxdr_mem.c93 xdrmem_getlong(XDR *xdrs, long *lp) argument
102 *lp = (int32_t)ntohl((uint32_t)(*((int32_t *)(xdrs->x_private))));
108 xdrmem_putlong(XDR *xdrs, long *lp) argument
111 if ((*lp > INT32_MAX) || (*lp < INT32_MIN))
122 *(int32_t *)xdrs->x_private = (int32_t)htonl((uint32_t)(*lp));
/osnet-11/usr/src/lib/libdll/common/
H A Ddllnext.c66 register void* lp; local
83 if (strcmp(vp, "MAIN") && (lp = dllopen(vp, flags)))
85 if (xr = (Write_f)dlsym(lp, "write"))
95 if (lp = dllopen(strcmp(vp, "MAIN") ? vp : (char*)0, flags))
129 if (dlsym(lp, dummy))
131 dlclose(lp);
132 lp = 0;
135 if (lp)
141 return lp;
148 else if ((_DLL_RLD_SYM_TYPE*)dlsym(lp, _DLL_RLD_SYM_ST
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_defer.c228 pi_defernode_t *lp = (pi_defernode_t *)l_arg; local
231 if (lp->func != rp->func) {
234 if (lp->t_parent != rp->t_parent) {
/osnet-11/usr/src/cmd/sendmail/src/
H A Dstab.c95 long *lp = (long *) s->s_class; local
98 s->s_symtype, lp[0], lp[1], lp[2], lp[3]);
/osnet-11/usr/src/lib/libinetutil/common/
H A Difspec.c126 char *lp; local
138 lp = strchr(ifnamecp, ':');
139 if (lp != NULL) {
140 if (getlun(lp, strlen(lp), &ifsp->ifsp_lun) != 0)
142 *lp = '\0';
/osnet-11/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_filter.c37 fmd_log_filter_class(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
66 fmd_log_filter_uuid(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
101 fmd_log_filter_ena(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
111 if (strcmp(fmd_log_label(lp), FMD_LOG_FAULT) == 0) {
130 } else if (strcmp(fmd_log_label(lp), FMD_LOG_ERROR) == 0) {
150 fmd_log_filter_before(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
159 fmd_log_filter_after(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
168 fmd_log_filter_nv(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument

Completed in 264 milliseconds

12345