| /netbsd-src/external/mpl/bind/dist/lib/isccc/ |
| H A D | alist.c | 1 /* $NetBSD: alist.c,v 1.9 2025/01/26 16:25:44 christos Exp $ */ 41 #include <isccc/alist.h> 48 #define ALIST_TAG "*alist*" 56 isccc_sexpr_t *alist, *tag; in isccc_alist_create() 62 alist = isccc_sexpr_cons(tag, NULL); in isccc_alist_create() 63 if (alist == NULL) { in isccc_alist_create() 68 return alist; in isccc_alist_create() 72 isccc_alist_alistp(isccc_sexpr_t *alist) { 75 if (alist == NULL || alist in isccc_alist_alistp() 57 isccc_sexpr_t *alist, *tag; isccc_alist_create() local 73 isccc_alist_alistp(isccc_sexpr_t * alist) isccc_alist_alistp() argument 90 isccc_alist_emptyp(isccc_sexpr_t * alist) isccc_alist_emptyp() argument 100 isccc_alist_first(isccc_sexpr_t * alist) isccc_alist_first() argument 107 isccc_alist_assq(isccc_sexpr_t * alist,const char * key) isccc_alist_assq() argument 134 isccc_alist_delete(isccc_sexpr_t * alist,const char * key) isccc_alist_delete() argument 160 isccc_alist_define(isccc_sexpr_t * alist,const char * key,isccc_sexpr_t * value) isccc_alist_define() argument 195 isccc_alist_definestring(isccc_sexpr_t * alist,const char * key,const char * str) isccc_alist_definestring() argument 212 isccc_alist_definebinary(isccc_sexpr_t * alist,const char * key,isccc_region_t * r) isccc_alist_definebinary() argument 229 isccc_alist_lookup(isccc_sexpr_t * alist,const char * key) isccc_alist_lookup() argument 240 isccc_alist_lookupstring(isccc_sexpr_t * alist,const char * key,char ** strp) isccc_alist_lookupstring() argument 260 isccc_alist_lookupbinary(isccc_sexpr_t * alist,const char * key,isccc_region_t ** r) isccc_alist_lookupbinary() argument [all...] |
| H A D | cc.c | 46 #include <isccc/alist.h> 107 table_towire(isccc_sexpr_t *alist, isc_buffer_t **buffer); 110 list_towire(isccc_sexpr_t *alist, isc_buffer_t **buffer); 207 table_towire(isccc_sexpr_t *alist, isc_buffer_t **buffer) { 213 for (elt = isccc_alist_first(alist); elt != NULL; in table_towire() 316 isccc_cc_towire(isccc_sexpr_t *alist, isc_buffer_t **buffer, uint32_t algorithm, 362 isccc_alist_delete(alist, "_auth"); in isccc_cc_towire() 366 result = table_towire(alist, buffer); in isccc_cc_towire() 380 verify(isccc_sexpr_t *alist, unsigned char *data, unsigned int length, 394 _auth = isccc_alist_lookup(alist, "_aut in verify() 208 table_towire(isccc_sexpr_t * alist,isc_buffer_t ** buffer) table_towire() argument 317 isccc_cc_towire(isccc_sexpr_t * alist,isc_buffer_t ** buffer,uint32_t algorithm,isccc_region_t * secret) isccc_cc_towire() argument 381 verify(isccc_sexpr_t * alist,unsigned char * data,unsigned int length,uint32_t algorithm,isccc_region_t * secret) verify() argument 548 isccc_sexpr_t *alist, *value; table_fromwire() local 663 isccc_sexpr_t *alist, *_ctrl, *_data; createmessage() local 816 isccc_sexpr_t *alist, *_ctrl, *_data; isccc_cc_createresponse() local 875 isccc_cc_definestring(isccc_sexpr_t * alist,const char * key,const char * str) isccc_cc_definestring() argument 887 isccc_cc_defineuint32(isccc_sexpr_t * alist,const char * key,uint32_t i) isccc_cc_defineuint32() argument 901 isccc_cc_lookupstring(isccc_sexpr_t * alist,const char * key,char ** strp) isccc_cc_lookupstring() argument 923 isccc_cc_lookupuint32(isccc_sexpr_t * alist,const char * key,uint32_t * uintp) isccc_cc_lookupuint32() argument [all...] |
| H A D | Makefile.in | 159 am_libisccc_la_OBJECTS = $(am__objects_1) libisccc_la-alist.lo \ 185 am__depfiles_remade = ./$(DEPDIR)/libisccc_la-alist.Plo \ 506 include/isccc/alist.h \ 518 alist.c \ 619 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libisccc_la-alist.Plo@am__quote@ # am--include-marker 656 libisccc_la-alist.lo: alist.c 657 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libisccc_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libisccc_la-alist.lo -MD -MP -MF $(DEPDIR)/libisccc_la-alist.Tpo -c -o libisccc_la-alist [all...] |
| H A D | Makefile.am | 7 include/isccc/alist.h \ 19 alist.c \
|
| /netbsd-src/external/cddl/osnet/dist/lib/libuutil/common/ |
| H A D | uu_pname.c | 47 uu_die_internal(int status, const char *format, va_list alist) __NORETURN; 89 uu_warn_internal(int err, const char *format, va_list alist) in uu_warn_internal() argument 94 (void) vfprintf(stderr, format, alist); in uu_warn_internal() 101 uu_vwarn(const char *format, va_list alist) in uu_vwarn() argument 103 uu_warn_internal(errno, format, alist); in uu_vwarn() 110 va_list alist; in uu_warn() local 111 va_start(alist, format); in uu_warn() 112 uu_warn_internal(errno, format, alist); in uu_warn() 113 va_end(alist); in uu_warn() 117 uu_die_internal(int status, const char *format, va_list alist) in uu_die_internal() argument [all …]
|
| H A D | uu_dprintf.c | 100 va_list alist; in uu_dprintf() local 110 va_start(alist, format); in uu_dprintf() 111 (void) vfprintf(stderr, format, alist); in uu_dprintf() 112 va_end(alist); in uu_dprintf()
|
| /netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| H A D | alist.c | 49 struct alist { struct 82 alist_t *alist; in alist_xnew() local 84 alist = xcalloc(sizeof (alist_t)); in alist_xnew() 85 alist->al_elements = hash_new(nbuckets, hashfn, cmpfn); in alist_xnew() 86 alist->al_namefree = namefree; in alist_xnew() 87 alist->al_valfree = valfree; in alist_xnew() 89 return (alist); in alist_xnew() 103 alist_t *alist = arg2; in alist_free_cb() local 104 if (alist->al_namefree) in alist_free_cb() 105 alist->al_namefree(el->ale_name); in alist_free_cb() [all …]
|
| H A D | alist.h | 41 typedef struct alist alist_t;
|
| /netbsd-src/external/cddl/osnet/dist/tools/ctf/common/ |
| H A D | utils.c | 64 vwarn(const char *format, va_list alist) in vwarn() argument 71 (void) vfprintf(stderr, format, alist); in vwarn() 81 va_list alist; in warn() local 83 va_start(alist, format); in warn() 84 vwarn(format, alist); in warn() 85 va_end(alist); in warn() 89 vdie(const char *format, va_list alist) in vdie() argument 91 vwarn(format, alist); in vdie() 99 va_list alist; in die() local 101 va_start(alist, format); in die() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/isccc/include/isccc/ |
| H A D | alist.h | 1 /* $NetBSD: alist.h,v 1.8 2025/01/26 16:25:44 christos Exp $ */ 34 /*! \file isccc/alist.h */ 49 isccc_alist_alistp(isccc_sexpr_t *alist); 52 isccc_alist_emptyp(isccc_sexpr_t *alist); 55 isccc_alist_first(isccc_sexpr_t *alist); 58 isccc_alist_assq(isccc_sexpr_t *alist, const char *key); 61 isccc_alist_delete(isccc_sexpr_t *alist, const char *key); 64 isccc_alist_define(isccc_sexpr_t *alist, const char *key, isccc_sexpr_t *value); 67 isccc_alist_definestring(isccc_sexpr_t *alist, const char *key, 71 isccc_alist_definebinary(isccc_sexpr_t *alist, cons [all...] |
| H A D | cc.h | 74 isccc_cc_towire(isccc_sexpr_t *alist, isc_buffer_t **buffer, uint32_t algorithm, 107 isccc_cc_definestring(isccc_sexpr_t *alist, const char *key, const char *str); 111 isccc_cc_defineuint32(isccc_sexpr_t *alist, const char *key, uint32_t i); 115 isccc_cc_lookupstring(isccc_sexpr_t *alist, const char *key, char **strp); 119 isccc_cc_lookupuint32(isccc_sexpr_t *alist, const char *key, uint32_t *uintp);
|
| /netbsd-src/lib/libc/gen/ |
| H A D | extattr.c | 104 void *alist = NULL; in extattr_copy_fd() local 122 if ((alist = malloc((size_t)llen)) == NULL) in extattr_copy_fd() 125 llen = extattr_list_fd(from_fd, namespace, alist, (size_t)llen); in extattr_copy_fd() 137 alen = ((uint8_t *)alist)[i]; in extattr_copy_fd() 138 ap = ((char *)alist) + i + 1; in extattr_copy_fd() 164 free(alist); in extattr_copy_fd() 174 void *alist = NULL; in extattr_copy_file() local 192 if ((alist = malloc((size_t)llen)) == NULL) in extattr_copy_file() 195 llen = extattr_list_file(from, namespace, alist, (size_t)llen); in extattr_copy_file() 207 alen = ((uint8_t *)alist)[i]; in extattr_copy_file() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/libctf/ |
| H A D | ctf-subr.c | 186 va_list alist; in ctf_dprintf() local 188 va_start (alist, format); in ctf_dprintf() 191 (void) vfprintf (stderr, format, alist); in ctf_dprintf() 192 va_end (alist); in ctf_dprintf() 207 va_list alist; in ctf_err_warn() local 219 va_start (alist, format); in ctf_err_warn() 220 if (vasprintf (&cew->cew_text, format, alist) < 0) in ctf_err_warn() 223 va_end (alist); in ctf_err_warn() 226 va_end (alist); in ctf_err_warn()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
| H A D | ctf-subr.c | 186 va_list alist; in ctf_dprintf() local 188 va_start (alist, format); in ctf_dprintf() 191 (void) vfprintf (stderr, format, alist); in ctf_dprintf() 192 va_end (alist); in ctf_dprintf() 207 va_list alist; in ctf_err_warn() local 219 va_start (alist, format); in ctf_err_warn() 220 if (vasprintf (&cew->cew_text, format, alist) < 0) in ctf_err_warn() 223 va_end (alist); in ctf_err_warn() 226 va_end (alist); in ctf_err_warn()
|
| /netbsd-src/external/gpl3/binutils.old/dist/ld/ |
| H A D | mri.c | 133 struct section_name_struct *alist; in mri_draw_tree() local 139 for (alist = address; in mri_draw_tree() 140 alist != NULL; in mri_draw_tree() 141 alist = alist->next) in mri_draw_tree() 147 if (strcmp (alist->name, olist->name) == 0) in mri_draw_tree() 149 olist->vma = alist->vma; in mri_draw_tree() 157 mri_add_to_list (&order, alist->name, alist->vma, 0, 0, 0); in mri_draw_tree()
|
| /netbsd-src/external/gpl3/binutils/dist/ld/ |
| H A D | mri.c | 133 struct section_name_struct *alist; in mri_draw_tree() local 139 for (alist = address; in mri_draw_tree() 140 alist != NULL; in mri_draw_tree() 141 alist = alist->next) in mri_draw_tree() 147 if (strcmp (alist->name, olist->name) == 0) in mri_draw_tree() 149 olist->vma = alist->vma; in mri_draw_tree() 157 mri_add_to_list (&order, alist->name, alist->vma, 0, 0, 0); in mri_draw_tree()
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/ctf/ |
| H A D | ctf_subr.c | 89 va_list alist; in ctf_dprintf() local 91 va_start(alist, format); in ctf_dprintf() 93 (void) vprintf(format, alist); in ctf_dprintf() 94 va_end(alist); in ctf_dprintf()
|
| /netbsd-src/external/cddl/osnet/dist/lib/libctf/common/ |
| H A D | ctf_subr.c | 80 va_list alist; in ctf_dprintf() local 82 va_start(alist, format); in ctf_dprintf() 84 (void) vfprintf(stderr, format, alist); in ctf_dprintf() 85 va_end(alist); in ctf_dprintf()
|
| /netbsd-src/usr.bin/mail/ |
| H A D | mime_attach.c | 70 show_alist(struct attachment *alist, struct attachment *ap) 72 (void)printf("alist=%p ap=%p\n", alist, ap); 73 for (ap = alist; ap; ap = ap->a_flink) { 862 edit_attachlist(struct attachment *alist) in edit_attachlist() argument 871 ap = alist; in edit_attachlist() 873 SHOW_ALIST(alist, ap); in edit_attachlist() 895 alist = ap->a_flink; in edit_attachlist() 896 if (alist) in edit_attachlist() 897 alist->a_blink = NULL; in edit_attachlist() 923 if (alist == NULL || ap->a_flink == NULL) in edit_attachlist() [all …]
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | scp.c | 998 arglist alist; in toremote() local 1003 memset(&alist, '\0', sizeof(alist)); in toremote() 1004 alist.list = NULL; in toremote() 1114 freeargs(&alist); in toremote() 1115 addargs(&alist, "%s", ssh_program); in toremote() 1116 addargs(&alist, "-x"); in toremote() 1117 addargs(&alist, "-oClearAllForwardings=yes"); in toremote() 1118 addargs(&alist, "-n"); in toremote() 1120 addargs(&alist, "%s", in toremote() 1125 addargs(&alist, "-p"); in toremote() [all …]
|
| /netbsd-src/sys/dev/rcons/ |
| H A D | raster.h | 75 #define ARGS(alist) alist argument 77 #define ARGS(alist) () argument
|
| /netbsd-src/external/bsd/ipf/dist/tools/ |
| H A D | ipmon_y.y | 48 static ipmon_action_t *alist = NULL; variable 424 a->ac_next = alist; 425 alist = a; 461 for (a = alist; a != NULL; a = a->ac_next) { 692 while ((a = alist) != NULL) { in unload_config() 693 alist = a->ac_next; in unload_config() 723 for (a = alist; a != NULL; a = a->ac_next) { in dump_config() 827 for (a = alist; a != NULL; a = a->ac_next) {
|
| /netbsd-src/usr.sbin/rarpd/ |
| H A D | rarpd.c | 561 choose_ipaddr(u_int32_t **alist, u_int32_t net, u_int32_t netmask) argument 564 for (; *alist; ++alist) { 565 if ((**alist & netmask) == net) 566 return **alist;
|
| /netbsd-src/external/mpl/bind/lib/libisccc/ |
| H A D | Makefile | 15 SRCS= alist.c base64.c cc.c ccmsg.c sexpr.c symtab.c
|
| /netbsd-src/usr.sbin/npf/npfctl/ |
| H A D | npf_show.c | 433 unsigned alist; in npfctl_print_filter_seg() member 439 .alist = LIST_SADDR, in npfctl_print_filter_seg() 445 .alist = LIST_DADDR, in npfctl_print_filter_seg() 456 list = &ctx->list[refs[which].alist]; in npfctl_print_filter_seg()
|