Home
last modified time | relevance | path

Searched refs:v8 (Results 1 – 25 of 1948) sorted by relevance

12345678910>>...78

/external/v8/src/inspector/
Dv8-console.h20 static v8::Local<v8::Object> createConsole(InspectedContext*,
22 static void clearInspectedContextIfNeeded(v8::Local<v8::Context>,
23 v8::Local<v8::Object> console);
24 static v8::Local<v8::Object> createCommandLineAPI(InspectedContext*);
28 CommandLineAPIScope(v8::Local<v8::Context>,
29 v8::Local<v8::Object> commandLineAPI,
30 v8::Local<v8::Object> global);
35 v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&);
36 static void accessorSetterCallback(v8::Local<v8::Name>,
37 v8::Local<v8::Value>,
[all …]
Djava-script-call-frame.cc38 JavaScriptCallFrame::JavaScriptCallFrame(v8::Local<v8::Context> debuggerContext, in JavaScriptCallFrame()
39 v8::Local<v8::Object> callFrame) in JavaScriptCallFrame()
47 v8::HandleScope handleScope(m_isolate); in callV8FunctionReturnInt()
48 v8::MicrotasksScope microtasks(m_isolate, in callV8FunctionReturnInt()
49 v8::MicrotasksScope::kDoNotRunMicrotasks); in callV8FunctionReturnInt()
50 v8::Local<v8::Context> context = in callV8FunctionReturnInt()
51 v8::Local<v8::Context>::New(m_isolate, m_debuggerContext); in callV8FunctionReturnInt()
52 v8::Local<v8::Object> callFrame = in callV8FunctionReturnInt()
53 v8::Local<v8::Object>::New(m_isolate, m_callFrame); in callV8FunctionReturnInt()
54 v8::Local<v8::Function> func = v8::Local<v8::Function>::Cast( in callV8FunctionReturnInt()
[all …]
Dv8-debugger.cc28 inline v8::Local<v8::Boolean> v8Boolean(bool value, v8::Isolate* isolate) { in v8Boolean()
29 return value ? v8::True(isolate) : v8::False(isolate); in v8Boolean()
36 v8::MaybeLocal<v8::Value> V8Debugger::callDebuggerMethod( in callDebuggerMethod()
37 const char* functionName, int argc, v8::Local<v8::Value> argv[]) { in callDebuggerMethod()
38 v8::MicrotasksScope microtasks(m_isolate, in callDebuggerMethod()
39 v8::MicrotasksScope::kDoNotRunMicrotasks); in callDebuggerMethod()
41 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in callDebuggerMethod()
42 v8::Local<v8::Object> debuggerScript = m_debuggerScript.Get(m_isolate); in callDebuggerMethod()
43 v8::Local<v8::Function> function = v8::Local<v8::Function>::Cast( in callDebuggerMethod()
50 V8Debugger::V8Debugger(v8::Isolate* isolate, V8InspectorImpl* inspector) in V8Debugger()
[all …]
Dv8-value-copier.cc16 v8::MaybeLocal<v8::Value> copy(v8::Local<v8::Value> value, int depth) { in copy()
18 return v8::MaybeLocal<v8::Value>(); in copy()
20 if (value.IsEmpty()) return v8::MaybeLocal<v8::Value>(); in copy()
24 if (!value->IsObject()) return v8::MaybeLocal<v8::Value>(); in copy()
25 v8::Local<v8::Object> object = value.As<v8::Object>(); in copy()
29 v8::Local<v8::Array> array = object.As<v8::Array>(); in copy()
30 v8::Local<v8::Array> result = v8::Array::New(m_isolate, array->Length()); in copy()
31 if (!result->SetPrototype(m_to, v8::Null(m_isolate)).FromMaybe(false)) in copy()
32 return v8::MaybeLocal<v8::Value>(); in copy()
34 v8::Local<v8::Value> item; in copy()
[all …]
Dv8-debugger.h30 V8Debugger(v8::Isolate*, V8InspectorImpl*);
33 static int contextId(v8::Local<v8::Context>);
34 static int getGroupId(v8::Local<v8::Context>);
45 v8::DebugInterface::ExceptionBreakState getPauseOnExceptionsState();
46 void setPauseOnExceptionsState(v8::DebugInterface::ExceptionBreakState);
57 const String16& sourceID, v8::Local<v8::String> newSource, bool dryRun,
73 v8::Local<v8::Context> pausedContext() { return m_pausedContext; } in pausedContext()
78 std::unique_ptr<V8StackTraceImpl> createStackTrace(v8::Local<v8::StackTrace>);
81 v8::MaybeLocal<v8::Array> internalProperties(v8::Local<v8::Context>,
82 v8::Local<v8::Value>);
[all …]
Dv8-console.cc26 v8::Local<v8::Private> inspectedContextPrivateKey(v8::Isolate* isolate) { in inspectedContextPrivateKey()
27 return v8::Private::ForApi( in inspectedContextPrivateKey()
33 explicit ConsoleHelper(const v8::FunctionCallbackInfo<v8::Value>& info) in ConsoleHelper()
40 v8::Local<v8::Object> ensureConsole() { in ensureConsole()
44 m_console = m_info.Data().As<v8::Object>(); in ensureConsole()
51 v8::Local<v8::Object> console = ensureConsole(); in ensureInspectedContext()
53 v8::Local<v8::Private> key = inspectedContextPrivateKey(m_isolate); in ensureInspectedContext()
54 v8::Local<v8::Value> inspectedContextValue; in ensureInspectedContext()
59 inspectedContextValue.As<v8::External>()->Value()); in ensureInspectedContext()
73 std::vector<v8::Local<v8::Value>> arguments; in reportCall()
[all …]
Dv8-internal-value-type.cc14 v8::Local<v8::Private> internalSubtypePrivate(v8::Isolate* isolate) { in internalSubtypePrivate()
15 return v8::Private::ForApi( in internalSubtypePrivate()
20 v8::Local<v8::String> subtypeForInternalType(v8::Isolate* isolate, in subtypeForInternalType()
33 return v8::Local<v8::String>(); in subtypeForInternalType()
38 bool markAsInternal(v8::Local<v8::Context> context, in markAsInternal()
39 v8::Local<v8::Object> object, V8InternalValueType type) { in markAsInternal()
40 v8::Isolate* isolate = context->GetIsolate(); in markAsInternal()
41 v8::Local<v8::Private> privateValue = internalSubtypePrivate(isolate); in markAsInternal()
42 v8::Local<v8::String> subtype = subtypeForInternalType(isolate, type); in markAsInternal()
46 bool markArrayEntriesAsInternal(v8::Local<v8::Context> context, in markArrayEntriesAsInternal()
[all …]
Dv8-inspector-impl.h55 V8InspectorImpl(v8::Isolate*, V8InspectorClient*);
58 v8::Isolate* isolate() const { return m_isolate; } in isolate()
62 v8::MaybeLocal<v8::Value> runCompiledScript(v8::Local<v8::Context>,
63 v8::Local<v8::Script>);
64 v8::MaybeLocal<v8::Value> callFunction(v8::Local<v8::Function>,
65 v8::Local<v8::Context>,
66 v8::Local<v8::Value> receiver,
67 int argc, v8::Local<v8::Value> info[]);
68 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context>,
69 v8::Local<v8::String>);
[all …]
Dv8-injected-script-host.cc21 void setFunctionProperty(v8::Local<v8::Context> context, in setFunctionProperty()
22 v8::Local<v8::Object> obj, const char* name, in setFunctionProperty()
23 v8::FunctionCallback callback, in setFunctionProperty()
24 v8::Local<v8::External> external) { in setFunctionProperty()
25 v8::Local<v8::String> funcName = in setFunctionProperty()
27 v8::Local<v8::Function> func; in setFunctionProperty()
28 if (!v8::Function::New(context, callback, external, 0, in setFunctionProperty()
29 v8::ConstructorBehavior::kThrow) in setFunctionProperty()
37 const v8::FunctionCallbackInfo<v8::Value>& info) { in unwrapInspector()
41 static_cast<V8InspectorImpl*>(info.Data().As<v8::External>()->Value()); in unwrapInspector()
[all …]
Dinjected-script.h62 v8::Local<v8::Object>, const String16& groupName, bool ownProperties,
70 v8::Local<v8::Value>, const String16& groupName, bool forceValueType,
73 Response wrapObjectProperty(v8::Local<v8::Object>, v8::Local<v8::Name> key,
77 Response wrapPropertyInArray(v8::Local<v8::Array>,
78 v8::Local<v8::String> property,
83 v8::Local<v8::Value> table, v8::Local<v8::Value> columns) const;
85 Response findObject(const RemoteObjectId&, v8::Local<v8::Value>*) const;
90 v8::Local<v8::Value>* result);
93 const v8::TryCatch&, const String16& groupName, bool generatePreview,
96 v8::MaybeLocal<v8::Value> maybeResultValue, const v8::TryCatch&,
[all …]
Dv8-value-copier.h14 v8::MaybeLocal<v8::Value> copyValueFromDebuggerContext(
15 v8::Isolate*, v8::Local<v8::Context> debuggerContext,
16 v8::Local<v8::Context> toContext, v8::Local<v8::Value>);
17 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>,
18 v8::Local<v8::Object>,
19 v8::Local<v8::Name> key,
20 v8::Local<v8::Value>);
21 v8::Maybe<bool> createDataProperty(v8::Local<v8::Context>, v8::Local<v8::Array>,
22 int index, v8::Local<v8::Value>);
24 protocol::Response toProtocolValue(v8::Local<v8::Context>, v8::Local<v8::Value>,
Dv8-function-call.cc42 v8::Local<v8::Context> context, in V8FunctionCall()
43 v8::Local<v8::Value> value, const String16& name) in V8FunctionCall()
49 void V8FunctionCall::appendArgument(v8::Local<v8::Value> value) { in appendArgument()
58 m_arguments.push_back(v8::Number::New(m_context->GetIsolate(), argument)); in appendArgument()
62 m_arguments.push_back(argument ? v8::True(m_context->GetIsolate()) in appendArgument()
63 : v8::False(m_context->GetIsolate())); in appendArgument()
66 v8::Local<v8::Value> V8FunctionCall::call(bool& hadException, in call()
68 v8::TryCatch tryCatch(m_context->GetIsolate()); in call()
71 v8::Local<v8::Value> result = callWithoutExceptionHandling(); in call()
76 v8::Local<v8::Value> V8FunctionCall::callWithoutExceptionHandling() { in callWithoutExceptionHandling()
[all …]
Dv8-regex.cc19 v8::Isolate* isolate = m_inspector->isolate(); in V8Regex()
20 v8::HandleScope handleScope(isolate); in V8Regex()
21 v8::Local<v8::Context> context = m_inspector->regexContext(); in V8Regex()
22 v8::Context::Scope contextScope(context); in V8Regex()
23 v8::TryCatch tryCatch(isolate); in V8Regex()
25 unsigned flags = v8::RegExp::kNone; in V8Regex()
26 if (!caseSensitive) flags |= v8::RegExp::kIgnoreCase; in V8Regex()
27 if (multiline) flags |= v8::RegExp::kMultiline; in V8Regex()
29 v8::Local<v8::RegExp> regex; in V8Regex()
30 if (v8::RegExp::New(context, toV8String(isolate, pattern), in V8Regex()
[all …]
/external/pdfium/fxjs/
Dfxjs_v8.h51 class V8TemplateMapTraits : public v8::StdMapTraits<void*, v8::Object> {
53 typedef v8::GlobalValueMap<void*, v8::Object, V8TemplateMapTraits> MapType;
59 const v8::Local<v8::Object>& value) { in WeakCallbackParameter()
63 const v8::WeakCallbackInfo<WeakCallbackDataType>&);
66 const v8::WeakCallbackInfo<WeakCallbackDataType>& data) { in KeyFromWeakCallbackInfo()
69 static const v8::PersistentContainerCallbackType kCallbackType =
70 v8::kWeakWithInternalFields;
72 const v8::WeakCallbackInfo<WeakCallbackDataType>& data) {} in DisposeWeak()
74 const v8::WeakCallbackInfo<WeakCallbackDataType>& data) {} in OnWeakCallback()
75 static void Dispose(v8::Isolate* isolate,
[all …]
Dcfxjse_value.cpp56 v8::Isolate* pIsolate = v8::Isolate::GetCurrent(); in FXJSE_ThrowMessage()
60 v8::Local<v8::String> hMessage = v8::String::NewFromUtf8( in FXJSE_ThrowMessage()
61 pIsolate, utf8Message.c_str(), v8::String::kNormalString, in FXJSE_ThrowMessage()
63 v8::Local<v8::Value> hError = v8::Exception::Error(hMessage); in FXJSE_ThrowMessage()
67 CFXJSE_Value::CFXJSE_Value(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {} in CFXJSE_Value()
75 v8::Local<v8::Value> pValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in ToHostObject()
81 return FXJSE_RetrieveObjectBinding(pValue.As<v8::Object>(), lpClass); in ToHostObject()
98 v8::Local<v8::FunctionTemplate> hClass = in SetHostObject()
99 v8::Local<v8::FunctionTemplate>::New(m_pIsolate, lpClass->m_hTemplate); in SetHostObject()
100 v8::Local<v8::Object> hObject = hClass->InstanceTemplate()->NewInstance(); in SetHostObject()
[all …]
Dfxjs_v8.cpp19 static v8::Isolate* g_isolate = nullptr;
22 static v8::Global<v8::ObjectTemplate>* g_DefaultGlobalObjectTemplate = nullptr;
31 v8::Local<v8::Object> pObj) { in SetInObject()
39 static CFXJS_PerObjectData* GetFromObject(v8::Local<v8::Object> pObj) { in GetFromObject()
55 static int MaxID(v8::Isolate* pIsolate) { in MaxID()
59 static CFXJS_ObjDefinition* ForID(v8::Isolate* pIsolate, int id) { in ForID()
64 CFXJS_ObjDefinition(v8::Isolate* isolate, in CFXJS_ObjDefinition()
74 v8::Isolate::Scope isolate_scope(isolate); in CFXJS_ObjDefinition()
75 v8::HandleScope handle_scope(isolate); in CFXJS_ObjDefinition()
77 v8::Local<v8::FunctionTemplate> fun = v8::FunctionTemplate::New(isolate); in CFXJS_ObjDefinition()
[all …]
Dcfxjse_context.cpp51 m_cscope(v8::Local<v8::Context>::New(pContext->m_pIsolate, in CFXJSE_ScopeUtil_IsolateHandleContext()
53 v8::Isolate* GetIsolate() { return m_context->m_pIsolate; } in GetIsolate()
54 v8::Local<v8::Context> GetLocalContext() { in GetLocalContext()
55 return v8::Local<v8::Context>::New(m_context->m_pIsolate, in GetLocalContext()
68 v8::Context::Scope m_cscope;
71 v8::Local<v8::Object> FXJSE_GetGlobalObjectFromContext( in FXJSE_GetGlobalObjectFromContext()
72 const v8::Local<v8::Context>& hContext) { in FXJSE_GetGlobalObjectFromContext()
73 return hContext->Global()->GetPrototype().As<v8::Object>(); in FXJSE_GetGlobalObjectFromContext()
76 void FXJSE_UpdateObjectBinding(v8::Local<v8::Object>& hObject, in FXJSE_UpdateObjectBinding()
85 const v8::Local<v8::Object>& hJSObject, in FXJSE_RetrieveObjectBinding()
[all …]
Dcfxjse_class.cpp17 const v8::FunctionCallbackInfo<v8::Value>& info) { in V8FunctionCallback_Wrapper()
20 info.Data().As<v8::External>()->Value()); in V8FunctionCallback_Wrapper()
36 const v8::FunctionCallbackInfo<v8::Value>& info) { in V8ClassGlobalConstructorCallback_Wrapper()
39 info.Data().As<v8::External>()->Value()); in V8ClassGlobalConstructorCallback_Wrapper()
54 void V8GetterCallback_Wrapper(v8::Local<v8::String> property, in V8GetterCallback_Wrapper()
55 const v8::PropertyCallbackInfo<v8::Value>& info) { in V8GetterCallback_Wrapper()
58 info.Data().As<v8::External>()->Value()); in V8GetterCallback_Wrapper()
72 void V8SetterCallback_Wrapper(v8::Local<v8::String> property, in V8SetterCallback_Wrapper()
73 v8::Local<v8::Value> value, in V8SetterCallback_Wrapper()
74 const v8::PropertyCallbackInfo<void>& info) { in V8SetterCallback_Wrapper()
[all …]
/external/v8/samples/
Dshell.cc47 v8::Local<v8::Context> CreateShellContext(v8::Isolate* isolate);
48 void RunShell(v8::Local<v8::Context> context, v8::Platform* platform);
49 int RunMain(v8::Isolate* isolate, v8::Platform* platform, int argc,
51 bool ExecuteString(v8::Isolate* isolate, v8::Local<v8::String> source,
52 v8::Local<v8::Value> name, bool print_result,
54 void Print(const v8::FunctionCallbackInfo<v8::Value>& args);
55 void Read(const v8::FunctionCallbackInfo<v8::Value>& args);
56 void Load(const v8::FunctionCallbackInfo<v8::Value>& args);
57 void Quit(const v8::FunctionCallbackInfo<v8::Value>& args);
58 void Version(const v8::FunctionCallbackInfo<v8::Value>& args);
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/testing/
Dperf_report_output.txt21 …erThrea^chrome ^[.] void v8::internal::RelocInfo::Visit<v8::internal::MarkCompactMar…
23 …--- void v8::internal::RelocInfo::Visit<v8::internal::MarkCompactMarkingVisitor>(v8::internal::Hea…
25 … ^[.] v8::internal::StaticMarkingVisitor<v8::internal::MarkCompactMarkingVisitor>::Mar…
27 …--- v8::internal::StaticMarkingVisitor<v8::internal::MarkCompactMarkingVisitor>::MarkMapContents(v…
35 1.53^46054550^HTMLParserThrea^chrome ^[.] v8::internal::Scanner::ScanIdentifierOrKeyw…
37 --- v8::internal::Scanner::ScanIdentifierOrKeyword()
49 …^42913933^HTMLParserThrea^chrome ^[.] v8::internal::LiveRange::CreateAssignedOperand…
51 --- v8::internal::LiveRange::CreateAssignedOperand(v8::internal::Zone*)
53 …rserThrea^chrome ^[.] v8::internal::LAllocator::MeetConstraintsBetween(v8::internal:…
55 …--- v8::internal::LAllocator::MeetConstraintsBetween(v8::internal::LInstruction*, v8::internal::LI…
[all …]
/external/skia/experimental/SkV8Example/
DJsContext.cpp20 static const char* to_cstring(const v8::String::Utf8Value& value) { in to_cstring()
24 v8::Persistent<v8::ObjectTemplate> JsContext::gContextTemplate;
27 v8::Handle<v8::Object> JsContext::wrap() { in wrap()
29 v8::EscapableHandleScope handleScope(fGlobal->getIsolate()); in wrap()
34 v8::Local<v8::ObjectTemplate> localTemplate = v8::ObjectTemplate::New(); in wrap()
43 v8::Handle<v8::ObjectTemplate> templ = in wrap()
44 v8::Local<v8::ObjectTemplate>::New(fGlobal->getIsolate(), gContextTemplate); in wrap()
47 v8::Local<v8::Object> result = templ->NewInstance(); in wrap()
51 v8::Handle<v8::External> contextPtr = v8::External::New(fGlobal->getIsolate(), this); in wrap()
68 v8::HandleScope handleScope(fGlobal->getIsolate()); in onDraw()
[all …]
DGlobal.cpp18 static const char* to_cstring(const v8::String::Utf8Value& value) { in to_cstring()
33 void Global::reportException(v8::TryCatch* tryCatch) { in reportException()
34 v8::HandleScope handleScope(fIsolate); in reportException()
35 v8::String::Utf8Value exception(tryCatch->Exception()); in reportException()
37 v8::Handle<v8::Message> message = tryCatch->Message(); in reportException()
44 v8::String::Utf8Value filename(message->GetScriptOrigin().ResourceName()); in reportException()
50 v8::String::Utf8Value sourceline(message->GetSourceLine()); in reportException()
63 v8::String::Utf8Value stackTrace(tryCatch->StackTrace()); in reportException()
75 void Global::Inval(const v8::FunctionCallbackInfo<v8::Value>& args) { in Inval()
84 void Global::Print(const v8::FunctionCallbackInfo<v8::Value>& args) { in Print()
[all …]
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc93 : public v8::String::ExternalStringResource {
114 : public v8::String::ExternalOneByteStringResource {
151 std::string V8StringToUTF8(v8::Handle<v8::String> s) { in V8StringToUTF8()
158 android::String16 V8StringToUTF16(v8::Handle<v8::String> s) { in V8StringToUTF16()
173 v8::Local<v8::String> ASCIIStringToV8String(v8::Isolate* isolate, const std::string& s) { in ASCIIStringToV8String()
174 return v8::String::NewFromUtf8(isolate, s.data(), v8::String::kNormalString, s.size()); in ASCIIStringToV8String()
177 v8::Local<v8::String> UTF16StringToV8String(v8::Isolate* isolate, const android::String16& s) { in UTF16StringToV8String()
178 return v8::String::NewFromTwoByte( in UTF16StringToV8String()
180 v8::String::kNormalString, s.size()); in UTF16StringToV8String()
184 v8::Local<v8::String> ASCIILiteralToV8String(v8::Isolate* isolate, const char* ascii) { in ASCIILiteralToV8String()
[all …]
/external/v8/src/
Dapi.h16 namespace v8 {
30 template <typename T> inline T ToCData(v8::internal::Object* obj) { in ToCData()
31 STATIC_ASSERT(sizeof(T) == sizeof(v8::internal::Address)); in ToCData()
32 if (obj == v8::internal::Smi::kZero) return nullptr; in ToCData()
35 v8::internal::Foreign::cast(obj)->foreign_address())); in ToCData()
40 inline v8::internal::Handle<v8::internal::Object> FromCData( in FromCData()
41 v8::internal::Isolate* isolate, T obj) { in FromCData()
42 STATIC_ASSERT(sizeof(T) == sizeof(v8::internal::Address)); in FromCData()
43 if (obj == nullptr) return handle(v8::internal::Smi::kZero, isolate); in FromCData()
45 reinterpret_cast<v8::internal::Address>(reinterpret_cast<intptr_t>(obj))); in FromCData()
[all …]
/external/llvm/test/MC/AArch64/
Darm64-verbose-vector-case.s3 pmull v8.8h, v8.8b, v8.8b
4 pmull2 v8.8h, v8.16b, v8.16b
5 pmull v8.1q, v8.1d, v8.1d
6 pmull2 v8.1q, v8.2d, v8.2d
12 pmull v8.8H, v8.8B, v8.8B
13 pmull2 v8.8H, v8.16B, v8.16B
14 pmull v8.1Q, v8.1D, v8.1D
15 pmull2 v8.1Q, v8.2D, v8.2D

12345678910>>...78