HomeSort by relevance Sort by last modified time
    Searched defs:new (Results 101 - 125 of 437) sorted by null

1 2 3 45 6 7 8 91011>>

  /ndk/tests/device/test-stlport_static-exception/jni/
placement2.cpp 1 // Bug: We were calling f() twice, for both the placement new and placement
6 void* operator new (__SIZE_TYPE__ sz, void*) { return operator new (sz); }
18 new (f()) A;
  /external/clang/test/Analysis/
NewDelete-custom.cpp 12 void *operator new[](std::size_t size) throw() { return allocator(size); }
13 void *operator new(std::size_t size) throw() { return allocator(size); }
14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); }
15 void *operator new(std::size_t, double d);
19 void *operator new(std::size_t);
23 void *p1 = C::operator new(0); // no warn
25 C *p2 = new C; // no warn
27 C *c3 = ::new C;
34 void *p = operator new[](0); // call is inlined, no warn
38 int *p = new int[0]
    [all...]
new-with-exceptions.cpp 9 // This is the standard placement new.
10 inline void* operator new(size_t, void* __p) throw()
16 void *operator new(size_t) throw();
20 void *operator new(size_t) noexcept;
24 void *operator new(size_t);
28 void *operator new(size_t) throw(int);
32 clang_analyzer_eval(new NoThrow); // expected-warning{{UNKNOWN}}
33 clang_analyzer_eval(new NoExcept); // expected-warning{{UNKNOWN}}
35 clang_analyzer_eval(new DefaultThrow);
36 clang_analyzer_eval(new ExplicitThrow)
    [all...]
  /external/chromium/base/allocator/
