Home
last modified time | relevance | path

Searched refs:MaybeHandle (Results 1 – 25 of 131) sorted by relevance

123456

/external/v8/src/compiler/
Daccess-builder.cc21 MaybeHandle<Name>(), MaybeHandle<Map>(), in ForExternalDoubleValue()
30 MaybeHandle<Name>(), MaybeHandle<Map>(), in ForExternalTaggedValue()
39 MaybeHandle<Name>(), MaybeHandle<Map>(), in ForExternalUint8Value()
48 MaybeHandle<Name>(), MaybeHandle<Map>(), in ForMap()
58 kTaggedBase, HeapNumber::kValueOffset, MaybeHandle<Name>(), in ForHeapNumberValue()
59 MaybeHandle<Map>(), TypeCache::Get().kFloat64, MachineType::Float64(), in ForHeapNumberValue()
68 MaybeHandle<Name>(), MaybeHandle<Map>(), in ForJSObjectProperties()
78 MaybeHandle<Name>(), MaybeHandle<Map>(), in ForJSObjectElements()
90 MaybeHandle<Name>(), MaybeHandle<Map>(), in ForJSObjectInObjectProperty()
100 MaybeHandle<Name>(), MaybeHandle<Map>(), in ForJSObjectOffset()
[all …]
Daccess-info.h71 MaybeHandle<JSObject> holder);
74 MaybeHandle<JSObject> holder);
78 Type* field_type, MaybeHandle<Map> field_map = MaybeHandle<Map>(),
79 MaybeHandle<JSObject> holder = MaybeHandle<JSObject>(),
80 MaybeHandle<Map> transition_map = MaybeHandle<Map>());
83 MaybeHandle<JSObject> holder);
102 MaybeHandle<JSObject> holder() const { return holder_; } in holder()
103 MaybeHandle<Map> transition_map() const { return transition_map_; } in transition_map()
110 MaybeHandle<Map> field_map() const { return field_map_; } in field_map()
114 PropertyAccessInfo(MaybeHandle<JSObject> holder,
[all …]
Daccess-info.cc70 MaybeHandle<JSObject> holder) { in NotFound()
77 MaybeHandle<JSObject> holder) { in DataConstant()
85 Type* field_type, MaybeHandle<Map> field_map, MaybeHandle<JSObject> holder, in DataField()
86 MaybeHandle<Map> transition_map) { in DataField()
96 MaybeHandle<JSObject> holder) { in AccessorConstant()
102 return PropertyAccessInfo(kGeneric, MaybeHandle<JSObject>(), Handle<Object>(), in Generic()
111 PropertyAccessInfo::PropertyAccessInfo(MaybeHandle<JSObject> holder, in PropertyAccessInfo()
119 PropertyAccessInfo::PropertyAccessInfo(Kind kind, MaybeHandle<JSObject> holder, in PropertyAccessInfo()
130 Kind kind, MaybeHandle<JSObject> holder, MaybeHandle<Map> transition_map, in PropertyAccessInfo()
132 Type* field_type, MaybeHandle<Map> field_map, MapList const& receiver_maps) in PropertyAccessInfo()
[all …]
Djs-context-specialization.h24 MaybeHandle<Context> context) in JSContextSpecialization()
41 MaybeHandle<Context> context() const { return context_; } in context()
44 MaybeHandle<Context> context_;
/external/v8/src/
Dvalue-serializer.h194 MaybeHandle<Object> ReadObject() WARN_UNUSED_RESULT;
203 MaybeHandle<Object> ReadObjectUsingEntireBufferForLegacyFormat()
240 MaybeHandle<Object> ReadObjectInternal() WARN_UNUSED_RESULT;
245 MaybeHandle<String> ReadString() WARN_UNUSED_RESULT;
249 MaybeHandle<String> ReadUtf8String() WARN_UNUSED_RESULT;
250 MaybeHandle<String> ReadOneByteString() WARN_UNUSED_RESULT;
251 MaybeHandle<String> ReadTwoByteString() WARN_UNUSED_RESULT;
252 MaybeHandle<JSObject> ReadJSObject() WARN_UNUSED_RESULT;
253 MaybeHandle<JSArray> ReadSparseJSArray() WARN_UNUSED_RESULT;
254 MaybeHandle<JSArray> ReadDenseJSArray() WARN_UNUSED_RESULT;
[all …]
Duri.h17 static MaybeHandle<String> DecodeUri(Isolate* isolate, Handle<String> uri) { in DecodeUri()
22 static MaybeHandle<String> DecodeUriComponent(Isolate* isolate, in DecodeUriComponent()
28 static MaybeHandle<String> EncodeUri(Isolate* isolate, Handle<String> uri) { in EncodeUri()
33 static MaybeHandle<String> EncodeUriComponent(Isolate* isolate, in EncodeUriComponent()
39 static MaybeHandle<String> Escape(Isolate* isolate, Handle<String> string);
42 static MaybeHandle<String> Unescape(Isolate* isolate, Handle<String> string);
45 static MaybeHandle<String> Decode(Isolate* isolate, Handle<String> uri,
47 static MaybeHandle<String> Encode(Isolate* isolate, Handle<String> uri,
Dvalue-serializer.cc1057 MaybeHandle<Object> ValueDeserializer::ReadObject() { in ReadObject()
1058 MaybeHandle<Object> result = ReadObjectInternal(); in ReadObject()
1078 MaybeHandle<Object> ValueDeserializer::ReadObjectInternal() { in ReadObjectInternal()
1080 if (!ReadTag().To(&tag)) return MaybeHandle<Object>(); in ReadObjectInternal()
1084 if (ReadVarint<uint32_t>().IsNothing()) return MaybeHandle<Object>(); in ReadObjectInternal()
1096 if (number.IsNothing()) return MaybeHandle<Object>(); in ReadObjectInternal()
1102 if (number.IsNothing()) return MaybeHandle<Object>(); in ReadObjectInternal()
1108 if (number.IsNothing()) return MaybeHandle<Object>(); in ReadObjectInternal()
1119 if (!ReadVarint<uint32_t>().To(&id)) return MaybeHandle<Object>(); in ReadObjectInternal()
1162 return MaybeHandle<Object>(); in ReadObjectInternal()
[all …]
Dhandles.h159 friend class MaybeHandle; variable
185 class MaybeHandle final {
187 V8_INLINE MaybeHandle() {} in MaybeHandle() function
188 V8_INLINE ~MaybeHandle() {} in ~MaybeHandle()
193 V8_INLINE MaybeHandle(Handle<S> handle) in MaybeHandle() function
204 V8_INLINE MaybeHandle(MaybeHandle<S> maybe_handle) in MaybeHandle() function
213 V8_INLINE MaybeHandle(S* object, Isolate* isolate) in MaybeHandle() function
214 : MaybeHandle(handle(object, isolate)) {} in MaybeHandle()
248 friend class MaybeHandle; variable
Dexecution.cc58 MUST_USE_RESULT MaybeHandle<Object> Invoke( in Invoke()
75 return MaybeHandle<Object>(); in Invoke()
97 return MaybeHandle<Object>(); in Invoke()
113 return MaybeHandle<Object>(); in Invoke()
162 return MaybeHandle<Object>(); in Invoke()
170 MaybeHandle<Object> CallInternal(Isolate* isolate, Handle<Object> callable, in CallInternal()
188 MaybeHandle<Object> Execution::Call(Isolate* isolate, Handle<Object> callable, in Call()
197 MaybeHandle<Object> Execution::New(Handle<JSFunction> constructor, int argc, in New()
204 MaybeHandle<Object> Execution::New(Isolate* isolate, Handle<Object> constructor, in New()
212 MaybeHandle<Object> Execution::TryCall(Isolate* isolate, in TryCall()
[all …]
Dkeys.h39 static MaybeHandle<FixedArray> GetKeys(
136 MaybeHandle<FixedArray> GetKeys(
141 MaybeHandle<FixedArray> GetKeysFast(GetKeysConversion convert);
142 MaybeHandle<FixedArray> GetKeysSlow(GetKeysConversion convert);
144 MaybeHandle<FixedArray> GetOwnKeysWithUninitializedEnumCache();
Dexecution.h30 V8_EXPORT_PRIVATE MUST_USE_RESULT static MaybeHandle<Object> Call(
36 MUST_USE_RESULT static MaybeHandle<Object> New(Handle<JSFunction> constructor,
39 MUST_USE_RESULT static MaybeHandle<Object> New(Isolate* isolate,
52 static MaybeHandle<Object> TryCall(Isolate* isolate, Handle<Object> callable,
56 MaybeHandle<Object>* exception_out);
Dapi-natives.cc36 MaybeHandle<JSObject> InstantiateObject(Isolate* isolate,
41 MaybeHandle<JSFunction> InstantiateFunction(Isolate* isolate,
45 MaybeHandle<Object> Instantiate(Isolate* isolate, Handle<Object> data, in Instantiate()
58 MaybeHandle<Object> DefineAccessorProperty( in DefineAccessorProperty()
89 MaybeHandle<Object> DefineDataProperty(Isolate* isolate, in DefineDataProperty()
175 MaybeHandle<JSObject> ConfigureInstance(Isolate* isolate, Handle<JSObject> obj, in ConfigureInstance()
263 MaybeHandle<JSObject> ProbeInstantiationsCache(Isolate* isolate, in ProbeInstantiationsCache()
275 return MaybeHandle<JSObject>(); in ProbeInstantiationsCache()
338 MaybeHandle<JSObject> InstantiateObject(Isolate* isolate, in InstantiateObject()
399 MaybeHandle<Object> GetInstancePrototype(Isolate* isolate, in GetInstancePrototype()
[all …]
Dfactory.h44 MaybeHandle<FixedArray> TryNewFixedArray(
151 MUST_USE_RESULT MaybeHandle<String> NewStringFromOneByte(
186 MUST_USE_RESULT inline MaybeHandle<String> NewStringFromAscii(
194 MUST_USE_RESULT MaybeHandle<String> NewStringFromUtf8(
197 MUST_USE_RESULT MaybeHandle<String> NewStringFromUtf8SubString(
201 MUST_USE_RESULT MaybeHandle<String> NewStringFromTwoByte(
204 MUST_USE_RESULT MaybeHandle<String> NewStringFromTwoByte(
229 MUST_USE_RESULT MaybeHandle<Map> InternalizedStringMapForString(
240 MUST_USE_RESULT MaybeHandle<SeqOneByteString> NewRawOneByteString(
243 MUST_USE_RESULT MaybeHandle<SeqTwoByteString> NewRawTwoByteString(
[all …]
Djson-parser.h18 static MaybeHandle<Object> Internalize(Isolate* isolate,
26 MaybeHandle<Object> InternalizeJsonProperty(Handle<JSReceiver> holder,
39 MUST_USE_RESULT static MaybeHandle<Object> Parse(Isolate* isolate, in Parse()
57 MaybeHandle<Object> ParseJson();
Dapi-natives.h22 MUST_USE_RESULT static MaybeHandle<JSFunction> InstantiateFunction(
25 MUST_USE_RESULT static MaybeHandle<JSObject> InstantiateObject(
29 MUST_USE_RESULT static MaybeHandle<JSObject> InstantiateRemoteObject(
/external/v8/src/regexp/
Dregexp-utils.h24 static MUST_USE_RESULT MaybeHandle<Object> SetLastIndex(
26 static MUST_USE_RESULT MaybeHandle<Object> GetLastIndex(
30 static MUST_USE_RESULT MaybeHandle<Object> RegExpExec(
46 static MUST_USE_RESULT MaybeHandle<Object> SetAdvancedStringIndex(
/external/v8/src/asmjs/
Dasm-js.cc54 MaybeHandle<i::Object> maybe_math = i::Object::GetProperty(stdlib, math_name); in StdlibMathMember()
62 MaybeHandle<i::Object> maybe_value = i::Object::GetProperty(math, name); in StdlibMathMember()
90 MaybeHandle<i::Object> maybe_value = i::Object::GetProperty(stdlib, name); in IsStdlibMemberValid()
103 MaybeHandle<i::Object> maybe_value = i::Object::GetProperty(stdlib, name); in IsStdlibMemberValid()
166 MaybeHandle<FixedArray> AsmJs::CompileAsmViaWasm(CompilationInfo* info) { in CompileAsmViaWasm()
180 return MaybeHandle<FixedArray>(); in CompileAsmViaWasm()
191 MaybeHandle<JSObject> compiled = SyncCompileTranslatedAsmJs( in CompileAsmViaWasm()
256 MaybeHandle<Object> AsmJs::InstantiateAsmWasm(i::Isolate* isolate, in InstantiateAsmWasm()
279 i::MaybeHandle<i::Object> maybe_module_object = in InstantiateAsmWasm()
282 return MaybeHandle<Object>(); in InstantiateAsmWasm()
[all …]
/external/v8/src/debug/
Ddebug-scopes.h50 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeScopeDetails();
62 MaybeHandle<JSObject> ScopeObject();
116 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeScriptScope();
117 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeLocalScope();
118 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeModuleScope();
Ddebug-evaluate.h16 static MaybeHandle<Object> Global(Isolate* isolate, Handle<String> source);
23 static MaybeHandle<Object> Local(Isolate* isolate, StackFrame::Id frame_id,
86 static MaybeHandle<Object> Evaluate(Isolate* isolate,
/external/v8/src/runtime/
Druntime-classes.cc101 static MaybeHandle<Object> DefineClass(Isolate* isolate, in DefineClass()
242 MaybeHandle<JSReceiver> GetSuperHolder( in GetSuperHolder()
244 SuperMode mode, MaybeHandle<Name> maybe_name, uint32_t index) { in GetSuperHolder()
266 MaybeHandle<Object> LoadFromSuper(Isolate* isolate, Handle<Object> receiver, in LoadFromSuper()
280 MaybeHandle<Object> LoadElementFromSuper(Isolate* isolate, in LoadElementFromSuper()
288 MaybeHandle<Name>(), index), in LoadElementFromSuper()
338 MaybeHandle<Object> StoreToSuper(Isolate* isolate, Handle<JSObject> home_object, in StoreToSuper()
350 MaybeHandle<Object>()); in StoreToSuper()
354 MaybeHandle<Object> StoreElementToSuper(Isolate* isolate, in StoreElementToSuper()
363 MaybeHandle<Name>(), index), in StoreElementToSuper()
[all …]
Druntime-literals.cc27 MUST_USE_RESULT static MaybeHandle<Object> CreateLiteralBoilerplate(
31 MUST_USE_RESULT static MaybeHandle<Object> CreateObjectLiteralBoilerplate( in CreateObjectLiteralBoilerplate()
77 MaybeHandle<Object> maybe_result; in CreateObjectLiteralBoilerplate()
107 static MaybeHandle<Object> CreateArrayLiteralBoilerplate( in CreateArrayLiteralBoilerplate()
179 MUST_USE_RESULT static MaybeHandle<Object> CreateLiteralBoilerplate( in CreateLiteralBoilerplate()
201 return MaybeHandle<Object>(); in CreateLiteralBoilerplate()
270 MaybeHandle<Object> maybe_copy = in RUNTIME_FUNCTION()
276 MUST_USE_RESULT static MaybeHandle<AllocationSite> GetLiteralAllocationSite( in GetLiteralAllocationSite()
305 static MaybeHandle<JSObject> CreateArrayLiteralImpl( in CreateArrayLiteralImpl()
322 MaybeHandle<JSObject> copy = in CreateArrayLiteralImpl()
Druntime-forin.cc23 MaybeHandle<HeapObject> Enumerate(Handle<JSReceiver> receiver) { in Enumerate()
44 MaybeHandle<Object> HasEnumerableProperty(Isolate* isolate, in HasEnumerableProperty()
60 if (result.IsNothing()) return MaybeHandle<Object>(); in HasEnumerableProperty()
81 if (result.IsNothing()) return MaybeHandle<Object>(); in HasEnumerableProperty()
88 if (result.IsNothing()) return MaybeHandle<Object>(); in HasEnumerableProperty()
/external/v8/src/wasm/
Dwasm-module.h366 V8_EXPORT_PRIVATE MaybeHandle<WasmModuleObject> CreateModuleObjectFromBytes(
391 MaybeHandle<JSArrayBuffer> GetInstanceMemory(
422 V8_EXPORT_PRIVATE MaybeHandle<WasmModuleObject> SyncCompileTranslatedAsmJs(
426 V8_EXPORT_PRIVATE MaybeHandle<WasmModuleObject> SyncCompile(
429 V8_EXPORT_PRIVATE MaybeHandle<WasmInstanceObject> SyncInstantiate(
431 Handle<WasmModuleObject> module_object, MaybeHandle<JSReceiver> imports,
432 MaybeHandle<JSArrayBuffer> memory);
440 MaybeHandle<JSReceiver> imports);
444 MaybeHandle<JSReceiver> imports);
Dwasm-module.cc47 byte* raw_buffer_ptr(MaybeHandle<JSArrayBuffer> buffer, int offset) { in raw_buffer_ptr()
153 MaybeHandle<String> url_str = isolate->factory()->NewStringFromOneByte( in CreateWasmScript()
160 MaybeHandle<String> name_str = isolate->factory()->NewStringFromOneByte( in CreateWasmScript()
399 MaybeHandle<WasmModuleObject> CompileToModuleObject( in CompileToModuleObject()
885 MaybeHandle<String> import_name, in CompileImportWrapper()
953 MaybeHandle<JSReceiver> ffi, in InstantiationHelper()
954 MaybeHandle<JSArrayBuffer> memory) in InstantiationHelper()
965 MaybeHandle<WasmInstanceObject> Build() { in Build()
983 MaybeHandle<WasmInstanceObject> owner; in Build()
1059 MaybeHandle<JSArrayBuffer> old_globals; in Build()
[all …]
/external/v8/src/ic/
Dic.h133 MaybeHandle<Object> TypeError(MessageTemplate::Template,
135 MaybeHandle<Object> ReferenceError(Handle<Name> name);
252 MaybeHandle<Object> maybe_handler_;
291 MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object,
331 MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Name> name);
346 MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object,
369 MUST_USE_RESULT MaybeHandle<Object> Store(
416 MUST_USE_RESULT MaybeHandle<Object> Store(Handle<Object> object,
445 MaybeHandle<Object> Transition(Handle<AllocationSite> allocation_site,

123456