Home
last modified time | relevance | path

Searched refs:lst (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd-14.2/sbin/hastd/
H A Dparse.y202 lst = calloc(1, sizeof(*lst));
203 if (lst == NULL) {
208 if (strlcpy(lst->hl_addr, $2, sizeof(lst->hl_addr)) >=
212 free(lst);
223 free(lst);
925 lst = calloc(1, sizeof(*lst)); in yy_config_parse()
926 if (lst == NULL) { in yy_config_parse()
941 lst = calloc(1, sizeof(*lst)); in yy_config_parse()
942 if (lst == NULL) { in yy_config_parse()
1026 free(lst); in yy_config_free()
[all …]
H A Dhastd.c105 struct hastd_listen *lst; in descriptors_cleanup() local
132 if (lst->hl_conn != NULL) in descriptors_cleanup()
133 proto_close(lst->hl_conn); in descriptors_cleanup()
134 free(lst); in descriptors_cleanup()
1069 struct hastd_listen *lst; in main_loop() local
1088 if (lst->hl_conn == NULL) in main_loop()
1143 if (lst->hl_conn == NULL) in main_loop()
1146 listen_accept(lst); in main_loop()
1185 struct hastd_listen *lst; in main() local
1298 if (proto_server(lst->hl_addr, &lst->hl_conn) == -1) { in main()
[all …]
/freebsd-14.2/contrib/openbsm/bin/auditdistd/
H A Dparse.y265 struct adist_listen *lst; variable
268 lst = calloc(1, sizeof(*lst));
269 if (lst == NULL) {
282 lst = calloc(1, sizeof(*lst));
283 if (lst == NULL) {
559 lst = calloc(1, sizeof(*lst));
560 if (lst == NULL) {
565 if (strlcpy(lst->adl_addr, $2, sizeof(lst->adl_addr)) >=
569 free(lst);
842 struct adist_listen *lst; in yy_config_free() local
[all …]
H A Dauditdistd.c105 struct adist_listen *lst; in descriptors_cleanup() local
116 if (lst->adl_conn != NULL) in descriptors_cleanup()
117 proto_close(lst->adl_conn); in descriptors_cleanup()
500 struct adist_listen *lst; in main_loop() local
517 if (lst->adl_conn == NULL) in main_loop()
560 if (lst->adl_conn == NULL) in main_loop()
563 listen_accept(lst); in main_loop()
583 struct adist_listen *lst; in adist_config_dump() local
624 struct adist_listen *lst; in main() local
766 if (proto_server(lst->adl_addr, &lst->adl_conn) == -1) { in main()
[all …]
/freebsd-14.2/tests/sys/common/
H A Dvnet.subr6 echo $1 >> created_interfaces.lst
11 sed -i "" /^$1\$/d created_interfaces.lst
91 echo $jailname $@ >> created_jails.lst
101 sed -i "" "/^${jailname}/s/\$/ ${ifname}/" created_jails.lst
111 sed -i "" "/^${jailname}/s/${ifname}/${ifnewname}/" created_jails.lst
116 if [ -f created_jails.lst ]; then
122 done < created_jails.lst
123 rm created_jails.lst
126 if [ -f created_interfaces.lst ]; then
127 for ifname in `cat created_interfaces.lst`
[all …]
/freebsd-14.2/sys/amd64/amd64/
H A Dlocore.S115 movq %rsp,lst(%rip) /* save registers into memeory */
116 movq %rbx,lst+8(%rip) /* upper halves are not saved .. */
117 movq %rbp,lst+0x10(%rip) /* by 64->32->64 switch */
120 movq %rax,lst+0x18(%rip)
168 l2: movq lst(%rip),%rsp /* back on C stack */
169 movq lst+8(%rip),%rbx
170 movq lst+0x10(%rip),%rbp
171 movq lst+0x18(%rip),%rax
175 lst: .quad 0,0,0,0 label
/freebsd-14.2/tools/test/stress2/tools/
H A Dfast.sh33 lst=/tmp/elapsed.lst
42 ls *.sh | grep -E -v "all.sh|cleanup.sh" > $lst
44 cat $lst | while read l; do
56 sort -n < $lst2 | awk '{print $2}' > $lst
57 cat $lst
H A Dsplitall.sh48 lst=""
51 lst="$lst $i"
53 n=`echo $lst | wc -w`
54 (cd /tmp; echo $lst | tr ' ' '\n' | split -d -l $((n / parts + 1)) - str)
/freebsd-14.2/tests/sys/netlink/
H A Dtest_rtnl_ifaddr.py247 assert len(lst) == 1
248 rx_msg = lst[0]
282 assert len(lst) == 1
283 rx_msg = lst[0]
302 assert len(lst) == 2
327 assert len(lst) == 1
328 rx_msg = lst[0]
354 assert len(lst) == 2
379 assert len(lst) == 2
549 rx_msg = lst[0]
[all …]
/freebsd-14.2/usr.bin/rpcgen/
H A Drpc_util.c95 findval(list *lst, const char *val, int (*cmp)(definition *, const char *)) in findval() argument
97 for (; lst != NULL; lst = lst->next) { in findval()
98 if ((*cmp) (lst->val, val)) { in findval()
99 return (lst->val); in findval()
112 list *lst; in storeval() local
115 lst = XALLOC(list); in storeval()
116 lst->val = val; in storeval()
117 lst->next = NULL; in storeval()
118 *l = lst; in storeval()
/freebsd-14.2/crypto/openssl/crypto/asn1/
H A Dasn_mstbl.c63 STACK_OF(CONF_VALUE) *lst = NULL; in do_tcreate()
70 lst = X509V3_parse_list(value); in do_tcreate()
71 if (!lst) in do_tcreate()
73 for (i = 0; i < sk_CONF_VALUE_num(lst); i++) { in do_tcreate()
74 cnf = sk_CONF_VALUE_value(lst, i); in do_tcreate()
115 sk_CONF_VALUE_pop_free(lst, X509V3_conf_free); in do_tcreate()
/freebsd-14.2/contrib/libcbor/misc/
H A Dfile_to_bytes.rb3 lst = (ARGV.empty? ? STDIN.read : IO.binread(ARGV[0])).bytes.map {|_| '0x%02X' % _ }
4 puts lst.size
5 puts lst.join(', ')
/freebsd-14.2/tools/test/stress2/misc/
H A Dall.sh188 lst=""
192 lst="$lst $i"
194 [ -z "$lst" ] && exit
195 echo "$lst" > $alllist
201 n2=`echo $lst | wc -w | sed 's/ //g'`
202 for i in $lst; do
/freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fpsetmask.c339 fp_except_t msk, lst[] = { FP_X_INV, FP_X_DZ, FP_X_OFL, FP_X_UFL }; in ATF_TC_BODY() local
344 for (i = 0; i < __arraycount(lst); i++) { in ATF_TC_BODY()
345 fpsetmask(msk | lst[i]); in ATF_TC_BODY()
346 ATF_CHECK((fpgetmask() & lst[i]) != 0); in ATF_TC_BODY()
347 fpsetmask(msk & ~lst[i]); in ATF_TC_BODY()
348 ATF_CHECK((fpgetmask() & lst[i]) == 0); in ATF_TC_BODY()
/freebsd-14.2/usr.sbin/crunch/crunchgen/
H A Dcrunchgen.c609 void output_strlst(FILE *outf, strlst_t *lst);
1049 strlst_t *lst; in prog_makefile_rules() local
1065 for (lst = p->objs; lst != NULL; lst = lst->next) { in prog_makefile_rules()
1066 fprintf(outmk, " $(%s_OBJDIR)/%s", p->ident, lst->str); in prog_makefile_rules()
1130 for (lst = p->keeplist; lst != NULL; lst = lst->next) in prog_makefile_rules()
1131 fprintf(outmk, "-k %s ", lst->str); in prog_makefile_rules()
1136 output_strlst(FILE *outf, strlst_t *lst) in output_strlst() argument
1138 for (; lst != NULL; lst = lst->next) in output_strlst()
1139 if ( strlen(lst->str) ) in output_strlst()
1140 fprintf(outf, " %s", lst->str); in output_strlst()
/freebsd-14.2/tests/sys/vmm/
H A Dutils.subr35 echo $jailname >> created_jails.lst
39 if [ -f created_jails.lst ]
41 for jailname in `cat created_jails.lst`
45 rm created_jails.lst
/freebsd-14.2/sys/contrib/ncsw/inc/etc/
H A Dlist_ext.h94 #define NCSW_LIST_INIT(lst) {&(lst), &(lst)} argument
/freebsd-14.2/sys/net/
H A Dif_lagg.c1894 lst = malloc(sizeof(*lst), M_LAGG, M_NOWAIT); in lagg_snd_tag_alloc()
1895 if (lst == NULL) { in lagg_snd_tag_alloc()
1900 lst = NULL; in lagg_snd_tag_alloc()
1905 free(lst, M_LAGG); in lagg_snd_tag_alloc()
1911 lst->tag = mst; in lagg_snd_tag_alloc()
1913 *ppmt = &lst->com; in lagg_snd_tag_alloc()
1925 lst = mst_to_lst(mst); in lagg_next_snd_tag()
1926 return (lst->tag); in lagg_next_snd_tag()
1936 return (lst->tag->sw->snd_tag_modify(lst->tag, params)); in lagg_snd_tag_modify()
1946 return (lst->tag->sw->snd_tag_query(lst->tag, params)); in lagg_snd_tag_query()
[all …]
/freebsd-14.2/contrib/tcsh/
H A Dsh.exp.c618 struct cvxstat lstb, *lst = NULL; in filetest() local
622 struct stat lstb, *lst = NULL; in filetest() local
715 if (!lst) { in filetest()
716 lst = &lstb; in filetest()
717 if (TCSH_LSTAT(short2str(ep), lst) == -1) { in filetest()
723 st = lst; in filetest()
783 i = S_ISLNK(lst->st_mode); in filetest()
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_read_disk_posix.c229 struct stat lst; member
859 lst = NULL; in next_entry()
883 lst = tree_current_lstat(t); in next_entry()
884 if (lst == NULL) { in next_entry()
905 } while (lst == NULL); in next_entry()
968 st = lst; in next_entry()
1303 t->lst.st_dev, t->lst.st_ino, &t->restore_time); in archive_read_disk_descend()
2578 return (&t->lst);
2677 static const struct stat *lst, *st; local
2679 lst = tree_current_lstat(t);
[all …]
/freebsd-14.2/tests/sys/net/if_ovpn/
H A Dutils.subr45 for jail in `cat ovpn_jails.lst | sort -u`
58 echo ${jail} >> ovpn_jails.lst
/freebsd-14.2/contrib/libpcap/msdos/
H A Dmakefile.dj79 $(ASM) -o $(TEMPBIN) -lmsdos/pkt_rx1.lst msdos/pkt_rx1.S
101 rm -f $(OBJECTS) msdos/pkt_rx1.lst Makefile.bak .depend.dj $(PREREQUISITES)
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h152 FormattersContainer(IFormatChangeListener *lst) : listener(lst) {} in FormattersContainer() argument
/freebsd-14.2/tests/sys/netpfil/pf/
H A Dprio.sh45 echo ${epair}a.42 >> created_interfaces.lst
H A Dutils.subr41 if [ -f created_jails.lst ]; then
42 for jailname in `cat created_jails.lst`
54 cat created_interfaces.lst

1234