generic_allocators.cc 6 // low-level functions malloc() and free(). This way, including a new
27 void* __cdecl operator new(size_t size) {
35 void* operator new[](size_t size) {
43 void* operator new(size_t size, const std::nothrow_t& nt) __THROW {
47 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW {
53 // If flag is 1, calls to malloc will behave like calls to new,
  /external/chromium_org/base/allocator/
generic_allocators.cc 6 // low-level functions malloc() and free(). This way, including a new
27 void* __cdecl operator new(size_t size) {
35 void* operator new[](size_t size) {
43 void* operator new(size_t size, const std::nothrow_t& nt) __THROW {
47 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW {
53 // If flag is 1, calls to malloc will behave like calls to new,
  /external/chromium_org/base/memory/
manual_constructor.h 35 static void* operator new[](size_t size) {
61 new(space_.void_data()) Type;
66 new(space_.void_data()) Type(p1);
71 new(space_.void_data()) Type(p1, p2);
76 new(space_.void_data()) Type(p1, p2, p3);
81 new(space_.void_data()) Type(p1, p2, p3, p4);
87 new(space_.void_data()) Type(p1, p2, p3, p4, p5);
94 new(space_.void_data()) Type(p1, p2, p3, p4, p5, p6);
101 new(space_.void_data()) Type(p1, p2, p3, p4, p5, p6, p7);
108 new(space_.void_data()) Type(p1, p2, p3, p4, p5, p6, p7, p8)
    [all...]
  /external/chromium_org/sync/syncable/
mutable_entry.h 104 void* operator new(size_t size) { return (::operator new)(size); }
  /external/chromium_org/third_party/icu/source/test/perf/perldriver/
Dataset.pm 13 # Create a new Dataset with the given data.
14 sub new { subroutine
26 my $stats = Statistics::Descriptive::Full->new();
69 # Divide two Datasets and return a new one, maintaining the
70 # mean+/-error. The new Dataset has no data points.
80 my $result = Dataset->new();
87 # subtracts two Datasets and return a new one, maintaining the
88 # mean+/-error. The new Dataset has no data points.
93 my $result = Dataset->new();
100 # adds two Datasets and return a new one, maintaining th
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_fs_live_variables.h 55 static void* operator new(size_t size, void *ctx)
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/
dwarf2-aranges.c 84 int new; local
92 2*dbgfmt_dwarf2->sizeof_address, 0, 0, &new,
  /external/chromium_org/v8/src/
zone-inl.h 42 inline void* Zone::New(int size) {
72 return static_cast<T*>(New(length * sizeof(T)));
96 void* ZoneObject::operator new(size_t size, Zone* zone) {
97 return zone->New(static_cast<int>(size));
100 inline void* ZoneAllocationPolicy::New(size_t size) {
102 return zone_->New(static_cast<int>(size));
107 void* ZoneList<T>::operator new(size_t size, Zone* zone) {
108 return zone->New(static_cast<int>(size));
113 void* ZoneSplayTree<T>::operator new(size_t size, Zone* zone) {
114 return zone->New(static_cast<int>(size))
    [all...]
  /external/icu4c/test/perf/perldriver/
Dataset.pm 13 # Create a new Dataset with the given data.
14 sub new { subroutine
26 my $stats = Statistics::Descriptive::Full->new();
69 # Divide two Datasets and return a new one, maintaining the
70 # mean+/-error. The new Dataset has no data points.
80 my $result = Dataset->new();
87 # subtracts two Datasets and return a new one, maintaining the
88 # mean+/-error. The new Dataset has no data points.
93 my $result = Dataset->new();
100 # adds two Datasets and return a new one, maintaining th
    [all...]
  /external/ipsec-tools/src/racoon/
genlist.c 44 struct genlist *new = calloc(sizeof(struct genlist), 1); local
45 TAILQ_INIT(new);
46 return new;
str2val.c 55 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);
  /external/llvm/include/llvm/Support/
RecyclingAllocator.h 63 inline void *operator new(size_t,
  /external/llvm/lib/IR/
User.cpp 49 Use *Begin = static_cast<Use*>(::operator new(size));
51 (void) new(End) Use::UserRef(const_cast<User*>(this), 1);
56 // User operator new Implementations
59 void *User::operator new(size_t s, unsigned Us) {
60 void *Storage = ::operator new(s + sizeof(Use) * Us);
  /external/lzma/CPP/Common/
NewHandler.cpp 18 operator new(size_t size)
50 void * __cdecl operator new(size_t size)
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_fs_live_variables.h 55 static void* operator new(size_t size, void *ctx)
  /external/qemu/
qemu-malloc.c 87 char *new; local
93 new = qemu_malloc(size + 1);
94 new[size] = 0;
96 return memcpy(new, str, size);
  /external/v8/src/
zone-inl.h 42 inline void* Zone::New(int size) {
73 return static_cast<T*>(New(length * sizeof(T)));
97 // TODO(isolates): for performance reasons, this should be replaced with a new
100 void* ZoneObject::operator new(size_t size) {
101 return ZONE->New(static_cast<int>(size));
104 void* ZoneObject::operator new(size_t size, Zone* zone) {
105 return zone->New(static_cast<int>(size));
109 inline void* ZoneListAllocationPolicy::New(int size) {
110 return ZONE->New(size);
115 void* ZoneList<T>::operator new(size_t size)
    [all...]
  /external/valgrind/main/memcheck/tests/
new_override.cpp 9 void *operator new[](size_t size)
22 toto = new Test[2];
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/list.modifiers/
insert_iter_iter_iter.pass.cpp 28 void* operator new(std::size_t s) throw(std::bad_alloc)
insert_iter_size_value.pass.cpp 27 void* operator new(std::size_t s) throw(std::bad_alloc)
insert_iter_value.pass.cpp 27 void* operator new(std::size_t s) throw(std::bad_alloc)
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.array/
new_array_nothrow_replace.pass.cpp 10 // test operator new [] nothrow by replacing only operator new
12 #include <new>
20 void* operator new(std::size_t s) throw(std::bad_alloc)
42 A* ap = new (std::nothrow) A[3];

Completed in 723 milliseconds

1 2 3 45 6 7 8 91011>>