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

1 23 4 5 6 7 8 91011>>

  /external/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);
  /external/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)
  /external/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());
  /external/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)
  /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/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); // expected-warning{{TRUE}}
36 clang_analyzer_eval(new ExplicitThrow); // expected-warning{{TRUE}
    [all...]
  /external/chromium_org/base/allocator/
generic_allocators.cc 6 // low-level functions malloc() and free(). This way, including a new
27 void* operator new(size_t size) {
35 void* operator new[](size_t size) {
43 void* operator new(size_t size, const std::nothrow_t& nt) {
51 void* operator new[](size_t size, const std::nothrow_t& nt) {
61 // If flag is 1, calls to malloc will behave like calls to new,
  /art/compiler/utils/
arena_bit_vector.cc 34 static void* operator new(size_t size, ArenaAlloc* arena) {
47 new (arena) ArenaBitVectorAllocator<ArenaAllocator>(arena)), kind_(kind) {
54 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) {
  /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/third_party/WebKit/Source/wtf/text/
CString.h 46 void* operator new(size_t, void* ptr) { return ptr; };
  /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/
allocation.h 18 // Superclass for classes managed with new & delete.
21 void* operator new(size_t size) { return New(size); }
25 static void* New(size_t size);
32 // superclass. The macro prevents the use of new & delete in debug mode.
40 void* operator new(size_t size);
53 void* operator new(size_t size);
61 T* result = new T[size];
74 // and StrNDup uses new and calls the FatalProcessOutOfMemory handler
84 INLINE(void* New(size_t size)) { return Malloced::New(size);
    [all...]
zone-inl.h 47 void* ZoneObject::operator new(size_t size, Zone* zone) {
48 return zone->New(static_cast<int>(size));
51 inline void* ZoneAllocationPolicy::New(size_t size) {
53 return zone_->New(static_cast<int>(size));
58 void* ZoneList<T>::operator new(size_t size, Zone* zone) {
59 return zone->New(static_cast<int>(size));
64 void* ZoneSplayTree<T>::operator new(size_t size, Zone* zone) {
65 return zone->New(static_cast<int>(size));
  /external/icu/icu4c/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/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/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)

Completed in 534 milliseconds

1 23 4 5 6 7 8 91011>>