HomeSort by relevance Sort by last modified time
    Searched refs:New (Results 26 - 50 of 424) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/webkit/Source/WebCore/bindings/v8/
OwnHandle.h 42 explicit OwnHandle(v8::Handle<T> handle) : m_handle(v8::Persistent<T>::New(handle)) { }
46 void set(v8::Handle<T> handle) { clear(); m_handle = v8::Persistent<T>::New(handle); }
V8DataGridDataSource.cpp 46 : m_dataSource(v8::Persistent<v8::Value>::New(dataSource))
WorldContextHandle.cpp 53 return v8::Local<v8::Context>::New(m_context->get());
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8CustomApplicationInstalledCallback.cpp 37 : m_callback(v8::Persistent<v8::Object>::New(callback))
58 v8::Boolean::New(isInstalled)
V8CanvasPixelArrayCustom.cpp 44 v8::Integer::New(impl->length()),
V8CoordinatesCustom.cpp 42 return v8::Number::New(imp->altitude());
52 return v8::Number::New(imp->altitudeAccuracy());
62 return v8::Number::New(imp->heading());
72 return v8::Number::New(imp->speed());
V8HTMLAudioElementConstructor.cpp 76 V8DOMWrapper::setJSWrapperForDOMNode(audio.get(), v8::Persistent<v8::Object>::New(args.Holder()));
87 v8::Local<v8::FunctionTemplate> result = v8::FunctionTemplate::New(v8HTMLAudioElementConstructorCallback);
91 result->SetClassName(v8::String::New("HTMLAudioElement"));
94 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result);
V8HTMLImageElementConstructor.cpp 87 V8DOMWrapper::setJSWrapperForDOMNode(image.get(), v8::Persistent<v8::Object>::New(args.Holder()));
98 v8::Local<v8::FunctionTemplate> result = v8::FunctionTemplate::New(v8HTMLImageElementConstructorCallback);
102 result->SetClassName(v8::String::New("HTMLImageElement"));
105 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result);
V8HTMLOptionElementConstructor.cpp 85 V8DOMWrapper::setJSWrapperForDOMNode(option.get(), v8::Persistent<v8::Object>::New(args.Holder()));
96 v8::Local<v8::FunctionTemplate> result = v8::FunctionTemplate::New(v8HTMLOptionElementConstructorCallback);
100 result->SetClassName(v8::String::New("HTMLOptionElement"));
103 cachedTemplate = v8::Persistent<v8::FunctionTemplate>::New(result);
V8LocationCustom.cpp 153 static v8::Persistent<v8::FunctionTemplate> privateTemplate = v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New(V8Location::reloadCallback, v8::Handle<v8::Value>(), v8::Signature::New(V8Location::GetRawTemplate())));
162 static v8::Persistent<v8::FunctionTemplate> sharedTemplate = v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New(V8Location::reloadCallback, v8::Handle<v8::Value>(), v8::Signature::New(V8Location::GetRawTemplate())));
171 static v8::Persistent<v8::FunctionTemplate> privateTemplate = v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New(V8Location::replaceCallback, v8::Handle<v8::Value>(), v8::Signature::New(V8Location::GetRawTemplate())));
180 static v8::Persistent<v8::FunctionTemplate> sharedTemplate = v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New(V8Location::replaceCallback, v8::Handle<v8::Value>(), v8::Signature::New (…)
    [all...]
  /external/chromium/base/
lazy_instance.h 39 #include <new> // For placement new.
53 static Type* New(void* instance) {
54 // Use placement new to initialize our instance in our preallocated space.
56 return new (instance) Type();
68 static Type* New(void* instance) {
69 return DefaultLazyInstanceTraits<Type>::New(instance);
130 instance_ = Traits::New(buf_);
138 // We suggest dynamic race detection tool that "Traits::New" above
  /external/chromium/base/memory/
singleton_objc.h 23 // static Foo* New() {
43 static Type* New() {
  /external/clang/test/CXX/temp/temp.type/
p1-0x.cpp 14 namespace New {
  /external/llvm/lib/Target/Mips/
MipsJITInfo.h 37 /// whose machine code is at OLD turns into a call to NEW, perhaps by
38 /// overwriting OLD with a branch to NEW. This is used for self-modifying
41 virtual void replaceMachineCodeForFunction(void *Old, void *New);
  /external/llvm/lib/Target/PowerPC/
PPCJITInfo.h 41 /// whose machine code is at OLD turns into a call to NEW, perhaps by
42 /// overwriting OLD with a branch to NEW. This is used for self-modifying
45 virtual void replaceMachineCodeForFunction(void *Old, void *New);
  /external/clang/lib/Sema/
SemaExceptionSpec.cpp 98 bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) {
99 OverloadedOperatorKind OO = New->getDeclName().getCXXOverloadedOperator();
111 New->getType()->getAs<FunctionProtoType>(),
112 New->getLocation(),
125 = New->getType()->getAs<FunctionProtoType>();
127 // The new function declaration is only missing an empty exception
130 // exception specification to the "new" declaration. This is an
145 New->setType(NewType);
169 New->setType(NewType);
172 // exception specifications for new and delete operators
    [all...]
  /hardware/ril/mock-ril/src/cpp/
node_util.h 40 v8::Local<v8::Signature> __callback##_SIG = v8::Signature::New(templ); \
42 v8::FunctionTemplate::New(callback, v8::Handle<v8::Value>(), \
50 v8::FunctionTemplate::New(callback)->GetFunction())
worker_v8.cpp 60 ai = new ArgInfo();
83 functionValue_ = v8::Persistent<v8::Value>::New(value);
113 handler_ = new Handler(this, functionValue);
138 return v8::ThrowException(v8::String::New("Add has no parameter"));
141 ai->js_this = v8::Persistent<v8::Object>::New( args.This() );
142 ai->value = v8::Persistent<v8::Value>::New( args[0] );
156 return v8::ThrowException(v8::String::New("AddDelayed expects req delayTime params"));
159 ai->js_this = v8::Persistent<v8::Object>::New( args.This() );
160 ai->value = v8::Persistent<v8::Value>::New( args[0] );
171 WorkerV8 *worker = new WorkerV8(args.This(), args[0])
    [all...]
  /external/v8/test/cctest/
test-decls.cc 113 Local<FunctionTemplate> function = FunctionTemplate::New();
114 Local<Value> data = External::New(this);
120 context_ = Context::New(0, function->InstanceTemplate(), Local<Value>());
137 Local<Value> result = Script::Compile(String::New(source))->Run();
220 EXPECT_RESULT, Number::New(0));
253 return Integer::New(v8::None);
275 EXPECT_RESULT, Number::New(0));
329 EXPECT_RESULT, Number::New(0));
389 return Integer::New(v8::None);
419 EXPECT_RESULT, Number::New(0))
    [all...]
test-debug.cc 135 : context_(v8::Context::New(extensions, global_template, global_object)) {
172 v8::Script::Compile(v8::String::New(source))->Run();
174 (*env)->Global()->Get(v8::String::New(function_name)));
181 v8::Script::Compile(v8::String::New(source))->Run();
183 v8::Context::GetCurrent()->Global()->Get(v8::String::New(function_name)));
225 v8::Handle<v8::String> str = v8::String::New(buffer.start());
247 v8::Handle<v8::String> str = v8::String::New(buffer.start());
274 v8::Handle<v8::String> str = v8::String::New(buffer.start());
297 v8::Script::Compile(v8::String::New(buffer.start()))->Run();
307 v8::Script::Compile(v8::String::New(buffer.start()))->Run()
    [all...]
