Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 4660) sorted by relevance

12345678910>>...187

/netbsd/sys/ufs/ext2fs/
H A Dext2fs_bswap.c48 memcpy(new, old, sizeof(struct ext2fs)); in e2fs_sb_bswap()
57 new->e2fs_bpg = bswap32(old->e2fs_bpg); in e2fs_sb_bswap()
58 new->e2fs_fpg = bswap32(old->e2fs_fpg); in e2fs_sb_bswap()
59 new->e2fs_ipg = bswap32(old->e2fs_ipg); in e2fs_sb_bswap()
66 new->e2fs_beh = bswap16(old->e2fs_beh); in e2fs_sb_bswap()
71 new->e2fs_rev = bswap32(old->e2fs_rev); in e2fs_sb_bswap()
72 new->e2fs_ruid = bswap16(old->e2fs_ruid); in e2fs_sb_bswap()
89 memcpy(new, old, isize); in e2fs_i_bswap()
93 new->e2di_uid = bswap16(old->e2di_uid); in e2fs_i_bswap()
94 new->e2di_gid = bswap16(old->e2di_gid); in e2fs_i_bswap()
[all …]
/netbsd/external/bsd/libbind/dist/isc/
H A Dev_connects.c69 evConn *new; in evListen() local
72 OKNEW(new); in evListen()
95 FREE(new); in evListen()
120 OKNEW(new); in evConnect()
124 connector, new, &new->file) < 0) { in evConnect()
127 FREE(new); in evConnect()
251 new->ralen = sizeof new->ra; in evTryAccept()
252 new->fd = accept(conn->fd, &new->ra.sa, &new->ralen); in evTryAccept()
259 new->lalen = sizeof new->la; in evTryAccept()
260 if (GETXXXNAME(getsockname, new->fd, new->la.sa, new->lalen) < 0) { in evTryAccept()
[all …]
H A Dev_waits.c57 evWait *new; in evWaitFor() local
60 OKNEW(new); in evWaitFor()
62 new->uap = uap; in evWaitFor()
63 new->tag = tag; in evWaitFor()
69 wl->last = new; in evWaitFor()
168 evWait *new; in evDefer() local
170 OKNEW(new); in evDefer()
210 NEW(new); in evNewWaitList()
213 new->first = new->last = NULL; in evNewWaitList()
217 new->next->prev = new; in evNewWaitList()
[all …]
H A Dev_streams.c63 evStream *new; in evWrite() local
66 OKNEW(new); in evWrite()
68 new->uap = uap; in evWrite()
69 new->fd = fd; in evWrite()
70 new->flags = 0; in evWrite()
87 FREE(new); in evWrite()
97 evStream *new; in evRead() local
100 OKNEW(new); in evRead()
102 new->uap = uap; in evRead()
103 new->fd = fd; in evRead()
[all …]
/netbsd/crypto/dist/ipsec-tools/src/racoon/
H A Dremoteconf.c491 new = racoon_calloc(1, sizeof(*new)); in newrmconf()
583 new = racoon_calloc(1, sizeof(*new));
587 memcpy(new, rmconf, sizeof(*new));
619 new->etypes = dupetypes(new->etypes);
677 new->idv = vdup(new->idv);
681 new->key = vdup(new->key);
685 new->mycert = vdup(new->mycert);
689 new->peerscert = vdup(new->peerscert);
693 new->cacert = vdup(new->cacert);
904 new = racoon_calloc(1, sizeof(*new)); in newisakmpsa()
[all …]
/netbsd/usr.bin/find/
H A Dfunction.c244 new->t_data = find_parsenum(new, opt, arg, NULL); in c_amin()
301 new->t_data = find_parsedate(new, opt, arg); in c_asince()
329 new->t_data = find_parsenum(new, opt, arg, NULL); in c_atime()
357 new->t_data = find_parsenum(new, opt, arg, NULL); in c_cmin()
414 new->t_data = find_parsedate(new, opt, arg); in c_csince()
442 new->t_data = find_parsenum(new, opt, arg, NULL); in c_ctime()
767 new->e_argv = emalloc((cnt + new->ep_maxargs) in c_exec()
771 new->ep_bxp = &new->e_argv[cnt]; in c_exec()
796 new->ep_ebp = new->ep_bbp + bufsize - 1; in c_exec()
915 new->e_argv[cnt] = new->e_orig[cnt] = NULL; in c_execdir()
[all …]
/netbsd/external/bsd/openldap/dist/libraries/liblber/
H A Dmemory.c200 void *new; in ber_memalloc_x() local
210 if( new ) in ber_memalloc_x()
243 return new; in ber_memalloc_x()
255 void *new; in ber_memcalloc_x() local
267 if( new ) in ber_memcalloc_x()
556 new = bv; in ber_str2bv_x()
571 AC_MEMCPY( new->bv_val, s, new->bv_len ); in ber_str2bv_x()
572 new->bv_val[new->bv_len] = '\0'; in ber_str2bv_x()
600 new = bv; in ber_mem2bv_x()
616 AC_MEMCPY( new->bv_val, s, new->bv_len ); in ber_mem2bv_x()
[all …]
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dclone.c272 ec = new BlitExp(loc, new VarExp(loc, tmp), new ThisExp(loc)); in buildOpAssign()
275 ec = new BlitExp(loc, new ThisExp(loc), new IdentifierExp(loc, Id::p)); in buildOpAssign()
302 new DotVarExp(loc, new ThisExp(loc), v), in buildOpAssign()
303 new DotVarExp(loc, new IdentifierExp(loc, Id::p), v)); in buildOpAssign()
630 Expression *e = new CallExp(loc, new DotIdExp(loc, e1, Id::cmp), e2); in buildXopCmp()
632 Expression *e = new CallExp(loc, new DotIdExp(loc, e2, Id::cmp), e1); in buildXopCmp()
857 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildPostBlit()
909 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildPostBlit()
915 ex = new CallExp(loc, new IdentifierExp(loc, Id::__ArrayDtor), ex); in buildPostBlit()
1055 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildDtor()
[all …]
H A Dclone.d326 auto e2 = new BlitExp(loc, new VarExp(loc, swap), new ThisExp(loc)); in buildOpAssign()
327 auto e3 = new BlitExp(loc, new ThisExp(loc), new IdentifierExp(loc, Id.p)); in buildOpAssign()
332 auto e4 = new CallExp(loc, new DotVarExp(loc, new VarExp(loc, swap), sd.dtor, false)); in buildOpAssign()
339 e = new BlitExp(loc, new ThisExp(loc), new IdentifierExp(loc, Id.p)); in buildOpAssign()
357 new DotVarExp(loc, new ThisExp(loc), v), in buildOpAssign()
358 new DotVarExp(loc, new IdentifierExp(loc, Id.p), v)); in buildOpAssign()
709 Expression e = new CallExp(loc, new DotIdExp(loc, e1, Id.cmp), e2); in buildXopCmp()
839 fop.fbody = new CompileStatement(loc, new StringExp(loc, code)); in buildXtoHash()
1086 stmts.push(new ReturnStatement(loc, new CastExp(loc, new ThisExp(loc), Type.tvoidptr))); in buildWindowsCppDtor()
1538 new DotVarExp(loc, new ThisExp(loc), v), in generateCopyCtorBody()
[all …]
H A Dcond.c69 return new StaticForeach( in syntaxCopy()
105 es = new Expressions(); in lowerArrayAggregate()
137 TypeFunction *tf = new TypeFunction(new Parameters(), NULL, 0, LINKdefault, 0); in wrapAndCall()
141 Expression *ce = new CallExp(loc, fe, new Expressions()); in wrapAndCall()
201 Type *ty = new TypeTypeof(loc, new TupleExp(loc, e)); in createTupleType()
222 return new CallExp(loc, new TypeExp(loc, type), e); in createTuple()
256 Parameters *pparams[3] = {new Parameters(), new Parameters(), new Parameters()}; in lowerNonArrayAggregate()
313 s1->push(new ExpStatement(aloc, new AssertExp(aloc, new IntegerExp(aloc, 0, Type::tint32)))); in lowerNonArrayAggregate()
314 Type *ety = new TypeTypeof(aloc, wrapAndCall(aloc, new CompoundStatement(aloc, s1))); in lowerNonArrayAggregate()
329 Expression *catass = new CatAssignExp(aloc, new IdentifierExp(aloc, idres), res[1]); in lowerNonArrayAggregate()
[all …]
H A Dstatementsem.c1188 …increment = new AddAssignExp(loc, new VarExp(loc, fs->key), new IntegerExp(loc, 1, fs->key->type)); in visit()
1192 …fs->value->_init = new ExpInitializer(loc, new IndexExp(loc, new VarExp(loc, tmp), new VarExp(loc,… in visit()
1885 cond = new CmpExp(TOKlt, loc, new VarExp(loc, fs->key), new VarExp(loc, tmp)); in visit()
1890 … cond = new EqualExp(TOKnotequal, loc, new VarExp(loc, fs->key), new VarExp(loc, tmp)); in visit()
1910 ie = new ExpInitializer(loc, new CastExp(loc, new VarExp(loc, fs->key), fs->prm->type)); in visit()
2352 … s = new ExpStatement(ss->loc, new AssertExp(ss->loc, new IntegerExp(ss->loc, 0, Type::tint32))); in visit()
2358 s = new ExpStatement(ss->loc, new HaltExp(ss->loc)); in visit()
3078 result = new ReturnStatement(Loc(), new IntegerExp(1)); in visit()
3164 result = new ReturnStatement(Loc(), new IntegerExp(0)); in visit()
3228 …Expression *e = new CallExp(ss->loc, new VarExp(ss->loc, fdenter, false), new VarExp(ss->loc, tmp)… in visit()
[all …]
H A Dstatementsem.d796 s = new CompoundStatement(loc, new ExpStatement(loc, vinit), s); in package()
1122 … increment = new AddAssignExp(loc, new VarExp(loc, fs.key), new IntegerExp(loc, 1, fs.key.type)); in package()
1126 … IndexExp indexExp = new IndexExp(loc, new VarExp(loc, tmp), new VarExp(loc, fs.key)); in package()
1598 s = new CaseStatement(Loc.initial, new IntegerExp(i + 2), c); in package()
1799 cond = new PostExp(EXP.minusMinus, loc, new VarExp(loc, fs.key)); in package()
1816 cond = new CmpExp(EXP.lessThan, loc, new VarExp(loc, fs.key), new VarExp(loc, tmp)); in package()
1821 … cond = new EqualExp(EXP.notEqual, loc, new VarExp(loc, fs.key), new VarExp(loc, tmp)); in package()
1840 ie = new ExpInitializer(loc, new CastExp(loc, new VarExp(loc, fs.key), fs.prm.type)); in package()
2363 s = new ExpStatement(ss.loc, new HaltExp(ss.loc)); in package()
3388 e = new CallExp(ss.loc, fdexit, new VarExp(ss.loc, tmp)); in package()
[all …]
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dclone.c272 ec = new BlitExp(loc, new VarExp(loc, tmp), new ThisExp(loc)); in buildOpAssign()
275 ec = new BlitExp(loc, new ThisExp(loc), new IdentifierExp(loc, Id::p)); in buildOpAssign()
302 new DotVarExp(loc, new ThisExp(loc), v), in buildOpAssign()
303 new DotVarExp(loc, new IdentifierExp(loc, Id::p), v)); in buildOpAssign()
630 Expression *e = new CallExp(loc, new DotIdExp(loc, e1, Id::cmp), e2); in buildXopCmp()
632 Expression *e = new CallExp(loc, new DotIdExp(loc, e2, Id::cmp), e1); in buildXopCmp()
857 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildPostBlit()
909 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildPostBlit()
915 ex = new CallExp(loc, new IdentifierExp(loc, Id::__ArrayDtor), ex); in buildPostBlit()
1055 ex = new SliceExp(loc, ex, new IntegerExp(loc, 0, Type::tsize_t), in buildDtor()
[all …]
H A Dcond.c69 return new StaticForeach( in syntaxCopy()
105 es = new Expressions(); in lowerArrayAggregate()
137 TypeFunction *tf = new TypeFunction(new Parameters(), NULL, 0, LINKdefault, 0); in wrapAndCall()
141 Expression *ce = new CallExp(loc, fe, new Expressions()); in wrapAndCall()
201 Type *ty = new TypeTypeof(loc, new TupleExp(loc, e)); in createTupleType()
222 return new CallExp(loc, new TypeExp(loc, type), e); in createTuple()
256 Parameters *pparams[3] = {new Parameters(), new Parameters(), new Parameters()}; in lowerNonArrayAggregate()
313 s1->push(new ExpStatement(aloc, new AssertExp(aloc, new IntegerExp(aloc, 0, Type::tint32)))); in lowerNonArrayAggregate()
314 Type *ety = new TypeTypeof(aloc, wrapAndCall(aloc, new CompoundStatement(aloc, s1))); in lowerNonArrayAggregate()
329 Expression *catass = new CatAssignExp(aloc, new IdentifierExp(aloc, idres), res[1]); in lowerNonArrayAggregate()
[all …]
H A Dstatementsem.c1188 …increment = new AddAssignExp(loc, new VarExp(loc, fs->key), new IntegerExp(loc, 1, fs->key->type)); in visit()
1192 …fs->value->_init = new ExpInitializer(loc, new IndexExp(loc, new VarExp(loc, tmp), new VarExp(loc,… in visit()
1885 cond = new CmpExp(TOKlt, loc, new VarExp(loc, fs->key), new VarExp(loc, tmp)); in visit()
1890 … cond = new EqualExp(TOKnotequal, loc, new VarExp(loc, fs->key), new VarExp(loc, tmp)); in visit()
1910 ie = new ExpInitializer(loc, new CastExp(loc, new VarExp(loc, fs->key), fs->prm->type)); in visit()
2352 … s = new ExpStatement(ss->loc, new AssertExp(ss->loc, new IntegerExp(ss->loc, 0, Type::tint32))); in visit()
2358 s = new ExpStatement(ss->loc, new HaltExp(ss->loc)); in visit()
3078 result = new ReturnStatement(Loc(), new IntegerExp(1)); in visit()
3164 result = new ReturnStatement(Loc(), new IntegerExp(0)); in visit()
3228 …Expression *e = new CallExp(ss->loc, new VarExp(ss->loc, fdenter, false), new VarExp(ss->loc, tmp)… in visit()
[all …]
/netbsd/external/bsd/elftosb/dist/elftosb2/
H A Delftosb_parser.y226 $$ = new AssignmentASTNode($1, $3);
455 $$ = new StringConstASTNode($1);
460 $$ = new SourceASTNode($1);
480 $$ = new BlobConstASTNode($1);
520 $$ = new NaturalLocationASTNode();
527 $$ = new NaturalLocationASTNode();
624 $$ = new SymbolASTNode(NULL, $1);
713 $$ = new StringConstASTNode($1);
805 $$ = new SymbolASTNode($3, $1);
810 $$ = new SymbolASTNode($2);
[all …]
/netbsd/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Djs_calls_example.txt21 func_clock.html obj-new Date 1
24 This shows the type of calls made, 1 exec, one obj-new, several func; a more
55 <null> obj-new BarProp 1
56 <null> obj-new CSSStyleDeclaration 1
57 <null> obj-new Global Scope Polluter 1
58 <null> obj-new HTMLCollection 1
59 <null> obj-new HTMLDocument 1
60 <null> obj-new HTMLHtmlElement 1
61 <null> obj-new KeyboardEvent 1
62 <null> obj-new NodeList 1
[all …]
/netbsd/external/cddl/dtracetoolkit/dist/Examples/
H A Djs_calls_example.txt21 func_clock.html obj-new Date 1
24 This shows the type of calls made, 1 exec, one obj-new, several func; a more
55 <null> obj-new BarProp 1
56 <null> obj-new CSSStyleDeclaration 1
57 <null> obj-new Global Scope Polluter 1
58 <null> obj-new HTMLCollection 1
59 <null> obj-new HTMLDocument 1
60 <null> obj-new HTMLHtmlElement 1
61 <null> obj-new KeyboardEvent 1
62 <null> obj-new NodeList 1
[all …]
/netbsd/lib/libform/
H A Dfield_types.c93 FIELDTYPE *new; in _formi_create_fieldtype() local
95 if ((new = malloc(sizeof(*new))) == NULL) in _formi_create_fieldtype()
99 new->refcount = 0; in _formi_create_fieldtype()
100 new->link = NULL; in _formi_create_fieldtype()
109 return new; in _formi_create_fieldtype()
172 FIELDTYPE *new; in new_fieldtype() local
182 return new; in new_fieldtype()
252 FIELDTYPE *new; in link_fieldtype() local
263 if ((new->link = malloc(sizeof(*new->link))) == NULL) { in link_fieldtype()
264 free(new); in link_fieldtype()
[all …]
H A Dtype_alnum.c55 alnum_args *new; in create_alnum_args() local
57 new = malloc(sizeof(*new)); in create_alnum_args()
59 if (new != NULL) in create_alnum_args()
71 alnum_args *new; in copy_alnum_args() local
73 new = malloc(sizeof(*new)); in copy_alnum_args()
75 if (new != NULL) in copy_alnum_args()
98 char *buf, *new; in alnum_check_field() local
136 if ((new = malloc(sizeof(*new) * (end - start + 1))) == NULL) in alnum_check_field()
141 new[end] = '\0'; in alnum_check_field()
143 new[0]= '\0'; in alnum_check_field()
[all …]
H A Dtype_alpha.c57 alpha_args *new; in create_alpha_args() local
59 new = malloc(sizeof(*new)); in create_alpha_args()
61 if (new != NULL) in create_alpha_args()
73 alpha_args *new; in copy_alpha_args() local
75 new = malloc(sizeof(*new)); in copy_alpha_args()
77 if (new != NULL) in copy_alpha_args()
100 char *buf, *new; in alpha_check_field() local
139 if ((new = malloc(sizeof(*new) * (end - start + 1))) == NULL) in alpha_check_field()
144 new[end] = '\0'; in alpha_check_field()
146 new[0] = '\0'; in alpha_check_field()
[all …]
/netbsd/external/bsd/nvi/dist/vi/
H A Dvs_split.c126 new->t_maxrows = IS_ONELINE(new) ? 1 : new->rows - 1; in vs_split()
148 if (new->t_rows > new->t_maxrows) in vs_split()
149 new->t_rows = new->t_maxrows; in vs_split()
150 if (new->t_minrows > new->t_maxrows) in vs_split()
151 new->t_minrows = new->t_maxrows; in vs_split()
162 if (new->t_rows > new->rows - 1) in vs_split()
163 new->t_minrows = new->t_rows = in vs_split()
164 IS_ONELINE(new) ? 1 : new->rows - 1; in vs_split()
170 _TMAP(new) = IS_ONELINE(new) ? in vs_split()
171 _HMAP(new) : _HMAP(new) + (new->t_rows - 1); in vs_split()
[all …]
/netbsd/lib/libc/isc/
H A Dev_streams.c71 evStream *new; in evWrite() local
74 OKNEW(new); in evWrite()
76 new->uap = uap; in evWrite()
77 new->fd = fd; in evWrite()
78 new->flags = 0; in evWrite()
95 FREE(new); in evWrite()
105 evStream *new; in evRead() local
108 OKNEW(new); in evRead()
110 new->uap = uap; in evRead()
111 new->fd = fd; in evRead()
[all …]
/netbsd/external/bsd/nvi/dist/ex/
H A Dex_edit.c121 SCR *new; in ex_N_edit() local
128 (void)screen_fini(new); in ex_N_edit()
135 new->ep = sp->ep; in ex_N_edit()
136 ++new->ep->refcnt; in ex_N_edit()
137 TAILQ_INSERT_HEAD(&new->ep->scrq, new, eq); in ex_N_edit()
139 new->frp = frp; in ex_N_edit()
142 new->lno = sp->lno; in ex_N_edit()
143 new->cno = sp->cno; in ex_N_edit()
147 (void)screen_end(new); in ex_N_edit()
152 new->cargv = new->argv = ex_buildargv(sp, NULL, frp->name); in ex_N_edit()
[all …]
/netbsd/sys/lib/libsa/
H A Dext2fs.c893 memcpy(new, old, sizeof(struct ext2fs)); in e2fs_sb_bswap()
902 new->e2fs_bpg = bswap32(old->e2fs_bpg); in e2fs_sb_bswap()
903 new->e2fs_fpg = bswap32(old->e2fs_fpg); in e2fs_sb_bswap()
904 new->e2fs_ipg = bswap32(old->e2fs_ipg); in e2fs_sb_bswap()
911 new->e2fs_beh = bswap16(old->e2fs_beh); in e2fs_sb_bswap()
916 new->e2fs_rev = bswap32(old->e2fs_rev); in e2fs_sb_bswap()
917 new->e2fs_ruid = bswap16(old->e2fs_ruid); in e2fs_sb_bswap()
933 memcpy(new, old, isize); in e2fs_i_bswap()
937 new->e2di_uid = bswap16(old->e2di_uid); in e2fs_i_bswap()
938 new->e2di_gid = bswap16(old->e2di_gid); in e2fs_i_bswap()
[all …]

12345678910>>...187