Home
last modified time | relevance | path

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

12345678910>>...44

/external/ipsec-tools/src/racoon/
Dremoteconf.c171 struct remoteconf *new; in newrmconf() local
174 new = racoon_calloc(1, sizeof(*new)); in newrmconf()
175 if (new == NULL) in newrmconf()
178 new->proposal = NULL; in newrmconf()
181 new->doitype = IPSEC_DOI; in newrmconf()
182 new->sittype = IPSECDOI_SIT_IDENTITY_ONLY; in newrmconf()
183 new->idvtype = IDTYPE_UNDEFINED; in newrmconf()
184 new->idvl_p = genlist_init(); in newrmconf()
185 new->nonce_size = DEFAULT_NONCE_SIZE; in newrmconf()
186 new->passive = FALSE; in newrmconf()
[all …]
Dsainfo.c166 struct sainfo *new; in newsainfo() local
168 new = racoon_calloc(1, sizeof(*new)); in newsainfo()
169 if (new == NULL) in newsainfo()
172 new->lifetime = IPSECDOI_ATTR_SA_LD_SEC_DEFAULT; in newsainfo()
173 new->lifebyte = IPSECDOI_ATTR_SA_LD_KB_MAX; in newsainfo()
175 return new; in newsainfo()
201 inssainfo(new) in inssainfo() argument
202 struct sainfo *new; in inssainfo()
204 LIST_INSERT_HEAD(&sitree, new, chain);
235 struct sainfoalg *new; in newsainfoalg() local
[all …]
Dschedule.c133 struct sched *new; local
135 new = (struct sched *)racoon_malloc(sizeof(*new));
136 if (new == NULL)
139 memset(new, 0, sizeof(*new));
140 new->func = func;
141 new->param = param;
143 new->id = id++;
144 time(&new->created);
145 new->tick = tick;
147 new->xtime = current_time() + tick;
[all …]
Dstr2val.c55 caddr_t new; local
59 if ((new = racoon_malloc(len)) == 0) return(0);
62 snprintf(&new[j], len - j, "%02x", (u_char)buf[i]);
65 new[j++] = ' ';
66 new[j] = '\0';
69 new[j] = '\0';
71 return(new);
Dgrabmyaddr.c709 struct myaddrs *new; in autoconf_myaddrsport() local
711 new = dupmyaddr(p); in autoconf_myaddrsport()
712 new->udp_encap = 1; in autoconf_myaddrsport()
763 struct myaddrs *new; in newmyaddr() local
765 new = racoon_calloc(1, sizeof(*new)); in newmyaddr()
766 if (new == NULL) { in newmyaddr()
772 new->next = NULL; in newmyaddr()
773 new->addr = NULL; in newmyaddr()
775 return new; in newmyaddr()
781 struct myaddrs *new; in dupmyaddr() local
[all …]
/external/e2fsprogs/tests/f_resize_inode/
Dscript20 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
22 echo Exit status is $status >> $OUT.new
23 sed -e '1d' $OUT.new | sed -e '/^JFS DEBUG:/d' | tr -d \\015 >> $OUT
24 rm -f $OUT.new
29 echo "debugfs -R ''set_inode_field <7> block[2] 42'' -w $TMPFILE" > $OUT.new
30 $DEBUGFS -R "set_inode_field <7> block[2] 42" -w $TMPFILE >> $OUT.new 2>&1
32 echo Exit status is $status >> $OUT.new
33 sed -e '2d' $OUT.new >> $OUT
35 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
37 echo Exit status is $status >> $OUT.new
[all …]
/external/e2fsprogs/tests/f_swapfs/
Dscript13 echo e2fsck $VERIFY_FSCK_OPT -N test_filesys > $OUT.new
14 $FSCK $VERIFY_FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
16 echo Exit status is $status >> $OUT.new
17 sed -e '2d' $OUT.new >> $OUT
19 echo e2fsck $SWAP_FSCK_OPT -N test_filesys > $OUT.new
20 $FSCK $SWAP_FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
22 echo Exit status is $status >> $OUT.new
23 sed -e '2d' $OUT.new >> $OUT
26 $DEBUGFS -f $test_dir/debugfs.cmd $TMPFILE > $OUT.new 2>&1
28 echo Exit status is $status >> $OUT.new
[all …]
/external/webkit/WebCore/xml/
DXPathGrammar.y138 $$ = new LocationPath;
158 $$ = new LocationPath;
183 $$ = new Step(Step::ChildAxis, *$1, *$2);
186 $$ = new Step(Step::ChildAxis, *$1);
201 …$$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), …
204 … $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
212 $$ = new Step($1, *$2, *$3);
215 $$ = new Step($1, *$2);
230 … $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3);
233 $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
[all …]
/external/webkit/JavaScriptCore/parser/
DGrammar.y141 varDecls = new ParserRefCountedData<DeclarationStacks::VarStack>(GLOBAL_DATA); in appendToVarDeclarationList()
290 …NULLTOKEN { $$ = createNodeInfo<ExpressionNode*>(new NullNode(GLOBAL_DAT…
291 …| TRUETOKEN { $$ = createNodeInfo<ExpressionNode*>(new BooleanNode(GLOBA…
292 …| FALSETOKEN { $$ = createNodeInfo<ExpressionNode*>(new BooleanNode(GLOBA…
294 …| STRING { $$ = createNodeInfo<ExpressionNode*>(new StringNode(GLOBAL…
299 … RegExpNode* node = new RegExpNode(GLOBAL_DATA, l.pattern(), l.flags());
308 … RegExpNode* node = new RegExpNode(GLOBAL_DATA, "=" + l.pattern(), l.flags());
316 …IDENT ':' AssignmentExpr { $$ = createNodeInfo<PropertyNode*>(new PropertyNode(GLOBAL_D…
317 …| STRING ':' AssignmentExpr { $$ = createNodeInfo<PropertyNode*>(new PropertyNode(GLOBAL…
318 …| NUMBER ':' AssignmentExpr { $$ = createNodeInfo<PropertyNode*>(new PropertyNode(GLOBAL…
[all …]
/external/blktrace/btt/
Dlist.h55 static inline void __list_add(struct list_head *new, in __list_add() argument
59 next->prev = new; in __list_add()
60 new->next = next; in __list_add()
61 new->prev = prev; in __list_add()
62 prev->next = new; in __list_add()
73 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
75 __list_add(new, head, head->next); in list_add()
86 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
88 __list_add(new, head->prev, head); in list_add_tail()
224 struct list_head *new) in list_replace() argument
[all …]
/external/tcpdump/
Dmakemib184 function oidadd(new, parent, value) {
189 print "/* oidadd" inn(FILENAME) ":", new, "in", parent, "as", value, "line", $0, "*/"
191 gsub(/[-&\/]/,"",new)
196 inn(FILENAME), parent, new, value
200 if (oid[new] > 0 && oid[new] != value) {
202 inn(FILENAME), parent, new, value, oid[new]
209 if (new != sib)
213 inn(FILENAME), new, parent, \
219 oid[new]=value
221 child[parent] = new
[all …]
Dsetsignal.c77 struct sigaction old, new; in setsignal() local
79 memset(&new, 0, sizeof(new)); in setsignal()
80 new.sa_handler = func; in setsignal()
81 if (sigaction(sig, &new, &old) < 0) in setsignal()
/external/e2fsprogs/tests/d_loaddump/
Dscript21 echo "debugfs -R ''write $TEST_DATA test_data'' -w $TMPFILE" > $OUT.new
22 $DEBUGFS -R "write $TEST_DATA test_data" -w $TMPFILE >> $OUT.new 2>&1
24 echo Exit status is $status >> $OUT.new
25 sed -e '2d' $OUT.new >> $OUT
27 echo e2fsck $VERIFY_FSCK_OPT -N test_filesys > $OUT.new
28 $FSCK $VERIFY_FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
30 echo Exit status is $status >> $OUT.new
31 sed -e '2d' $OUT.new >> $OUT
33 echo "debugfs -R ''dump test_data $VERIFY_DATA'' $TMPFILE" > $OUT.new
34 $DEBUGFS -R "dump test_data $VERIFY_DATA" $TMPFILE >> $OUT.new 2>&1
[all …]
/external/yaffs2/yaffs2/
Ddevextras.h29 #define new newHack macro
75 static __inline__ void __list_add(struct list_head *new, in __list_add() argument
79 next->prev = new; in __list_add()
80 new->next = next; in __list_add()
81 new->prev = prev; in __list_add()
82 prev->next = new; in __list_add()
93 static __inline__ void list_add(struct list_head *new, struct list_head *head) in list_add() argument
95 __list_add(new, head, head->next); in list_add()
106 static __inline__ void list_add_tail(struct list_head *new, in list_add_tail() argument
109 __list_add(new, head->prev, head); in list_add_tail()
[all …]
/external/opencore/oscl/oscl/osclmemory/src/
Doscl_mem.h193 #define OSCL_ALLOC_NEW(T_allocator, T, params) new(T_allocator.allocate(1)) T params
195 #define OSCL_ALLOC_NEW(T_allocator, T, params) new(T_allocator.allocate_fl(1,__FILE__,__LINE__)) T …
197 #define OSCL_ALLOC_NEW(T_allocator, T, params) new(T_allocator.allocate(1)) T params
269 inline void * operator new(size_t aSize, const char *aFile, int aLine) in new() function
280 inline void * operator new(size_t aSize) in new() function
303 inline void * operator new[](size_t aSize, const char *aFile, int aLine)
314 inline void * operator new[](size_t aSize)
524 #define OSCL_NEW( T, params) new T params
526 #define OSCL_NEW( T, params) new T params
528 #define OSCL_NEW( T, params) new(__FILE__,__LINE__) T params
[all …]
/external/e2fsprogs/lib/ext2fs/
Dkernel-list.h37 static __inline__ void __list_add(struct list_head * new, in __list_add() argument
41 next->prev = new; in __list_add()
42 new->next = next; in __list_add()
43 new->prev = prev; in __list_add()
44 prev->next = new; in __list_add()
50 static __inline__ void list_add(struct list_head *new, struct list_head *head) in list_add() argument
52 __list_add(new, head, head->next); in list_add()
58 static __inline__ void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
60 __list_add(new, head->prev, head); in list_add_tail()
Direl_ma.c39 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
155 if (ma->entries[(unsigned) old].new == 0)
187 if (ma->entries[(unsigned) old].new == 0)
223 if (ma->entries[(unsigned) irel->current].new == 0)
277 if (ma->entries[(unsigned) ino].new == 0)
305 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new)
310 if ((old > ma->max_inode) || (new > ma->max_inode))
312 if (ma->entries[(unsigned) old].new == 0)
315 ma->entries[(unsigned) new] = ma->entries[(unsigned) old];
316 if (ma->ref_entries[(unsigned) new].refs)
[all …]
Dbrel_ma.c36 static errcode_t bma_move(ext2_brel brel, blk_t old, blk_t new);
124 if (ma->entries[(unsigned)old].new == 0) in bma_get()
143 if (ma->entries[(unsigned)brel->current].new == 0) in bma_next()
153 static errcode_t bma_move(ext2_brel brel, blk_t old, blk_t new) in bma_move() argument
158 if ((old > ma->max_block) || (new > ma->max_block)) in bma_move()
160 if (ma->entries[(unsigned)old].new == 0) in bma_move()
162 ma->entries[(unsigned)new] = ma->entries[old]; in bma_move()
163 ma->entries[(unsigned)old].new = 0; in bma_move()
174 if (ma->entries[(unsigned)old].new == 0) in bma_delete()
176 ma->entries[(unsigned)old].new = 0; in bma_delete()
/external/webkit/WebCore/rendering/style/
DSVGRenderStyleDefs.h129 static PassRefPtr<StyleFillData> create() { return adoptRef(new StyleFillData); } in create()
130 PassRefPtr<StyleFillData> copy() const { return adoptRef(new StyleFillData(*this)); } in copy()
148 static PassRefPtr<StyleStrokeData> create() { return adoptRef(new StyleStrokeData); } in create()
149 PassRefPtr<StyleStrokeData> copy() const { return adoptRef(new StyleStrokeData(*this)); } in copy()
173 static PassRefPtr<StyleStopData> create() { return adoptRef(new StyleStopData); } in create()
174 PassRefPtr<StyleStopData> copy() const { return adoptRef(new StyleStopData(*this)); } in copy()
192 static PassRefPtr<StyleTextData> create() { return adoptRef(new StyleTextData); } in create()
193 PassRefPtr<StyleTextData> copy() const { return adoptRef(new StyleTextData(*this)); } in copy()
210 static PassRefPtr<StyleClipData> create() { return adoptRef(new StyleClipData); } in create()
211 PassRefPtr<StyleClipData> copy() const { return adoptRef(new StyleClipData(*this)); } in copy()
[all …]
/external/e2fsprogs/tests/r_move_itable/
Dscript24 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
26 echo Exit status is $status >> $OUT.new
27 sed -e '1d' $OUT.new | sed -e '/^JFS DEBUG:/d' | tr -d \\015 >> $OUT
28 rm -f $OUT.new
43 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
45 echo Exit status is $status >> $OUT.new
46 sed -e '1d' $OUT.new | sed -e '/^JFS DEBUG:/d' | tr -d \\015 >> $OUT
47 rm -f $OUT.new
62 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
64 echo Exit status is $status >> $OUT.new
[all …]
/external/webkit/WebCore/html/
DCanvasStyle.h39 …static PassRefPtr<CanvasStyle> create(const String& color) { return adoptRef(new CanvasStyle(color… in create()
40 …static PassRefPtr<CanvasStyle> create(float grayLevel) { return adoptRef(new CanvasStyle(grayLevel… in create()
41 …tr<CanvasStyle> create(const String& color, float alpha) { return adoptRef(new CanvasStyle(color, … in create()
42 …static PassRefPtr<CanvasStyle> create(float grayLevel, float alpha) { return adoptRef(new CanvasSt… in create()
43 …<CanvasStyle> create(float r, float g, float b, float a) { return adoptRef(new CanvasStyle(r, g, b… in create()
44 …yle> create(float c, float m, float y, float k, float a) { return adoptRef(new CanvasStyle(c, m, y… in create()
45 …CanvasStyle> create(PassRefPtr<CanvasGradient> gradient) { return adoptRef(new CanvasStyle(gradien… in create()
46 …r<CanvasStyle> create(PassRefPtr<CanvasPattern> pattern) { return adoptRef(new CanvasStyle(pattern… in create()
/external/e2fsprogs/tests/r_resize_inode/
Dscript24 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
26 echo Exit status is $status >> $OUT.new
27 sed -e '1d' $OUT.new | sed -e '/^JFS DEBUG:/d' | tr -d \\015 >> $OUT
28 rm -f $OUT.new
48 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
50 echo Exit status is $status >> $OUT.new
51 sed -e '1d' $OUT.new | sed -e '/^JFS DEBUG:/d' | tr -d \\015 >> $OUT
52 rm -f $OUT.new
67 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
69 echo Exit status is $status >> $OUT.new
[all …]
/external/elfutils/tests/
Drun-get-lines.sh27 804842c: /home/drepper/gnu/new-bu/build/ttt/m.c:5:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, e…
28 8048432: /home/drepper/gnu/new-bu/build/ttt/m.c:6:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, e…
29 804844d: /home/drepper/gnu/new-bu/build/ttt/m.c:7:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, e…
30 8048458: /home/drepper/gnu/new-bu/build/ttt/m.c:8:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, e…
31 804845a: /home/drepper/gnu/new-bu/build/ttt/m.c:8:0: is_stmt:yes, end_seq:yes, bb:no, prologue:no, …
34 804845c: /home/drepper/gnu/new-bu/build/ttt/b.c:4:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, e…
35 804845f: /home/drepper/gnu/new-bu/build/ttt/b.c:5:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, e…
36 8048464: /home/drepper/gnu/new-bu/build/ttt/b.c:6:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, e…
37 8048466: /home/drepper/gnu/new-bu/build/ttt/b.c:6:0: is_stmt:yes, end_seq:yes, bb:no, prologue:no, …
40 8048468: /home/drepper/gnu/new-bu/build/ttt/f.c:3:0: is_stmt:yes, end_seq:no, bb:no, prologue:no, e…
[all …]
/external/bsdiff/
Dbsdiff.c142 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize) in matchlen() argument
147 if(old[i]!=new[i]) break; in matchlen()
153 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos) in search() argument
158 x=matchlen(old+I[st],oldsize-I[st],new,newsize); in search()
159 y=matchlen(old+I[en],oldsize-I[en],new,newsize); in search()
171 if(memcmp(old+I[x],new,MIN(oldsize-I[x],newsize))<0) { in search()
172 return search(I,old,oldsize,new,newsize,x,en,pos); in search()
174 return search(I,old,oldsize,new,newsize,st,x,pos); in search()
199 u_char *old,*new; in main() local
238 ((new=malloc(newsize+1))==NULL) || in main()
[all …]
/external/icu4c/tools/tzcode/
Dialloc.c46 icatalloc(old, new) in icatalloc() argument
48 const char * const new;
53 newsize = (new == NULL) ? 0 : strlen(new);
60 if (new != NULL)
61 (void) strcpy(result + oldsize, new);

12345678910>>...44