Searched refs:lbuf (Results 26 - 50 of 53) sorted by relevance

123

/freebsd-current/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_loc.c37 * for each operation type. Also, if lbuf is non-null, store
41 _dwarf_loc_fill_loc(Dwarf_Debug dbg, Dwarf_Locdesc *lbuf, uint8_t pointer_size, argument
62 if (lbuf != NULL) {
63 lbuf->ld_s[count].lr_atom = *p;
64 lbuf->ld_s[count].lr_offset = p - ps;
357 if (lbuf != NULL) {
358 lbuf->ld_s[count].lr_number = operand1;
359 lbuf->ld_s[count].lr_number2 = operand2;
/freebsd-current/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_iter.c350 char lbuf[ZFS_MAXPROPLEN], rbuf[ZFS_MAXPROPLEN]; local
383 (void) strlcpy(lbuf, zfs_get_name(l), sizeof (lbuf));
386 lstr = lbuf;
389 lvalid = (zfs_prop_get(l, psc->sc_prop, lbuf,
390 sizeof (lbuf), NULL, NULL, 0, B_TRUE) == 0);
394 lstr = lbuf;
/freebsd-current/contrib/telnet/libtelnet/
H A Dkerberos.c414 char lbuf[32]; local
451 sprintf(lbuf, " %d (unknown)", data[3]);
452 strncpy((char *)buf, lbuf, buflen);
456 sprintf(lbuf, " %d", data[i]);
457 strncpy((char *)buf, lbuf, buflen);
H A Drsaencpwd.c401 char lbuf[32]; local
434 sprintf(lbuf, " %d (unknown)", data[3]);
435 strncpy((char *)buf, lbuf, buflen);
439 sprintf(lbuf, " %d", data[i]);
440 strncpy((char *)buf, lbuf, buflen);
H A Dsra.c356 char lbuf[32]; local
399 sprintf(lbuf, " %d (unknown)", data[3]);
400 strncpy((char *)buf, lbuf, buflen);
404 sprintf(lbuf, " %d", data[i]);
405 strncpy((char *)buf, lbuf, buflen);
/freebsd-current/contrib/pf/authpf/
H A Dauthpf.c472 char *buf,*lbuf; local
505 lbuf = NULL;
513 if ((lbuf = (char *)malloc(len + 1)) == NULL)
515 memcpy(lbuf, buf, len);
516 lbuf[len] = '\0';
517 buf = lbuf;
555 if (lbuf != NULL) {
556 free(lbuf);
557 lbuf = NULL;
/freebsd-current/sbin/ipf/ipsend/
H A Dip.c240 u_32_t lbuf[20]; local
246 ip2 = (struct ip *)lbuf;
265 (lbuf[i] != htonl(0x020405b4))) {
266 lbuf[i] = htonl(0x020405b4);
290 u_long lbuf[20]; local
292 ti = (struct tcpiphdr *)lbuf;
/freebsd-current/usr.sbin/lpr/common_source/
H A Ddisplayq.c526 struct stat lbuf; local
575 if (*datafile && !stat(datafile, &lbuf))
576 totsize += copies * lbuf.st_size;
586 struct stat lbuf; local
593 if (*datafile && !stat(datafile, &lbuf))
594 printf(" %qd bytes", (long long) lbuf.st_size);
/freebsd-current/usr.bin/sed/
H A Dcompile.c155 static char lbuf[_POSIX2_LINE_MAX + 1]; /* To save stack */ local
163 if ((p = cu_fgets(lbuf, sizeof(lbuf), NULL)) == NULL) {
561 static char lbuf[_POSIX2_LINE_MAX + 1]; local
645 if (cu_fgets(lbuf, sizeof(lbuf), &more))
646 p = lbuf;
666 } while (cu_fgets(p = lbuf, sizeof(lbuf), &more) != NULL);
859 char lbuf[_POSIX2_LINE_MA local
[all...]
/freebsd-current/stand/common/
H A Dmodule.c302 char lbuf[80]; local
322 snprintf(lbuf, sizeof(lbuf), " %p: ", (void *) fp->f_addr);
323 pager_output(lbuf);
325 snprintf(lbuf, sizeof(lbuf), " (%s, 0x%lx)\n", fp->f_type,
327 if (pager_output(lbuf))
338 snprintf(lbuf, sizeof(lbuf), "%s.%d ", mp->m_name,
340 pager_output(lbuf);
[all...]
/freebsd-current/contrib/sendmail/src/
H A Dalias.c722 char lbuf[BUFSIZ]; local
740 while (sm_io_fgets(af, SM_TIME_DEFAULT, lbuf, sizeof(lbuf)) >= 0)
749 line = lbuf;
755 SPACELEFT(lbuf, p))) < 0)
764 if (line != lbuf)
766 line = quote_internal_chars(lbuf, NULL, &len, NULL);
771 line = lbuf;
H A Dparseaddr.c2719 char lbuf[MAXNAME_I + 1]; local
2842 cataddr(pvp, NULL, lbuf, sizeof(lbuf), '\0', false);
2844 macset(&e->e_macro, 'g', lbuf);
2848 if (bitset(RF_CANONICAL, flags) && lbuf[0] == '@')
3310 char lbuf[MAXLINE]; local
3312 p = lbuf;
3315 (void) sm_snprintf(p, SPACELEFT(lbuf, p),
3327 (void) sm_snprintf(p, SPACELEFT(lbuf, p),
3335 rwset, p1, lbuf);
[all...]
H A Dqueue.c2648 char lbuf[MAXNAME_I + 1]; local
2813 sm_io_fgets(cf, SM_TIME_DEFAULT, lbuf,
2814 sizeof(lbuf)) >= 0)
2819 p = strchr(lbuf, '\n');
2830 switch (lbuf[0])
2833 qfver = atoi(&lbuf[1]);
2837 w->w_pri = atol(&lbuf[1]);
2842 w->w_ctime = atol(&lbuf[1]);
2862 p = &lbuf[1];
2881 (p = strrchr(&lbuf[
[all...]
/freebsd-current/usr.bin/csplit/
H A Dcsplit.c274 static char lbuf[LINE_MAX]; local
279 again: if (fgets(lbuf, sizeof(lbuf), src) == NULL) {
290 return (lbuf);
/freebsd-current/usr.bin/ctags/
H A Dtree.c80 if (!(np->pat = strdup(lbuf)))
/freebsd-current/contrib/mtree/
H A Dcompare.c569 static char lbuf[MAXPATHLEN]; local
572 if ((len = readlink(name, lbuf, sizeof(lbuf) - 1)) == -1)
574 lbuf[len] = '\0';
575 return (lbuf);
/freebsd-current/sys/dev/usb/video/
H A Dudl.c677 uint32_t lbuf; local
681 UDL_CTRL_CMD_POLL, 0x0000, 0x0000, (uint8_t *)&lbuf, sizeof(lbuf));
683 *buf = le32toh(lbuf);
690 uint8_t lbuf[1]; local
694 UDL_CTRL_CMD_READ_1, addr, 0x0000, lbuf, 1);
696 *buf = *(uint8_t *)lbuf;
713 uint8_t lbuf[64]; local
720 UDL_CTRL_CMD_READ_EDID, 0x00a1, (offset << 8), lbuf, 64);
723 bcopy(lbuf
[all...]
/freebsd-current/contrib/elftoolchain/addr2line/
H A Daddr2line.c662 Dwarf_Line *lbuf; local
740 switch (dwarf_srclines(die, &lbuf, &lcount, &de)) {
755 if (dwarf_lineaddr(lbuf[i], &lineaddr, &de)) {
759 if (dwarf_lineno(lbuf[i], &lineno, &de)) {
763 if (dwarf_linesrc(lbuf[i], &file0, &de)) {
/freebsd-current/usr.bin/msgs/
H A Dmsgs.c705 char lbuf[BUFSIZ]; local
707 while (fgets(lbuf, sizeof lbuf, f))
/freebsd-current/sbin/routed/
H A Dparms.c160 char lbuf[200], net_host[5], dname[64+1+64+1]; local
181 if (fgets(lbuf, sizeof(lbuf), fp) == NULL)
183 lptr = lbuf;
/freebsd-current/usr.bin/pr/
H A Dpr.c173 char *lbuf; local
205 lbuf = nbuf + num;
247 if ((cnt = inln(inf,lbuf,LBUF,&cps,0,&mor)) < 0)
261 } else if (otln(lbuf, cnt, &ips, &ops, mor))
/freebsd-current/usr.bin/systat/
H A Dvmstat.c635 char lbuf[128]; local
650 humanize_number(lbuf, w, n, "", HN_AUTOSCALE,
652 snr = snprintf(b, sizeof(b), "%*s", w, lbuf);
/freebsd-current/contrib/elftoolchain/nm/
H A Dnm.c1186 Dwarf_Line *lbuf; local
1393 ret = dwarf_srclines(die, &lbuf, &lcount, &de);
1399 if (dwarf_lineaddr(lbuf[i], &lineaddr, &de)) {
1403 if (dwarf_lineno(lbuf[i], &lineno, &de)) {
1407 if (dwarf_linesrc(lbuf[i], &sfile, &de)) {
/freebsd-current/sys/compat/linux/
H A Dlinux_file.c408 caddr_t lbuf; /* Linux-format */ local
424 lbuf = malloc(LINUX_RECLEN(LINUX_NAME_MAX), M_LINUX, M_WAITOK | M_ZERO);
445 linux_dirent = (struct l_dirent*)lbuf;
452 lbuf[linuxreclen - 1] = bdp->d_type;
470 free(lbuf, M_LINUX);
/freebsd-current/contrib/ntp/ntpq/
H A Dntpq.c865 char lbuf[68]; local
871 memset(lbuf, ' ', sizeof(lbuf));
872 xptr = lbuf;
873 pptr = lbuf + 3*16 + 2;
883 if (++xptr == lbuf + 3*8)
891 fputs(lbuf, stdout);

Completed in 418 milliseconds

123