/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | freelist.c | 48 register char **pp; local 51 for (pp = list; *pp; pp++) 52 Free (*pp);
|
/illumos-gate/usr/src/lib/scsi/plugins/smp/sas2/common/ |
H A D | sas2.c | 31 _smp_init(smp_plugin_t *pp) argument 38 return (smp_plugin_register(pp, LIBSMP_PLUGIN_VERSION, &config));
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yppasswd_xdr.c | 53 xdr_yppasswd(XDR *xdrsp, struct yppasswd *pp) argument 55 if (!xdr_wrapstring(xdrsp, &pp->oldpass)) 57 return (xdr_passwd(xdrsp, &pp->newpw));
|
/illumos-gate/usr/src/lib/libbc/libc/inet/ |
H A D | inet_addr.c | 47 u_long parts[4], *pp = parts; local 84 if (pp >= parts + 4) 86 *pp++ = val, cp++; 94 *pp++ = val; 99 n = pp - parts;
|
H A D | inet_network.c | 44 u_long parts[4], *pp = parts; local 70 if (pp >= parts + 4 || val > 0xff) 72 *pp++ = val; 79 n = pp - parts;
|
/illumos-gate/usr/src/ucbcmd/whoami/ |
H A D | whoami.c | 33 struct passwd *pp; local 44 pp = getpwuid(euid); 45 if (pp == 0) { 49 (void) printf("%s\n", pp->pw_name);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | hold_page.c | 36 page_t *pp = page_numtopp_nolock(pfn); local 38 if (pp == NULL) 49 if (page_trylock(pp, SE_SHARED) == 0) 55 if (page_trylock(pp, SE_EXCL) == 0) 62 page_unlock(pp); 69 *pp_ret = pp; 75 plat_release_page(page_t *pp) argument 77 ASSERT((pp != NULL) && PAGE_LOCKED(pp)); 78 page_unlock(pp); [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | cflow.c | 50 struct checkpt *pp = (struct checkpt*)shp->jmplist; local 65 pp->mode = (**argv=='e'?SH_JMPEXIT:SH_JMPFUN); 70 pp->mode = SH_JMPEXIT;
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | inet_network.c | 58 in_addr_t parts[4], *pp = parts; local 84 if (pp >= parts + 4 || val > 0xff) 86 *pp++ = val; 93 n = pp - parts;
|
/illumos-gate/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_network.c | 58 u_long parts[4], *pp = parts; local 87 if (pp >= parts + 4 || val > 0xffU) 90 *pp++ = val, cp++; 95 *pp++ = val; 96 n = pp - parts;
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | namtouid.c | 53 struct passwd *getpwnam(), *pp; local 60 if ((pp = getpwnam(ntmp)) == NULL) 63 tuid = pp->pw_uid;
|
H A D | uidtonam.c | 57 register struct passwd *pp; local 63 if ((pp = getpwuid(uid)) == NULL) 68 CPYN(up->uname, pp->pw_name); 71 return(pp->pw_name);
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetproto.c | 37 putprotoent(const struct protoent *pp, FILE *fp) argument 42 if (pp == NULL) { 47 pp->p_name, pp->p_proto) == EOF) 49 for (p = pp->p_aliases; *p != 0; p++) { 64 struct protoent *pp; local 68 while ((pp = getprotoent()) != NULL) 69 (void) putprotoent(pp, stdout); 74 pp = getprotobynumber(protocol); 76 pp [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | listdgrp.c | 103 char **pp; /* Running ptr through addrs */ local 131 pp = listbuf; 136 if (*pp = malloc(strlen(member->name)+1)) 138 (void) strcpy(*pp++, member->name); 149 *pp = NULL; 153 for (pp = listbuf; *pp; pp++) free(*pp);
|
H A D | listdev.c | 80 char **pp; /* Pointer to item being sorted */ local 89 for (pp = list; *pp; pp++) 91 --pp; 100 while (pp != list) { 101 qq = pp; 102 rr = --pp; 137 char **pp; /* Ptr to current val in list */ local 165 pp [all...] |
/illumos-gate/usr/src/cmd/lp/lib/requests/ |
H A D | putrequest.c | 64 char **pp, local 138 for (pp = reqbufp->file_list; *pp; pp++) 139 (void)fdprintf(fd, "%s%s\n", HEAD, *pp);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_tree.c | 156 char *pp; local 170 (pp = strchr(thp->th_product, ',')) == NULL) 171 pp = thp->th_product; 173 pp++; 175 pp, tp->tt_scheme, 0) < 0) { 176 if ((pp = strchr(thp->th_platform, ',')) == NULL) 177 pp = thp->th_platform; 179 pp++; 182 pp, tp->tt_scheme, 0) < 0) {
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_refer.c | 60 * translated. pp references a pointer to storage. If *pp is null 66 xdr_reference(XDR *xdrs, caddr_t *pp, uint_t size, const xdrproc_t proc) argument 68 caddr_t loc = *pp; 76 *pp = loc = malloc(size); 89 *pp = NULL;
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgmount.c | 56 FILE *pp; local 100 if ((pp = epopen(cmd, "r")) == NULL) { 107 if (fgets(cmd, CMDSIZ, pp) == NULL) { 109 (void) pclose(pp); 113 if (epclose(pp)) {
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | receipt.c | 57 FILE *pp, *fp; local 70 if (pp = npopen(buf, "w")) { 83 fprintf(pp, "Original-Date: %s\n", 87 fprintf(pp, "Original-Message-ID: %s\n", s); 89 fprintf(pp, "Subject: RR: %s\n", s ? s : "(none)"); 90 npclose(pp);
|
H A D | translate.c | 49 FILE *pp; local 68 if ((pp = npopen(cmd, "r")) == NULL) { 75 fgets(postmark, sizeof postmark, pp); 84 if (fgets(line, sizeof line, pp) == NULL) 102 if (getc(pp) == 'y') 104 if (npclose(pp) != 0 || n)
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | config.c | 157 register char **pp; local 160 for (pp = environ; *pp != NULL; pp++) 162 if (strncmp(name, *pp, len) == 0 && 163 ((*pp)[len] == '=' || (*pp)[len] == '\0')) 167 for (; *pp != NULL; pp++) 168 *pp [all...] |
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | linkage.c | 87 decl_t *pp; local 100 decl_Parse(buf, &pp); 101 decl_AddArgNames(pp); 102 symtab_set_prototype(decl_ToString(buf, DTS_DECL, pp, composite_name)); 104 decl_Destroy(pp);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | pgrp.c | 61 register proc_t *pp; local 65 if ((pp = cp->p_parent) != NULL && 66 pp->p_pgidp != cp->p_pgidp && 67 pp->p_sessp == cp->p_sessp) 199 * process 'pp' is exiting - check to see if this will 204 pgdetach(pp) 205 proc_t *pp; 214 for (cp = pp->p_child; cp; cp = cp->p_sibling) { 221 if (mp != pp && mp->p_parent != pp [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr_refer.c | 62 * translated. pp references a pointer to storage. If *pp is null 68 xdr_reference(XDR *xdrs, caddr_t *pp, uint_t size, const xdrproc_t proc) argument 70 caddr_t loc = *pp; 79 *pp = loc = (caddr_t)mem_alloc(size); 92 *pp = NULL;
|