Home
last modified time | relevance | path

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

12345678910>>...139

/external/chromium_org/v8/test/webkit/
Ddfg-constant-fold-logical-not-branch-expected.txt29 PASS foo1(new Stuff()) is 43
30 PASS foo2(new Stuff()) is 58
31 PASS foo1(new Stuff()) is 43
32 PASS foo2(new Stuff()) is 58
33 PASS foo1(new Stuff()) is 43
34 PASS foo2(new Stuff()) is 58
35 PASS foo1(new Stuff()) is 43
36 PASS foo2(new Stuff()) is 58
37 PASS foo1(new Stuff()) is 43
38 PASS foo2(new Stuff()) is 58
[all …]
Ddfg-proto-stub-watchpoint-fire-expected.txt29 PASS foo((i % 2) ? new A() : new B()) is 43
30 PASS foo((i % 2) ? new A() : new B()) is 42
31 PASS foo((i % 2) ? new A() : new B()) is 43
32 PASS foo((i % 2) ? new A() : new B()) is 42
33 PASS foo((i % 2) ? new A() : new B()) is 43
34 PASS foo((i % 2) ? new A() : new B()) is 42
35 PASS foo((i % 2) ? new A() : new B()) is 43
36 PASS foo((i % 2) ? new A() : new B()) is 42
37 PASS foo((i % 2) ? new A() : new B()) is 43
38 PASS foo((i % 2) ? new A() : new B()) is 42
[all …]
Ddfg-proto-access-inline-osr-exit-expected.txt29 PASS foo({g:new Thingy()}) is 42
30 PASS foo({g:new Thingy()}) is 42
31 PASS foo({g:new Thingy()}) is 42
32 PASS foo({g:new Thingy()}) is 42
33 PASS foo({g:new Thingy()}) is 42
34 PASS foo({g:new Thingy()}) is 42
35 PASS foo({g:new Thingy()}) is 42
36 PASS foo({g:new Thingy()}) is 42
37 PASS foo({g:new Thingy()}) is 42
38 PASS foo({g:new Thingy()}) is 42
[all …]
Ddfg-to-string-side-effect-clobbers-toString-expected.txt29 PASS foo(new String("hello"), sideEffect) is "hellohello"
30 PASS foo(new String("hello"), sideEffect) is "hellohello"
31 PASS foo(new String("hello"), sideEffect) is "hellohello"
32 PASS foo(new String("hello"), sideEffect) is "hellohello"
33 PASS foo(new String("hello"), sideEffect) is "hellohello"
34 PASS foo(new String("hello"), sideEffect) is "hellohello"
35 PASS foo(new String("hello"), sideEffect) is "hellohello"
36 PASS foo(new String("hello"), sideEffect) is "hellohello"
37 PASS foo(new String("hello"), sideEffect) is "hellohello"
38 PASS foo(new String("hello"), sideEffect) is "hellohello"
[all …]
Ddfg-to-string-toString-becomes-bad-with-check-structure-expected.txt29 PASS foo.call(new String("foo")) is "foo"
30 PASS foo.call(new String("foo")) is "foo"
31 PASS foo.call(new String("foo")) is "foo"
32 PASS foo.call(new String("foo")) is "foo"
33 PASS foo.call(new String("foo")) is "foo"
34 PASS foo.call(new String("foo")) is "foo"
35 PASS foo.call(new String("foo")) is "foo"
36 PASS foo.call(new String("foo")) is "foo"
37 PASS foo.call(new String("foo")) is "foo"
38 PASS foo.call(new String("foo")) is "foo"
[all …]
Ddate-constructor-expected.txt29 PASS isNaN(new Date("")) is true
30 PASS new Date(1111).getTime() is 1111
31 PASS new Date(object).getTime() is 1111
32 PASS new Date(new Date(1111)).getTime() is 1111
33 PASS new Date(new Date(1111).toString()).getTime() is 1000
34 PASS new Date(1111, 1).getTime() - timeZoneOffset is -27104803200000
35 PASS new Date(1111, 1, 1).getTime() - timeZoneOffset is -27104803200000
36 PASS new Date(1111, 1, 1, 1).getTime() - timeZoneOffset is -27104799600000
37 PASS new Date(1111, 1, 1, 1, 1).getTime() - timeZoneOffset is -27104799540000
38 PASS new Date(1111, 1, 1, 1, 1, 1).getTime() - timeZoneOffset is -27104799539000
[all …]
Dequality-expected.txt47 PASS 0 == new String("0") is true
48 PASS 0 == new Object is false
67 PASS 1 == new String("0") is false
68 PASS 1 == new Object is false
87 PASS 0.1 == new String("0") is false
88 PASS 0.1 == new Object is false
107 PASS 2 == new String("0") is false
108 PASS 2 == new Object is false
127 PASS 3 == new String("0") is false
128 PASS 3 == new Object is false
[all …]
/external/valgrind/main/memcheck/tests/vbit-test/
Dvbits.c77 vbits_t new = { .num_bits = num_bits }; in undefined_vbits() local
80 case 1: new.bits.u32 = 0x01; break; in undefined_vbits()
81 case 8: new.bits.u8 = 0xff; break; in undefined_vbits()
82 case 16: new.bits.u16 = 0xffff; break; in undefined_vbits()
83 case 32: new.bits.u32 = ~0; break; in undefined_vbits()
84 case 64: new.bits.u64 = ~0ull; break; in undefined_vbits()
85 case 128: new.bits.u128[0] = ~0ull; in undefined_vbits()
86 new.bits.u128[1] = ~0ull; in undefined_vbits()
88 case 256: new.bits.u256[0] = ~0ull; in undefined_vbits()
89 new.bits.u256[1] = ~0ull; in undefined_vbits()
[all …]
/external/e2fsprogs/tests/f_resize_inode/
Dscript21 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
23 echo Exit status is $status >> $OUT.new
24 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
25 rm -f $OUT.new
30 echo "debugfs -R ''set_inode_field <7> block[2] 42'' -w test.img" > $OUT.new
31 $DEBUGFS -R "set_inode_field <7> block[2] 42" -w $TMPFILE >> $OUT.new 2>&1
33 echo Exit status is $status >> $OUT.new
34 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
36 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
38 echo Exit status is $status >> $OUT.new
[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 …]
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 …]
/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 …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Deditable_text_test.unitjs113 cvox.ChromeVox.braille = new TestBraille();
140 editable = new cvox.ChromeVoxEditableHTMLInput(element, new TestTts());
144 editable = new cvox.ChromeVoxEditableTextArea(element, new TestTts());
176 var tts = new TestTts();
177 var obj = new cvox.ChromeVoxEditableTextBase('Hello', 0, 0, false, tts);
179 obj.changed(new cvox.TextChangeEvent('Hello', 1, 1));
180 obj.changed(new cvox.TextChangeEvent('Hello', 2, 2));
181 obj.changed(new cvox.TextChangeEvent('Hello', 3, 3));
182 obj.changed(new cvox.TextChangeEvent('Hello', 4, 4));
183 obj.changed(new cvox.TextChangeEvent('Hello', 5, 5));
[all …]
/external/e2fsprogs/tests/d_special_files/
Dscript32 echo "debugfs -R ''stat foo'' -w test.img" > $OUT.new
33 $DEBUGFS -R "stat foo" -w $TMPFILE >> $OUT.new 2>&1
35 echo Exit status is $status >> $OUT.new
36 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
38 echo "debugfs -R ''stat foo2'' -w test.img" > $OUT.new
39 $DEBUGFS -R "stat foo2" -w $TMPFILE >> $OUT.new 2>&1
41 echo Exit status is $status >> $OUT.new
42 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
44 echo "debugfs -R ''block_dump 28'' -w test.img" > $OUT.new
45 $DEBUGFS -R "block_dump 28" -w $TMPFILE >> $OUT.new 2>&1
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetObjectFile.h51 TextSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getText()); in Initialize()
53 new NVPTXSection(MCSection::SV_ELF, SectionKind::getDataRel()); in Initialize()
54 BSSSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getBSS()); in Initialize()
56 new NVPTXSection(MCSection::SV_ELF, SectionKind::getReadOnly()); in Initialize()
59 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
61 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
63 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
65 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
67 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
69 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
[all …]
/external/chromium_org/third_party/sqlite/src/test/
DtriggerD.test33 INSERT INTO log VALUES('r1', new.rowid, new.oid, new._rowid_, new.x);
36 INSERT INTO log VALUES('r2', new.rowid, new.oid, new._rowid_, new.x);
40 INSERT INTO log VALUES('r3.new', new.rowid, new.oid, new._rowid_, new.x);
44 INSERT INTO log VALUES('r4.new', new.rowid, new.oid, new._rowid_, new.x);
66 } {r3.old 100 200 300 400 r3.new 101 200 300 400 r4.old 100 200 300 400 r4.new 101 200 300 400}
83 INSERT INTO log VALUES('r1', new.rowid, new.oid, new._rowid_, new.x);
86 INSERT INTO log VALUES('r2', new.rowid, new.oid, new._rowid_, new.x);
90 INSERT INTO log VALUES('r3.new', new.rowid, new.oid, new._rowid_, new.x);
94 INSERT INTO log VALUES('r4.new', new.rowid, new.oid, new._rowid_, new.x);
117 } {r3.old 1 1 1 200 r3.new 1 1 1 201 r4.old 1 1 1 200 r4.new 1 1 1 201}
[all …]
/external/valgrind/main/massif/tests/
Doverloaded-new.post.exp-mips322 Command: ./overloaded-new
44 99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
45 ->33.24% (4,000B) 0x........: operator new(unsigned int) (overloaded-new.cpp:19)
46 | ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
48 ->33.24% (4,000B) 0x........: operator new(unsigned int, std::nothrow_t const&) (overloaded-new.cpp…
49 | ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
51 ->16.62% (2,000B) 0x........: operator new[](unsigned int) (overloaded-new.cpp:29)
52 | ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
54 ->16.62% (2,000B) 0x........: operator new[](unsigned int, std::nothrow_t const&) (overloaded-new.c…
55 ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathGrammar.y140 $$ = new LocationPath;
160 $$ = new LocationPath;
185 $$ = new Step(Step::ChildAxis, *$1, *$2);
188 $$ = new Step(Step::ChildAxis, *$1);
203 …$$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), …
206 … $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
214 $$ = new Step($1, *$2, *$3);
217 $$ = new Step($1, *$2);
232 … $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3);
235 $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
[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/libnl/lib/
Dobject.c44 struct nl_object *new; in nl_object_alloc() local
46 if (ops->oo_size < sizeof(*new)) in nl_object_alloc()
49 new = calloc(1, ops->oo_size); in nl_object_alloc()
50 if (!new) in nl_object_alloc()
53 new->ce_refcnt = 1; in nl_object_alloc()
54 nl_init_list_head(&new->ce_list); in nl_object_alloc()
56 new->ce_ops = ops; in nl_object_alloc()
58 ops->oo_constructor(new); in nl_object_alloc()
60 NL_DBG(4, "Allocated new object %p\n", new); in nl_object_alloc()
62 return new; in nl_object_alloc()
[all …]
/external/libcxx/test/language.support/support.dynamic/new.delete/new.delete.single/
DAndroid.mk17 test_makefile := external/libcxx/test/language.support/support.dynamic/new.delete/new.delete.single…
19 test_name := language.support/support.dynamic/new.delete/new.delete.single/new_nothrow_replace
23 test_name := language.support/support.dynamic/new.delete/new.delete.single/new
24 test_src := new.pass.cpp
27 test_name := language.support/support.dynamic/new.delete/new.delete.single/new_nothrow
31 test_name := language.support/support.dynamic/new.delete/new.delete.single/new_replace
/external/chromium_org/v8/test/webkit/fast/js/
DtoString-number-expected.txt31 PASS Number.prototype.toString.call(new Number(0)) is "0"
36 PASS Number.prototype.toString.call(new Number(0), 2) is "0"
39 PASS Number.prototype.toString.call(new Number(0), 36) is "0"
42 PASS Number.prototype.toString.call(new Number(-1)) is "-1"
47 PASS Number.prototype.toString.call(new Number(-1), 2) is "-1"
50 PASS Number.prototype.toString.call(new Number(-1), 36) is "-1"
53 PASS Number.prototype.toString.call(new Number(1)) is "1"
58 PASS Number.prototype.toString.call(new Number(1), 2) is "1"
61 PASS Number.prototype.toString.call(new Number(1), 36) is "1"
64 PASS Number.prototype.toString.call(new Number(1984)) is "1984"
[all …]
/external/clang/test/Analysis/
DMismatchedDeallocator-checker-test.mm62 //--------------- test new family
64 int *p = new int;
65 …free(p); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not fre…
69 int *p = (int *)operator new(0);
70 …free(p); // expected-warning{{Memory allocated by operator new should be deallocated by 'delete', …
74 int *p = new int[1];
75 …free(p); // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', not…
79 int *p = new int;
80 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by …
84 int *p = (int *)operator new(0);
[all …]
/external/libsepol/src/
Debitmap.c20 ebitmap_node_t *n1, *n2, *new, *prev; in ebitmap_or() local
28 new = (ebitmap_node_t *) malloc(sizeof(ebitmap_node_t)); in ebitmap_or()
29 if (!new) { in ebitmap_or()
33 memset(new, 0, sizeof(ebitmap_node_t)); in ebitmap_or()
35 new->startbit = n1->startbit; in ebitmap_or()
36 new->map = n1->map | n2->map; in ebitmap_or()
40 new->startbit = n1->startbit; in ebitmap_or()
41 new->map = n1->map; in ebitmap_or()
44 new->startbit = n2->startbit; in ebitmap_or()
45 new->map = n2->map; in ebitmap_or()
[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 …]

12345678910>>...139