HomeSort by relevance Sort by last modified time
    Searched defs:new (Results 51 - 75 of 341) sorted by null

1 23 4 5 6 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale/locale.cons/
assign.pass.cpp 16 #include <new>
22 void* operator new(std::size_t s) throw(std::bad_alloc)
copy.pass.cpp 16 #include <new>
22 void* operator new(std::size_t s) throw(std::bad_alloc)
default.pass.cpp 15 #include <new>
22 void* operator new(std::size_t s) throw(std::bad_alloc)
  /ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale.convenience/conversions/conversions.buffer/
ctor.pass.cpp 14 // wbuffer_convert(streambuf *bytebuf = 0, Codecvt *pcvt = new Codecvt,
21 #include <new>
25 void* operator new(std::size_t s) throw(std::bad_alloc)
55 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>);
62 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>, std::mbstate_t());
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
nullptr_t_deleter_throw.pass.cpp 18 #include <new>
35 void* operator new(std::size_t s) throw(std::bad_alloc)
  /ndk/sources/host-tools/ndk-stack/elff/
elf_alloc.cc 39 /* Allocate new chunk. */
60 void* DwarfAllocBase::operator new(size_t size, const ElfFile* elf) {
  /ndk/tests/device/test-stlport_shared-exception/jni/
delete1.cpp 8 void *operator new[](size_t sz) throw() {
18 px = new X[5][10];
new16.cpp 5 // placement new.
10 inline void* operator new(size_t, void* __p) throw() { return __p; }
21 f = new (p) long;
new3.cpp 2 // { dg-options "-fcheck-new -pedantic -Wno-long-long" }
12 void * operator new (__SIZE_TYPE__ s)
23 void * operator new (__SIZE_TYPE__ s) throw()
34 A *ap = new A;
35 B *bp = new B;
new5.cpp 3 #include <new>
7 void * operator new[](size_t, std::nothrow_t const &) throw()
14 Inner * ic = new (std::nothrow) Inner[1]; // SegFault here
new7.cpp 4 #include <new>
16 void* operator new ( std::size_t n ) throw ( std::bad_alloc )
19 return ::operator new( n );
33 X* x = new X; // gcc 3.0 fails to call operator delete when X::X throws
pdel1.cpp 4 #include <new>
14 void * operator new (size_t size, int, int) { return operator new (size); }
19 A* ap = new (1, 5) A;
pdel2.cpp 4 #include <new>
14 void * operator new (size_t size, int, int) { return operator new (size); }
19 A* ap = new (1, 5) A;
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;
  /ndk/tests/device/test-stlport_static-exception/jni/
delete1.cpp 8 void *operator new[](size_t sz) throw() {
18 px = new X[5][10];
new16.cpp 5 // placement new.
10 inline void* operator new(size_t, void* __p) throw() { return __p; }
21 f = new (p) long;
new3.cpp 2 // { dg-options "-fcheck-new -pedantic -Wno-long-long" }
12 void * operator new (__SIZE_TYPE__ s)
23 void * operator new (__SIZE_TYPE__ s) throw()
34 A *ap = new A;
35 B *bp = new B;
new5.cpp 3 #include <new>
7 void * operator new[](size_t, std::nothrow_t const &) throw()
14 Inner * ic = new (std::nothrow) Inner[1]; // SegFault here
new7.cpp 4 #include <new>
16 void* operator new ( std::size_t n ) throw ( std::bad_alloc )
19 return ::operator new( n );
33 X* x = new X; // gcc 3.0 fails to call operator delete when X::X throws
pdel1.cpp 4 #include <new>
14 void * operator new (size_t size, int, int) { return operator new (size); }
19 A* ap = new (1, 5) A;
pdel2.cpp 4 #include <new>
14 void * operator new (size_t size, int, int) { return operator new (size); }
19 A* ap = new (1, 5) A;
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/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/clang/test/Analysis/
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...]
new.cpp 13 // This used to crash because the global operator new is being implicitly
15 void *x = ::operator new(0);
18 // Check that the new/delete did not invalidate someGlobal;
23 // This is the standard placement new.
24 inline void* operator new(size_t, void* __p) throw()
34 void *y = new (x) int;
41 void *operator new(size_t, size_t, int *);
46 void *y = new (0, x) int;
52 void *operator new(size_t, void *, void *);
57 void *y = new (0, x) int; // no-warnin
    [all...]

Completed in 494 milliseconds

1 23 4 5 6 7 8 91011>>