/external/libcxx/src/ |
new.cpp | 1 //===--------------------------- new.cpp ----------------------------------===// 14 #include "new" 25 // shared library. The global holding the current new handler is 40 // Implement all new and delete operators as weak definitions 46 operator new(std::size_t size) 73 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT 80 p = ::operator new(size); 92 operator new[](size_t size) 97 return ::operator new(size); 102 operator new[](size_t size, const std::nothrow_t&) _NOEXCEP [all...] |
/external/libcxxabi/src/ |
cxa_new_delete.cpp | 9 // This file implements the new and delete operators. 14 #include <new> 18 [new.delete.single] 36 operator new(std::size_t size) 62 [new.delete.single] 64 Calls operator new(size). If the call returns normally, returns the result of 69 operator new(size_t size, const std::nothrow_t&) 79 p = ::operator new(size); 88 [new.delete.array] 90 Returns operator new(size) [all...] |
/external/pdfium/core/src/fxcodec/jbig2/ |
JBig2_Object.cpp | 9 void *CJBig2_Object::operator new(size_t size, CJBig2_Module *pModule, FX_LPCSTR filename, int line) 20 void *CJBig2_Object::operator new(size_t size, CJBig2_Module *pModule) 35 void *CJBig2_Object::operator new[](size_t size, CJBig2_Module *pModule, size_t unit_size, 53 void *CJBig2_Object::operator new[](size_t size, CJBig2_Module *pModule, size_t unit_size)
|
/external/valgrind/massif/tests/ |
overloaded-new.cpp | 1 // operator new(unsigned) 2 // operator new[](unsigned) 3 // operator new(unsigned, std::nothrow_t const&) 4 // operator new[](unsigned, std::nothrow_t const&) 8 #include <new> 17 __attribute__((noinline)) void* operator new (std::size_t n) throw (std::bad_alloc) 22 __attribute__((noinline)) void* operator new (std::size_t n, std::nothrow_t const &) throw () 27 __attribute__((noinline)) void* operator new[] (std::size_t n) throw (std::bad_alloc) 32 __attribute__((noinline)) void* operator new[] (std::size_t n, std::nothrow_t const &) throw () 49 s* p1 = new s [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
new.cpp | 1 //===--------------------------- new.cpp ----------------------------------===// 14 #include "new" 25 // shared library. The global holding the current new handler is 38 // libc++abi provides operator new and delete as part of the abi layer. 41 // Implement all new and delete operators as weak definitions 47 operator new(std::size_t size) 74 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT 81 p = ::operator new(size); 93 operator new[](size_t size) 98 return ::operator new(size) [all...] |
/art/runtime/base/ |
arena_object.h | 26 // Parent for arena allocated objects giving appropriate new and delete operators. 30 // Allocate a new ArenaObject of 'size' bytes in the Arena. 31 void* operator new(size_t size, ArenaAllocator* allocator) { 35 static void* operator new(size_t size, ScopedArenaAllocator* arena) { 46 // Parent for arena allocated objects that get deleted, gives appropriate new and delete operators. 51 // Allocate a new ArenaObject of 'size' bytes in the Arena. 52 void* operator new(size_t size, ArenaAllocator* allocator) { 56 static void* operator new(size_t size, ScopedArenaAllocator* arena) {
|
/external/boringssl/src/util/bot/go/ |
env.py | 34 new = bootstrap.prepare_go_environ() variable 37 for key, value in sorted(new.iteritems()): 45 # Help Windows to find the executable in new PATH, do it only when 49 sys.exit(subprocess.call([exe] + sys.argv[2:], env=new))
|
/external/ipsec-tools/src/racoon/ |
throttle.c | 124 * No match, if auth failed, allocate a new throttle entry 144 time_t new; local 147 new = remaining + isakmp_cfg_config.auth_throttle; 149 if (new > THROTTLE_PENALTY_MAX) 150 new = THROTTLE_PENALTY_MAX; 152 te->penalty = now + new;
|
vmbuf.c | 124 vchar_t *new; local 131 if ((new = vmalloc(src->l)) == NULL) 134 memcpy(new->v, src->v, src->l); 136 return new;
|
/external/libcxx/test/std/localization/locales/locale/locale.cons/ |
assign.pass.cpp | 19 #include <new> 25 void* operator new(std::size_t s) throw(std::bad_alloc)
|
copy.pass.cpp | 19 #include <new> 25 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
nullptr_t_deleter_throw.pass.cpp | 20 #include <new> 37 void* operator new(std::size_t s) throw(std::bad_alloc)
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_list.c | 37 struct rc_list * new = memory_pool_malloc(pool, sizeof(struct rc_list)); local 38 new->Item = item; 39 new->Next = NULL; 40 new->Prev = NULL; 42 return new;
|
/external/mesa3d/src/glsl/ |
glsl_symbol_table.h | 29 #include <new> 54 /* Callers of this ralloc-based new need not call delete. It's 56 static void* operator new(size_t size, void *ctx)
|
/external/toybox/toys/posix/ |
ln.c | 29 char *dest = toys.optargs[--toys.optc], *new; local 51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try)); 52 else new = dest; 57 oldnew = new; 59 new = xmprintf("%s_XXXXXX", new); 60 rc = mkstemp(new); 63 if (unlink(new)) perror_msg("unlink '%s'", new); 67 rc = (toys.optflags & FLAG_s) ? symlink(try, new) : link(try, new) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/ |
dtor.pass.cpp | 18 #include <new> 22 void* operator new[](size_t sz) 24 return operator new(sz); 37 std::locale l(std::locale::classic(), new std::ctype<char>); 44 std::locale l(std::locale::classic(), new std::ctype<char>(table)); 51 new std::ctype<char>(new std::ctype<char>::mask[256], true));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/ |
codecvt_utf16.pass.cpp | 28 void* operator new(std::size_t s) throw(std::bad_alloc) 53 std::locale loc(std::locale::classic(), new C);
|
codecvt_utf8.pass.cpp | 28 void* operator new(std::size_t s) throw(std::bad_alloc) 53 std::locale loc(std::locale::classic(), new C);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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) 59 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>); 66 B b(s.rdbuf(), new std::codecvt_utf8<wchar_t>, std::mbstate_t());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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];
|