Searched refs:nl (Results 1 - 25 of 228) sorted by relevance

12345678910

/freebsd-current/contrib/netbsd-tests/bin/sh/
H A Dt_here.sh30 nl='
48 # some of the tests expect us to expand $nl internally...
49 CMD="nl='${nl}'; $1"
82 IFS="$nl"
128 check 'x=`cat <<EOF'$nl'text'${nl}EOF$nl'`; echo $x' 'text' 0
129 check 'x=`cat <<\EOF'$nl'text'${nl}EO
[all...]
H A Dt_expand.sh230 nl='
248 # some of the tests expect us to expand $nl internally...
255 MSG="${MSG}${MSG:+${nl}}[$TEST_NUM]"
267 MSG="${MSG}${MSG:+${nl}}[$TEST_NUM]"
269 MSG="${MSG}${nl}$( cat "${TEMP_FILE}" )"
274 MSG="${MSG}${MSG:+${nl}}[$TEST_NUM]"
284 IFS="$nl"
289 MSG="${MSG}${MSG:+${nl}}[$TEST_NUM]"
296 MSG="${MSG}${MSG:+${nl}}[$TEST_NUM]"
301 TEST_FAILURES="${TEST_FAILURES}${TEST_FAILURES:+${nl}}"
[all...]
/freebsd-current/usr.bin/nl/
H A DMakefile2 PROG= nl
/freebsd-current/usr.bin/ssh-copy-id/
H A Dssh-copy-id.sh56 keys="$(ssh-add -L | grep -v 'The agent has no identities.')$nl$keys"
64 nl="
68 IFS=$nl
75 keys="$(cat -- "${OPTARG}.pub")$nl$keys"
77 keys="$(cat -- "$OPTARG")$nl$keys"
88 port=-p$nl$OPTARG
91 options=$options$nl-o$nl$OPTARG
94 options="$options$nl-v"
107 if [ -z "$keys" ] || [ "$keys" = "$nl" ]; the
[all...]
/freebsd-current/share/examples/sunrpc/dir/
H A Drls.c18 namelist nl; local
77 for (nl = result->readdir_res_u.list; nl != NULL; nl = nl->next) {
78 printf("%s\n", nl->name);
H A Ddir_proc.c18 namelist nl; local
41 nl = *nlp = (namenode *) malloc(sizeof(namenode));
42 nl->name = malloc(strlen(d->d_name)+1);
43 strcpy(nl->name, d->d_name);
44 nlp = &nl->next;
/freebsd-current/lib/libc/net/
H A Dntoh.c48 ntohl(uint32_t nl) argument
51 return (__ntohl(nl));
/freebsd-current/usr.bin/gprof/
H A Dlookup.c56 if ( nl[ middle ].value <= address && nl[ middle+1 ].value > address ) {
63 if (nl[middle].name[0] == '$' &&
64 nl[middle-1].value == nl[middle].value)
68 return &nl[ middle ];
70 if ( nl[ middle ].value > address ) {
/freebsd-current/lib/libkvm/
H A Dkvm_getloadavg.c44 static struct nlist nl[] = { variable in typeref:struct:nlist
73 if (kvm_nlist(kd, nl) != 0 && nl[X_AVERUNNABLE].n_type == 0) {
75 "%s: no such symbol", nl[X_AVERUNNABLE].n_name);
81 if (KREAD(kd, nl[X_AVERUNNABLE].n_value, &loadinfo)) {
90 if (nl[X_FSCALE].n_type != 0 &&
91 !KREAD(kd, nl[X_FSCALE].n_value, &fscale))
H A Dkvm_vnet.c64 struct kvm_nlist nl[] = { local
103 if (_kvm_nlist(kd, nl, 0) != 0) {
120 if (nl[NLIST_DUMPTID].n_value) {
121 if (kvm_read(kd, nl[NLIST_DUMPTID].n_value, &dumptid,
135 procp = nl[NLIST_ALLPROC].n_value;
138 procp = nl[NLIST_PROC0].n_value;
203 kd->vnet_start = nl[NLIST_START_VNET].n_value;
204 kd->vnet_stop = nl[NLIST_STOP_VNET].n_value;
H A Dkvm_arm.c106 struct kvm_nlist nl[2]; local
139 nl[1].n_name = NULL;
141 nl[0].n_name = "kernbase";
142 if (kvm_nlist2(kd, nl) != 0) {
150 kernbase = nl[0].n_value;
152 nl[0].n_name = "physaddr";
153 if (kvm_nlist2(kd, nl) != 0) {
157 physaddr = nl[0].n_value;
159 nl[0].n_name = "kernel_l1pa";
160 if (kvm_nlist2(kd, nl) !
[all...]
/freebsd-current/libexec/rc/rc.d/
H A Ddefaultroute35 local nl waited
51 nl=1
64 nl=1
69 [ -n "$nl" ] && echo
/freebsd-current/contrib/libfido2/fuzz/
H A Dfuzz_netlink.c126 fido_nl_t *nl; local
137 if ((nl = fido_nl_new()) == NULL)
140 consume(&nl->fd, sizeof(nl->fd));
141 consume(&nl->nfc_type, sizeof(nl->nfc_type));
142 consume(&nl->nfc_mcastgrp, sizeof(nl->nfc_mcastgrp));
143 consume(&nl->saddr, sizeof(nl
[all...]
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dlib_nl.c38 * nl.c
41 * nl()
55 NCURSES_SP_NAME(nl) (NCURSES_SP_DCL0) function
57 T((T_CALLED("nl(%p)"), (void *) SP_PARM));
70 nl(void) function
72 return NCURSES_SP_NAME(nl) (CURRENT_SCREEN);
/freebsd-current/usr.bin/col/tests/
H A DMakefile9 nl.in \
H A Dcol_test.sh2 atf_test_case nl
14 col < $(atf_get_srcdir)/nl.in
20 col -f < $(atf_get_srcdir)/nl.in
112 atf_add_test_case nl
/freebsd-current/lib/libkvm/tests/
H A Dkvm_read_test.c55 struct nlist nl[] = { local
69 retcode = kvm_nlist(kd, nl);
72 if (nl[X_MAXCPUS].n_type == 0)
75 rc = kvm_read(kd, nl[X_MAXCPUS].n_value, &mp_maxcpus,
/freebsd-current/share/examples/ipfilter/samples/
H A Drelay.c110 natlookup_t nl; local
111 natlookup_t *nlp = &nl;
125 obj.ipfo_size = sizeof(nl);
126 obj.ipfo_ptr = &nl;
129 bzero(&nl, sizeof(nl));
130 nl.nl_flags = IPN_TCP;
142 nl.nl_inip.s_addr = sin.sin_addr.s_addr;
143 nl.nl_inport = sin.sin_port;
156 nl
[all...]
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_mac_metadata.c67 char *nl, *nlp; local
77 assert((nl = malloc(r)) != NULL);
78 if (nl == NULL)
81 r = listxattr(filename, nl, r, XATTR_SHOWCOMPRESSION);
83 free(nl);
88 for (nlp = nl; nlp < nl + r; nlp += strlen(nlp) + 1) {
94 free(nl);
/freebsd-current/lib/libc/stdio/
H A Dfgetws.c51 unsigned char *nl; local
75 nl = memchr(fp->_p, '\n', fp->_r);
77 nl != NULL ? (nl - fp->_p + 1) : fp->_r,
/freebsd-current/tools/test/stress2/misc/
H A Dmaxproc.sh78 static struct nlist nl[NNAMES];
129 nl[namelist[i].order].n_name = strdup(namelist[i].name);
133 if (kvm_nlist(kd, nl) == -1)
135 if (kvm_read(kd, nl[NL_NPROCS].n_value, &nprocs,
138 if (kvm_read(kd, nl[NL_MAXPROC].n_value, &maxproc,
/freebsd-current/contrib/file/src/
H A Dis_csv.c94 size_t nf = 0, tf = 0, nl = 0; local
106 DPRINTF("%zu %zu %zu\n", nl, nf, tf);
107 nl++;
109 if (nl == CSV_LINES)
128 return tf && nl >= 2;
/freebsd-current/contrib/libfido2/src/
H A Dnetlink.c565 fido_nl_power_nfc(fido_nl_t *nl, uint32_t dev) argument
572 if ((m = nlmsg_new(nl->nfc_type, NLM_F_ACK, 64)) == NULL ||
575 nlmsg_tx(nl->fd, m) < 0) {
580 if ((r = nlmsg_rx(nl->fd, reply, sizeof(reply), -1)) < 0) {
584 if ((ok = nl_parse_reply(reply, (size_t)r, nl->nfc_type,
594 nl_nfc_poll(fido_nl_t *nl, uint32_t dev) argument
601 if ((m = nlmsg_new(nl->nfc_type, NLM_F_ACK, 64)) == NULL ||
605 nlmsg_tx(nl->fd, m) < 0) {
610 if ((r = nlmsg_rx(nl->fd, reply, sizeof(reply), -1)) < 0) {
614 if ((ok = nl_parse_reply(reply, (size_t)r, nl
624 nl_dump_nfc_target(fido_nl_t *nl, uint32_t dev, uint32_t *target, int ms) argument
682 fido_nl_get_nfc_target(fido_nl_t *nl, uint32_t dev, uint32_t *target) argument
734 fido_nl_t *nl; local
748 fido_nl_t *nl; local
[all...]
/freebsd-current/contrib/byacc/
H A Dmstring.c71 size_t nl = cl; local
72 while (len > (nl - cp))
73 nl = nl + nl + TAIL;
74 if ((new_base = realloc(s->base, nl)))
78 s->end = s->base + nl;
/freebsd-current/contrib/sendmail/contrib/
H A Dcidrexpand172 foreach my $nl ($len == 0 ? (0..255) : cidr2octets("$network/$len"))
174 my $val = "$prefix$nl$suffix\n";
177 $pending{"$fp$nl"} = $val;
198 foreach my $nl (cidr2octets("$network/$len"))
201 $nl =~ s/(^|:)0+(?=[^:])/$1/g;
202 my $val = "$prefix$nl$suffix\n";
205 $pending{"$fp$nl"} = $val;

Completed in 216 milliseconds

12345678910