/illumos-gate/usr/src/cmd/sgs/libelf/misc/ |
H A D | args.c | 113 Arg_Remem ar; in demangle_doarg() local 114 mkar(&ar); in demangle_doarg() 131 delar(&ar); in demangle_doarg() 136 delar(&ar); in demangle_doarg() 147 delar(&ar); in demangle_doarg() 159 delar(&ar); in demangle_doarg() 165 ar.Sign = 1; in demangle_doarg() 168 ar.Uns = 1; in demangle_doarg() 171 ar.Cons = 1; in demangle_doarg() 174 ar.Vol = 1; in demangle_doarg() [all …]
|
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | ar.msg | 29 # Message file for cmd/sgs/ar. 33 @ MSG_USAGE "usage: ar -d[-SvV] archive file ...\n \ 34 ar -m[-abiSvV] [posname] archive file ...\n \ 35 ar -p[-vV][-sS] archive [file ...]\n \ 36 ar -q[-csuvSV] [file ...]\n \ 37 ar -r[-cuvSV] [-abi] [posname] [file ...]\n \ 38 ar -s[-vV] archive\n \ 39 ar -t[-vV][-sS] archive [file ...]\n \ 40 ar -x[-vV][-sSCT] archive [file ...]\n" 42 @ MSG_MALLOC "ar: could not allocate memory: %s\n" [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | arp.c | 220 struct xarpreq ar; in set() local 229 (void) memset(&ar, 0, sizeof (ar)); in set() 230 sin = (struct sockaddr_in *)&ar.xarp_pa; in set() 253 ar.xarp_ha.sdl_alen = s; in set() 254 (void) memcpy(LLADDR(&ar.xarp_ha), ea, ar.xarp_ha.sdl_alen); in set() 256 ar.xarp_ha.sdl_family = AF_LINK; in set() 257 ar.xarp_flags = ATF_PERM; in set() 260 ar.xarp_flags &= ~ATF_PERM; in set() 262 ar.xarp_flags |= ATF_PUBL; in set() 264 ar.xarp_flags |= ATF_USETRAILERS; in set() [all …]
|
H A D | in.rarpd.c | 665 struct xarpreq ar; in add_arp() local 672 (void) memset(&ar, 0, sizeof (ar)); in add_arp() 673 ar.xarp_pa.ss_family = AF_INET; in add_arp() 674 sin = (struct sockaddr_in *)&ar.xarp_pa; in add_arp() 686 (void) memcpy(LLADDR(&ar.xarp_ha), laddr, rdev->physaddrlen); in add_arp() 687 ar.xarp_ha.sdl_alen = rdev->physaddrlen; in add_arp() 688 ar.xarp_ha.sdl_family = AF_LINK; in add_arp() 690 (char *)&ar); in add_arp() 692 (char *)&ar) < 0) in add_arp()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpc_prot.c | 89 xdr_accepted_reply(XDR *xdrs, struct accepted_reply *ar) in xdr_accepted_reply() argument 92 if (!xdr_opaque_auth(xdrs, &(ar->ar_verf))) in xdr_accepted_reply() 94 if (!xdr_enum(xdrs, (enum_t *)&(ar->ar_stat))) in xdr_accepted_reply() 97 switch (ar->ar_stat) { in xdr_accepted_reply() 99 return ((*(ar->ar_results.proc))(xdrs, ar->ar_results.where)); in xdr_accepted_reply() 102 if (!xdr_rpcvers(xdrs, &(ar->ar_vers.low))) in xdr_accepted_reply() 104 return (xdr_rpcvers(xdrs, &(ar->ar_vers.high))); in xdr_accepted_reply() 144 struct accepted_reply *ar; in xdr_replymsg() local 156 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg() 157 oa = &ar->ar_verf; in xdr_replymsg() [all …]
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4u_memlist.c | 59 static void sort_reglist(struct sun4u_prom_memlist *ar, size_t size); 132 sort_reglist(struct sun4u_prom_memlist *ar, size_t n) in sort_reglist() argument 141 if (ar[j].addr < ar[min].addr) in sort_reglist() 147 temp = ar[min]; in sort_reglist() 148 ar[min] = ar[i]; in sort_reglist() 149 ar[i] = temp; in sort_reglist() 160 reg_to_list(struct sun4u_prom_memlist *ar, size_t n, struct memlist *old) in reg_to_list() argument 182 start1 = ar[i].addr; in reg_to_list() 183 start2 = ar[i+1].addr; in reg_to_list() 184 if (i < n-1 && (start1 + ar[i].size == start2)) { in reg_to_list() [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_prot.c | 81 xdr_accepted_reply(XDR *xdrs, struct accepted_reply *ar) in xdr_accepted_reply() argument 84 if (!xdr_opaque_auth(xdrs, &(ar->ar_verf))) in xdr_accepted_reply() 86 if (!xdr_enum(xdrs, (enum_t *)&(ar->ar_stat))) in xdr_accepted_reply() 89 switch (ar->ar_stat) { in xdr_accepted_reply() 91 return ((*(ar->ar_results.proc))(xdrs, ar->ar_results.where)); in xdr_accepted_reply() 93 if (!xdr_u_int(xdrs, (uint_t *)&(ar->ar_vers.low))) in xdr_accepted_reply() 95 return (xdr_u_int(xdrs, (uint_t *)&(ar->ar_vers.high))); in xdr_accepted_reply() 128 struct accepted_reply *ar; in xdr_replymsg() local 140 ar = &rmsg->rm_reply.rp_acpt; in xdr_replymsg() 141 oa = &ar->ar_verf; in xdr_replymsg() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ldebug.c | 90 LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar) { in lua_getstack() argument 99 ar->i_ci = ci; in lua_getstack() 151 LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n) { in lua_getlocal() argument 155 if (ar == NULL) { /* information about non-active function? */ in lua_getlocal() 163 name = findlocal(L, ar->i_ci, n, &pos); in lua_getlocal() 175 LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n) { in lua_setlocal() argument 180 name = findlocal(L, ar->i_ci, n, &pos); in lua_setlocal() 190 static void funcinfo (lua_Debug *ar, Closure *cl) { in funcinfo() argument 192 ar->source = "=[C]"; in funcinfo() 193 ar->linedefined = -1; in funcinfo() [all …]
|
H A D | lauxlib.c | 62 static int pushglobalfuncname (lua_State *L, lua_Debug *ar) { in pushglobalfuncname() argument 64 lua_getinfo(L, "f", ar); /* push function */ in pushglobalfuncname() 78 static void pushfuncname (lua_State *L, lua_Debug *ar) { in pushfuncname() argument 79 if (*ar->namewhat != '\0') /* is there a name? */ in pushfuncname() 80 lua_pushfstring(L, "function " LUA_QS, ar->name); in pushfuncname() 81 else if (*ar->what == 'm') /* main? */ in pushfuncname() 83 else if (*ar->what == 'C') { in pushfuncname() 84 if (pushglobalfuncname(L, ar)) { in pushfuncname() 92 lua_pushfstring(L, "function <%s:%d>", ar->short_src, ar->linedefined); in pushfuncname() 97 lua_Debug ar; in countlevels() local [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | hunt6.c | 42 char res[100], *ar[50], output[TXTLEN], *mput; in baddrop() local 108 ar[na++] = "fgrep"; in baddrop() 109 ar[na++] = "-r"; in baddrop() 110 ar[na++] = "-n"; in baddrop() 111 ar[na++] = (char *)need; in baddrop() 112 ar[na++] = "-i"; in baddrop() 113 ar[na++] = output; in baddrop() 114 ar[na++] = (char *)len; in baddrop() 116 ar[na++] = qitem[j]; in baddrop() 119 len, ar[4], ar[5], ar[6]); in baddrop() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | arrays2.sh | 142 unset ar x y 143 integer -a ar 146 do (( ar[y][x++]=i )) 151 [[ ${ar[5][5]} == 55 ]] || err_exit "ar[5][5] is '${ar[5][5]}', should be 55" 153 unset ar 154 integer -a ar 157 do nameref ar_y=ar[$y] 164 [[ ${ar[4][4]} == 40 ]] || err_exit "ar[4][4] is '${ar[4][4]}', should be 40" 170 float c.ar 171 c.ar[2][3][3]=5 [all …]
|
H A D | treemove.sh | 105 typeset -C -a c.ar 106 c.ar[4]=( a4=1 ) 132 compound -a ar 133 moveme ar[4] a 2> /dev/null || err_exit 'function moveme fails' 135 …[[ $(print -v ar) == "$exp" ]] || err_exit 'typeset -m dest=src where dest and src are name refere…
|
/illumos-gate/usr/src/lib/libuuid/common/ |
H A D | etheraddr.c | 51 struct arpreq ar; in arp_get() local 59 (void) memset(&ar, 0, sizeof (ar)); in arp_get() 60 ar.arp_pa.sa_family = AF_INET; in arp_get() 62 sin = (struct sockaddr_in *)&ar.arp_pa; in arp_get() 77 if (ioctl(s, SIOCGARP, (caddr_t)&ar) < 0) { in arp_get() 82 if (ar.arp_flags & ATF_COM) { in arp_get() 83 bcopy(&ar.arp_ha.sa_data, node, 6); in arp_get()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | lc.tab | 31 ar arabic ara iso8859-6 172 ar argentina es 178 bn brunei-darussalam ar 197 eg egypt ar 213 iq iraq ar 217 jo jordan ar 221 kw kuwait ar 222 lb lebanon ar 227 ly libya ar 228 ma morocco ar [all …]
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | common.c | 120 struct xarpreq ar; in pseudo_serialno_from_addr() local 125 memset(&ar, 0, sizeof (ar)); in pseudo_serialno_from_addr() 129 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&ar.xarp_pa; in pseudo_serialno_from_addr() 135 struct sockaddr_in *sin = (struct sockaddr_in *)&ar.xarp_pa; in pseudo_serialno_from_addr() 143 ar.xarp_ha.sdl_family = AF_LINK; in pseudo_serialno_from_addr() 144 (void) ioctl(sd, SIOCGXARP, (caddr_t)&ar); in pseudo_serialno_from_addr() 148 if (ar.xarp_flags & ATF_COM) { /* use the MAC address */ in pseudo_serialno_from_addr() 149 uchar_t *ea = (uchar_t *)LLADDR(&ar.xarp_ha); in pseudo_serialno_from_addr() 151 addr_to_string("LLADDR-", ea, ar.xarp_ha.sdl_alen, in pseudo_serialno_from_addr() 158 struct sockaddr_in *sin = (struct sockaddr_in *)&ar.xarp_pa; in pseudo_serialno_from_addr()
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | main.c | 463 ar, rl.rlim_cur); in audit_stats() 468 ar, filenum, pcbnum, total_procs, total_layers); in audit_stats() 630 ar, fcb->fcb_file); in delete_infiles() 659 ar, f_outtemp); in rm_outfile() 667 ar, in rm_outfile() 686 ar, f_outfile ? f_outfile : "standard output"); in close_outfile() 743 ar, in write_file_token() 749 ar, in write_file_token() 827 ar, f_outtemp, f_newfile); in rename_outfile() 835 ar, f_outtemp, f_outfile); in rename_outfile() [all …]
|
H A D | proc.c | 142 gettext("%s couldn't close pipe.\n"), ar); 151 ar, nprecs); 258 ar, fcb->fcb_file); 285 ar, error_str, fcb->fcb_file); 291 ar, fcb->fcb_file); 357 ar, f_outfile ? f_outfile : gettext("stdout")); 501 ar, (pcb->pcb_cur)->fcb_file); 547 (void) fprintf(stderr, gettext("%s read error in %s at record %d.\n"), ar, 551 (void) fprintf(stderr, gettext("%s read error in pipe at record %d.\n"), ar, 572 ar, str); [all …]
|
/illumos-gate/usr/src/cmd/sgs/ar/ |
H A D | Makefile.com | 27 PROG= ar 28 XPG4PROG= ar 56 BLTMESG = $(SGSMSGDIR)/ar 60 SGSMSGCOM = ../common/ar.msg
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_name_service.c | 356 struct xarpreq ar; in dapls_ns_lookup_v4() local 361 (void) dapl_os_memzero(&ar, sizeof (ar)); in dapls_ns_lookup_v4() 362 sin = (struct sockaddr_in *)&ar.xarp_pa; in dapls_ns_lookup_v4() 365 ar.xarp_ha.sdl_family = AF_LINK; in dapls_ns_lookup_v4() 378 if (ioctl(s, SIOCGXARP, (caddr_t)&ar) < 0) { in dapls_ns_lookup_v4() 395 if ((ar.xarp_flags & ATF_COM) == 0 && in dapls_ns_lookup_v4() 396 ar.xarp_ha.sdl_type == IFT_IB && retries <= NS_MAX_RETRIES) { in dapls_ns_lookup_v4() 406 mac = (uchar_t *)LLADDR(&ar.xarp_ha); in dapls_ns_lookup_v4() 407 if (ar.xarp_flags & ATF_COM && in dapls_ns_lookup_v4() 408 ar.xarp_ha.sdl_type == IFT_IB && in dapls_ns_lookup_v4() [all …]
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_decl.c | 93 ctf_arinfo_t ar; in ctf_decl_push() local 102 (void) ctf_array_info(fp, type, &ar); in ctf_decl_push() 103 ctf_decl_push(cd, fp, ar.ctr_contents); in ctf_decl_push() 104 n = ar.ctr_nelems; in ctf_decl_push()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/ |
H A D | mDNS.c | 96 mDNSlocal void mDNS_ExtractKeepaliveInfo(AuthRecord *ar, mDNSu32 *timeout, mDNSAddr *laddr, mDNSAdd… 803 mDNSlocal void AnswerInterfaceAnyQuestionsWithLocalAuthRecord(mDNS *const m, AuthRecord *ar, QC_res… in AnswerInterfaceAnyQuestionsWithLocalAuthRecord() argument 813 if (RRAny(ar)) in AnswerInterfaceAnyQuestionsWithLocalAuthRecord() 814 answered = AuthRecordAnswersQuestion(ar, q); in AnswerInterfaceAnyQuestionsWithLocalAuthRecord() 816 answered = LocalOnlyRecordAnswersQuestion(ar, q); in AnswerInterfaceAnyQuestionsWithLocalAuthRecord() 818 … AnswerLocalQuestionWithLocalAuthRecord(m, ar, AddRecord); // MUST NOT dereference q again in AnswerInterfaceAnyQuestionsWithLocalAuthRecord() 836 mDNSlocal void AnswerAllLocalQuestionsWithLocalAuthRecord(mDNS *const m, AuthRecord *ar, QC_result … in AnswerAllLocalQuestionsWithLocalAuthRecord() argument 848 if (RRAny(ar)) in AnswerAllLocalQuestionsWithLocalAuthRecord() 849 answered = AuthRecordAnswersQuestion(ar, q); in AnswerAllLocalQuestionsWithLocalAuthRecord() 851 answered = LocalOnlyRecordAnswersQuestion(ar, q); in AnswerAllLocalQuestionsWithLocalAuthRecord() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | sm_loops3.c | 9 int ar[10]; in func() local 20 ar[x] = 1; in func()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/ |
H A D | uds_daemon.c | 225 mDNSlocal void LogMcastService(const AuthRecord *const ar, request_state *req, reg_state status) in LogMcastService() argument 227 if (!AuthRecord_uDNS(ar)) // Check for Mcast Service in LogMcastService() 239 … (%s) Client(%d)[%s]", status ? "+Service" : "-Service", ar->resrec.name->c, DNSTypeName(ar->res… in LogMcastService() 240 ar->resrec.InterfaceID == mDNSInterface_LocalOnly ? "lo" : in LogMcastService() 241 ar->resrec.InterfaceID == mDNSInterface_P2P ? "p2p" : in LogMcastService() 242 ar->resrec.InterfaceID == mDNSInterface_BLE ? "BLE" : in LogMcastService() 243 …ar->resrec.InterfaceID == mDNSInterface_Any ? "all" : InterfaceNameForID(&mDNSStorage, ar->resrec.… in LogMcastService() 1674 mDNSlocal mStatus update_record(AuthRecord *ar, mDNSu16 rdlen, const mDNSu8 *const rdata, mDNSu32 t… in update_record() argument 1683 rr.name = ar->resrec.name; in update_record() 1684 rr.rrtype = ar->resrec.rrtype; in update_record() [all …]
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | developer-object-file.p5m | 31 …value="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs… 37 file path=usr/bin/$(ARCH64)/ar mode=0555 45 file path=usr/bin/ar mode=0555 69 link path=usr/ccs/bin/$(ARCH64)/ar target=../../../bin/$(ARCH64)/ar 76 link path=usr/ccs/bin/ar target=../../bin/ar 128 file path=usr/share/man/man1/ar.1 149 …desc="software development utilities, including ar, dis, dump, elfdump, elfedit, lex, lorder, mcs,…
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.lex.c | 888 getsel(int *al, int *ar, int dol) in getsel() argument 904 *ar = quesarg; in getsel() 910 *ar = dol - 1; in getsel() 918 *ar = 1; in getsel() 924 *ar = dol; in getsel() 930 *ar = dol; in getsel() 931 if (*ar < *al) { in getsel() 932 *ar = 0; in getsel() 949 *ar = i; in getsel() 952 *al = 0, *ar = dol; in getsel() [all …]
|