/external/v8/test/cctest/ |
test-log-stack-tracer.cc | 121 if (name->Equals(String::New("trace"))) { 122 return v8::FunctionTemplate::New(TraceExtension::Trace); 123 } else if (name->Equals(String::New("js_trace"))) { 124 return v8::FunctionTemplate::New(TraceExtension::JSTrace); 125 } else if (name->Equals(String::New("js_entry_sp"))) { 126 return v8::FunctionTemplate::New(TraceExtension::JSEntrySP); 127 } else if (name->Equals(String::New("js_entry_sp_level2"))) { 128 return v8::FunctionTemplate::New(TraceExtension::JSEntrySPLevel2); 197 env = v8::Context::New(&config); 248 v8::FunctionTemplate::New(construct_call) [all...] |
test-serialize.cc | 222 Vector<char> name = Vector<char>::New(file_name_length + 1); 226 fprintf(fp, "new %d\n", new_space_used); 250 v8::Persistent<v8::Context> env = v8::Context::New(); 301 v8::Persistent<v8::Context> env = v8::Context::New(); 314 v8::Persistent<v8::Context> env = v8::Context::New(); 327 v8::Persistent<v8::Context> env = v8::Context::New(); 331 v8::Local<v8::String> source = v8::String::New(c_source); 344 v8::Persistent<v8::Context> env = v8::Context::New(); 348 v8::Local<v8::String> source = v8::String::New(c_source); 359 v8::Persistent<v8::Context> env = v8::Context::New(); [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
RangeConstraintManager.cpp | 91 /// Construct a new RangeSet representing '{ [from, to] }'. 257 return new RangeConstraintManager(subeng); 289 // Lazily generate a new RangeSet representing all possible values for the 321 RangeSet New = GetRange(state, sym).Intersect(BV, F, Upper, Lower); 322 return New.isEmpty() ? NULL : state->set<ConstraintRange>(sym, New); 332 RangeSet New = GetRange(state, sym).Intersect(BV, F, AdjInt, AdjInt); 333 return New.isEmpty() ? NULL : state->set<ConstraintRange>(sym, New); 353 RangeSet New = GetRange(state, sym).Intersect(BV, F, Lower, Upper) [all...] |
/hardware/ril/mock-ril/src/cpp/ |
experiments.cpp | 63 return v8::Integer::New(state); 72 v8::Handle<v8::String> name = v8::String::New("onRilRequest"); 83 v8::Handle<v8::Value> v8RequestValue = v8::Number::New(request); 87 v8::ObjectTemplate::New()->NewInstance(); 95 v8::ObjectTemplate::New(); 97 params_obj_template->SetAccessor(v8::String::New( 100 int *p = new int; 103 params_obj->SetInternalField(0, v8::External::New(p)); 162 ril_proto::ReqScreenState* ss = new ril_proto::ReqScreenState(); 171 char *buffer = new char[len] [all...] |
/external/chromium/base/memory/ |
singleton.h | 15 // Default traits for Singleton<Type>. Calls operator new and operator delete on 21 static Type* New() { 24 return new Type(); 78 static Type* New() { 84 new(ptr) Type(); 220 Type* newval = Traits::New();
|
/external/llvm/lib/Transforms/IPO/ |
DeadArgumentElimination.cpp | 180 ModulePass *llvm::createDeadArgEliminationPass() { return new DAE(); } 181 ModulePass *llvm::createDeadArgHackingPass() { return new DAH(); } 207 // Start by computing a new prototype for the function, which is the same as 216 // Create the new function body and insert it into the module... 223 // to pass in a smaller number of arguments into the new function. 244 Instruction *New; 246 New = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), 248 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); 249 cast<InvokeInst>(New)->setAttributes(PAL); 251 New = CallInst::Create(NF, Args, "", Call) [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
V8Utilities.cpp | 57 cache = v8::Array::New(); 62 cacheArray->Set(v8::Integer::New(cacheArray->Length()), value); 72 v8::Local<v8::Value> cached = cacheArray->Get(v8::Integer::New(i));
|
ScriptInstance.cpp | 77 m_instance = v8::Persistent<v8::Object>::New(instance);
|
V8AbstractEventListener.cpp | 67 v8::Local<v8::Object> listener = v8::Local<v8::Object>::New(m_listener); 123 m_listener = v8::Persistent<v8::Object>::New(listener); 203 return v8::Local<v8::Object>::New(m_listener); 209 return v8::Local<v8::Object>::New(v8::Handle<v8::Object>::Cast(value));
|
V8LazyEventListener.cpp | 109 // Don't use new lines so that lines in the modified handler 138 toStringTemplate = v8::Persistent<v8::FunctionTemplate>::New(v8::FunctionTemplate::New(V8LazyEventListenerToString)); 151 wrappedFunction->Set(v8::String::New("toString"), toStringFunction); 154 wrappedFunction->SetName(v8::String::New(fromWebCoreString(m_functionName), m_functionName.length()));
|
ScriptState.h | 58 return v8::Local<v8::Context>::New(m_context); 92 m_context = v8::Persistent<v8::Context>::New(scriptState->context());
|
V8NodeFilterCondition.cpp | 45 : m_filter(v8::Persistent<v8::Value>::New(filter)) 74 v8::Local<v8::Value> value = m_filter->ToObject()->Get(v8::String::New("acceptNode")); 83 OwnArrayPtr<v8::Handle<v8::Value> > args = adoptArrayPtr(new v8::Handle<v8::Value>[1]);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8DeviceOrientationEventCustom.cpp | 47 return v8::Number::New(imp->orientation()->alpha()); 57 return v8::Number::New(imp->orientation()->beta()); 67 return v8::Number::New(imp->orientation()->gamma());
|
V8CustomPositionCallback.cpp | 40 , m_callback(v8::Persistent<v8::Object>::New(callback))
|
V8CustomPositionErrorCallback.cpp | 40 , m_callback(v8::Persistent<v8::Object>::New(callback))
|
V8DirectoryEntryCustom.cpp | 62 v8::Local<v8::Value> v8Create = object->Get(v8::String::New("create")); 67 v8::Local<v8::Value> v8Exclusive = object->Get(v8::String::New("exclusive")); 105 v8::Local<v8::Value> v8Create = object->Get(v8::String::New("create")); 110 v8::Local<v8::Value> v8Exclusive = object->Get(v8::String::New("exclusive"));
|
V8EventSourceConstructor.cpp | 73 V8DOMWrapper::setJSWrapperForActiveDOMObject(eventSource.get(), v8::Persistent<v8::Object>::New(args.Holder()));
|
V8GeolocationCustom.cpp | 63 v8::Local<v8::Value> enableHighAccuracyValue = object->Get(v8::String::New("enableHighAccuracy")); 77 v8::Local<v8::Value> timeoutValue = object->Get(v8::String::New("timeout")); 101 v8::Local<v8::Value> maximumAgeValue = object->Get(v8::String::New("maximumAge")); 179 return v8::Number::New(watchId);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebDevToolsFrontendImpl.cpp | 73 return v8::String::New(reinterpret_cast<const uint16_t*>(s.characters()), s.length()); 81 return new WebDevToolsFrontendImpl( 96 ic->setInspectorFrontendClient(new InspectorFrontendClientImpl(m_webViewImpl->page(), m_client, this)); 113 v8::Handle<v8::Value> inspectorBackendValue = frameContext->Global()->Get(v8::String::New("InspectorBackend")); 117 v8::Handle<v8::Value> dispatchFunction = inspectorBackend->Get(v8::String::New("dispatch"));
|
/external/llvm/include/llvm/Target/ |
TargetJITInfo.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) = 0;
|
/external/llvm/lib/Target/MBlaze/ |
MBlazeRegisterInfo.cpp | 105 MachineInstr *New; 107 New = BuildMI(MF,Old->getDebugLoc(),TII.get(MBlaze::ADDIK),MBlaze::R1) 111 New = BuildMI(MF,Old->getDebugLoc(),TII.get(MBlaze::ADDIK),MBlaze::R1) 115 // Replace the pseudo instruction with a new instruction... 116 MBB.insert(I, New);
|
/external/llvm/lib/Target/X86/ |
X86JITInfo.h | 34 /// whose machine code is at OLD turns into a call to NEW, perhaps by 35 /// overwriting OLD with a branch to NEW. This is used for self-modifying 38 virtual void replaceMachineCodeForFunction(void *Old, void *New);
|
/external/mesa3d/docs/ |
MESA_agp_offset.spec | 49 New Procedures and Functions 53 New Tokens 63 Add a new section, 3.6 as follows: 87 New State
|
MESA_window_pos.spec | 47 New Procedures and Functions 74 New Tokens 114 New State 118 New Implementation Dependent State
|
/external/llvm/lib/VMCore/ |
Module.cpp | 47 ValSymTab = new ValueSymbolTable(); 48 NamedMDSymTab = new StringMap<NamedMDNode *>(); 146 Function *New = Function::Create(Ty, GlobalVariable::ExternalLinkage, Name); 147 if (!New->isIntrinsic()) // Intrinsics get attrs set on construction 148 New->setAttributes(AttributeList); 149 FunctionList.push_back(New); 150 return New; // Return the new prototype. 179 Function *New = Function::Create(Ty, GlobalVariable::ExternalLinkage, Name); 180 New->setAttributes(AttributeList) [all...] |