Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 25 of 550) sorted by relevance

12345678910>>...22

/freebsd/contrib/netbsd-tests/bin/sh/
H A Dt_here.sh30 nl='
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}EOF$nl'`; echo $x' 'text' 0
131 check "y=${y};"'x=`cat <<EOF'$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
133 check "y=${y};"'x=`cat <<\EOF'$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
135 check "y=${y};"'x=`cat <<"EOF"'$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
137 check "y=${y};"'x=`cat <<'"'EOF'"$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
141 check "cat <<EOF${nl}te'xt${nl}EOF$nl" "te'xt" 0
[all …]
H A Dt_expand.sh230 nl='
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}}"
304 TEST_FAILURES="${TEST_FAILURES}${nl}${MSG}"
[all …]
/freebsd/bin/sh/tests/parser/
H A Dfor1.02 nl='
5 for s1 in "$nl" " "; do
6 for s2 in "$nl" ";" ";$nl"; do
7 for s3 in "$nl" " "; do
15 for s2 in "$nl" " "; do
16 for s3 in "$nl" " "; do
22 for s1 in "$nl" " "; do
23 for s2 in "$nl" ";" ";$nl"; do
24 for s3 in "$nl" " "; do
/freebsd/contrib/libfido2/src/
H A Dnetlink.c565 fido_nl_power_nfc(fido_nl_t *nl, uint32_t dev) in fido_nl_power_nfc() argument
572 if ((m = nlmsg_new(nl->nfc_type, NLM_F_ACK, 64)) == NULL || in fido_nl_power_nfc()
575 nlmsg_tx(nl->fd, m) < 0) { in fido_nl_power_nfc()
580 if ((r = nlmsg_rx(nl->fd, reply, sizeof(reply), -1)) < 0) { in fido_nl_power_nfc()
584 if ((ok = nl_parse_reply(reply, (size_t)r, nl->nfc_type, in fido_nl_power_nfc()
594 nl_nfc_poll(fido_nl_t *nl, uint32_t dev) in nl_nfc_poll() argument
601 if ((m = nlmsg_new(nl->nfc_type, NLM_F_ACK, 64)) == NULL || in nl_nfc_poll()
605 nlmsg_tx(nl->fd, m) < 0) { in nl_nfc_poll()
610 if ((r = nlmsg_rx(nl->fd, reply, sizeof(reply), -1)) < 0) { in nl_nfc_poll()
614 if ((ok = nl_parse_reply(reply, (size_t)r, nl->nfc_type, in nl_nfc_poll()
[all …]
/freebsd/contrib/libfido2/fuzz/
H A Dfuzz_netlink.c126 fido_nl_t *nl; in test() local
137 if ((nl = fido_nl_new()) == NULL) in test()
140 consume(&nl->fd, sizeof(nl->fd)); in test()
141 consume(&nl->nfc_type, sizeof(nl->nfc_type)); in test()
142 consume(&nl->nfc_mcastgrp, sizeof(nl->nfc_mcastgrp)); in test()
143 consume(&nl->saddr, sizeof(nl->saddr)); in test()
145 fido_nl_power_nfc(nl, (uint32_t)p->dev); in test()
147 if (fido_nl_get_nfc_target(nl, (uint32_t)p->dev, &target) == 0) in test()
150 fido_nl_free(&nl); in test()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_uu.c214 ssize_t *nl, size_t* nbytes_read) in bid_get_line() argument
221 *nl = 0; in bid_get_line()
224 len = get_line(*b, *avail, nl); in bid_get_line()
229 while (*nl == 0 && len == *avail && !quit && in bid_get_line()
253 len = get_line(*b + tested, *avail - tested, nl); in bid_get_line()
268 ssize_t len, nl; in uudecode_bidder_bid() local
283 len = bid_get_line(filter, &b, &avail, &ravail, &nl, &nbytes_read); in uudecode_bidder_bid()
284 if (len < 0 || nl == 0) in uudecode_bidder_bid()
286 if (len - nl >= 11 && memcmp(b, "begin ", 6) == 0) in uudecode_bidder_bid()
288 else if (len -nl >= 18 && memcmp(b, "begin-base64 ", 13) == 0) in uudecode_bidder_bid()
[all …]
/freebsd/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.nl_outip.s_addr = sin.sin_addr.s_addr;
157 nl.nl_outport = sin.sin_port;
[all …]
/freebsd/lib/libkvm/
H A Dkvm_getloadavg.c44 static struct nlist nl[] = { variable
73 if (kvm_nlist(kd, nl) != 0 && nl[X_AVERUNNABLE].n_type == 0) { in kvm_getloadavg()
75 "%s: no such symbol", nl[X_AVERUNNABLE].n_name); in kvm_getloadavg()
81 if (KREAD(kd, nl[X_AVERUNNABLE].n_value, &loadinfo)) { in kvm_getloadavg()
90 if (nl[X_FSCALE].n_type != 0 && in kvm_getloadavg()
91 !KREAD(kd, nl[X_FSCALE].n_value, &fscale)) in kvm_getloadavg()
H A Dkvm_arm.c106 struct kvm_nlist nl[2]; in _arm_initvtop() local
139 nl[1].n_name = NULL; in _arm_initvtop()
141 nl[0].n_name = "kernbase"; in _arm_initvtop()
142 if (kvm_nlist2(kd, nl) != 0) { in _arm_initvtop()
150 kernbase = nl[0].n_value; in _arm_initvtop()
152 nl[0].n_name = "physaddr"; in _arm_initvtop()
153 if (kvm_nlist2(kd, nl) != 0) { in _arm_initvtop()
157 physaddr = nl[0].n_value; in _arm_initvtop()
159 nl[0].n_name = "kernel_l1pa"; in _arm_initvtop()
160 if (kvm_nlist2(kd, nl) != 0) { in _arm_initvtop()
[all …]
H A Dkvm_vnet.c64 struct kvm_nlist nl[] = { in _kvm_vnet_selectpid() local
103 if (_kvm_nlist(kd, nl, 0) != 0) { in _kvm_vnet_selectpid()
120 if (nl[NLIST_DUMPTID].n_value) { in _kvm_vnet_selectpid()
121 if (kvm_read(kd, nl[NLIST_DUMPTID].n_value, &dumptid, in _kvm_vnet_selectpid()
135 procp = nl[NLIST_ALLPROC].n_value; in _kvm_vnet_selectpid()
138 procp = nl[NLIST_PROC0].n_value; in _kvm_vnet_selectpid()
203 kd->vnet_start = nl[NLIST_START_VNET].n_value; in _kvm_vnet_selectpid()
204 kd->vnet_stop = nl[NLIST_STOP_VNET].n_value; in _kvm_vnet_selectpid()
H A Dkvm_i386.c115 struct kvm_nlist nl[2]; in _i386_initvtop() local
134 nl[0].n_name = "kernbase"; in _i386_initvtop()
135 nl[1].n_name = 0; in _i386_initvtop()
137 if (kvm_nlist2(kd, nl) != 0) { in _i386_initvtop()
145 kernbase = nl[0].n_value; in _i386_initvtop()
147 nl[0].n_name = "IdlePDPT"; in _i386_initvtop()
148 nl[1].n_name = 0; in _i386_initvtop()
150 if (kvm_nlist2(kd, nl) == 0) { in _i386_initvtop()
153 if (kvm_read2(kd, (nl[0].n_value - kernbase), &pa, in _i386_initvtop()
183 nl[0].n_name = "IdlePTD"; in _i386_initvtop()
[all …]
/freebsd/usr.bin/gprof/
H A Dlookup.c56 if ( nl[ middle ].value <= address && nl[ middle+1 ].value > address ) { in nllookup()
63 if (nl[middle].name[0] == '$' && in nllookup()
64 nl[middle-1].value == nl[middle].value) in nllookup()
68 return &nl[ middle ]; in nllookup()
70 if ( nl[ middle ].value > address ) { in nllookup()
/freebsd/usr.bin/bluetooth/btsockstat/
H A Dbtsockstat.c80 static struct nlist nl[] = { variable
169 hcirawpr(kvmd, nl[N_HCI_RAW].n_value); in main()
174 l2caprtpr(kvmd, nl[N_L2CAP_RAW_RT].n_value); in main()
176 l2caprawpr(kvmd, nl[N_L2CAP_RAW].n_value); in main()
181 l2caprtpr(kvmd, nl[N_L2CAP_RT].n_value); in main()
183 l2cappr(kvmd, nl[N_L2CAP].n_value); in main()
187 rfcommpr(kvmd, nl[N_RFCOMM].n_value); in main()
191 rfcommpr_s(kvmd, nl[N_RFCOMM_S].n_value); in main()
196 l2caprtpr(kvmd, nl[N_L2CAP_RAW_RT].n_value); in main()
197 l2caprtpr(kvmd, nl[N_L2CAP_RT].n_value); in main()
[all …]
/freebsd/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/share/syscons/keymaps/
H A Dua.iso5.kbd33 028 cr cr nl nl cr cr nl nl O
41 036 'j' 'J' nl nl 222 190 nl nl C
60 055 '*' '*' nl nl '*' '*' nl nl O
94 089 cr cr nl nl cr cr nl nl O
163 156 cr cr nl nl cr cr nl nl O
171 164 222 190 nl nl 'j' 'J' nl nl C
190 183 '*' '*' nl nl '*' '*' nl nl O
224 217 cr cr nl nl cr cr nl nl O
H A Dru.iso5.kbd33 028 cr cr nl nl cr cr nl nl O
41 036 'j' 'J' nl nl 222 190 nl nl C
60 055 '*' '*' nl nl '*' '*' nl nl O
94 089 cr cr nl nl cr cr nl nl O
163 156 cr cr nl nl cr cr nl nl O
171 164 222 190 nl nl 'j' 'J' nl nl C
190 183 '*' '*' nl nl '*' '*' nl nl O
224 217 cr cr nl nl cr cr nl nl O
H A Dua.koi8-u.kbd33 028 cr cr nl nl cr cr nl nl O
41 036 'j' 'J' nl nl 207 239 nl nl C
60 055 '*' '*' nl nl '*' '*' nl nl O
94 089 cr cr nl nl cr cr nl nl O
162 156 cr cr nl nl cr cr nl nl O
170 164 207 239 nl nl 'j' 'J' nl nl C
189 183 '*' '*' nl nl '*' '*' nl nl O
223 217 cr cr nl nl cr cr nl nl O
H A Dby.cp1251.kbd33 028 cr cr nl nl cr cr nl nl O
41 036 'j' 'J' nl nl 'j' 'J' nl nl C
94 089 cr cr nl nl cr cr nl nl O
143 156 cr cr nl nl cr cr nl nl O
151 164 '�' '�' nl nl 'j' 'J' nl nl C
204 217 cr cr nl nl cr cr nl nl O
H A Dby.iso5.kbd33 028 cr cr nl nl cr cr nl nl O
41 036 'j' 'J' nl nl 'j' 'J' nl nl C
94 089 cr cr nl nl cr cr nl nl O
143 156 cr cr nl nl cr cr nl nl O
151 164 '�' '�' nl nl 'j' 'J' nl nl C
204 217 cr cr nl nl cr cr nl nl O
H A Dby.cp1131.kbd33 028 cr cr nl nl cr cr nl nl O
41 036 'j' 'J' nl nl 'j' 'J' nl nl C
94 089 cr cr nl nl cr cr nl nl O
143 156 cr cr nl nl cr cr nl nl O
151 164 '�' '�' nl nl 'j' 'J' nl nl C
204 217 cr cr nl nl cr cr nl nl O
/freebsd/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;
/freebsd/share/vt/keymaps/
H A Dua.kbd33 028 cr cr nl nl cr cr nl nl O
41 036 'j' 'J' nl nl 0x043e 0x041e nl nl C
60 055 '*' '*' nl nl '*' '*' nl nl O
94 089 cr cr nl nl cr cr nl nl O
162 156 cr cr nl nl cr cr nl nl O
170 164 0x043e 0x041e nl nl 'j' 'J' nl nl C
189 183 '*' '*' nl nl '*' '*' nl nl O
223 217 cr cr nl nl cr cr nl nl O
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_mont.c92 int nl, max, i; in bn_from_montgomery_word() local
96 nl = n->top; in bn_from_montgomery_word()
97 if (nl == 0) { in bn_from_montgomery_word()
102 max = (2 * nl); /* carry is stored separately */ in bn_from_montgomery_word()
125 for (carry = 0, i = 0; i < nl; i++, rp++) { in bn_from_montgomery_word()
126 v = bn_mul_add_words(rp, np, nl, (rp[0] * n0) & BN_MASK2); in bn_from_montgomery_word()
127 v = (v + carry + rp[nl]) & BN_MASK2; in bn_from_montgomery_word()
128 carry |= (v != rp[nl]); in bn_from_montgomery_word()
129 carry &= (v <= rp[nl]); in bn_from_montgomery_word()
130 rp[nl] = v; in bn_from_montgomery_word()
[all …]
/freebsd/contrib/openbsm/libbsm/
H A Dbsm_event.c153 char *nl; in getauevent_r_locked() local
163 if ((nl = strrchr(linestr, '\n')) != NULL) in getauevent_r_locked()
164 *nl = '\0'; in getauevent_r_locked()
217 char *nl; in getauevnam_r_locked() local
230 if ((nl = strrchr(linestr, '\n')) != NULL) in getauevnam_r_locked()
231 *nl = '\0'; in getauevnam_r_locked()
278 char *nl; in getauevnum_r_locked() local
288 if ((nl = strrchr(linestr, '\n')) != NULL) in getauevnum_r_locked()
289 *nl = '\0'; in getauevnum_r_locked()

12345678910>>...22