Searched defs:cr (Results 1 - 25 of 422) sorted by path

1234567891011>>

/illumos-gate/usr/src/cmd/bnu/
H A Dgetprm.c191 wchar_t *cl, *cr, *n; local
233 if (cl != (cr = wcsrchr(n, (wchar_t)'!'))) {
235 wcsncpy(tmpbuf, cl+1, cr-cl-1);
236 tmpbuf[cr-cl-1] = '\0';
240 cr = cl;
243 (void) wcstombs(file, cr+1, MAXFULLNAME);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c277 char *cr; variable
366 cr = (gttybuf.sg_flags&CRMOD) && !(gttybuf.sg_flags&RAW) ? "" : "\r";
368 cr, name, sizeof (hostname), hostname, cr);
369 fprintf(tp, "----%s\n", cr);
441 fprintf(tp, "...more...%s\n", cr);
468 fprintf(tp, "%s%s\n", line, cr);
471 fprintf(tp, "----%s\n", cr);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c5119 prcred_t cr, *crp; local
5122 if (t->t_pshandle != NULL && Pcred(t->t_pshandle, &cr, 1) == 0) {
5123 cbytes = (cr.pr_ngroups <= 1) ? sizeof (prcred_t) :
5124 (sizeof (prcred_t) + (cr.pr_ngroups - 1) * sizeof (gid_t));
5135 if (Pcred(t->t_pshandle, crp, cr.pr_ngroups) == -1)
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcred.c34 cred_t *cr; local
46 cr = mdb_alloc(sizeof (*cr), UM_SLEEP | UM_GC);
47 if (mdb_vread(cr, sizeof (*cr), addr) == -1) {
52 if (cr->cr_grps == NULL) {
56 (uintptr_t)cr->cr_grps) == -1) {
58 cr->cr_grps);
71 if (cr->cr_grps == NULL) {
75 (uintptr_t)cr
[all...]
H A Dgcore.c1458 gcore_priv_getset(cred_t *cr, int set) argument
1460 if ((CR_FLAGS(cr) & PRIV_AWARE) == 0) {
1463 return (&CR_OEPRIV(cr));
1465 return (&CR_OPPRIV(cr));
1468 return (&CR_PRIVS(cr)->crprivs[set]);
1472 gcore_priv_getinfo(const cred_t *cr, void *buf) argument
1477 ii->val = CR_FLAGS(cr);
1603 cred_t cr; local
1607 if (mdb_vread(&cr, sizeof (cr),
1644 cred_t cr; local
1759 cred_t cr; local
[all...]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Drelocate.c1150 Copy_rel cr; local
1250 cr.c_sdp = _sdp;
1251 cr.c_val = stval;
1252 if (alist_append(&ofl->ofl_copyrels, &cr, sizeof (Copy_rel),
/illumos-gate/usr/src/cmd/strings/
H A Dstrings.c350 int cr; local
355 if (!(cr = dirt(c, cc))) {
384 cc += cr;
/illumos-gate/usr/src/cmd/tbl/
H A Dtu.c25 int cr, type, shortl; local
28 cr=c;
32 for(cr=c; cr < ncol && (ctype(i,cr)=='s'||type==thish(i,cr)); cr++);
34 for(cr=c+1; cr<ncol && ctype(i,cr)
41 int cr, cl; local
62 drawline(int i, int cl, int cr, int lintype, int noheight, int shortl) argument
[all...]
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dhayes.c29 char code = 0, cr = 0; local
72 (void) read(FD, &cr, 1);
73 if (code == '1' && cr == '0')
74 (void) read(FD, &cr, 1);
77 if ((code == '1' || code == '5') && cr == '\r')
113 char code = 0, cr = 0; local
145 (void) read(FD, &cr, 1);
146 if (code == '0' && cr == '\r')
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c3733 ztest_objset_create_cb(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx) argument
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A Danonymous.c448 CacheRecord *cr; local
453 for (cr = *nsec3; cr; cr = cr->next)
455 if (SameDomainName(cr->resrec.name, name))
457 debugf("FindMatchingNSEC3ForName: NSEC3 record %s matched %##s", CRDisplayString(m, cr), name->c);
458 *prev = cr->next;
459 cr->next = mDNSNULL;
460 return cr;
487 InitializeAnonInfoForCR(mDNS *const m, CacheRecord **McastNSEC3Records, CacheRecord *cr) argument
601 InitializeAnonInfoForCR(mDNS *const m, CacheRecord **McastNSEC3Records, CacheRecord *cr) argument
[all...]
H A DmDNS.c3227 CacheRecord *cr; local
3229 FORALL_CACHERECORDS(slot, cg, cr)
3231 domainname *crtarget = GetRRDomainNameTarget(&cr->resrec);
3232 if (crtarget && cr->resrec.rdatahash == namehash && SameDomainName(crtarget, name))
3234 LogInfo("ReconfirmAntecedents: Reconfirming (depth=%d) %s", depth, CRDisplayString(m, cr));
3235 mDNS_Reconfirm_internal(m, cr, kDefaultReconfirmTimeForNoAnswer);
3237 ReconfirmAntecedents(m, cr->resrec.name, cr->resrec.namehash, depth+1);
3249 const CacheRecord *cr = cg ? cg->members : mDNSNULL; local
3250 while (cr
3259 const CacheRecord *cr, *bestcr = mDNSNULL; local
3464 CacheRecord *cr; local
5932 const CacheRecord *cr = FindSPSInCache1(m, &intf->NetWakeBrowse, mDNSNULL, mDNSNULL); local
6861 CacheRecord *cr; local
7663 CacheRecord *cr; local
7769 CacheRecord *cr = *eap; local
7938 CacheRecord *cr = ExpectedAnswers; local
8268 const CacheRecord *cr; local
10446 MakeNegativeCacheRecord(mDNS *const m, CacheRecord *const cr, const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass, mDNSu32 ttl_seconds, mDNSInterfaceID InterfaceID, DNSServer *dnsserver) argument
12345 mDNS_Reconfirm(mDNS *const m, CacheRecord *const cr) argument
12358 CacheRecord *cr; local
14587 PurgeOrReconfirmCacheRecord(mDNS *const m, CacheRecord *cr, const DNSServer * const ptr, mDNSBool lameduck) argument
14773 CacheRecord *cr; local
15250 CacheRecord *cr = cg->members; local
[all...]
H A DmDNSEmbeddedAPI.h1680 union CacheEntity_union { CacheEntity *next; CacheGroup cg; CacheRecord cr; }; member in union:CacheEntity_union
3324 extern void MakeNegativeCacheRecord(mDNS *const m, CacheRecord *const cr,
H A DuDNS.c5729 CacheRecord *cr; local
5730 FORALL_CACHERECORDS(slot, cg, cr)
5732 if (cr->resrec.InterfaceID) continue;
5736 if (RRTypeAnswersQuestionType(&cr->resrec, kDNSType_A) ||
5737 RRTypeAnswersQuestionType(&cr->resrec, kDNSType_AAAA))
5739 LogInfo("FlushAddressCacheRecords: Purging Resourcerecord %s", CRDisplayString(m, cr));
5740 mDNS_PurgeCacheResourceRecord(m, cr);
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Duds_daemon.c5618 mDNSlocal void PrintOneCacheRecord(const CacheRecord *cr, mDNSu32 slot, const mDNSu32 remain, const char *ifname, mDNSu32 *CacheUsed) argument
5622 cr->CRActiveQuestion ? "*" : " ",
5625 (cr->resrec.RecordType == kDNSRecordTypePacketNegative) ? "-" :
5626 (cr->resrec.RecordType & kDNSRecordTypePacketUniqueMask) ? " " : "+",
5627 DNSTypeName(cr->resrec.rrtype),
5628 CRDisplayString(&mDNSStorage, cr));
5632 mDNSlocal void PrintCachedRecords(const CacheRecord *cr, mDNSu32 slot, const mDNSu32 remain, const char *ifname, mDNSu32 *CacheUsed) argument
5636 nsec = cr->nsec;
5645 soa = cr->soa;
5650 if (cr
5742 const CacheRecord *cr; local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsis900.h20 cr=0x0, /* Command Register */ enumerator in enum:sis900_registers
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregdecomp.c81 int cr; local
153 cb = cd = cr = 0;
162 cr = 1;
187 cr = -1;
230 if (cr < 0)
244 if (cr > 0)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Ducred.c114 const prcred_t *cr = UCCRED(uc); local
116 if (cr == NULL) {
121 return (cr->pr_euid);
128 const prcred_t *cr = UCCRED(uc); local
130 if (cr == NULL) {
135 return (cr->pr_ruid);
142 const prcred_t *cr = UCCRED(uc); local
144 if (cr == NULL) {
149 return (cr->pr_suid);
156 const prcred_t *cr local
170 const prcred_t *cr = UCCRED(uc); local
184 const prcred_t *cr = UCCRED(uc); local
198 const prcred_t *cr = UCCRED(uc); local
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c1397 wl_create_ibss_t cr = (wl_create_ibss_t)(*create_ibss); local
1399 return (i_dladm_wlan_param(handle, linkid, &cr, MAC_PROP_WL_CREATE_IBSS,
1400 sizeof (cr), B_TRUE));
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dcred.c62 crfree(cred_t *cr) argument
68 crhold(cred_t *cr) argument
74 crgetuid(const cred_t *cr) argument
76 return (cr->cr_uid);
81 crgetruid(const cred_t *cr) argument
83 return (cr->cr_uid);
88 crgetgid(const cred_t *cr) argument
95 crgetngroups(const cred_t *cr) argument
102 crgetgroups(const cred_t *cr) argument
109 crgetzoneid(const cred_t *cr) argument
116 crgetzone(const cred_t *cr) argument
129 crgetsid(const cred_t *cr, int i) argument
[all...]
H A Dksocket.c128 struct cred *cr)
134 ASSERT(cr != NULL);
162 struct cred *cr)
167 ASSERT(cr != NULL);
183 ksocket_listen(ksocket_t ks, int backlog, struct cred *cr) argument
186 ASSERT(cr != NULL);
199 socklen_t *addrlenp, ksocket_t *nks, struct cred *cr)
204 ASSERT(cr != NULL);
225 struct cred *cr)
228 ASSERT(cr !
127 ksocket_socket(ksocket_t *ksp, int domain, int type, int protocol, int flags, struct cred *cr) argument
161 ksocket_bind(ksocket_t ks, struct sockaddr *addr, socklen_t addrlen, struct cred *cr) argument
198 ksocket_accept(ksocket_t ks, struct sockaddr *addr, socklen_t *addrlenp, ksocket_t *nks, struct cred *cr) argument
224 ksocket_connect(ksocket_t ks, struct sockaddr *addr, socklen_t addrlen, struct cred *cr) argument
240 ksocket_send(ksocket_t ks, void *msg, size_t msglen, int flags, size_t *sent, struct cred *cr) argument
267 ksocket_sendto(ksocket_t ks, void *msg, size_t msglen, int flags, struct sockaddr *name, socklen_t namelen, size_t *sent, struct cred *cr) argument
294 ksocket_sendmsg(ksocket_t ks, struct nmsghdr *msg, int flags, size_t *sent, struct cred *cr) argument
342 ksocket_recv(ksocket_t ks, void *msg, size_t msglen, int flags, size_t *recvd, struct cred *cr) argument
369 ksocket_recvfrom(ksocket_t ks, void *msg, size_t msglen, int flags, struct sockaddr *name, socklen_t *namelen, size_t *recvd, struct cred *cr) argument
396 ksocket_recvmsg(ksocket_t ks, struct nmsghdr *msg, int flags, size_t *recvd, struct cred *cr) argument
423 ksocket_shutdown(ksocket_t ks, int how, struct cred *cr) argument
438 ksocket_close(ksocket_t ks, struct cred *cr) argument
473 ksocket_getsockname(ksocket_t ks, struct sockaddr *addr, socklen_t *addrlen, struct cred *cr) argument
492 ksocket_getpeername(ksocket_t ks, struct sockaddr *addr, socklen_t *addrlen, struct cred *cr) argument
511 ksocket_setsockopt(ksocket_t ks, int level, int optname, const void *optval, int optlen, struct cred *cr) argument
530 ksocket_ioctl(ksocket_t ks, int cmd, intptr_t arg, int *rvp, struct cred *cr) argument
[all...]
/illumos-gate/usr/src/lib/libm/common/C/
H A D__lgamma.c207 double t, p, q, cr, y; local
227 cr = -log(x);
230 cr = zero;
240 return (cr+y*(D1+y*(p/q)));
246 return (cr+y*(D2+y*(p/q)));
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dtgamma.c1063 static const double cr[] = { variable
1102 #define P10 cr[0]
1103 #define P11 cr[1]
1104 #define P12 cr[2]
1105 #define P13 cr[3]
1106 #define P14 cr[4]
1107 #define Q10 cr[5]
1108 #define Q11 cr[6]
1109 #define Q12 cr[7]
1110 #define Q13 cr[
[all...]
H A Dtgammaf.c60 static const double cr[] = { variable
92 #define P10 cr[0]
93 #define P11 cr[1]
94 #define P12 cr[2]
95 #define P13 cr[3]
96 #define P14 cr[4]
97 #define P15 cr[5]
98 #define P20 cr[6]
99 #define P21 cr[7]
100 #define P22 cr[
[all...]
/illumos-gate/usr/src/lib/librstp/common/
H A Dvector.c148 STP_VECT_br_id_print (IN char *title, IN BRIDGE_ID* br_id, IN Bool cr) argument
160 stp_trace (cr ? "\n" : " ");

Completed in 656 milliseconds

1234567891011>>