HomeSort by relevance Sort by last modified time
    Searched defs:np (Results 1 - 25 of 340) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /onnv/onnv-gate/usr/src/lib/libpp/common/
ppcontext.c 39 struct ppcontext* np = (struct ppcontext*)context; local
49 if (!(op = np)) op = (struct ppcontext*)_PP_CONTEXT_BASE_;
55 if (np)
57 free(np);
58 np = 0;
63 if (np) memcpy(_PP_CONTEXT_BASE_, np, sizeof(struct ppcontext));
  /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/
hostname.c 21 struct netent *np; local
39 np = getnetbyaddr(ipa.s_addr, AF_INET);
40 if (np != NULL && np->n_name != NULL &&
41 *np->n_name != '\0') {
42 strncpy(hostbuf, np->n_name, sizeof(hostbuf));
  /onnv/onnv-gate/usr/src/ucblib/libcurses/
delwin.c 35 WINDOW *wp, *np; local
48 np = wp->_nextp;
50 wp = np;
  /onnv/onnv-gate/usr/src/cmd/mailx/
hostname.c 65 register struct netmach *np; local
77 for (np = netmach; np->nt_machine != 0; np++)
78 if (strcmp(np->nt_machine, EMPTY) == 0)
80 if (np->nt_machine == 0) {
85 np->nt_machine = host;
86 np++;
87 np->nt_machine = domain;
  /onnv/onnv-gate/usr/src/lib/lvm/libmeta/common/
meta_devstamp.c 46 mdname_t *np; local
48 if ((np = metaslicename(dnp, MD_SLICE0, ep)) == NULL)
52 if ((fd = open(np->rname, O_RDONLY | O_NDELAY, 0)) < 0)
53 return (mdsyserror(ep, errno, np->cname));
56 if (meta_getvtoc(fd, np->cname, &vtocbuf, &partno, ep) == -1) {
86 mdname_t *np; local
88 if ((np = metaslicename(dnp, MD_SLICE0, ep)) == NULL)
92 if ((fd = open(np->rname, O_RDWR | O_NDELAY, 0)) < 0)
93 return (mdsyserror(ep, errno, np->cname));
95 if (meta_getvtoc(fd, np->cname, &vtocbuf, &partno, ep) == -1)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/svr4pkg/libinst/
flex_dev.c 47 char *np = device_name; local
51 return (np);
53 if (dev_ok == 1 && listdev(np) != (char **) NULL) /* device.tab */
54 return (np);
56 if (!strncmp(np, "/dev", 4)) /* /dev path */
57 return (np);
64 if (realpath(np, new_device_name) == NULL) { /* path */
70 if (*np != '/' && dev_ok == 2) {
71 (void) sprintf(new_device_name, "%s/%s", cwd, np);
73 if ((np = strdup(new_device_name)) == NULL
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
env.c 103 char **p, **np; local
121 np = nenv;
123 *np = uu_msprintf("SMF_RESTARTER=%s", INETD_INSTANCE_FMRI);
124 if (*np == NULL)
127 np++;
128 *np = uu_msprintf("SMF_FMRI=%s", instance->fmri);
129 if (*np == NULL)
132 np++;
133 *np = uu_msprintf("SMF_METHOD=%s", method);
134 if (*np == NULL
    [all...]
  /onnv/onnv-gate/usr/src/cmd/getent/
dogetnet.c 64 putnetent(const struct netent *np, FILE *fp)
70 if (np == NULL) {
74 in.s_addr = np->n_net;
76 np->n_name, inet_nettoa(in)) == EOF)
78 for (p = np->n_aliases; *p != 0; p++) {
93 struct netent *np; local
97 while ((np = getnetent()) != NULL)
98 (void) putnetent(np, stdout);
103 np = getnetbyaddr(addr, AF_INET);
105 np = getnetbyname(*list)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ypcmd/mknetid/
getname.c 99 register char *np; local
109 np = name;
110 while (! issep(c) && ! iseol(c) && np - name < namelen) {
111 *np++ = c;
115 if (np - name < namelen) {
116 *np = 0;
  /onnv/onnv-gate/usr/src/common/mdesc/
mdesc_init_intern.c 111 md_element_t *np; local
113 np = &(mdp->mdep[idx]);
115 switch (MDE_TAG(np)) {
121 if (root_name == MDE_NAME(np)) {
128 idx = MDE_PROP_INDEX(np);
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/posix/
setenv.c 168 register const char *np; local
173 for (np = name; *np && *np != '='; ++np)
175 len = np - name;
  /onnv/onnv-gate/usr/src/lib/libdtrace/common/
dt_inttab.c 57 dt_inthash_t *hp, *np; local
59 for (hp = ip->int_head; hp != NULL; hp = np) {
60 np = hp->inh_next;
  /onnv/onnv-gate/usr/src/lib/libast/common/stdio/
_stdfun.c 57 static void* np; local
72 if (!np && !(np = dlopen("/sys/msvcrt.dll", 0)))
74 if (!(vp->vec[1] = (Fun_f)dlsym(np, vp->name)))
  /onnv/onnv-gate/usr/src/cmd/csh/
sh.hist.c 32 struct Hist *hp, *np; local
54 for (hp = &Histlist; np = hp->Hnext;)
55 if (eventno - np->Href >= histlen || histlen == 0)
56 hp->Hnext = np->Hnext, hfree(np);
58 hp = np;
65 struct Hist *np; local
70 np = (struct Hist *) xalloc(sizeof *np);
71 np->Hnum = np->Href = event
    [all...]
  /onnv/onnv-gate/usr/src/cmd/fm/fmd/common/
fmd_buf.c 70 fmd_buf_t *bp, *np; local
74 for (bp = bhp->bh_hash[i]; bp != NULL; bp = np) {
75 np = bp->buf_next;
  /onnv/onnv-gate/usr/src/cmd/sendmail/db/log/
log_get.c 101 char *np, *tbuf; local
106 fail = np = tbuf = NULL;
197 &np, &dblp->c_fd, DB_RDONLY | DB_SEQUENTIAL)) != 0) {
198 fail = np;
201 __os_freestr(np);
202 np = NULL;
324 err2: if (np != NULL)
325 __os_freestr(np);
  /onnv/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
setenv.c 60 register const char *np; local
65 for (np = name; *np && *np != '='; ++np)
67 len = np - name;
69 for (np = name, i = len; i && *cp; i--)
70 if (*cp++ != *np++)
  /onnv/onnv-gate/usr/src/common/net/dhcp/
octet.c 59 const uchar_t *np; local
69 for (i = 0, bp = bufp, np = (const uchar_t *)nump; i < nlen; i++) {
70 *bp++ = ascii_conv[(np[i] >> 4) & 0x0f];
71 *bp++ = ascii_conv[np[i] & 0x0f];
  /onnv/onnv-gate/usr/src/psm/stand/boot/sparc/common/
bootflags.c 61 char *np; local
182 np = newargs;
191 *np++ = '-';
197 *np++ = 'a';
204 *np++ = 'd';
206 *np++ = 'k';
208 *np++ = 'v';
210 *np++ = 'h';
219 *np++ = ' ';
222 npres = sizeof (newargs) - (size_t)(np - newargs)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/tmpfs/
tmp_tnode.c 133 pgcnt_t np = btopr(newsize); local
139 if (tp->tn_asize >= np)
143 np = btopr((u_offset_t)MAXOFF_T);
146 tp->tn_anon = anon_create(MAX(np, TMP_INIT_SZ), ANON_SLEEP);
152 np - tp->tn_asize, ANON_SLEEP);
153 ASSERT(tp->tn_asize >= np);
  /onnv/onnv-gate/usr/src/uts/common/io/drm/
drm_kstat.c 69 char *np; local
82 for (knp = ksp->ks_data; (np = (*aknp)) != NULL; knp++, aknp++) {
83 kstat_named_init(knp, np, KSTAT_DATA_UINT32);
  /onnv/onnv-gate/usr/src/uts/intel/io/agpgart/
agp_kstat.c 95 char *np; local
109 for (knp = ksp->ks_data; (np = (*aknp)) != NULL; knp++, aknp++) {
110 switch (*np) {
112 np += 1;
116 np += 1;
124 kstat_named_init(knp, np, type);
  /onnv/onnv-gate/usr/src/lib/libpkg/common/
nhash.c 56 char *np; local
62 np = ((char *)cp + datalen);
66 while (cp != np) {
  /onnv/onnv-gate/usr/src/lib/libast/common/sfio/
sfpoll.c 40 reg int r, c, m, np; local
98 np = -1;
133 while((np = SFPOLL(fds,m,tm)) < 0 )
138 if(np > 0) /* poll succeeded */
139 np = c;
141 for(m = 0, r = 0; r < np; ++r, ++m)
162 if(np < 0 && c > 0)
195 while((np = select(m+1,&rd,&wr,NIL(fd_set*),tmp)) < 0 )
200 if(np > 0)
201 np = c
    [all...]
  /onnv/onnv-gate/usr/src/lib/libresolv2/common/bsd/
setenv.c 133 const char *np; local
139 for (np = name; *np && *np != '='; ++np)
141 len = np - name;

Completed in 480 milliseconds

1 2 3 4 5 6 7 8 91011>>