/external/chromium_org/v8/src/ |
zone-inl.h | 27 inline void* Zone::New(int size) { 71 return static_cast<T*>(New(length * sizeof(T))); 95 void* ZoneObject::operator new(size_t size, Zone* zone) { 96 return zone->New(static_cast<int>(size)); 99 inline void* ZoneAllocationPolicy::New(size_t size) { 101 return zone_->New(static_cast<int>(size)); 106 void* ZoneList<T>::operator new(size_t size, Zone* zone) { 107 return zone->New(static_cast<int>(size)); 112 void* ZoneSplayTree<T>::operator new(size_t size, Zone* zone) { 113 return zone->New(static_cast<int>(size)) [all...] |
allocation.cc | 19 void* Malloced::New(size_t size) { 22 v8::internal::FatalProcessOutOfMemory("Malloced operator new"); 42 void* Embedded::operator new(size_t size) { 53 void* AllStatic::operator new(size_t size) {
|
/external/llvm/lib/Transforms/Utils/ |
CloneModule.cpp | 28 // Create the value map that maps things from the old module over to the new 35 // First off, we need to create the new module. 36 Module *New = new Module(M->getModuleIdentifier(), M->getContext()); 37 New->setDataLayout(M->getDataLayout()); 38 New->setTargetTriple(M->getTargetTriple()); 39 New->setModuleInlineAsm(M->getModuleInlineAsm()); 42 // new module. Here we add them to the VMap and to the new Module. We 47 GlobalVariable *GV = new GlobalVariable(*New, [all...] |
ValueMapper.cpp | 146 // Okay, we need to create a new constant. We've already processed some or 216 MDNode *New = MapValue(Old, VMap, Flags, TypeMapper, Materializer); 217 if (New != Old) 218 I->setMetadata(MI->first, New);
|
/external/protobuf/src/google/protobuf/ |
repeated_field.cc | 47 elements_ = new void*[total_size_]; 84 string* StringTypeHandlerBase::New() { 85 return new string;
|
/external/skia/src/core/ |
SkMessageBus.h | 41 static SkMessageBus* New(); 52 SK_DECLARE_STATIC_LAZY_PTR(SkMessageBus<Message>, bus, New); \ 100 /*static*/ SkMessageBus<Message>* SkMessageBus<Message>::New() {
|
/external/chromium_org/base/memory/ |
singleton.h | 45 // Default traits for Singleton<Type>. Calls operator new and operator delete on 51 static Type* New() { 54 return new Type(); 112 static Type* New() { 117 return new(buffer_.void_data()) Type(); 251 Type* newval = Traits::New();
|
singleton_unittest.cc | 37 static Init5Singleton* New() { 38 Init5Singleton* instance = new Init5Singleton();
|
/external/chromium_org/net/quic/crypto/ |
curve25519_key_exchange.cc | 22 Curve25519KeyExchange* Curve25519KeyExchange::New( 38 ka = new Curve25519KeyExchange(); 60 return Curve25519KeyExchange::New(private_value);
|
p256_key_exchange_nss.cc | 41 P256KeyExchange* P256KeyExchange::New(StringPiece key) { 103 return new P256KeyExchange(key_pair.release(), 112 DVLOG(1) << "Can't generate new key pair."; 155 return P256KeyExchange::New(private_value);
|
/external/chromium_org/base/ |
lazy_instance.h | 38 #include <new> // For placement new. 64 static Type* New(void* instance) { 66 << ": Bad boy, the buffer passed to placement new is not aligned!\n" 69 // Use placement new to initialize our instance in our preallocated space. 71 return new (instance) Type(); 98 static Type* New(void* instance) { 100 return DefaultLazyInstanceTraits<Type>::New(instance); 165 Traits::New(private_buf_.void_data())); 172 // We suggest dynamic race detection tool that "Traits::New" abov [all...] |
/external/chromium_org/content/browser/ |
power_save_blocker_mac.cc | 29 static base::Thread* New(void* instance) { 30 base::Thread* thread = new (instance) base::Thread("PowerSaveBlocker"); 102 : delegate_(new Delegate(type, reason)) {
|
/external/chromium_org/content/test/plugin/ |
plugin_thread_async_call_test.cc | 48 NPError PluginThreadAsyncCallTest::New( 51 NPError error = PluginTest::New(mode, argc, argn, argv, saved); 72 at_exit_manager_ = new base::ShadowingAtExitManager();
|
plugin_test.cc | 24 NPError PluginTest::New(uint16 mode, int16 argc, const char* argn[],
|
plugin_geturl_test.cc | 61 NPError PluginGetURLTest::New(uint16 mode, int16 argc, const char* argn[], 87 NPError error = PluginTest::New(mode, argc, argn, argv, saved);
|
/external/chromium_org/ipc/ |
ipc_sync_message.cc | 22 static base::WaitableEvent* New(void* instance) { 23 // Use placement new to initialize our instance in our preallocated space. 24 return new (instance) base::WaitableEvent(true, true); 99 Message* reply = new Message(msg->routing_id(), IPC_REPLY_ID,
|
/external/chromium_org/mojo/public/cpp/application/lib/ |
service_connector.h | 51 static ServiceConnection<ServiceImpl, Context>* New(Context* context) { 52 return new ServiceConnection<ServiceImpl, Context>(context); 59 static ServiceConnection<ServiceImpl, void>* New(void* context) { 60 return new ServiceConnection<ServiceImpl, void>(); 101 ServiceConstructor<ServiceImpl, Context>::New(context_);
|
/external/llvm/lib/Transforms/IPO/ |
IPConstantPropagation.cpp | 54 ModulePass *llvm::createIPConstantPropagationPass() { return new IPCP(); } 240 Value* New = RetVals[0]; 241 if (Argument *A = dyn_cast<Argument>(New)) 244 New = CS.getArgument(A->getArgNo()); 245 Call->replaceAllUsesWith(New); 264 Value *New = RetVals[index]; 265 if (New) { 266 if (Argument *A = dyn_cast<Argument>(New)) 269 New = CS.getArgument(A->getArgNo()); 270 Ins->replaceAllUsesWith(New); [all...] |
PruneEH.cpp | 59 Pass *llvm::createPruneEHPass() { return new PruneEH(); } 204 DeleteBasicBlock(UnwindBlock); // Delete the new BB. 216 // new BB. 217 BasicBlock *New = BB->splitBasicBlock(I); 221 new UnreachableInst(BB->getContext(), BB); 223 DeleteBasicBlock(New); // Delete the new BB.
|
/external/chromium_org/content/browser/android/java/ |
java_method.cc | 42 static ScopedJavaGlobalRef<jclass>* New(void* instance) { 44 // Use placement new to initialize our instance in our preallocated space. 45 return new (instance) ScopedJavaGlobalRef<jclass>(
|
/external/chromium_org/mojo/public/cpp/bindings/ |
array.h | 47 static Array New(size_t size) {
|
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
srpc_client.cc | 66 SrpcClient* SrpcClient::New(nacl::DescWrapper* wrapper) { 67 nacl::scoped_ptr<SrpcClient> srpc_client(new SrpcClient()); 69 PLUGIN_PRINTF(("SrpcClient::New (SrpcClient::Init failed)\n")); 135 new MethodInfo(NULL, method_name, input_types, output_types, i);
|
/external/llvm/lib/Target/MSP430/ |
MSP430FrameLowering.cpp | 69 // Update FPW with the new base value... 245 MachineInstr *New = nullptr; 247 New = BuildMI(MF, Old->getDebugLoc(), 256 New = BuildMI(MF, Old->getDebugLoc(), 261 if (New) { 263 New->getOperand(3).setIsDead(); 265 // Replace the pseudo instruction with a new instruction... 266 MBB.insert(I, New); 274 MachineInstr *New = 278 New->getOperand(3).setIsDead() [all...] |
/external/llvm/utils/TableGen/ |
DAGISelMatcherOpt.cpp | 45 Matcher *New = nullptr; 48 New = new RecordChildMatcher(MC->getChildNo(), RM->getWhatFor(), 54 New = new CheckChildTypeMatcher(MC->getChildNo(), CT->getType()); 58 New = new CheckChildSameMatcher(MC->getChildNo(), CS->getMatchNumber()); 62 New = new CheckChildIntegerMatcher(MC->getChildNo(), CS->getValue()); 64 if (New) { [all...] |
/external/chromium_org/content/child/ |
child_thread.cc | 98 scoped_ptr<WaitAndExitDelegate> delegate(new WaitAndExitDelegate(duration)); 173 static base::ConditionVariable* New(void* instance) { 174 return new (instance) base::ConditionVariable( 242 mojo_application_.reset(new MojoApplication(this)); 245 new IPC::SyncMessageFilter(ChildProcess::current()->GetShutDownEvent()); 246 thread_safe_sender_ = new ThreadSafeSender( 249 resource_dispatcher_.reset(new ResourceDispatcher(this)); 250 socket_stream_dispatcher_.reset(new SocketStreamDispatcher()); 251 websocket_dispatcher_.reset(new WebSocketDispatcher); 252 file_system_dispatcher_.reset(new FileSystemDispatcher()) [all...] |