/third_party/node/deps/v8/src/inspector/ |
D | v8-console.h | 16 namespace v8 { 27 class V8Console : public v8::debug::ConsoleDelegate { 29 v8::Local<v8::Object> createCommandLineAPI(v8::Local<v8::Context> context, 31 void installMemoryGetter(v8::Local<v8::Context> context, 32 v8::Local<v8::Object> console); 33 void installAsyncStackTaggingAPI(v8::Local<v8::Context> context, 34 v8::Local<v8::Object> console); 38 CommandLineAPIScope(v8::Local<v8::Context>, 39 v8::Local<v8::Object> commandLineAPI, 40 v8::Local<v8::Object> global); [all …]
|
D | custom-preview.cc | 26 void reportError(v8::Local<v8::Context> context, const v8::TryCatch& tryCatch) { in reportError() 28 v8::Isolate* isolate = context->GetIsolate(); in reportError() 30 static_cast<V8InspectorImpl*>(v8::debug::GetInspector(isolate)); in reportError() 33 v8::Local<v8::String> message = tryCatch.Message()->Get(); in reportError() 34 v8::Local<v8::String> prefix = in reportError() 36 message = v8::String::Concat(isolate, prefix, message); in reportError() 37 std::vector<v8::Local<v8::Value>> arguments; in reportError() 48 void reportError(v8::Local<v8::Context> context, const v8::TryCatch& tryCatch, in reportError() 50 v8::Isolate* isolate = context->GetIsolate(); in reportError() 55 InjectedScript* getInjectedScript(v8::Local<v8::Context> context, in getInjectedScript() [all …]
|
D | v8-console.cc | 31 v8::Isolate* isolate, const v8::debug::ConsoleContext& consoleContext) { in consoleContextToString() 39 ConsoleHelper(const v8::debug::ConsoleCallArguments& info, in ConsoleHelper() 40 const v8::debug::ConsoleContext& consoleContext, in ConsoleHelper() 72 std::vector<v8::Local<v8::Value>> arguments; in reportCall() 80 std::vector<v8::Local<v8::Value>> arguments; in reportCallWithDefaultArgument() 89 std::vector<v8::Local<v8::Value>> arguments; in reportCallAndReplaceFirstArgument() 96 std::vector<v8::Local<v8::Value>> arguments(1, in reportCallWithArgument() 102 const std::vector<v8::Local<v8::Value>>& arguments) { in reportCall() 118 std::vector<v8::Local<v8::Value>> arguments(1, in reportDeprecatedCall() 125 if (m_info[0]->IsBoolean()) return m_info[0].As<v8::Boolean>()->Value(); in firstArgToBoolean() [all …]
|
D | value-mirror.cc | 34 Response toProtocolValue(v8::Local<v8::Context> context, 35 v8::Local<v8::Value> value, int maxDepth, 38 Response arrayToProtocolValue(v8::Local<v8::Context> context, in arrayToProtocolValue() 39 v8::Local<v8::Array> array, int maxDepth, in arrayToProtocolValue() 45 v8::Local<v8::Value> value; in arrayToProtocolValue() 58 v8::Local<v8::Context> context, v8::Local<v8::Object> object, int maxDepth, in objectToProtocolValue() 62 v8::Local<v8::Array> propertyNames; in objectToProtocolValue() 67 v8::Local<v8::Value> name; in objectToProtocolValue() 71 v8::Maybe<bool> hasRealNamedProperty = in objectToProtocolValue() 72 object->HasRealNamedProperty(context, name.As<v8::String>()); in objectToProtocolValue() [all …]
|
D | v8-debugger.cc | 40 class MatchPrototypePredicate : public v8::debug::QueryObjectPredicate { 43 v8::Local<v8::Context> context, in MatchPrototypePredicate() 44 v8::Local<v8::Object> prototype) in MatchPrototypePredicate() 47 bool Filter(v8::Local<v8::Object> object) override { in Filter() 49 v8::Local<v8::Context> objectContext; in Filter() 50 if (!v8::debug::GetCreationContext(object).ToLocal(&objectContext)) { in Filter() 56 for (v8::Local<v8::Value> prototype = object->GetPrototype(); in Filter() 58 prototype = prototype.As<v8::Object>()->GetPrototype()) { in Filter() 66 v8::Local<v8::Context> m_context; 67 v8::Local<v8::Value> m_prototype; [all …]
|
D | v8-debugger.h | 45 class V8Debugger : public v8::debug::DebugDelegate, 46 public v8::debug::AsyncEventDelegate { 48 V8Debugger(v8::Isolate*, V8InspectorImpl*); 54 v8::Isolate* isolate() const { return m_isolate; } in isolate() 58 v8::debug::ExceptionBreakState getPauseOnExceptionsState(); 59 void setPauseOnExceptionsState(v8::debug::ExceptionBreakState); 100 std::shared_ptr<StackFrame> symbolize(v8::Local<v8::StackFrame> v8Frame); 102 std::unique_ptr<V8StackTraceImpl> createStackTrace(v8::Local<v8::StackTrace>); 105 v8::MaybeLocal<v8::Array> internalProperties(v8::Local<v8::Context>, 106 v8::Local<v8::Value>); [all …]
|
/third_party/node/src/ |
D | node_contextify.h | 17 MicrotaskQueueWrap(Environment* env, v8::Local<v8::Object> obj); 19 const std::shared_ptr<v8::MicrotaskQueue>& microtask_queue() const; 21 static void Init(Environment* env, v8::Local<v8::Object> target); 23 static void New(const v8::FunctionCallbackInfo<v8::Value>& args); 33 std::shared_ptr<v8::MicrotaskQueue> microtask_queue_; 37 v8::Local<v8::String> name; 38 v8::Local<v8::String> origin; 39 v8::Local<v8::Boolean> allow_code_gen_strings; 40 v8::Local<v8::Boolean> allow_code_gen_wasm; 47 v8::Local<v8::Object> wrapper, [all …]
|
D | node_wasi.h | 18 v8::Local<v8::Object> object, 20 static void New(const v8::FunctionCallbackInfo<v8::Value>& args); 26 static void ArgsGet(const v8::FunctionCallbackInfo<v8::Value>& args); 27 static void ArgsSizesGet(const v8::FunctionCallbackInfo<v8::Value>& args); 28 static void ClockResGet(const v8::FunctionCallbackInfo<v8::Value>& args); 29 static void ClockTimeGet(const v8::FunctionCallbackInfo<v8::Value>& args); 30 static void EnvironGet(const v8::FunctionCallbackInfo<v8::Value>& args); 31 static void EnvironSizesGet(const v8::FunctionCallbackInfo<v8::Value>& args); 32 static void FdAdvise(const v8::FunctionCallbackInfo<v8::Value>& args); 33 static void FdAllocate(const v8::FunctionCallbackInfo<v8::Value>& args); [all …]
|
D | node.h | 137 NODE_EXTERN v8::Local<v8::Value> ErrnoException(v8::Isolate* isolate, 142 NODE_EXTERN v8::Local<v8::Value> UVException(v8::Isolate* isolate, 150 inline v8::Local<v8::Value> ErrnoException( 155 return ErrnoException(v8::Isolate::GetCurrent(), 163 inline v8::Local<v8::Value> UVException(int errorno, 167 return UVException(v8::Isolate::GetCurrent(), 182 NODE_EXTERN v8::Local<v8::Value> MakeCallback( 183 v8::Isolate* isolate, 184 v8::Local<v8::Object> recv, 187 v8::Local<v8::Value>* argv)); [all …]
|
D | module_wrap.h | 43 static void Initialize(v8::Local<v8::Object> target, 44 v8::Local<v8::Value> unused, 45 v8::Local<v8::Context> context, 48 v8::Local<v8::Context> context, 49 v8::Local<v8::Module> module, 50 v8::Local<v8::Object> meta); 57 v8::Local<v8::Context> context() const; 71 v8::Local<v8::Object> object, 72 v8::Local<v8::Module> module, 73 v8::Local<v8::String> url); [all …]
|
D | histogram.h | 86 static v8::Local<v8::FunctionTemplate> GetConstructorTemplate( 88 static void Initialize(Environment* env, v8::Local<v8::Object> target); 99 static void New(const v8::FunctionCallbackInfo<v8::Value>& args); 105 static void GetCountBigInt(const v8::FunctionCallbackInfo<v8::Value>& args); 106 static void GetMinBigInt(const v8::FunctionCallbackInfo<v8::Value>& args); 107 static void GetMaxBigInt(const v8::FunctionCallbackInfo<v8::Value>& args); 108 static void GetExceedsBigInt(const v8::FunctionCallbackInfo<v8::Value>& args); 110 static void GetCount(const v8::FunctionCallbackInfo<v8::Value>& args); 111 static void GetMin(const v8::FunctionCallbackInfo<v8::Value>& args); 112 static void GetMax(const v8::FunctionCallbackInfo<v8::Value>& args); [all …]
|
D | udp_wrap.h | 108 static UDPWrapBase* FromObject(v8::Local<v8::Object> obj); 110 static void RecvStart(const v8::FunctionCallbackInfo<v8::Value>& args); 111 static void RecvStop(const v8::FunctionCallbackInfo<v8::Value>& args); 112 static void AddMethods(Environment* env, v8::Local<v8::FunctionTemplate> t); 125 static void Initialize(v8::Local<v8::Object> target, 126 v8::Local<v8::Value> unused, 127 v8::Local<v8::Context> context, 129 static void GetFD(const v8::FunctionCallbackInfo<v8::Value>& args); 130 static void New(const v8::FunctionCallbackInfo<v8::Value>& args); 131 static void Open(const v8::FunctionCallbackInfo<v8::Value>& args); [all …]
|
D | async_wrap.h | 128 v8::Local<v8::Object> object, 134 AsyncWrap(Environment* env, v8::Local<v8::Object> object); 142 static v8::Local<v8::FunctionTemplate> GetConstructorTemplate( 146 static void Initialize(v8::Local<v8::Object> target, 147 v8::Local<v8::Value> unused, 148 v8::Local<v8::Context> context, 151 static void GetAsyncId(const v8::FunctionCallbackInfo<v8::Value>& args); 152 static void PushAsyncContext(const v8::FunctionCallbackInfo<v8::Value>& args); 153 static void PopAsyncContext(const v8::FunctionCallbackInfo<v8::Value>& args); 155 const v8::FunctionCallbackInfo<v8::Value>& args); [all …]
|
D | node_messaging.h | 20 typedef MaybeStackBuffer<v8::Local<v8::Value>, 8> TransferList; 35 v8::Local<v8::Context> context, 41 virtual v8::Maybe<bool> FinalizeTransferWrite( 42 v8::Local<v8::Context> context, v8::ValueSerializer* serializer); 65 v8::MaybeLocal<v8::Value> Deserialize( 67 v8::Local<v8::Context> context, 68 v8::Local<v8::Value>* port_list = nullptr); 75 v8::Maybe<bool> Serialize(Environment* env, 76 v8::Local<v8::Context> context, 77 v8::Local<v8::Value> input, [all …]
|
D | tcp_wrap.h | 42 static v8::MaybeLocal<v8::Object> Instantiate(Environment* env, 45 static void Initialize(v8::Local<v8::Object> target, 46 v8::Local<v8::Value> unused, 47 v8::Local<v8::Context> context, 69 friend void GetSockOrPeerName(const v8::FunctionCallbackInfo<v8::Value>&); 71 TCPWrap(Environment* env, v8::Local<v8::Object> object, 74 static void New(const v8::FunctionCallbackInfo<v8::Value>& args); 75 static void SetNoDelay(const v8::FunctionCallbackInfo<v8::Value>& args); 76 static void SetKeepAlive(const v8::FunctionCallbackInfo<v8::Value>& args); 77 static void Bind(const v8::FunctionCallbackInfo<v8::Value>& args); [all …]
|
D | util.h | 199 inline bool IsSafeJsInt(v8::Local<v8::Value> v); 285 virtual v8::MaybeLocal<v8::String> Get(v8::Isolate* isolate, 286 v8::Local<v8::String> key) const = 0; 287 virtual v8::Maybe<std::string> Get(const char* key) const = 0; 288 virtual void Set(v8::Isolate* isolate, 289 v8::Local<v8::String> key, 290 v8::Local<v8::String> value) = 0; 291 virtual int32_t Query(v8::Isolate* isolate, 292 v8::Local<v8::String> key) const = 0; 294 virtual void Delete(v8::Isolate* isolate, v8::Local<v8::String> key) = 0; [all …]
|
D | stream_base.h | 31 using JSMethodFunction = void(const v8::FunctionCallbackInfo<v8::Value>& args); 46 v8::Local<v8::Object> req_wrap_obj); 50 inline v8::Local<v8::Object> object(); 59 static inline StreamReq* FromObject(v8::Local<v8::Object> req_wrap_obj); 66 static inline void ResetObject(v8::Local<v8::Object> req_wrap_obj); 71 inline void AttachToObject(v8::Local<v8::Object> req_wrap_obj); 81 v8::Local<v8::Object> req_wrap_obj); 83 static inline ShutdownWrap* FromObject(v8::Local<v8::Object> req_wrap_obj); 94 inline void SetBackingStore(std::unique_ptr<v8::BackingStore> bs); 98 v8::Local<v8::Object> req_wrap_obj); [all …]
|
D | node_builtins.h | 27 std::unique_ptr<v8::ScriptCompiler::CachedData>>; 42 static void Initialize(v8::Local<v8::Object> target, 43 v8::Local<v8::Value> unused, 44 v8::Local<v8::Context> context, 49 static v8::MaybeLocal<v8::Function> LookupAndCompile( 50 v8::Local<v8::Context> context, 54 static v8::Local<v8::Object> GetSourceObject(v8::Local<v8::Context> context); 56 static v8::Local<v8::String> GetConfigString(v8::Isolate* isolate); 61 static bool CompileAllBuiltins(v8::Local<v8::Context> context); 93 v8::ScriptCompiler::CachedData* GetCodeCache(const char* id) const; [all …]
|
/third_party/node/src/crypto/ |
D | crypto_tls.h | 53 static void Initialize(v8::Local<v8::Object> target, 54 v8::Local<v8::Value> unused, 55 v8::Local<v8::Context> context, 77 v8::Local<v8::Object> req_wrap_object) override; 94 v8::MaybeLocal<v8::ArrayBufferView> ocsp_response() const; 138 v8::Local<v8::Object> obj, 175 static void CertCbDone(const v8::FunctionCallbackInfo<v8::Value>& args); 176 static void DestroySSL(const v8::FunctionCallbackInfo<v8::Value>& args); 177 static void EnableCertCb(const v8::FunctionCallbackInfo<v8::Value>& args); 179 const v8::FunctionCallbackInfo<v8::Value>& args); [all …]
|
D | crypto_context.h | 20 const v8::FunctionCallbackInfo<v8::Value>& args); 23 const v8::FunctionCallbackInfo<v8::Value>& args); 27 BIOPointer LoadBIO(Environment* env, v8::Local<v8::Value> v); 38 static bool HasInstance(Environment* env, const v8::Local<v8::Value>& value); 39 static v8::Local<v8::FunctionTemplate> GetConstructorTemplate( 41 static void Initialize(Environment* env, v8::Local<v8::Object> target); 61 v8::Maybe<bool> AddCert(Environment* env, BIOPointer&& bio); 62 v8::Maybe<bool> SetCRL(Environment* env, const BIOPointer& bio); 63 v8::Maybe<bool> UseKey(Environment* env, std::shared_ptr<KeyObjectData> key); 86 static void New(const v8::FunctionCallbackInfo<v8::Value>& args); [all …]
|
D | crypto_x509.h | 45 static void Initialize(Environment* env, v8::Local<v8::Object> target); 47 static v8::Local<v8::FunctionTemplate> GetConstructorTemplate( 49 static bool HasInstance(Environment* env, v8::Local<v8::Object> object); 51 static v8::MaybeLocal<v8::Object> New( 56 static v8::MaybeLocal<v8::Object> New( 61 static v8::MaybeLocal<v8::Object> GetCert( 65 static v8::MaybeLocal<v8::Object> GetPeerCert( 70 static v8::Local<v8::Object> Wrap( 72 v8::Local<v8::Object> object, 75 static void Parse(const v8::FunctionCallbackInfo<v8::Value>& args); [all …]
|
/third_party/cef/libcef/renderer/ |
D | v8_impl.cc | 50 void MessageListenerCallbackImpl(v8::Handle<v8::Message> message, 51 v8::Handle<v8::Value> data); 57 void SetPrivate(v8::Local<v8::Context> context, in SetPrivate() 58 v8::Local<v8::Object> obj, in SetPrivate() 60 v8::Local<v8::Value> value) { in SetPrivate() 61 v8::Isolate* isolate = context->GetIsolate(); in SetPrivate() 63 v8::Private::ForApi( in SetPrivate() 64 isolate, v8::String::NewFromUtf8( in SetPrivate() 65 isolate, key, v8::NewStringType::kNormal) in SetPrivate() 71 bool GetPrivate(v8::Local<v8::Context> context, in GetPrivate() [all …]
|
/third_party/node/test/cctest/ |
D | test_linked_binding.cc | 8 void InitializeBinding(v8::Local<v8::Object> exports, in InitializeBinding() 9 v8::Local<v8::Value> module, in InitializeBinding() 10 v8::Local<v8::Context> context, in InitializeBinding() 12 v8::Isolate* isolate = context->GetIsolate(); in InitializeBinding() 15 v8::String::NewFromOneByte(isolate, in InitializeBinding() 18 v8::String::NewFromOneByte( in InitializeBinding() 29 const v8::HandleScope handle_scope(isolate_); in TEST_F() 33 v8::Local<v8::Context> context = isolate_->GetCurrentContext(); in TEST_F() 36 v8::Local<v8::Script> script = in TEST_F() 37 v8::Script::Compile( in TEST_F() [all …]
|
/third_party/node/deps/v8/src/api/ |
D | api.h | 29 namespace v8 { 59 inline T ToCData(v8::internal::Object obj); 62 inline v8::internal::Address ToCData(v8::internal::Object obj); 65 inline v8::internal::Handle<v8::internal::Object> FromCData( 66 v8::internal::Isolate* isolate, T obj); 69 inline v8::internal::Handle<v8::internal::Object> FromCData( 70 v8::internal::Isolate* isolate, v8::internal::Address obj); 74 explicit ApiFunction(v8::internal::Address addr) : addr_(addr) {} in ApiFunction() 75 v8::internal::Address address() { return addr_; } in address() 78 v8::internal::Address addr_; [all …]
|
/third_party/node/deps/v8/src/debug/ |
D | debug-interface.h | 28 namespace v8 { 163 v8::Local<v8::debug::Script> script; 165 v8::Local<v8::String> message; 197 v8::Isolate* GetIsolate() const; 218 v8::debug::Location GetSourceLocation(int offset) const; 219 bool SetScriptSource(v8::Local<v8::String> newSource, bool preview, 221 bool SetBreakpoint(v8::Local<v8::String> condition, debug::Location* location, 263 virtual void ScriptCompiled(v8::Local<Script> script, bool is_live_edited, in ScriptCompiled() 268 v8::Local<v8::Context> paused_context, 272 v8::Local<v8::Context> paused_context, in BreakOnInstrumentation() [all …]
|