test-api.cc 119 v8::Handle<v8::Array> result = v8::Array::New(args.Length());
121 result->Set(v8::Integer::New(i), args[i]);
128 v8::Handle<v8::Array> result = v8::Array::New(args.Length());
130 result->Set(v8::Integer::New(i), args[i]);
153 Local<String> source = String::New(c_source);
164 v8::Handle<v8::FunctionTemplate> fun = v8::FunctionTemplate::New();
165 v8::Handle<v8::Signature> sig = v8::Signature::New(fun);
168 v8::FunctionTemplate::New(IncrementingSignatureCallback,
174 "var o = new Fun();"
177 v8::Handle<v8::FunctionTemplate> sub_fun = v8::FunctionTemplate::New();
    [all...]
  /external/clang/lib/Serialization/
ModuleManager.cpp 49 // Allocate a new module.
50 Module *New = new Module(Type);
51 New->FileName = FileName.str();
52 Chain.push_back(New);
54 ModuleEntry = New;
60 New->Buffer.reset(Buffer);
65 ec = llvm::MemoryBuffer::getSTDIN(New->Buffer);
69 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr));
71 if (!New->Buffer
    [all...]
  /external/v8/src/extensions/
externalize-string-extension.cc 67 return v8::FunctionTemplate::New(ExternalizeStringExtension::Externalize);
70 return v8::FunctionTemplate::New(ExternalizeStringExtension::IsAscii);
78 return v8::ThrowException(v8::String::New(
86 return v8::ThrowException(v8::String::New(
93 return v8::ThrowException(v8::String::New(
97 char* data = new char[string->length()];
99 SimpleAsciiStringResource* resource = new SimpleAsciiStringResource(
107 uc16* data = new uc16[string->length()];
109 SimpleTwoByteStringResource* resource = new SimpleTwoByteStringResource(
118 return v8::ThrowException(v8::String::New("externalizeString() failed."))
    [all...]
  /external/v8/samples/
lineprocessor.cc 125 // because new debug messages arrived; they may have already been processed,
179 script_source = v8::String::New(argv[i + 1]);
180 script_name = v8::String::New("unnamed");
186 script_name = v8::String::New(str);
205 v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New();
208 global->Set(v8::String::New("print"), v8::FunctionTemplate::New(Print));
212 global->Set(v8::String::New("read_line"),
213 v8::FunctionTemplate::New(ReadLine));
216 // Create a new execution environment containing the built-i
    [all...]
  /external/llvm/lib/VMCore/
BasicBlock.cpp 290 /// the new BB, and the rest of the instructions in the BB are moved to the new
305 BasicBlock *New = BasicBlock::Create(getContext(), BBName,
309 // the new basic block.
310 New->getInstList().splice(New->end(), this->getInstList(), I, end());
313 BranchInst::Create(New, this);
315 // Now we must loop through all of the successors of the New block (which
318 // know that incoming branches will be from New, not from Old.
320 for (succ_iterator I = succ_begin(New), E = succ_end(New); I != E; ++I)
    [all...]

Completed in 988 milliseconds

12 3 4 5 6 7 8 91011>>