Searched refs:lp (Results 51 - 75 of 248) sorted by relevance

12345678910

/freebsd-current/usr.bin/join/
H A Djoin.c264 LINE *lp, *lastlp, tmp; local
301 lp = &F->set[F->setcnt];
315 if (lp->linealloc <= (size_t)(len + 1)) {
316 lp->linealloc += MAX(100, len + 1 - lp->linealloc);
317 if ((lp->line =
318 realloc(lp->line, lp->linealloc)) == NULL)
321 memmove(lp->line, buf, len);
325 lp
442 outoneline(INPUT *F, LINE *lp) argument
512 outfield(LINE *lp, u_long fieldno, int out_empty) argument
[all...]
/freebsd-current/lib/libc/resolv/
H A Dres_mkupdate.c1067 struct valuelist *lp = *list; local
1070 for (; lp != NULL; lp = lp->next)
1071 if (strcasecmp(lp->name, s) == 0) {
1072 if (lp != *list) {
1073 lp->prev->next = lp->next;
1074 if (lp->next)
1075 lp
1117 struct valuelist *lp = *list; local
1145 struct valuelist *lp = *list; local
[all...]
/freebsd-current/contrib/nvi/common/
H A Dmem.h20 #define BINC_GOTO(sp, type, lp, llen, nlen) do { \
21 CHECK_TYPE(type *, lp) \
24 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \
30 lp = L__bincp; \
33 #define BINC_GOTOC(sp, lp, llen, nlen) \
34 BINC_GOTO(sp, char, lp, llen, nlen)
35 #define BINC_GOTOW(sp, lp, llen, nlen) \
36 BINC_GOTO(sp, CHAR_T, lp, llen, (nlen) * sizeof(CHAR_T))
37 #define BINC_RET(sp, type, lp, llen, nlen) do { \
38 CHECK_TYPE(type *, lp) \
[all...]
/freebsd-current/contrib/tcp_wrappers/
H A Dfix_options.c42 char lbuf[BUFFER_SIZE], *lp; local
118 lp = lbuf;
119 for (cp = optbuf; optsize > 0; cp++, optsize--, lp += 3)
120 sprintf(lp, " %2.2x", *cp);
/freebsd-current/usr.sbin/lpr/lpd/
H A DMakefile2 PACKAGE=lp
/freebsd-current/usr.sbin/lpr/lpc/
H A DMakefile4 PACKAGE=lp
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_parser.c336 dt_type_promote(dt_node_t *lp, dt_node_t *rp, ctf_file_t **ofp, ctf_id_t *otype) argument
338 ctf_file_t *lfp = lp->dn_ctfp;
339 ctf_id_t ltype = lp->dn_type;
407 dt_node_promote(dt_node_t *lp, dt_node_t *rp, dt_node_t *dnp) argument
409 dt_type_promote(lp, rp, &dnp->dn_ctfp, &dnp->dn_type);
411 dt_node_attr_assign(dnp, dt_attr_min(lp->dn_attr, rp->dn_attr));
1046 dt_node_is_ptrcompat(const dt_node_t *lp, const dt_node_t *rp, argument
1049 ctf_file_t *lfp = lp->dn_ctfp;
1060 assert(lp->dn_flags & DT_NF_COOKED);
1063 if (dt_node_is_dynamic(lp) || dt_node_is_dynami
1158 dt_node_is_argcompat(const dt_node_t *lp, const dt_node_t *rp) argument
1915 dt_cast(dt_node_t *lp, dt_node_t *rp) argument
1939 dt_node_op2(int op, dt_node_t *lp, dt_node_t *rp) argument
2111 dt_node_op3(dt_node_t *expr, dt_node_t *lp, dt_node_t *rp) argument
3151 dt_node_t *lp = dnp->dn_left; local
3177 dt_node_t *lp = dnp->dn_left; local
4026 dt_node_t *lp, *rp; local
4587 dt_node_link(dt_node_t *lp, dt_node_t *rp) argument
[all...]
/freebsd-current/contrib/libxo/encoder/csv/
H A Denc_csv.c343 leaf_t *lp; local
353 lp = &csv->c_leaf[fnum];
354 const char *name = xo_buf_data(&csv->c_name_buf, lp->f_name);
366 lp = &csv->c_leaf[fnum];
369 if (lp->f_flags & LF_HAS_VALUE) {
370 value = xo_buf_data(&csv->c_value_buf, lp->f_value);
400 lp = &csv->c_leaf[fnum];
402 lp->f_flags &= ~LF_HAS_VALUE;
403 lp->f_value = 0;
497 leaf_t *lp; local
555 csv_leaf_set(xo_handle_t *xop UNUSED, csv_private_t *csv, leaf_t *lp, const char *value) argument
[all...]
/freebsd-current/crypto/openssl/crypto/bn/
H A Dbn_conv.c58 BN_ULONG *bn_data = NULL, *lp; local
81 lp = bn_data;
90 if (lp - bn_data >= bn_data_num)
92 *lp = BN_div_word(t, BN_DEC_CONV);
93 if (*lp == (BN_ULONG)-1)
95 lp++;
97 lp--;
103 n = BIO_snprintf(p, tbytes - (size_t)(p - buf), BN_DEC_FMT1, *lp);
107 while (lp != bn_data) {
108 lp
[all...]
/freebsd-current/sys/geom/vinum/
H A Dgeom_vinum_volume.c60 struct gv_plex *p, *lp; local
82 lp = v->last_read_plex;
83 if (lp == NULL)
84 lp = LIST_FIRST(&v->plexes);
85 p = LIST_NEXT(lp, in_volume);
90 p = lp;
100 } while (p != lp);
/freebsd-current/cddl/contrib/opensolaris/common/ctf/
H A Dctf_lookup.c85 const ctf_lookup_t *lp; local
134 for (lp = fp->ctf_lookups; lp->ctl_prefix != NULL; lp++) {
135 if (lp->ctl_prefix[0] == '\0' ||
136 ((size_t)(q - p) >= lp->ctl_len && strncmp(p,
137 lp->ctl_prefix, (size_t)(q - p)) == 0)) {
138 for (p += lp->ctl_len; isspace(*p); p++)
147 if ((hp = ctf_hash_lookup(lp->ctl_hash, fp, p,
158 if (lp
[all...]
/freebsd-current/usr.bin/column/
H A Dcolumn.c143 wchar_t **lp; local
147 for (chcnt = col = 0, lp = list;; ++lp) {
148 wprintf(L"%ls", *lp);
149 chcnt += width(*lp);
199 wchar_t **lp; local
201 for (cnt = entries, lp = list; cnt--; ++lp)
202 (void)wprintf(L"%ls\n", *lp);
216 wchar_t *p, **lp; local
[all...]
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dkstat.h121 { kmutex_t *lp = (k)->ks_lock; if (lp) mutex_enter(lp); }
124 { kmutex_t *lp = (k)->ks_lock; if (lp) mutex_exit(lp); }
/freebsd-current/libexec/fingerd/
H A Dfingerd.c59 char *lp; local
143 for (lp = line, ap = &av[4];;) {
144 *ap = strtok(lp, " \t\r\n");
171 lp = NULL;
174 if ((lp = strrchr(prog, '/')) != NULL)
175 *comp = ++lp;
/freebsd-current/tools/regression/fsx/
H A Dfsx.c192 struct log_entry *lp; local
206 lp = &oplog[i];
208 if (lp->operation == OP_CLOSEOPEN ||
209 lp->operation == OP_INVALIDATE) {
210 switch (lp->operation) {
225 switch (lp->operation) {
228 lp->args[0], lp->args[0] + lp->args[1] - 1,
229 lp
[all...]
/freebsd-current/lib/libc/xdr/
H A Dxdr_stdio.c103 xdrstdio_getlong(XDR *xdrs, long *lp) argument
109 *lp = (long)ntohl(temp);
114 xdrstdio_putlong(XDR *xdrs, const long *lp) argument
116 int32_t mycopy = htonl((u_int32_t)*lp);
/freebsd-current/bin/ed/
H A Dio.c68 line_t *lp = get_addressed_line_node(n); local
83 lp = lp->q_forw;
85 up->t = lp;
172 line_t *lp = get_addressed_line_node(n); local
177 for (; n && n <= m; n++, lp = lp->q_forw) {
178 if ((s = get_sbuf_line(lp)) == NULL)
180 len = lp->len;
/freebsd-current/lib/libc/gen/
H A Dexec.c147 size_t cnt, lp, ln; local
181 lp = 1;
185 lp = np - op;
199 if (lp + ln + 2 > sizeof(buf)) {
202 (void)_write(STDERR_FILENO, p, lp);
207 bcopy(p, buf, lp);
208 buf[lp] = '/';
209 bcopy(name, buf + lp + 1, ln);
210 buf[lp + ln + 1] = '\0';
H A Dgetnetgrent.c194 struct linelist *lp, *olp; local
199 lp = st->st_linehead;
200 while (lp != NULL) {
201 olp = lp;
202 lp = lp->l_next;
673 struct linelist *lp = st->st_linehead; local
684 while (lp) {
685 if (!strcmp(group, lp->l_groupname))
687 lp
794 struct linelist *lp; local
[all...]
/freebsd-current/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_compat.c48 size_t cnt, lp, ln; local
82 lp = 1;
86 lp = np - op;
100 if (lp + ln + 2 > sizeof (buf)) {
102 (void) write(STDERR_FILENO, p, lp);
107 memcpy(buf, p, lp);
108 buf[lp] = '/';
109 memcpy(buf + lp + 1, name, ln);
110 buf[lp + ln + 1] = '\0';
/freebsd-current/contrib/tcpdump/
H A Dutil-print.c482 tok2strbuf(const struct tok *lp, const char *fmt, argument
485 if (lp != NULL) {
486 while (lp->s != NULL) {
487 if (lp->v == v)
488 return (lp->s);
489 ++lp;
505 tok2str(const struct tok *lp, const char *fmt, argument
514 return tok2strbuf(lp, fmt, v, ret, sizeof(buf[0]));
526 bittok2str_internal(const struct tok *lp, const char *fmt, argument
534 while (lp !
567 bittok2str_nosep(const struct tok *lp, const char *fmt, u_int v) argument
578 bittok2str(const struct tok *lp, const char *fmt, u_int v) argument
591 tok2strary_internal(const char **lp, int n, const char *fmt, int v) argument
[all...]
/freebsd-current/contrib/libedit/
H A Dread.c455 el_line_t *lp = &el->el_line; local
458 while ((num = (*el->el_read->read_char)(el, lp->lastchar)) == 1) {
459 if (lp->lastchar + 1 >= lp->limit &&
462 lp->lastchar++;
464 lp->lastchar[-1] == '\r' ||
465 lp->lastchar[-1] == '\n')
469 lp->lastchar = lp->buffer;
470 lp
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dswappedout.sh48 ps -lp$1 | tail -1
H A Dtruss2.sh50 ps -lp $rpid | tail -1
/freebsd-current/contrib/nvi/vi/
H A Dv_paragraph.c48 for (lp = VIP(sp)->ps; *lp != '\0'; lp += 2) \
49 if (lp[0] == p[1] && \
50 (lp[1] == ' ' && len == 2 || lp[1] == p[2])) { \
75 char *lp; local
213 char *lp; local

Completed in 414 milliseconds

12345678910