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

1234567891011>>

/illumos-gate/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));
/illumos-gate/usr/src/cmd/mail/
H A Disit.c33 * isit(lp, type) -- match "name" portion of
35 * lp -> pointer to line to check
38 * TRUE -> lp matches header type (case independent)
44 isit(char *lp, int type) argument
50 for (p = header[type].tag; *lp && *p; lp++, p++) {
51 if (*p != *lp) {
57 for (p = header[type].tag; *lp && *p; lp++, p++) {
58 if (toupper(*p) != toupper(*lp)) {
[all...]
H A Disheader.c28 * isheader(lp, ctf) - check if lp is header line and return type
29 * lp -> pointer to line
38 isheader(char *lp, int *ctfp) argument
43 p = lp;
52 if ((*ctfp) && ((*lp == ' ') || (*lp == '\t'))) {
58 if (!isit(lp, i)) {
79 if ((p = strpbrk(lp, ":")) != NULL) {
80 for (q = lp;
[all...]
/illumos-gate/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)
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dget.c55 char *lp; local
59 lp = buf;
66 *lp = '\0';
69 if (lp > buf)
70 lp--;
73 lp = buf;
78 if (lp < limit)
79 *lp++ = (char)c;
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/uctf/
H A Dtst.aouttype.c28 sleeper(season_7_lisa_the_vegetarian_t *lp) argument
31 sleep(lp->fr_salad);
/illumos-gate/usr/src/cmd/ypcmd/mknetid/
H A Dgetname.c47 static char *lp; local
68 lp = line;
69 return (&lp);
94 register char *lp; local
97 lp = *linep;
99 c = *lp++;
102 *linep = lp - 1;
108 c = *lp++;
110 lp--;
114 *lp
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioLib.cc44 AudioList* lp; local
58 lp = new AudioList;
59 if (lp == 0) {
63 lp->Insert(inf);
64 ap = lp;
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_list.c47 av1394_list_init(av1394_list_t *lp) argument
49 lp->l_head = lp->l_tail = NULL;
50 lp->l_cnt = 0;
58 av1394_list_head(av1394_list_t *lp) argument
60 return (lp->l_head);
69 av1394_list_put_tail(av1394_list_t *lp, void *item) argument
72 ITEM(item)->i_prev = lp->l_tail;
73 if (lp->l_tail == NULL) {
74 ASSERT(lp
89 av1394_list_put_head(av1394_list_t *lp, void *item) argument
109 av1394_list_get_head(av1394_list_t *lp) argument
[all...]
/illumos-gate/usr/src/ucblib/libcurses/
H A Dbox.c36 char *fp, *lp; local
41 lp = win->_y[endy];
43 fp[i] = lp[i] = hor;
48 fp[0] = fp[endx] = lp[0] = lp[endx] = ' ';
/illumos-gate/usr/src/uts/common/syscall/
H A Dmount.c68 mount(long *lp, rval_t *rp) argument
81 uap->spec = (char *)*lp++;
82 uap->dir = (char *)*lp++;
83 uap->flags = (int)*lp++;
84 uap->fstype = (char *)*lp++;
85 uap->dataptr = (char *)*lp++;
86 uap->datalen = (int)*lp++;
87 uap->optptr = (char *)*lp++;
88 uap->optlen = (int)*lp++;
94 uap = (struct mounta *)lp;
[all...]
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstrlen.c86 const unsigned long *lp; local
99 lp = (const unsigned long *)((uintptr_t)str & ~LONGPTR_MASK);
100 va = (*lp - mask01);
101 vb = ((~*lp) & mask80);
102 lp++;
105 for (p = str; p < (const char *)lp; p++)
110 for (; ; lp++) {
111 va = (*lp - mask01);
112 vb = ((~*lp) & mask80);
114 p = (const char *)(lp);
[all...]
/illumos-gate/usr/src/cmd/lp/model/
H A DMakefile27 # cmd/lp/model/Makefile
30 include ../Makefile.lp
34 PROG = lp.set \
35 lp.cat \
36 lp.tell \
37 lp.tsol_separator \
65 lp.tell := LDLIBS += $(LIBMSG) $(LIBLP)
66 lp.set drain.output lp.cat := LDLIBS += $(LIBLP) -lcurses
67 lp
[all...]
/illumos-gate/usr/src/lib/libinetutil/common/
H A Difspec.c112 char *lp, *tp; local
131 lp = strchr(ifnamecp, ':');
132 if (lp != NULL) {
133 if (getlun(lp, strlen(lp), &ifsp->ifsp_lun) != 0)
/illumos-gate/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...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_float.c224 int *lp; local
236 lp = val;
237 return (XDR_PUTINT32(xdrs, lp++) &&
238 XDR_PUTINT32(xdrs, lp));
262 lp = val;
264 return (XDR_PUTINT32(xdrs, lp++) && XDR_PUTINT32(xdrs, lp));
277 lp = val;
278 if (!XDR_GETINT32(xdrs, lp++) || !XDR_GETINT32(xdrs, lp))
[all...]
/illumos-gate/usr/src/cmd/refer/
H A Dhunt5.c32 long lp; local
44 lp = iflong ? master.b[i] : master.a[i];
45 fseek(fc, lp, 0);
H A Dinv5.c32 long k, lp; local
55 lp = hpt_l[i];
57 lp = hpt_s[i];
58 fseek(fb, lp, 0);
/illumos-gate/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...]
/illumos-gate/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...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_list.c50 fmd_list_append(fmd_list_t *lp, void *new) argument
52 fmd_list_t *p = lp->l_prev; /* p = tail list element */
55 lp->l_prev = q;
63 ASSERT(lp->l_next == NULL);
64 lp->l_next = q;
69 fmd_list_prepend(fmd_list_t *lp, void *new) argument
72 fmd_list_t *q = lp->l_next; /* q = head list element */
74 lp->l_next = p;
82 ASSERT(lp->l_prev == NULL);
83 lp
88 fmd_list_insert_before(fmd_list_t *lp, void *before_me, void *new) argument
105 fmd_list_insert_after(fmd_list_t *lp, void *after_me, void *new) argument
122 fmd_list_delete(fmd_list_t *lp, void *existing) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_list.c44 cmd_list_append(cmd_list_t *lp, void *new) argument
46 cmd_list_t *p = lp->l_prev; /* p = tail list element */
49 lp->l_prev = q;
56 lp->l_next = q;
60 cmd_list_prepend(cmd_list_t *lp, void *new) argument
63 cmd_list_t *q = lp->l_next; /* q = head list element */
65 lp->l_next = p;
72 lp->l_prev = p;
76 cmd_list_insert_before(cmd_list_t *lp, void *before_me, void *new) argument
82 cmd_list_prepend(lp, ne
93 cmd_list_insert_after(cmd_list_t *lp, void *after_me, void *new) argument
110 cmd_list_delete(cmd_list_t *lp, void *existing) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Denv.c45 Elist *lp; local
46 if ((lp = (Elist *)malloc(sizeof (Elist))) == NULL) {
50 lp->l_libname = strdup(tok);
51 lp->l_next = *list;
52 *list = lp;
/illumos-gate/usr/src/cmd/spell/
H A Dhash.c72 long *lp; local
74 for (lp = pow2; (c = *s++) != 0; ) {
76 h += (c&LOCHMASK) * *lp++;
77 h += (c>>LOCHWIDTH) * *lp++;
/illumos-gate/usr/src/cmd/tbl/
H A Dt3.c50 struct optstr *lp; local
52 for(lp= options; lp->optnam; lp++)
53 *(lp->optadd) = 0;
68 for(lp= options; lp->optadd; lp++)
70 if (prefix(lp->optnam, cp))
72 *(lp
[all...]

Completed in 60 milliseconds

1234567891011>>