/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | ranlib.sh | 3 ar s "$1"
|
H A D | sanity.sh | 17 for i in size objdump nm ar strip ranlib ; do 22 for i in size objdump nm ar strip ranlib ; do 27 for i in size objdump nm ar strip ranlib ; do 37 for i in size objdump nm ar ranlib ; do 44 ### ar
|
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | elf_getarsym.c | 34 elf_getarsym(Elf *ar, size_t *ptr) argument 42 if (ar == NULL || ar->e_kind != ELF_K_AR) 44 else if ((symtab = ar->e_u.e_ar.e_symtab) != NULL) 45 n = ar->e_u.e_ar.e_symtabsz; 46 else if (ar->e_u.e_ar.e_rawsymtab) 47 symtab = (ar->e_flags & LIBELF_F_AR_VARIANT_SVR4) ? 48 _libelf_ar_process_svr4_symtab(ar, &n) : 49 _libelf_ar_process_bsd_symtab(ar, &n);
|
H A D | elf_rand.c | 27 #include <ar.h> 35 elf_rand(Elf *ar, off_t offset) argument 40 if (ar == NULL || ar->e_kind != ELF_K_AR || 42 offset >= ar->e_rawsize) { 50 offset_of_member >= ar->e_rawsize) { 55 arh = (struct ar_hdr *) (ar->e_rawfile + offset); 63 ar->e_u.e_ar.e_next = offset;
|
/freebsd-11-stable/usr.bin/clang/llvm-ar/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/usr.bin/clang/llvm-ar/Makefile 363496 2020-07-24 20:54:07Z dim $ 3 PROG_CXX= llvm-ar 4 MAN= llvm-ar.1 llvm-ranlib.1 6 SRCDIR= llvm/tools/llvm-ar 7 SRCS+= llvm-ar.cpp 11 LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib
|
/freebsd-11-stable/sys/security/audit/ |
H A D | audit_arg.c | 67 struct kaudit_record *ar; local 69 ar = currecord(); 70 if (ar == NULL) 73 ar->k_ar.ar_arg_addr = addr; 74 ARG_SET_VALID(ar, ARG_ADDR); 80 struct kaudit_record *ar; local 82 ar = currecord(); 83 if (ar == NULL) 86 ar->k_ar.ar_arg_exitstatus = status; 87 ar 94 struct kaudit_record *ar; local 107 struct kaudit_record *ar; local 120 struct kaudit_record *ar; local 133 struct kaudit_record *ar; local 146 struct kaudit_record *ar; local 159 struct kaudit_record *ar; local 172 struct kaudit_record *ar; local 185 struct kaudit_record *ar; local 198 struct kaudit_record *ar; local 211 struct kaudit_record *ar; local 224 struct kaudit_record *ar; local 237 struct kaudit_record *ar; local 250 struct kaudit_record *ar; local 264 struct kaudit_record *ar; local 286 struct kaudit_record *ar; local 299 struct kaudit_record *ar; local 313 struct kaudit_record *ar; local 326 struct kaudit_record *ar; local 339 struct kaudit_record *ar; local 352 struct kaudit_record *ar; local 365 struct kaudit_record *ar; local 379 struct kaudit_record *ar; local 392 struct kaudit_record *ar; local 419 struct kaudit_record *ar; local 432 struct kaudit_record *ar; local 447 struct kaudit_record *ar; local 480 struct kaudit_record *ar; local 493 struct kaudit_record *ar; local 511 struct kaudit_record *ar; local 533 struct kaudit_record *ar; local 555 struct kaudit_record *ar; local 568 struct kaudit_record *ar; local 581 struct kaudit_record *ar; local 595 struct kaudit_record *ar; local 608 struct kaudit_record *ar; local 621 struct kaudit_record *ar; local 636 struct kaudit_record *ar; local 654 struct kaudit_record *ar; local 725 struct kaudit_record *ar; local 738 struct kaudit_record *ar; local 793 struct kaudit_record *ar; local 809 struct kaudit_record *ar; local 828 struct kaudit_record *ar; local 849 struct kaudit_record *ar; local 867 struct kaudit_record *ar; local 880 struct kaudit_record *ar; local 899 struct kaudit_record *ar; local [all...] |
H A D | audit_bsm.c | 59 static void audit_sys_auditon(struct audit_record *ar, 183 * XXXAUDIT: These macros assume that 'kar', 'ar', 'rec', and 'tok' in the 188 tok = au_to_arg32(argnum, "at fd 1", ar->ar_arg_atfd1); \ 195 tok = au_to_arg32(argnum, "at fd 2", ar->ar_arg_atfd2); \ 202 tok = au_to_path(ar->ar_arg_upath1); \ 209 tok = au_to_path(ar->ar_arg_upath2); \ 216 tok = au_to_arg32(1, "at fd", ar->ar_arg_atfd); \ 220 tok = au_to_attr32(&ar->ar_arg_vnode1); \ 228 tok = au_to_attr32(&ar->ar_arg_vnode1); \ 235 tok = au_to_attr32(&ar 319 audit_sys_auditon(struct audit_record *ar, struct au_record *rec) argument 465 struct audit_record *ar; local [all...] |
H A D | audit.c | 212 struct kaudit_record *ar; local 217 KASSERT(sizeof(*ar) == size, ("audit_record_ctor: wrong size")); 220 ar = mem; 221 bzero(ar, sizeof(*ar)); 222 ar->k_ar.ar_magic = AUDIT_RECORD_MAGIC; 223 nanotime(&ar->k_ar.ar_starttime); 229 cru2x(cred, &ar->k_ar.ar_subj_cred); 230 ar->k_ar.ar_subj_ruid = cred->cr_ruid; 231 ar 255 struct kaudit_record *ar; local 370 struct kaudit_record *ar; local 395 audit_free(struct kaudit_record *ar) argument 402 audit_commit(struct kaudit_record *ar, int error, int retval) argument 666 struct kaudit_record *ar; local [all...] |
H A D | audit_worker.c | 326 audit_worker_process_record(struct kaudit_record *ar) argument 340 if (((ar->k_ar_commit & AR_COMMIT_USER) && 341 (ar->k_ar_commit & AR_PRESELECT_USER_TRAIL)) || 342 (ar->k_ar_commit & AR_PRESELECT_TRAIL)) { 352 if ((ar->k_ar_commit & AR_COMMIT_USER) && 353 (ar->k_ar_commit & AR_PRESELECT_USER_TRAIL)) { 355 audit_record_write(audit_vp, audit_cred, ar->k_udata, 356 ar->k_ulen); 359 if ((ar->k_ar_commit & AR_COMMIT_USER) && 360 (ar 421 struct kaudit_record *ar; local [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_archive_read_add_passphrase.c | 62 struct archive_read *ar = (struct archive_read *)a; local 68 assertEqualString(NULL, __archive_read_next_passphrase(ar)); 76 struct archive_read *ar = (struct archive_read *)a; local 80 __archive_read_reset_passphrase(ar); 82 assertEqualString("pass1", __archive_read_next_passphrase(ar)); 85 assertEqualString(NULL, __archive_read_next_passphrase(ar)); 93 struct archive_read *ar = (struct archive_read *)a; local 98 __archive_read_reset_passphrase(ar); 100 assertEqualString("pass1", __archive_read_next_passphrase(ar)); 102 assertEqualString("pass2", __archive_read_next_passphrase(ar)); 121 struct archive_read *ar = (struct archive_read *)a; local 165 struct archive_read *ar = (struct archive_read *)a; local 184 struct archive_read *ar = (struct archive_read *)a; local 206 struct archive_read *ar = (struct archive_read *)a; local 231 struct archive_read *ar = (struct archive_read *)a; local [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_ar.c | 52 struct ar { struct 67 * Define structure of the "ar" header. 94 static int ar_parse_common_header(struct ar *ar, struct archive_entry *, 101 struct ar *ar; local 107 ar = (struct ar *)calloc(1, sizeof(*ar)); 108 if (ar 138 struct ar *ar; local 167 _ar_read_header(struct archive_read *a, struct archive_entry *entry, struct ar *ar, const char *h, size_t *unconsumed) argument 423 struct ar *ar = (struct ar*)(a->format->data); local 456 ar_parse_common_header(struct ar *ar, struct archive_entry *entry, const char *h) argument 485 struct ar *ar; local 534 struct ar* ar; local 554 struct ar *ar; local [all...] |
H A D | archive_write_set_format_ar.c | 57 * Define structure of the "ar" header. 97 a->archive.archive_format_name = "ar (BSD)"; 113 a->archive.archive_format_name = "ar (GNU/SVR4)"; 124 struct ar_w *ar; local 130 ar = (struct ar_w *)calloc(1, sizeof(*ar)); 131 if (ar == NULL) { 132 archive_set_error(&a->archive, ENOMEM, "Can't allocate ar data"); 135 a->format_data = ar; 137 a->format_name = "ar"; 152 struct ar_w *ar; local 369 struct ar_w *ar; local 405 struct ar_w *ar; local 425 struct ar_w *ar; local 445 struct ar_w *ar; local [all...] |
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_pro_arange.c | 46 Dwarf_Arange ar; local 60 if ((ar = calloc(1, sizeof(struct _Dwarf_Arange))) == NULL) { 64 ar->ar_as = as; 65 ar->ar_address = start; 66 ar->ar_range = length; 67 ar->ar_symndx = symbol_index; 68 ar->ar_esymndx = end_symbol_index; 69 ar->ar_eoff = offset_from_end_symbol; 70 STAILQ_INSERT_TAIL(&as->as_arlist, ar, ar_next);
|
H A D | dwarf_arange.c | 62 Dwarf_Arange ar; local 79 ar = arlist[i]; 80 if (addr >= ar->ar_address && addr < ar->ar_address + 81 ar->ar_range) { 82 *ret_arange = ar; 93 dwarf_get_cu_die_offset(Dwarf_Arange ar, Dwarf_Off *ret_offset, argument 99 if (ar == NULL) { 104 as = ar->ar_as; 120 dwarf_get_arange_cu_header_offset(Dwarf_Arange ar, Dwarf_Of argument 144 dwarf_get_arange_info(Dwarf_Arange ar, Dwarf_Addr *start, Dwarf_Unsigned *length, Dwarf_Off *cu_die_offset, Dwarf_Error *error) argument [all...] |
H A D | libdwarf_arange.c | 35 Dwarf_Arange ar, tar; local 38 STAILQ_FOREACH_SAFE(ar, &as->as_arlist, ar_next, tar) { 39 STAILQ_REMOVE(&as->as_arlist, ar, _Dwarf_Arange, 41 free(ar); 59 Dwarf_Arange ar; local 125 if ((ar = calloc(1, sizeof(struct _Dwarf_Arange))) == 130 ar->ar_as = as; 131 ar->ar_address = addr; 132 ar->ar_range = range; 133 STAILQ_INSERT_TAIL(&as->as_arlist, ar, ar_nex 170 Dwarf_Arange ar; local 247 Dwarf_Arange ar, tar; local [all...] |
/freebsd-11-stable/usr.bin/ar/ |
H A D | Makefile | 5 PROG= ar 6 SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h 17 LINKS= ${BINDIR}/ar ${BINDIR}/ranlib 18 MLINKS= ar.1 ranlib.1
|
/freebsd-11-stable/contrib/elftoolchain/ar/ |
H A D | Makefile | 5 PROG= ar 6 SRCS= ar.c read.c util.c write.c 17 LINKS= ${BINDIR}/ar ${BINDIR}/ranlib 23 MAN= ar.1 ranlib.1 ar.5
|
/freebsd-11-stable/sys/fs/autofs/ |
H A D | autofs.c | 276 struct autofs_request *ar; local 278 ar = context; 282 ar->ar_id, ar->ar_path, autofs_timeout); 286 ar->ar_error = ETIMEDOUT; 287 ar->ar_wildcards = true; 288 ar->ar_done = true; 289 ar->ar_in_progress = false; 390 struct autofs_request *ar; local 410 TAILQ_FOREACH(ar, 550 struct autofs_request *ar; local 595 struct autofs_request *ar; local 623 struct autofs_request *ar; local [all...] |
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | arp.c | 69 struct arpreq ar; local 83 bzero((char *)&ar, sizeof(ar)); 84 sin = (struct sockaddr_in *)&ar.arp_pa; 102 if (ioctl(sfd, SIOCGARP, (caddr_t)&ar) == -1) 123 if ((ar.arp_ha.sa_data[0] == 0) && (ar.arp_ha.sa_data[1] == 0) && 124 (ar.arp_ha.sa_data[2] == 0) && (ar.arp_ha.sa_data[3] == 0) && 125 (ar [all...] |
/freebsd-11-stable/release/picobsd/tinyware/help/ |
H A D | help.c | 33 #include <ar.h> 89 struct ar_hdr ar; local 98 if (fread((void *)&ar, sizeof ar, 1, fd)!=1) return 1; 99 if (strncmp(ar.ar_fmag, ARFMAG, 2)) return 1; 101 p=ar.ar_size; 105 } while (p<&ar.ar_size[sizeof ar.ar_size]); 106 if (!strncmp(ar.ar_name, aname, strlen(aname))) break; 134 while (fread((void *)&ar, sizeo [all...] |
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_linux_list_sort.c | 58 struct list_head **ar, *le; local 64 ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK); 67 ar[i++] = le; 70 qsort_r(ar, count, sizeof(struct list_head *), &thunk, drm_le_cmp); 73 list_add_tail(ar[i], head); 74 free(ar, M_TEMP);
|
/freebsd-11-stable/contrib/libucl/tests/ |
H A D | test_streamline.c | 32 ucl_object_t *obj, *cur, *ar; local 71 ar = ucl_object_typed_new (UCL_ARRAY); 72 ar->key = "key4"; 73 ar->keylen = sizeof ("key4") - 1; 75 ucl_object_emit_streamline_start_container (ctx, ar);
|
/freebsd-11-stable/crypto/heimdal/base/ |
H A D | heimbase.c | 126 heim_auto_release_t ar = p->autorelpool; local 128 if (ar) { 130 HEIMDAL_MUTEX_lock(&ar->pool_mutex); 131 HEIM_TAILQ_REMOVE(&ar->pool, p, autorel); 132 HEIMDAL_MUTEX_unlock(&ar->pool_mutex); 439 heim_auto_release_t ar = ptr; local 446 heim_auto_release_drain(ar); 448 if (!HEIM_TAILQ_EMPTY(&ar->pool)) 456 tls->current = ar->parent; 491 heim_auto_release_t ar; local 518 heim_auto_release_t ar; local [all...] |
/freebsd-11-stable/contrib/elftoolchain/ar/benchmark/ |
H A D | acp.sh | 7 AR="bsdar gnuar" # ar archivers to compare 30 # ar versions 31 for ar in $AR; do echo -n "$ar: "; $ar -V | head -n 1; 44 for ar in $AR; do 45 echo -n "$ar " 55 time $ar $op > /dev/null 2>> /tmp/acp
|
/freebsd-11-stable/contrib/netbsd-tests/lib/csu/arch/ia64/ |
H A D | h_initfini_align.S | 11 alloc loc0 = ar.pfs, 0, 2, 0, 0 17 /* ar.bsp has an 8-byte alignment requirement */ 18 mov loc1 = ar.bsp
|