Searched refs:np (Results 101 - 125 of 349) sorted by relevance

1234567891011>>

/macosx-10.10.1/ruby-106/ruby/missing/
H A Dalloca.c167 register header *np = hp->h.next; local
171 hp = np; /* -> next header */
/macosx-10.10.1/file-46/file/src/
H A Dfuncs.c333 char *pbuf, *op, *np; local
367 np = ms->o.pbuf;
381 (void)memcpy(np, op, bytesconsumed);
383 np += bytesconsumed;
386 OCTALIFY(np, op);
389 *np = '\0';
397 for (np = ms->o.pbuf, op = ms->o.buf; *op; op++) {
399 *np++ = *op;
401 OCTALIFY(np, op);
404 *np
[all...]
/macosx-10.10.1/file_cmds-242/mtree/
H A Dspecspec.c181 char *np; local
218 asprintf(&np, "%s%s/", path, c2->name);
219 i = walk_in_the_forest(c1, c2, np);
220 free(np);
223 asprintf(&np, "%s%s/", path, c1->name);
224 i = walk_in_the_forest(c1, c2, np);
225 free(np);
230 asprintf(&np, "%s%s/", path, c1->name);
231 i = walk_in_the_forest(c1, c2, np);
232 free(np);
[all...]
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dparse.c835 Namval_t *np= nv_open(t->funct.functnam,shp->fun_tree,NV_ADD|NV_VARNAME); local
836 np->nvalue.rp = new_of(struct Ufunction,shp->funload?sizeof(Dtlink_t):0);
837 memset((void*)np->nvalue.rp,0,sizeof(struct Ufunction));
838 np->nvalue.rp->argc = ((struct dolnod*)ac->comarg)->dolnum;
949 Namval_t *np; local
1026 else if(type!=NV_ARRAY && n!=FUNCTSYM && !(lexp->arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && (nv_isattr(np,BLT_DCL)|| np==SYSDOT)))
1046 if(path_search(lexp->sh,lexp->arg->argval,NIL(Pathcomp_t**),1) && (np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && nv_isattr(np,BLT_DC
1467 Namval_t *np=nv_bfsearch(argp->argval,lexp->sh->fun_tree, (Namval_t**)&t->comnamq,(char**)0); local
1577 register Namval_t *np=(Namval_t*)t->comnamp; local
1606 Namval_t *np=(Namval_t*)t->comnamp; local
2023 Namval_t *np; local
2052 kia_add(register Namval_t *np, void *data) argument
[all...]
H A Dshcomp.c74 Namval_t *np; local
149 if(t && ((t->tre.tretyp&COMMSK)==TCOM) && (np=t->com.comnamp) && (cp=nv_name(np)))
H A Dparse.c.orig835 Namval_t *np= nv_open(t->funct.functnam,shp->fun_tree,NV_ADD|NV_VARNAME);
836 np->nvalue.rp = new_of(struct Ufunction,shp->funload?sizeof(Dtlink_t):0);
837 memset((void*)np->nvalue.rp,0,sizeof(struct Ufunction));
838 np->nvalue.rp->argc = ((struct dolnod*)ac->comarg)->dolnum;
949 Namval_t *np;
1026 else if(type!=NV_ARRAY && n!=FUNCTSYM && !(lexp->arg->argflag&ARG_ASSIGN) && !((np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && (nv_isattr(np,BLT_DCL)|| np==SYSDOT)))
1046 if(path_search(lexp->sh,lexp->arg->argval,NIL(Pathcomp_t**),1) && (np=nv_search(lexp->arg->argval,lexp->sh->fun_tree,0)) && nv_isattr(np,BLT_DC
[all...]
/macosx-10.10.1/tcsh-65/tcsh/
H A Dsh.proc.c626 struct process *np; local
639 np = pp;
641 np->p_index = np->p_procid = 0;
642 np->p_flags &= ~PNEEDNOTE;
643 } while ((np = np->p_friends) != pp);
645 for (np = proclist.p_next, idx = 0; np; np
762 struct process *np; local
1442 struct process *pp, *np; local
1546 struct process *np; local
1619 struct process *pp, *np; local
1673 struct process *np; local
[all...]
/macosx-10.10.1/Heimdal-398.1.2/appl/rcp/
H A Drcp.c423 char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ]; local
531 np = namebuf;
533 np = targ;
534 exists = stat(np, &stb) == 0;
543 chmod(np, mode);
547 if (mkdir(np, mode | S_IRWXU) < 0)
550 vect[0] = np;
554 if (utimes(np, tv) < 0)
556 np, strerror(errno));
559 chmod(np, mod
[all...]
/macosx-10.10.1/file_cmds-242/ls/
H A Dprint.c337 NAMES *np; local
360 np = p->fts_pointer;
363 char str[2] = { np->mode_suffix, '\0' };
377 sp->st_nlink, dp->s_group, np->group);
380 sp->st_nlink, dp->s_group, np->group);
386 sp->st_nlink, dp->s_user, np->user);
389 sp->st_nlink, dp->s_user, np->user);
395 sp->st_nlink, dp->s_user, np->user, dp->s_group,
396 np->group);
399 sp->st_nlink, dp->s_user, np
[all...]
/macosx-10.10.1/emacs-93/emacs/lib-src/
H A Detags.c1815 node *np, *prev;
1820 for (np = nodehead; np != NULL; prev = np, np = np->left)
1821 if (np->fdp == curfdp)
1825 if (np != NULL)
1829 assert (np->left == NULL);
1833 put_entries (np); /* writ
1810 node *np, *prev; local
2080 register node *np; local
2258 node *np = *npp; local
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/rexml/
H A Dxpath_parser.rb570 np = node.node_type == :attribute ? node.element : node
571 while np.parent and np.parent.node_type == :element
572 node_idx << np.parent.index( np )
573 np = np.parent
/macosx-10.10.1/xnu-2782.1.97/SETUP/config/
H A Dparser.y263 register struct device *np;
265 np = (struct device *) malloc(sizeof *np);
266 *np = *dp;
268 dtab = np;
270 curp->d_next = np;
271 curp = np;
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/
H A Dipcomp_core.c178 struct mbuf *n = NULL, *n0 = NULL, **np; local
190 *np = n; \
191 np = &n->m_next; \
211 if (*np == NULL) { \
243 np = &n0;
339 *np = n;
340 np = &n->m_next;
/macosx-10.10.1/ncurses-44/ncurses/progs/
H A Dtput.c269 const struct name_table_entry *np; local
271 if ((np = _nc_find_entry(name, _nc_get_hash_table(1))) != 0)
272 switch (np->nte_type) {
274 if (bool_from_termcap[np->nte_index])
275 name = boolnames[np->nte_index];
279 if (num_from_termcap[np->nte_index])
280 name = numnames[np->nte_index];
284 if (str_from_termcap[np->nte_index])
285 name = strnames[np->nte_index];
/macosx-10.10.1/smb-759.0/lib/librap/
H A Drap.c62 char *np; local
87 len *= (int)strtoul(s, &np, 10);
88 s = np;
98 char *np; local
116 len *= (int)strtoul(s, &np, 10);
117 s = np;
127 char *np; local
146 len *= (int)strtoul(s, &np, 10);
147 s = np;
/macosx-10.10.1/BerkeleyDB-21/db/txn/
H A Dtxn_util.c343 roff_t *np, *ldbs; local
355 for (i = 0, np = ldbs; i < td->nlog_dbs; i++, np++)
356 if (*np == fname_off)
362 sizeof(roff_t) * (td->nlog_slots << 1), &np)) != 0)
364 memcpy(np, ldbs, td->nlog_dbs * sizeof(roff_t));
369 td->log_dbs = R_OFFSET(&mgr->reginfo, np);
370 ldbs = np;
396 roff_t *np; local
412 np
[all...]
/macosx-10.10.1/dtrace-147/libdtrace/
H A Ddt_inttab.c57 dt_inthash_t *hp, *np; local
59 for (hp = ip->int_head; hp != NULL; hp = np) {
60 np = hp->inh_next;
/macosx-10.10.1/vim-55/src/
H A Dmemfile.c1195 NR_TRANS *np; local
1201 if ((np = (NR_TRANS *)alloc((unsigned)sizeof(NR_TRANS))) == NULL)
1235 np->nt_old_bnum = hp->bh_bnum; /* adjust number */
1236 np->nt_new_bnum = new_bnum;
1242 hash = MEMHASH(np->nt_old_bnum); /* insert in trans list */
1243 np->nt_next = mfp->mf_trans[hash];
1244 mfp->mf_trans[hash] = np;
1245 if (np->nt_next != NULL)
1246 np->nt_next->nt_prev = np;
1263 NR_TRANS *np; local
[all...]
/macosx-10.10.1/awk-20/src/
H A Db.c371 f->re[info(v)].lval.np = right(v);
630 Node *np; local
640 np = regexp();
643 return(np);
653 Node *np; local
659 np = op2(CHAR, NIL, itonp(rlxval));
661 return (unary(np));
680 np = op2(CCL, NIL, (Node*) cclenter((char *) rlxstr));
682 return (unary(np));
685 np
716 concat(Node *np) argument
734 alt(Node *np) argument
743 unary(Node *np) argument
[all...]
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/
H A Dttl.c171 char *np = nbuf; local
173 *np++ = *s++;
174 *np++ = '\0';
175 INSIST(np - nbuf <= (int)sizeof(nbuf));
/macosx-10.10.1/smb-759.0/kernel/smbfs/
H A Dsmbfs_notify_change.h46 struct smbnode *np; member in struct:watch_item
H A Dsmbfs_node.h260 #define SMB_CACHE_TIME(ts, np, attrtimeo) { \
262 attrtimeo = (ts.tv_sec - np->n_mtime.tv_sec) / 10; \
271 #define SMBTOV(np) ((vnode_t )(np)->n_vnode)
294 int smbnode_lock(struct smbnode *np, enum smbfslocktype);
296 void smbnode_unlock(struct smbnode *np);
300 void smb_vhashrem (struct smbnode *np);
301 void smb_vhashadd(struct smbnode *np, uint64_t hashval);
307 vnode_t smbfs_find_vgetstrm(struct smbmount *smp, struct smbnode *np, const char *sname,
313 int smb_check_posix_access(vfs_context_t context, struct smbnode * np,
[all...]
H A Dsmbfs_smb_2.c49 smb2fs_smb_delete(struct smb_share *share, struct smbnode *np, enum vtype vnode_type,
61 smb2fs_smb_get_create_options(struct smb_share *share, struct smbnode *np,
66 smb2fs_smb_listxattrs(struct smb_share *share, struct smbnode *np, char **xattrlist,
69 smb2fs_smb_ntcreatex(struct smb_share *share, struct smbnode *np,
79 smb2fs_smb_parse_ntcreatex(struct smb_share *share, struct smbnode *np,
84 smb2fs_smb_qstreaminfo(struct smb_share *share, struct smbnode *np, enum vtype vnode_type,
424 smb2fs_smb_cmpd_create(struct smb_share *share, struct smbnode *np, argument
477 create_options = smb2fs_smb_get_create_options(share, np,
480 error = smb2fs_smb_ntcreatex(share, np,
509 create_options = smb2fs_smb_get_create_options(share, np,
2363 smb2fs_smb_cmpd_query_dir_one(struct smb_share *share, struct smbnode *np, const char *query_namep, size_t query_name_len, struct smbfattr *fap, char **namep, size_t *name_lenp, vfs_context_t context) argument
3680 smb2fs_smb_cmpd_resolve_id(struct smb_share *share, struct smbnode *np, uint64_t ino, uint32_t *resolve_errorp, char **pathp, vfs_context_t context) argument
5031 smb2fs_smb_delete(struct smb_share *share, struct smbnode *np, enum vtype vnode_type, const char *namep, size_t name_len, int xattr, vfs_context_t context) argument
5071 smbfs_smb_delete(struct smb_share *share, struct smbnode *np, enum vtype vnode_type, const char *name, size_t nmlen, int xattr, vfs_context_t context) argument
5448 smb2fs_smb_get_create_options(struct smb_share *share, struct smbnode *np, const char *namep, const char *strm_namep, enum vtype vnode_type, uint32_t check_reparse) argument
5515 smb2fs_smb_listxattrs(struct smb_share *share, struct smbnode *np, char **xattrlist, size_t *xattrlist_len, vfs_context_t context) argument
5707 smb2fs_smb_ntcreatex(struct smb_share *share, struct smbnode *np, const char *namep, size_t in_nmlen, const char *strm_namep, size_t in_strm_nmlen, uint32_t desired_access, enum vtype vnode_type, uint32_t share_access, uint32_t disposition, uint64_t create_flags, uint32_t create_options, SMBFID *fidp, struct smbfattr *fap, struct smb_rq **compound_rqp, struct smb2_create_rq **in_createp, void *create_contextp, vfs_context_t context) argument
5883 smbfs_smb_ntcreatex(struct smb_share *share, struct smbnode *np, uint32_t rights, uint32_t shareMode, enum vtype vt, SMBFID *fidp, const char *name, size_t in_nmlen, uint32_t disp, int xattr, struct smbfattr *fap, int do_create, struct smb2_durable_handle *dur_handlep, vfs_context_t context) argument
5950 smbfs_smb_openread(struct smb_share *share, struct smbnode *np, SMBFID *fidp, uint32_t desired_access, uio_t uio, size_t *sizep, const char *stream_namep, struct timespec *mtimep, vfs_context_t context) argument
5984 smb2fs_smb_parse_ntcreatex(struct smb_share *share, struct smbnode *np, struct smb2_create_rq *createp, SMBFID *fidp, struct smbfattr *fap, vfs_context_t context) argument
6300 smb2fs_smb_qpathinfo(struct smb_share *share, struct smbnode *np, enum vtype vnode_type, struct smbfattr *fap, short infolevel, const char **namep, size_t *name_lenp, vfs_context_t context) argument
6366 smbfs_smb_qpathinfo(struct smb_share *share, struct smbnode *np, enum vtype vnode_type, struct smbfattr *fap, short infolevel, const char **namep, size_t *nmlenp, vfs_context_t context) argument
6401 smb2fs_smb_qstreaminfo(struct smb_share *share, struct smbnode *np, enum vtype vnode_type, const char *namep, size_t name_len, const char *stream_namep, uio_t uio, size_t *sizep, uint64_t *stream_sizep, uint64_t *stream_alloc_sizep, uint32_t *stream_flagsp, uint32_t *max_accessp, vfs_context_t context) argument
6529 smbfs_smb_qstreaminfo(struct smb_share *share, struct smbnode *np, enum vtype vnode_type, const char *namep, size_t name_len, const char *stream_namep, uio_t uio, size_t *sizep, uint64_t *strm_sizep, uint64_t *strm_alloc_sizep, uint32_t *stream_flags, uint32_t *max_accessp, vfs_context_t context) argument
6728 smbfs_smb_reparse_read_symlink(struct smb_share *share, struct smbnode *np, struct uio *uiop, vfs_context_t context) argument
6793 smbfs_smb_rmdir(struct smb_share *share, struct smbnode *np, vfs_context_t context) argument
6811 smb2fs_smb_security_get(struct smb_share *share, struct smbnode *np, uint32_t desired_access, uint32_t security_attrs, struct ntsecdesc **resp, uint32_t *resp_len, vfs_context_t context) argument
6844 smb2fs_smb_security_set(struct smb_share *share, struct smbnode *np, uint32_t desired_access, uint32_t security_attrs, uint16_t control_flags, struct ntsid *owner, struct ntsid *group, struct ntacl *sacl, struct ntacl *dacl, vfs_context_t context) argument
6900 smbfs_smb_setsec(struct smb_share *share, struct smbnode *np, uint32_t desired_access, SMBFID fid, uint32_t selector, uint16_t control_flags, struct ntsid *owner, struct ntsid *group, struct ntacl *sacl, struct ntacl *dacl, vfs_context_t context) argument
7197 smbfs_smb_setpattr(struct smb_share *share, struct smbnode *np, enum vtype vnode_type, const char *namep, size_t name_len, uint16_t attr, vfs_context_t context) argument
7219 smb2fs_smb_setpattrNT(struct smb_share *share, struct smbnode *np, enum vtype vnode_type, const char *namep, size_t name_len, uint32_t attr, struct timespec *crtime, struct timespec *mtime, struct timespec *atime, vfs_context_t context) argument
7270 smbfs_smb_setpattrNT(struct smb_share *share, struct smbnode *np, enum vtype vnode_type, const char *namep, size_t name_len, uint32_t attr, struct timespec *crtime, struct timespec *mtime, struct timespec *atime, vfs_context_t context) argument
[all...]
/macosx-10.10.1/groff-38/groff/src/devices/grodvi/
H A Ddvi.cpp181 void draw(int code, int *p, int np, const environment *env);
192 void draw(int code, int *p, int np, const environment *env);
580 void dvi_printer::draw(int code, int *p, int np, const environment *env) argument
592 if (np != 2) {
632 if (np == 0) {
637 if (np != 1 && np != 2)
644 if (np != 2)
703 void draw_dvi_printer::draw(int code, int *p, int np, const environment *env) argument
714 if (np !
[all...]
/macosx-10.10.1/system_cmds-643.1.1/chpass.tproj/
H A Dfield.c135 char *np; local
146 id = strtoul(p, &np, 10);
147 if (*np || (id == (uid_t)ULONG_MAX && errno == ERANGE)) {
163 char *np; local
180 id = strtoul(p, &np, 10);
181 if (*np || (id == (uid_t)ULONG_MAX && errno == ERANGE)) {

Completed in 387 milliseconds

1234567891011>>