/freebsd-13-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-13-stable/usr.bin/clang/llvm-ar/ |
H A D | Makefile | 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-13-stable/sys/security/audit/ |
H A D | audit_arg.c | 75 struct kaudit_record *ar; local 77 ar = currecord(); 78 if (ar == NULL) 81 ar->k_ar.ar_arg_addr = addr; 82 ARG_SET_VALID(ar, ARG_ADDR); 88 struct kaudit_record *ar; local 90 ar = currecord(); 91 if (ar == NULL) 94 ar->k_ar.ar_arg_exitstatus = status; 95 ar 102 struct kaudit_record *ar; local 115 struct kaudit_record *ar; local 128 struct kaudit_record *ar; local 141 struct kaudit_record *ar; local 154 struct kaudit_record *ar; local 167 struct kaudit_record *ar; local 180 struct kaudit_record *ar; local 193 struct kaudit_record *ar; local 206 struct kaudit_record *ar; local 219 struct kaudit_record *ar; local 232 struct kaudit_record *ar; local 245 struct kaudit_record *ar; local 258 struct kaudit_record *ar; local 272 struct kaudit_record *ar; local 294 struct kaudit_record *ar; local 307 struct kaudit_record *ar; local 321 struct kaudit_record *ar; local 334 struct kaudit_record *ar; local 347 struct kaudit_record *ar; local 360 struct kaudit_record *ar; local 373 struct kaudit_record *ar; local 387 struct kaudit_record *ar; local 400 struct kaudit_record *ar; local 427 struct kaudit_record *ar; local 440 struct kaudit_record *ar; local 455 struct kaudit_record *ar; local 488 struct kaudit_record *ar; local 501 struct kaudit_record *ar; local 519 struct kaudit_record *ar; local 541 struct kaudit_record *ar; local 563 struct kaudit_record *ar; local 576 struct kaudit_record *ar; local 589 struct kaudit_record *ar; local 603 struct kaudit_record *ar; local 616 struct kaudit_record *ar; local 629 struct kaudit_record *ar; local 642 struct kaudit_record *ar; local 657 struct kaudit_record *ar; local 675 struct kaudit_record *ar; local 747 struct kaudit_record *ar; local 760 struct kaudit_record *ar; local 784 struct kaudit_record *ar; local 798 struct kaudit_record *ar; local 827 struct kaudit_record *ar; local 840 struct kaudit_record *ar; local 895 struct kaudit_record *ar; local 911 struct kaudit_record *ar; local 930 struct kaudit_record *ar; local 951 struct kaudit_record *ar; local 969 struct kaudit_record *ar; local 982 struct kaudit_record *ar; local 1000 struct kaudit_record *ar; local [all...] |
H A D | audit_bsm.c | 67 static void audit_sys_auditon(struct audit_record *ar, 192 * XXXAUDIT: These macros assume that 'kar', 'ar', 'rec', and 'tok' in the 197 tok = au_to_arg32(argnum, "at fd 1", ar->ar_arg_atfd1); \ 204 tok = au_to_arg32(argnum, "at fd 2", ar->ar_arg_atfd2); \ 211 tok = au_to_path(ar->ar_arg_upath1); \ 218 tok = au_to_path(ar->ar_arg_upath2); \ 225 tok = au_to_arg32(1, "at fd", ar->ar_arg_atfd); \ 229 tok = au_to_attr32(&ar->ar_arg_vnode1); \ 237 tok = au_to_attr32(&ar->ar_arg_vnode1); \ 244 tok = au_to_attr32(&ar 327 audit_sys_auditon(struct audit_record *ar, struct au_record *rec) argument 473 struct audit_record *ar; local [all...] |
H A D | audit.c | 265 struct kaudit_record *ar; local 270 KASSERT(sizeof(*ar) == size, ("audit_record_ctor: wrong size")); 273 ar = mem; 274 bzero(ar, sizeof(*ar)); 275 ar->k_ar.ar_magic = AUDIT_RECORD_MAGIC; 276 nanotime(&ar->k_ar.ar_starttime); 282 cru2x(cred, &ar->k_ar.ar_subj_cred); 283 ar->k_ar.ar_subj_ruid = cred->cr_ruid; 284 ar 308 struct kaudit_record *ar; local 423 struct kaudit_record *ar; local 441 audit_free(struct kaudit_record *ar) argument 448 audit_commit(struct kaudit_record *ar, int error, int retval) argument 793 struct kaudit_record *ar; local [all...] |
H A D | audit_worker.c | 334 audit_worker_process_record(struct kaudit_record *ar) argument 348 if (((ar->k_ar_commit & AR_COMMIT_USER) && 349 (ar->k_ar_commit & AR_PRESELECT_USER_TRAIL)) || 350 (ar->k_ar_commit & AR_PRESELECT_TRAIL)) { 360 if ((ar->k_ar_commit & AR_COMMIT_USER) && 361 (ar->k_ar_commit & AR_PRESELECT_USER_TRAIL)) { 363 audit_record_write(audit_vp, audit_cred, ar->k_udata, 364 ar->k_ulen); 367 if ((ar->k_ar_commit & AR_COMMIT_USER) && 368 (ar 441 struct kaudit_record *ar; local [all...] |
/freebsd-13-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-13-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-13-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-13-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-13-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-13-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-13-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-13-stable/sys/dev/drm2/ |
H A D | drm_linux_list_sort.c | 60 struct list_head **ar, *le; local 66 ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK); 69 ar[i++] = le; 72 qsort_r(ar, count, sizeof(struct list_head *), &thunk, drm_le_cmp); 75 list_add_tail(ar[i], head); 76 free(ar, M_TEMP);
|
/freebsd-13-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-13-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-13-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-13-stable/crypto/openssl/crypto/ |
H A D | ia64cpuid.S | 26 { .mib; mov r8=ar.itc 38 { .mii; mov ar.ccv=r2 42 cmpxchg4.acq r2=[r32],r8,ar.ccv 65 .save ar.pfs,r2 66 .save ar.lc,r3 67 { .mib; alloc r2=ar.pfs,0,96,0,96 68 mov r3=ar.lc 71 { .mii; mov r9=ar.bsp 73 mov ar.lc=96 };; 76 mov ar [all...] |
/freebsd-13-stable/contrib/lua/src/ |
H A D | ldblib.c | 150 lua_Debug ar; local 161 if (!lua_getstack(L1, (int)luaL_checkinteger(L, arg + 1), &ar)) { 166 if (!lua_getinfo(L1, options, &ar)) 170 lua_pushlstring(L, ar.source, ar.srclen); 172 settabss(L, "short_src", ar.short_src); 173 settabsi(L, "linedefined", ar.linedefined); 174 settabsi(L, "lastlinedefined", ar.lastlinedefined); 175 settabss(L, "what", ar.what); 178 settabsi(L, "currentline", ar 212 lua_Debug ar; local 237 lua_Debug ar; local 322 hookf(lua_State *L, lua_Debug *ar) argument [all...] |
/freebsd-13-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
|
/freebsd-13-stable/sys/contrib/openzfs/module/lua/ |
H A D | ldebug.c | 89 LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar) { argument 98 ar->i_ci = ci; 150 LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n) { argument 154 if (ar == NULL) { /* information about non-active function? */ 160 else { /* active function; get information through 'ar' */ 162 name = findlocal(L, ar->i_ci, n, &pos); 174 LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n) { argument 179 name = findlocal(L, ar->i_ci, n, &pos); 189 static void funcinfo (lua_Debug *ar, Closure *cl) { argument 191 ar 226 auxgetinfo(lua_State *L, const char *what, lua_Debug *ar, Closure *f, CallInfo *ci) argument 277 lua_getinfo(lua_State *L, const char *what, lua_Debug *ar) argument [all...] |