Home
last modified time | relevance | path

Searched refs:Local (Results 1 – 25 of 902) sorted by relevance

12345678910>>...37

/third_party/node/deps/v8/include/
Dv8-object.h36 Local<Value> Name() const;
41 static Local<Private> New(Isolate* isolate,
42 Local<String> name = Local<String>());
53 static Local<Private> ForApi(Isolate* isolate, Local<String> name);
97 explicit PropertyDescriptor(Local<Value> value);
100 PropertyDescriptor(Local<Value> value, bool writable);
103 PropertyDescriptor(Local<Value> get, Local<Value> set);
107 Local<Value> value() const;
110 Local<Value> get() const;
112 Local<Value> set() const;
[all …]
Dv8-template.h52 void Set(Local<Name> name, Local<Data> value,
54 void SetPrivate(Local<Private> name, Local<Data> value,
56 V8_INLINE void Set(Isolate* isolate, const char* name, Local<Data> value,
60 Local<Name> name,
61 Local<FunctionTemplate> getter = Local<FunctionTemplate>(),
62 Local<FunctionTemplate> setter = Local<FunctionTemplate>(),
94 Local<String> name, AccessorGetterCallback getter,
95 AccessorSetterCallback setter, Local<Value> data,
96 PropertyAttribute attribute, Local<AccessorSignature> signature,
102 Local<Name> name, AccessorNameGetterCallback getter,
[all …]
Dv8-script.h44 Local<Value> GetResourceName();
51 Local<PrimitiveArray> GetHostDefinedOptions();
52 Local<Data> HostDefinedOptions();
63 Local<Script> BindToCurrentContext();
66 Local<Value> GetScriptName();
71 Local<Value> GetSourceURL();
75 Local<Value> GetSourceMappingURL();
114 Local<String> GetSpecifier() const;
135 Local<FixedArray> GetImportAssertions() const;
172 Local<Value> GetException() const;
[all …]
Dv8-typed-array.h53 static Local<Uint8Array> New(Local<ArrayBuffer> array_buffer,
55 static Local<Uint8Array> New(Local<SharedArrayBuffer> shared_array_buffer,
74 static Local<Uint8ClampedArray> New(Local<ArrayBuffer> array_buffer,
76 static Local<Uint8ClampedArray> New(
77 Local<SharedArrayBuffer> shared_array_buffer, size_t byte_offset,
96 static Local<Int8Array> New(Local<ArrayBuffer> array_buffer,
98 static Local<Int8Array> New(Local<SharedArrayBuffer> shared_array_buffer,
117 static Local<Uint16Array> New(Local<ArrayBuffer> array_buffer,
119 static Local<Uint16Array> New(Local<SharedArrayBuffer> shared_array_buffer,
138 static Local<Int16Array> New(Local<ArrayBuffer> array_buffer,
[all …]
Dv8-exception.h33 static Local<Value> RangeError(Local<String> message);
34 static Local<Value> ReferenceError(Local<String> message);
35 static Local<Value> SyntaxError(Local<String> message);
36 static Local<Value> TypeError(Local<String> message);
37 static Local<Value> WasmCompileError(Local<String> message);
38 static Local<Value> WasmLinkError(Local<String> message);
39 static Local<Value> WasmRuntimeError(Local<String> message);
40 static Local<Value> Error(Local<String> message);
47 static Local<Message> CreateMessage(Isolate* isolate, Local<Value> exception);
53 static Local<StackTrace> GetStackTrace(Local<Value> exception);
[all …]
Dv8-callbacks.h72 Local<UnboundScript> script;
221 using MessageCallback = void (*)(Local<Message> message, Local<Value> data);
250 using AllowCodeGenerationFromStringsCallback = bool (*)(Local<Context> context,
251 Local<String> source);
275 using FailedAccessCheckCallback = void (*)(Local<Object> target,
276 AccessType type, Local<Value> data);
283 ModifyCodeGenerationFromStringsResult (*)(Local<Context> context,
284 Local<Value> source);
286 ModifyCodeGenerationFromStringsResult (*)(Local<Context> context,
287 Local<Value> source,
[all …]
Dv8-container.h31 static Local<Array> New(Isolate* isolate, int length = 0);
37 static Local<Array> New(Isolate* isolate, Local<Value>* elements,
58 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
59 Local<Value> key);
60 V8_WARN_UNUSED_RESULT MaybeLocal<Map> Set(Local<Context> context,
61 Local<Value> key,
62 Local<Value> value);
63 V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
64 Local<Value> key);
65 V8_WARN_UNUSED_RESULT Maybe<bool> Delete(Local<Context> context,
[all …]
Dv8-promise.h38 Local<Context> context);
43 Local<Promise> GetPromise();
49 V8_WARN_UNUSED_RESULT Maybe<bool> Resolve(Local<Context> context,
50 Local<Value> value);
52 V8_WARN_UNUSED_RESULT Maybe<bool> Reject(Local<Context> context,
53 Local<Value> value);
73 V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Catch(Local<Context> context,
74 Local<Function> handler);
76 V8_WARN_UNUSED_RESULT MaybeLocal<Promise> Then(Local<Context> context,
77 Local<Function> handler);
[all …]
Dv8-message.h64 V8_INLINE ScriptOrigin(Isolate* isolate, Local<Value> resource_name,
69 Local<Value> source_map_url = Local<Value>(),
72 Local<Data> host_defined_options = Local<Data>())
85 V8_INLINE Local<Value> ResourceName() const;
89 V8_INLINE Local<Value> SourceMapUrl() const;
91 Local<PrimitiveArray> HostDefinedOptions() const;
92 V8_INLINE Local<Data> GetHostDefinedOptions() const;
98 Local<Value> resource_name_;
103 Local<Value> source_map_url_;
104 Local<Data> host_defined_options_;
[all …]
Dv8-function.h33 Local<Context> context, FunctionCallback callback,
34 Local<Value> data = Local<Value>(), int length = 0,
39 Local<Context> context, int argc, Local<Value> argv[]) const;
42 Local<Context> context) const { in NewInstance()
52 Local<Context> context, int argc, Local<Value> argv[],
55 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
56 Local<Value> recv, int argc,
57 Local<Value> argv[]);
59 void SetName(Local<String> name);
60 Local<Value> GetName() const;
[all …]
Dv8-primitive.h44 V8_INLINE static Local<Boolean> New(Isolate* isolate, bool value);
59 static Local<PrimitiveArray> New(Isolate* isolate, int length);
61 void Set(Isolate* isolate, int index, Local<Primitive> item);
62 Local<Primitive> Get(Isolate* isolate, int index);
208 V8_INLINE static Local<String> Empty(Isolate* isolate);
415 static V8_WARN_UNUSED_RESULT Local<String> NewFromUtf8Literal(
444 static Local<String> Concat(Isolate* isolate, Local<String> left,
445 Local<String> right);
499 bool StringEquals(Local<String> str) const;
510 Utf8Value(Isolate* isolate, Local<v8::Value> obj);
[all …]
Dv8-local-handle.h117 friend class Local; variable
155 class Local {
157 V8_INLINE Local() : val_(nullptr) {} in Local() function
159 V8_INLINE Local(Local<S> that) : val_(reinterpret_cast<T*>(*that)) { in Local() function
193 V8_INLINE bool operator==(const Local<S>& that) const {
221 V8_INLINE bool operator!=(const Local<S>& that) const {
236 V8_INLINE static Local<T> Cast(Local<S> that) { in Cast()
240 if (that.IsEmpty()) return Local<T>(); in Cast()
242 return Local<T>(T::Cast(*that)); in Cast()
251 V8_INLINE Local<S> As() const { in As()
[all …]
/third_party/node/deps/v8/src/debug/
Ddebug-interface.h47 void SetContextId(Local<Context> context, int id);
48 int GetContextId(Local<Context> context);
54 Local<String> GetBigIntDescription(Isolate* isolate, Local<BigInt> bigint);
57 Local<String> GetDateDescription(Local<Date> date);
60 Local<String> GetFunctionDescription(Local<Function> function);
75 MaybeLocal<Array> GetInternalProperties(Isolate* isolate, Local<Value> value);
88 V8_EXPORT_PRIVATE bool GetPrivateMembers(Local<Context> context,
89 Local<Object> value,
90 std::vector<Local<Value>>* names_out,
91 std::vector<Local<Value>>* values_out);
[all …]
/third_party/node/src/api/
Dcallback.cc13 using v8::Local;
20 Local<Object> object, in CallbackScope()
25 Local<Object> object, in CallbackScope()
48 Local<Object> object, in InternalCallbackScope()
67 Local<Context> current_context = isolate->GetCurrentContext(); in InternalCallbackScope()
135 Local<Context> context = env_->context(); in Close()
154 Local<Object> process = env_->process_object(); in Close()
158 Local<Function> tick_callback = env_->tick_callback_function(); in Close()
171 Local<Object> resource, in InternalMakeCallback()
172 Local<Object> recv, in InternalMakeCallback()
[all …]
/third_party/node/src/
Dmodule_wrap.cc36 using v8::Local;
53 Local<Object> object, in ModuleWrap()
54 Local<Module> module, in ModuleWrap()
55 Local<String> url, in ModuleWrap()
56 Local<Object> context_object, in ModuleWrap()
57 Local<Value> synthetic_evaluation_step) in ModuleWrap()
85 Local<Context> ModuleWrap::context() const { in context()
86 Local<Value> obj = object()->GetInternalField(kContextObjectSlot).As<Value>(); in context()
94 Local<Module> module) { in GetFromModule()
113 Local<Object> that = args.This(); in New()
[all …]
Dnode_env_var.cc21 using v8::Local;
39 MaybeLocal<String> Get(Isolate* isolate, Local<String> key) const override;
41 void Set(Isolate* isolate, Local<String> key, Local<String> value) override;
42 int32_t Query(Isolate* isolate, Local<String> key) const override;
44 void Delete(Isolate* isolate, Local<String> key) override;
45 Local<Array> Enumerate(Isolate* isolate) const override;
50 MaybeLocal<String> Get(Isolate* isolate, Local<String> key) const override;
52 void Set(Isolate* isolate, Local<String> key, Local<String> value) override;
53 int32_t Query(Isolate* isolate, Local<String> key) const override;
55 void Delete(Isolate* isolate, Local<String> key) override;
[all …]
Dnode.h137 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(
163 inline v8::Local<v8::Value> UVException(int errorno,
182 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
184 v8::Local<v8::Object> recv,
187 v8::Local<v8::Value>* argv));
189 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
191 v8::Local<v8::Object> recv,
192 v8::Local<v8::String> symbol,
[all …]
Dnode_contextify.h17 MicrotaskQueueWrap(Environment* env, v8::Local<v8::Object> obj);
21 static void Init(Environment* env, v8::Local<v8::Object> target);
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,
48 v8::Local<v8::Context> v8_context,
58 v8::Local<v8::ObjectTemplate> object_template,
61 static void Init(Environment* env, v8::Local<v8::Object> target);
[all …]
Dutil.cc60 using v8::Local;
66 Local<Value> value, in MakeUtf8String()
68 Local<String> string; in MakeUtf8String()
82 Utf8Value::Utf8Value(Isolate* isolate, Local<Value> value) { in Utf8Value()
90 TwoByteValue::TwoByteValue(Isolate* isolate, Local<Value> value) { in TwoByteValue()
95 Local<String> string; in TwoByteValue()
107 BufferValue::BufferValue(Isolate* isolate, Local<Value> value) { in BufferValue()
223 v8::Local<v8::String> string) { in WriteFileSync()
323 Local<v8::FunctionTemplate> NewFunctionTemplate( in NewFunctionTemplate()
326 Local<v8::Signature> signature, in NewFunctionTemplate()
[all …]
Dnode_contextify.cc53 using v8::Local;
104 Local<Name> Uint32ToName(Local<Context> context, uint32_t index) { in Uint32ToName()
113 Local<Object> sandbox_obj, in New()
117 Local<ObjectTemplate> object_template = env->contextify_global_template(); in New()
128 Local<Context> v8_context; in New()
145 Local<Object> wrapper, in ContextifyContext()
146 Local<Context> v8_context, in ContextifyContext()
177 Local<FunctionTemplate> global_func_template = in InitializeGlobalTemplates()
179 Local<ObjectTemplate> global_object_template = in InitializeGlobalTemplates()
206 Local<FunctionTemplate> wrapper_func_template = in InitializeGlobalTemplates()
[all …]
Dmodule_wrap.h43 static void Initialize(v8::Local<v8::Object> target,
44 v8::Local<v8::Value> unused,
45 v8::Local<v8::Context> context,
49 v8::Local<v8::Context> context,
50 v8::Local<v8::Module> module,
51 v8::Local<v8::Object> meta);
57 v8::Local<v8::Context> context() const;
70 v8::Local<v8::Object> object,
71 v8::Local<v8::Module> module,
72 v8::Local<v8::String> url,
[all …]
/third_party/node/deps/v8/src/inspector/
Dcustom-preview.cc26 void reportError(v8::Local<v8::Context> context, const v8::TryCatch& tryCatch) { in reportError()
33 v8::Local<v8::String> message = tryCatch.Message()->Get(); in reportError()
34 v8::Local<v8::String> prefix = 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()
55 InjectedScript* getInjectedScript(v8::Local<v8::Context> context, in getInjectedScript()
67 v8::Local<v8::Context> context, in substituteObjectTags()
68 v8::Local<v8::Array> jsonML, int maxDepth) { in substituteObjectTags()
79 v8::Local<v8::Value> firstValue; in substituteObjectTags()
84 v8::Local<v8::String> objectLiteral = toV8String(isolate, "object"); in substituteObjectTags()
[all …]
Dvalue-mirror.cc34 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()
77 v8::Local<v8::String> propertyName; in objectToProtocolValue()
79 v8::Local<v8::Value> property; in objectToProtocolValue()
[all …]
Dvalue-mirror.h53 static std::unique_ptr<ValueMirror> create(v8::Local<v8::Context> context,
54 v8::Local<v8::Value> value);
56 v8::Local<v8::Context> context, WrapMode mode,
59 v8::Local<v8::Context> context, const String16& name, in buildPropertyPreview()
62 v8::Local<v8::Context> context, bool generatePreviewForTable, in buildObjectPreview()
66 v8::Local<v8::Context> context, int* nameLimit, int* indexLimit, in buildEntryPreview()
68 virtual v8::Local<v8::Value> v8Value() const = 0;
70 v8::Local<v8::Context> context, int max_depth,
78 static bool getProperties(v8::Local<v8::Context> context,
79 v8::Local<v8::Object> object, bool ownProperties,
[all …]
/third_party/node/deps/v8/src/api/
Dapi.h161 static inline Local<debug::AccessorPair> ToLocal(
163 static inline Local<Context> ToLocal(
165 static inline Local<Value> ToLocal(
167 static inline Local<Module> ToLocal(
169 static inline Local<Name> ToLocal(
171 static inline Local<String> ToLocal(
173 static inline Local<Symbol> ToLocal(
175 static inline Local<RegExp> ToLocal(
177 static inline Local<Object> ToLocal(
179 static inline Local<Object> ToLocal(
[all …]

12345678910>>...37