/ndk/tests/device/test-stlport_static-exception/jni/ |
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;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
new.h | 11 #include <new> 15 #pragma push_macro("new") 16 #undef new macro 43 #pragma pop_macro("new")
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
hashlib.py | 9 new(name, string='') - returns a new hash object implementing the 14 than using new(): 57 # This tuple and __get_builtin_constructor() must be modified if a new 63 __all__ = __always_supported + ('new', 'algorithms') 70 return _sha.new 73 return _md5.new 107 """new(name, string='') - Return a new hashing object using the named algorithm; 114 """new(name, string='') - Return a new hashing object using the named algorithm 132 new = __py_new variable [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
FileList.py | 43 def new(self, filename=None): member in class:FileList 119 flist.new()
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
hashlib.py | 9 new(name, string='') - returns a new hash object implementing the 14 than using new(): 57 # This tuple and __get_builtin_constructor() must be modified if a new 63 __all__ = __always_supported + ('new', 'algorithms') 70 return _sha.new 73 return _md5.new 107 """new(name, string='') - Return a new hashing object using the named algorithm; 114 """new(name, string='') - Return a new hashing object using the named algorithm 132 new = __py_new variable [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
FileList.py | 43 def new(self, filename=None): member in class:FileList 119 flist.new()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
hashlib.py | 9 new(name, string='') - returns a new hash object implementing the 14 than using new(): 57 # This tuple and __get_builtin_constructor() must be modified if a new 63 __all__ = __always_supported + ('new', 'algorithms') 70 return _sha.new 73 return _md5.new 107 """new(name, string='') - Return a new hashing object using the named algorithm; 114 """new(name, string='') - Return a new hashing object using the named algorithm 132 new = __py_new variable [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
FileList.py | 43 def new(self, filename=None): member in class:FileList 119 flist.new()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
hashlib.py | 9 new(name, string='') - returns a new hash object implementing the 14 than using new(): 57 # This tuple and __get_builtin_constructor() must be modified if a new 63 __all__ = __always_supported + ('new', 'algorithms') 70 return _sha.new 73 return _md5.new 107 """new(name, string='') - Return a new hashing object using the named algorithm; 114 """new(name, string='') - Return a new hashing object using the named algorithm 132 new = __py_new variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
FileList.py | 43 def new(self, filename=None): member in class:FileList 119 flist.new()
|
/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/compiler-rt/lib/asan/ |
asan_new_delete.cc | 12 // Interceptors for operators new and delete. 35 // Fake std::nothrow_t to avoid including <new>. 44 // On OS X it's not enough to just provide our own 'operator new' and 47 // dylib and libstdc++, each of those'll have its implementation of new and 62 void *operator new(size_t size) { OPERATOR_NEW_BODY(FROM_NEW); } 64 void *operator new[](size_t size) { OPERATOR_NEW_BODY(FROM_NEW_BR); } 66 void *operator new(size_t size, std::nothrow_t const&) 69 void *operator new[](size_t size, std::nothrow_t const&)
|
/external/clang/test/CodeGenCXX/ |
debug-info-codeview-display-name.cpp | 49 void *operator new(__SIZE_TYPE__); 50 void *operator new[](__SIZE_TYPE__); 57 void *OverloadedNewDelete::operator new(__SIZE_TYPE__ s) { return 0; } 58 void *OverloadedNewDelete::operator new[](__SIZE_TYPE__ s) { return 0; } 63 // CHECK-DAG: "OverloadedNewDelete::operator new" 64 // CHECK-DAG: "OverloadedNewDelete::operator new[]"
|
/art/runtime/verifier/ |
reg_type-inl.h | 188 inline void* RegType::operator new(size_t size, ScopedArenaAllocator* arena) {
|
/device/google/contexthub/firmware/src/cpu/x86/ |
atomicBitset.c | 49 uint32_t old, new; local 57 new = old &~ mask; 58 } while (!atomicCmpXchg32bits(wordPtr, old, new)); 67 uint32_t old, new; local 75 new = old | (1 << pos); 77 if (atomicCmpXchg32bits(wordPtr, old, new))
|
/external/autotest/cli/ |
atest_migrate_host | 9 new = frontend.AFE(web_server='http://' + sys.argv[2]) variable 24 new_host = new.create_host(hostname=hostname, locked=True) 30 if not new.get_labels(name=label.name): 32 new_label = new.create_label(name=label.name, 41 new_users = [user.login for user in new.get_users()] 45 new_acls = new.get_acls(name=acl.name) 49 new_acl = new.create_acl(name=acl.name, description=acl.description) 60 # Enable the new host
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_allocator_internal.h | 58 inline void *operator new(__sanitizer::operator_new_size_type 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/icu/icu4j/perf-tests/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;
|