/external/clang/test/PCH/ |
cxx-exprs.cpp | 14 class New { 15 New(const New&); 18 New *clone() { 19 return new New(*this); 25 New<int> *clone_new(New<int> *n) {
|
/external/clang/test/CodeCompletion/ |
namespace-alias.cpp | 13 namespace New =
|
/external/chromium_org/v8/src/ |
zone-inl.h | 42 inline void* Zone::New(int size) { 72 return static_cast<T*>(New(length * sizeof(T))); 96 void* ZoneObject::operator new(size_t size, Zone* zone) { 97 return zone->New(static_cast<int>(size)); 100 inline void* ZoneAllocationPolicy::New(size_t size) { 102 return zone_->New(static_cast<int>(size)); 107 void* ZoneList<T>::operator new(size_t size, Zone* zone) { 108 return zone->New(static_cast<int>(size)); 113 void* ZoneSplayTree<T>::operator new(size_t size, Zone* zone) { 114 return zone->New(static_cast<int>(size)) [all...] |
allocation.h | 41 // Superclass for classes managed with new & delete. 44 void* operator new(size_t size) { return New(size); } 48 static void* New(size_t size); 55 // superclass. The macro prevents the use of new & delete in debug mode. 63 void* operator new(size_t size); 76 void* operator new(size_t size); 84 T* result = new T[size]; 97 // and StrNDup uses new and calls the FatalProcessOutOfMemory handler 107 INLINE(void* New(size_t size)) { return Malloced::New(size); [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
jsilver.sablecc | 181 {->New command.noop()} 185 {->New command.multiple([command.command, more.command])} 192 {->New command.data(data)} 196 {->New command.comment(New position.cs_open(cs_open),comment)} 200 {->New command.var( 201 New position.cs_open(cs_open), 202 New expression.sequence([expression_list.expression]))} 206 {->New command.lvar( 207 New position.cs_open(cs_open) [all...] |
/external/chromium_org/content/browser/geolocation/ |
geolocation_dispatcher_host.h | 18 static GeolocationDispatcherHost* New(
|
/external/v8/src/ |
allocation-inl.h | 37 void* PreallocatedStorage::New(size_t size) {
|
zone-inl.h | 42 inline void* Zone::New(int size) { 73 return static_cast<T*>(New(length * sizeof(T))); 97 // TODO(isolates): for performance reasons, this should be replaced with a new 100 void* ZoneObject::operator new(size_t size) { 101 return ZONE->New(static_cast<int>(size)); 104 void* ZoneObject::operator new(size_t size, Zone* zone) { 105 return zone->New(static_cast<int>(size)); 109 inline void* ZoneListAllocationPolicy::New(int size) { 110 return ZONE->New(size); 115 void* ZoneList<T>::operator new(size_t size) [all...] |
d8-posix.cc | 184 // array of new[]ed UTF-8 C strings. Deallocates them again when it goes out of 196 ThrowException(String::New(message)); 200 char* c_arg = new char[len]; 205 Handle<Value> arg(command_args->Get(Integer::New(j))); 211 ThrowException(String::New(message)); 215 char* c_arg = new char[len]; 248 ThrowException(String::New("system: Argument 4 must be a number")); 256 ThrowException(String::New("system: Argument 3 must be a number")); 301 ThrowException(String::New(strerror(err))); 321 return ThrowException(String::New(strerror(errno))) [all...] |
allocation.h | 41 // Superclass for classes managed with new & delete. 44 void* operator new(size_t size) { return New(size); } 48 static void* New(size_t size); 55 // superclass. The macro prevents the use of new & delete in debug mode. 63 void* operator new(size_t size); 76 void* operator new(size_t size); 84 T* result = new T[size]; 97 // and StrNDup uses new and calls the FatalProcessOutOfMemory handler 107 INLINE(static void* New(size_t size)) { return Malloced::New(size); [all...] |
d8.cc | 228 return ThrowException(String::New("Error loading file")); 232 return ThrowException(String::New("Error loading file")); 241 Handle<String> accumulator = String::New(""); 257 accumulator = String::Concat(accumulator, String::New(buffer, length)); 260 accumulator = String::Concat(accumulator, String::New(buffer, length-1)); 262 return String::Concat(accumulator, String::New(buffer, length-1)); 273 return ThrowException(String::New("Error loading file")); 277 return ThrowException(String::New("Error loading file")); 279 if (!ExecuteString(source, String::New(*file), false, true)) { 280 return ThrowException(String::New("Error executing file")) [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/ |
tab_list.py | 8 def New(self, timeout=None): 9 return self._tab_list_backend.New(timeout)
|
/external/v8/test/cctest/ |
test-thread-termination.cc | 58 v8::String::New("try { doloop(); fail(); } catch(e) { fail(); }"); 69 v8::Script::Compile(v8::String::New("function f() {" 94 v8::Script::Compile(v8::String::New("var term = true;" 111 v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); 112 global->Set(v8::String::New("terminate"), 113 v8::FunctionTemplate::New(terminate)); 114 global->Set(v8::String::New("fail"), v8::FunctionTemplate::New(Fail)); 115 global->Set(v8::String::New("loop"), v8::FunctionTemplate::New(Loop)) [all...] |
test-accessors.cc | 56 Local<v8::FunctionTemplate> fun_templ = v8::FunctionTemplate::New(); 61 Local<Script> getter = v8_compile("var obj = new Fun(); obj.foo;"); 92 v8::Handle<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(); 96 v8::External::New(&foo)); 100 v8::External::New(&bar)); 104 v8::External::New(&baz)); 136 v8::Handle<v8::ObjectTemplate> obj = ObjectTemplate::New(); 141 x_receiver = v8::Object::New(); 153 v8::Handle<Value> entry = array->Get(v8::Integer::New(i)); 154 CHECK_EQ(v8::Integer::New(i), entry) [all...] |
/external/chromium_org/gin/ |
converter_unittest.cc | 37 Boolean::New(instance_->isolate(), true))); 39 Boolean::New(instance_->isolate(), false))); 45 { Boolean::New(instance_->isolate(), false).As<Value>(), false }, 46 { Boolean::New(instance_->isolate(), true).As<Value>(), true }, 47 { Number::New(instance_->isolate(), 0).As<Value>(), false }, 48 { Number::New(instance_->isolate(), 1).As<Value>(), true }, 49 { Number::New(instance_->isolate(), -1).As<Value>(), true }, 50 { Number::New(instance_->isolate(), 0.1).As<Value>(), true }, 53 { Object::New(instance_->isolate()).As<Value>(), true }, 77 test_data_to[i])->StrictEquals(Integer::New(test_data_to[i]))) [all...] |
/external/chromium_org/gin/test/ |
v8_test.cc | 22 instance_.reset(new gin::IsolateHolder); 25 context_.Reset(instance_->isolate(), Context::New(instance_->isolate())); 26 Local<Context>::New(instance_->isolate(), context_)->Enter(); 32 Local<Context>::New(instance_->isolate(), context_)->Exit();
|
/external/chromium_org/chrome/renderer/ |
loadtimes_extension_bindings.cc | 32 // Creates an extension which adds a new function, chromium.GetLoadTimes() 59 return v8::FunctionTemplate::New(isolate, GetLoadTimes); 61 return v8::FunctionTemplate::New(isolate, GetCSI); 108 v8::Local<v8::Object> load_times = v8::Object::New(); 111 v8::Number::New(isolate, 115 v8::Number::New(isolate, 119 v8::Number::New(isolate, 123 v8::Number::New( 128 v8::Number::New(isolate, 132 v8::Number::New(isolate [all...] |
net_benchmarking_extension.cc | 54 return v8::FunctionTemplate::New(isolate, ClearCache); 57 return v8::FunctionTemplate::New(isolate, ClearHostResolverCache); 60 return v8::FunctionTemplate::New(isolate, ClearPredictorCache); 62 return v8::FunctionTemplate::New(isolate, EnableSpdy); 65 return v8::FunctionTemplate::New(isolate, CloseConnections); 73 content::RenderThread::Get()->Send(new ChromeViewHostMsg_ClearCache(&rv)); 81 new ChromeViewHostMsg_ClearHostResolverCache(&rv)); 88 new ChromeViewHostMsg_ClearPredictorCache(&rv)); 94 new ChromeViewHostMsg_CloseCurrentConnections()); 101 content::RenderThread::Get()->Send(new ChromeViewHostMsg_EnableSpdy [all...] |
/external/chromium_org/content/test/plugin/ |
plugin_arguments_test.h | 35 virtual NPError New(uint16 mode, int16 argc, const char* argn[],
|
plugin_new_fails_test.cc | 13 NPError NewFailsTest::New(uint16 mode, int16 argc, const char* argn[],
|
plugin_new_fails_test.h | 16 virtual NPError New(uint16 mode, int16 argc, const char* argn[],
|
plugin_private_test.h | 20 virtual NPError New(uint16 mode, int16 argc, const char* argn[],
|
/external/chromium_org/v8/test/cctest/ |
test-decls.cc | 57 Local<Context> context = Local<Context>::New(isolate, context_); 121 Local<FunctionTemplate> function = FunctionTemplate::New(); 122 Local<Value> data = External::New(CcTest::isolate(), this); 128 Local<Context> context = Context::New(isolate, 247 EXPECT_RESULT, Number::New(0)); 281 return Integer::New(v8::None); 303 EXPECT_RESULT, Number::New(0)); 327 EXPECT_RESULT, Number::New(0)); 359 EXPECT_RESULT, Number::New(0)); 419 return Integer::New(v8::None) [all...] |
/external/v8/samples/ |
shell.cc | 92 // Creates a new execution environment containing the built-in 96 v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); 98 global->Set(v8::String::New("print"), v8::FunctionTemplate::New(Print)); 100 global->Set(v8::String::New("read"), v8::FunctionTemplate::New(Read)); 102 global->Set(v8::String::New("load"), v8::FunctionTemplate::New(Load)); 104 global->Set(v8::String::New("quit"), v8::FunctionTemplate::New(Quit)) [all...] |
/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...] |