HomeSort by relevance Sort by last modified time
    Searched defs:new (Results 1 - 25 of 250) sorted by null

1 2 3 4 5 6 7 8 910

  /external/clang/test/SemaCXX/Inputs/
warn-new-overaligned-3.h 3 // This header file pretends to be <new> from the system library, for the
6 void* operator new(unsigned long) {
9 void* operator new[](unsigned long) {
13 void* operator new(unsigned long, void *) {
17 void* operator new[](unsigned long, void *) {
  /external/webkit/Source/WebKit2/
WebKit2Prefix.h 32 #define new ("if you use new/delete make sure to include config.h at the top of the file"()) macro
33 #define delete ("if you use new/delete make sure to include config.h at the top of the file"())
  /external/clang/test/CXX/special/class.free/
p1.cpp 5 void *operator new(size_t) {
8 void *operator new[](size_t) {
  /ndk/sources/cxx-stl/gabi++/src/
new.cc 30 #include <new>
34 operator new(std::size_t size) throw (/*std::bad_alloc*/)
45 operator new[](std::size_t size) throw(/*std::bad_alloc*/)
47 return ::operator new(size);
52 operator new(std::size_t size, const std::nothrow_t&)
58 operator new[](std::size_t size, const std::nothrow_t& nt)
60 return ::operator new(size, nt);
  /abi/cpp/src/
new.cc 30 #include <new>
34 operator new(std::size_t size) throw (/*std::bad_alloc*/)
  /external/bison/lib/
strdup.c 44 void *new = malloc (len); local
46 if (new == NULL)
49 return (char *) memcpy (new, s, len);
strndup.c 53 char *new = malloc (len + 1); local
55 if (new == NULL)
58 new[len] = '\0';
59 return memcpy (new, s, len);
  /external/tcpdump/
setsignal.c 77 struct sigaction old, new; local
79 memset(&new, 0, sizeof(new));
80 new.sa_handler = func;
81 if (sigaction(sig, &new, &old) < 0)
  /ndk/sources/host-tools/sed-4.2.1/lib/
strndup.c 32 char *new = malloc (len + 1); local
34 if (new == NULL)
37 new[len] = '\0';
38 return memcpy (new, s, len);
  /bionic/libstdc++/src/
new.cpp 1 #include "new"
6 void* operator new(std::size_t size)
15 void* operator new[](std::size_t size)
34 void* operator new(std::size_t size, const std::nothrow_t&)
39 void* operator new[](std::size_t size, const std::nothrow_t&)
  /external/antlr/antlr-3.4/runtime/Perl5/t/lib/My/Test/
Class.pm 14 sub new { subroutine
16 my $self = $class->SUPER::new(@args);
  /external/clang/test/CodeGenCXX/
DynArrayInit.cpp 7 inline void* operator new[](unsigned long, void* __p) { return __p; }
9 new (a) char[4]();
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_placement_new.h 13 // The file provides 'placement new'.
29 inline void *operator new(__sanitizer::operator_new_ptr_type sz, void *p) {
  /external/webkit/Source/JavaScriptCore/
JavaScriptCorePrefix.h 29 #define new ("if you use new/delete make sure to include config.h at the top of the file"()) macro
30 #define delete ("if you use new/delete make sure to include config.h at the top of the file"())
  /external/webkit/Source/WebCore/bindings/scripts/
InFilesParser.pm 62 sub new subroutine
  /external/webkit/Source/WebCore/platform/graphics/android/context/
GraphicsOperation.cpp 36 void* Operation::operator new(size_t size, LinearAllocator* allocator)
41 void* Operation::operator new(size_t size)
43 ALOGE("Cannot allocate a new Operation directly!");
  /external/clang/test/CXX/expr/expr.unary/expr.new/
p19.cpp 4 // Operator delete template for placement new with global lookup
9 static void* operator new(size_t) {
19 // Using the global operator new suppresses the search for a
21 ::new X0<2>;
23 new X0<3>; // expected-note 2{{instantiation}}
26 // Operator delete template for placement new[] with global lookup
31 static void* operator new[](size_t) {
41 // Using the global operator new suppresses the search for a
43 ::new X1<2> [17];
45 new X1<3> [17]; // expected-note 2{{instantiation}
    [all...]
  /external/clang/test/SemaCXX/
warn-new-overaligned.cpp 15 new Test; // expected-warning {{type 'test1::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
16 new Test[10]; // expected-warning {{type 'test1::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
28 new Test; // expected-warning {{type 'test2::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
29 new Test[10]; // expected-warning {{type 'test2::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
40 void* operator new(unsigned long) {
49 new Test;
50 new Test[10]; // expected-warning {{type 'test3::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
61 void* operator new[](unsigned long) {
70 new Test; // expected-warning {{type 'test4::Test' requires 256 bytes of alignment and the default allocator only guarantees}}
71 new Test[10]
    [all...]
  /external/compiler-rt/lib/asan/
asan_new_delete.cc 12 // Interceptors for operators new and delete.
20 #include <new>
36 void *operator new(size_t size) { OPERATOR_NEW_BODY; }
37 void *operator new[](size_t size) { OPERATOR_NEW_BODY; }
39 void *operator new(size_t size) throw(std::bad_alloc) { OPERATOR_NEW_BODY; }
40 void *operator new[](size_t size) throw(std::bad_alloc) { OPERATOR_NEW_BODY; }
41 void *operator new(size_t size, std::nothrow_t const&) throw()
43 void *operator new[](size_t size, std::nothrow_t const&) throw()
  /external/oprofile/libutil++/tests/
utility_tests.cpp 13 #include <new>
24 void* operator new(size_t size) throw(bad_alloc)
30 void* operator new[](size_t size) throw(bad_alloc)
54 cerr << "new(size_t) leak\n";
59 cerr << "new[](size_t) leak\n";
70 scoped_ptr<A> a(new A);
72 scoped_ptr<A> a(new A);
83 scoped_array<A> b(new A[10]);
85 scoped_array<A> a(new A[10]);
  /external/valgrind/main/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...]
  /external/webkit/Source/WebCore/bindings/js/
ScriptFunctionCall.h 72 void* operator new(size_t) { ASSERT_NOT_REACHED(); return reinterpret_cast<void*>(0xbadbeef); }
73 void* operator new[](size_t) { ASSERT_NOT_REACHED(); return reinterpret_cast<void*>(0xbadbeef); }
  /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/llvm/include/llvm/
GlobalAlias.h 38 void *operator new(size_t s) {
39 return User::operator new(s, 1);

Completed in 293 milliseconds

1 2 3 4 5 6 7 8 910