Home
last modified time | relevance | path

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

12345678910>>...64

/external/dnsmasq/src/
Doption.c668 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); in parse_dhcp_opt() local
675 new->len = 0; in parse_dhcp_opt()
676 new->flags = flags; in parse_dhcp_opt()
677 new->netid = NULL; in parse_dhcp_opt()
678 new->val = NULL; in parse_dhcp_opt()
679 new->opt = 0; in parse_dhcp_opt()
691 new->opt = atoi(arg); in parse_dhcp_opt()
702 new->opt = opttab[i].val; in parse_dhcp_opt()
711 new->u.vendor_class = (unsigned char *)opt_string_alloc(arg+7); in parse_dhcp_opt()
712 new->flags |= DHOPT_VENDOR; in parse_dhcp_opt()
[all …]
Dnetwork.c400 struct listener *new = safe_malloc(sizeof(struct listener)); in create_bound_listeners() local
401 new->family = iface->addr.sa.sa_family; in create_bound_listeners()
402 new->iface = iface; in create_bound_listeners()
403 new->next = listeners; in create_bound_listeners()
404 new->tftpfd = -1; in create_bound_listeners()
405 new->tcpfd = -1; in create_bound_listeners()
406 new->fd = -1; in create_bound_listeners()
407 listeners = new; in create_bound_listeners()
411 if ((new->tcpfd = socket(iface->addr.sa.sa_family, SOCK_STREAM, 0)) == -1 || in create_bound_listeners()
412 (new->fd = socket(iface->addr.sa.sa_family, SOCK_DGRAM, 0)) == -1 || in create_bound_listeners()
[all …]
/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 …]
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 …]
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 …]
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.y142 $$ = new LocationPath;
162 $$ = new LocationPath;
187 $$ = new Step(Step::ChildAxis, *$1, *$2);
190 $$ = new Step(Step::ChildAxis, *$1);
205 …$$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), …
208 … $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
216 $$ = new Step($1, *$2, *$3);
219 $$ = new Step($1, *$2);
234 … $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3);
237 $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
[all …]
/external/quake/quake/src/QW/client/
Dzone.c158 memblock_t *start, *rover, *new, *base; in Z_TagMalloc() local
190 new = (memblock_t *) ((byte *)base + size ); in Z_TagMalloc()
191 new->size = extra; in Z_TagMalloc()
192 new->tag = 0; // free block in Z_TagMalloc()
193 new->prev = base; in Z_TagMalloc()
194 new->id = ZONEID; in Z_TagMalloc()
195 new->next = base->next; in Z_TagMalloc()
196 new->next->prev = new; in Z_TagMalloc()
197 base->next = new; in Z_TagMalloc()
582 cache_system_t *new; in Cache_Move() local
[all …]
Dd_surf.c131 surfcache_t *new; in D_SCAlloc() local
162 new = sc_rover; in D_SCAlloc()
166 while (new->size < size) in D_SCAlloc()
175 new->size += sc_rover->size; in D_SCAlloc()
176 new->next = sc_rover->next; in D_SCAlloc()
180 if (new->size - size > 256) in D_SCAlloc()
182 sc_rover = (surfcache_t *)( (byte *)new + size); in D_SCAlloc()
183 sc_rover->size = new->size - size; in D_SCAlloc()
184 sc_rover->next = new->next; in D_SCAlloc()
187 new->next = sc_rover; in D_SCAlloc()
[all …]
Dd_polyse.c316 int new[6]; in D_PolysetRecursiveTriangle() local
359 new[0] = (lp1[0] + lp2[0]) >> 1; in D_PolysetRecursiveTriangle()
360 new[1] = (lp1[1] + lp2[1]) >> 1; in D_PolysetRecursiveTriangle()
361 new[2] = (lp1[2] + lp2[2]) >> 1; in D_PolysetRecursiveTriangle()
362 new[3] = (lp1[3] + lp2[3]) >> 1; in D_PolysetRecursiveTriangle()
363 new[5] = (lp1[5] + lp2[5]) >> 1; in D_PolysetRecursiveTriangle()
372 z = new[5]>>16; in D_PolysetRecursiveTriangle()
373 zbuf = zspantable[new[1]] + new[0]; in D_PolysetRecursiveTriangle()
379 pix = d_pcolormap[skintable[new[3]>>16][new[2]>>16]]; in D_PolysetRecursiveTriangle()
380 d_viewbuffer[d_scantable[new[1]] + new[0]] = pix; in D_PolysetRecursiveTriangle()
[all …]
/external/kernel-headers/original/asm-x86/
Dcmpxchg_32.h120 unsigned long new, int size) in __cmpxchg() argument
127 : "q"(new), "m"(*__xg(ptr)), "0"(old) in __cmpxchg()
133 : "r"(new), "m"(*__xg(ptr)), "0"(old) in __cmpxchg()
139 : "r"(new), "m"(*__xg(ptr)), "0"(old) in __cmpxchg()
153 unsigned long new, int size) in __sync_cmpxchg() argument
160 : "q"(new), "m"(*__xg(ptr)), "0"(old) in __sync_cmpxchg()
166 : "r"(new), "m"(*__xg(ptr)), "0"(old) in __sync_cmpxchg()
172 : "r"(new), "m"(*__xg(ptr)), "0"(old) in __sync_cmpxchg()
180 unsigned long old, unsigned long new, int size) in __cmpxchg_local() argument
187 : "q"(new), "m"(*__xg(ptr)), "0"(old) in __cmpxchg_local()
[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/webkit/JavaScriptCore/parser/
DGrammar.y131 varDecls = new (globalData) ParserArenaData<DeclarationStacks::VarStack>; in appendToVarDeclarationList()
293 …NULLTOKEN { $$ = createNodeInfo<ExpressionNode*>(new (GLOBAL_DATA) NullN…
294 …| TRUETOKEN { $$ = createNodeInfo<ExpressionNode*>(new (GLOBAL_DATA) Boo…
295 …| FALSETOKEN { $$ = createNodeInfo<ExpressionNode*>(new (GLOBAL_DATA) Boo…
297 …| STRING { $$ = createNodeInfo<ExpressionNode*>(new (GLOBAL_DATA) Str…
304 … RegExpNode* node = new (GLOBAL_DATA) RegExpNode(GLOBAL_DATA, *pattern, *flags);
315 … RegExpNode* node = new (GLOBAL_DATA) RegExpNode(GLOBAL_DATA, *pattern, *flags);
323 …IDENT ':' AssignmentExpr { $$ = createNodeInfo<PropertyNode*>(new (GLOBAL_DATA) Propert…
324 …| STRING ':' AssignmentExpr { $$ = createNodeInfo<PropertyNode*>(new (GLOBAL_DATA) Prope…
325 …| NUMBER ':' AssignmentExpr { $$ = createNodeInfo<PropertyNode*>(new (GLOBAL_DATA) Prope…
[all …]
/external/bouncycastle/patches/
Dandroid.patch14 + * This is a new class that was synthesized from ASN1Sequence and
55 + throw new IndexOutOfBoundsException(Integer.toString(index));
93 + * Adds a new element to this instance.
99 + throw new NullPointerException("obj == null");
111 + rest = new DEREncodable[5];
119 + DEREncodable[] newRest = new DEREncodable[index * 2 + 10];
163 + return new ASN1CollectionEnumeration();
179 + throw new ConcurrentModificationException();
188 + throw new ConcurrentModificationException();
278 + ByteArrayOutputStream bOut = new ByteArrayOutputStream();
[all …]
/external/kernel-headers/original/linux/
Dlist.h42 static inline void __list_add(struct list_head *new, in __list_add() argument
46 next->prev = new; in __list_add()
47 new->next = next; in __list_add()
48 new->prev = prev; in __list_add()
49 prev->next = new; in __list_add()
60 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
62 __list_add(new, head, head->next); in list_add()
73 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
75 __list_add(new, head->prev, head); in list_add_tail()
84 static inline void __list_add_rcu(struct list_head * new, in __list_add_rcu() 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 …]
/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/webkit/WebCore/rendering/style/
DSVGRenderStyleDefs.h133 static PassRefPtr<StyleFillData> create() { return adoptRef(new StyleFillData); } in create()
134 PassRefPtr<StyleFillData> copy() const { return adoptRef(new StyleFillData(*this)); } in copy()
152 static PassRefPtr<StyleStrokeData> create() { return adoptRef(new StyleStrokeData); } in create()
153 PassRefPtr<StyleStrokeData> copy() const { return adoptRef(new StyleStrokeData(*this)); } in copy()
177 static PassRefPtr<StyleStopData> create() { return adoptRef(new StyleStopData); } in create()
178 PassRefPtr<StyleStopData> copy() const { return adoptRef(new StyleStopData(*this)); } in copy()
196 static PassRefPtr<StyleTextData> create() { return adoptRef(new StyleTextData); } in create()
197 PassRefPtr<StyleTextData> copy() const { return adoptRef(new StyleTextData(*this)); } in copy()
214 static PassRefPtr<StyleClipData> create() { return adoptRef(new StyleClipData); } in create()
215 PassRefPtr<StyleClipData> copy() const { return adoptRef(new StyleClipData(*this)); } in copy()
[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/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/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()
/external/icu4c/data/unidata/
Dchanges.txt50 new string properties:
53 new binary properties:
62 new CJK Unihan properties (not supported by ICU)
64 new block names
65 new scripts
70 new Line_Break (lb) value:
72 new Joining_Group (jg) values: Farsi_Yeh, Nya
73 other new values:
76 new default-R range: U+1E800 - U+1EFFF
79 new CJK block end:
[all …]
/external/webkit/WebKitTools/Scripts/webkitpy/
Dmock.py211 def __init__(self, target, attribute, new, spec, create): argument
214 self.new = new
230 if patching.new is DEFAULT:
264 new, spec, = self.new, self.spec
266 if new is DEFAULT:
274 new = Mock(spec=spec)
276 new.return_value = Mock(spec=spec)
278 setattr(self.target, self.attribute, new)
279 return new
290 def patch_object(target, attribute, new=DEFAULT, spec=None, create=False): argument
[all …]

12345678910>>...64