/external/v8/src/heap/ |
D | factory.h | 99 Handle<Oddball> NewOddball(Handle<Map> map, const char* to_string, 100 Handle<Object> to_number, const char* type_of, 105 Handle<Oddball> NewSelfReferenceMarker(PretenureFlag pretenure = TENURED); 110 Handle<T> NewFixedArrayWithMap(Heap::RootListIndex map_root_index, int length, 116 Handle<T> NewWeakFixedArrayWithMap(Heap::RootListIndex map_root_index, 121 Handle<FixedArray> NewFixedArray(int length, 126 Handle<WeakFixedArray> NewWeakFixedArray( 130 Handle<PropertyArray> NewPropertyArray(int length, 142 Handle<FixedArray> NewFixedArrayWithHoles( 146 Handle<FixedArray> NewUninitializedFixedArray( [all …]
|
D | factory.cc | 56 void InitializeCode(Heap* heap, Handle<Code> code, int object_size, in InitializeCode() 58 Handle<Object> self_ref, int32_t builtin_index, in InitializeCode() 59 Handle<ByteArray> source_position_table, in InitializeCode() 60 Handle<DeoptimizationData> deopt_data, in InitializeCode() 61 Handle<ByteArray> reloc_info, in InitializeCode() 62 Handle<CodeDataContainer> data_container, uint32_t stub_key, in InitializeCode() 125 Handle<Map> map, PretenureFlag pretenure, in AllocateRawWithAllocationSite() 126 Handle<AllocationSite> allocation_site) { in AllocateRawWithAllocationSite() 181 HeapObject* Factory::New(Handle<Map> map, PretenureFlag pretenure) { in New() 194 Handle<HeapObject> Factory::NewFillerObject(int size, bool double_align, in NewFillerObject() [all …]
|
D | factory-inl.h | 20 Handle<type> Factory::name() { \ 21 return Handle<type>(bit_cast<type**>( \ 28 Handle<Map> Factory::name##_map() { \ 29 return Handle<Map>(bit_cast<Map**>( \ 36 Handle<Map> Factory::name##_map() { \ in STRUCT_LIST() 37 return Handle<Map>(bit_cast<Map**>( \ in STRUCT_LIST() 44 Handle<Map> Factory::name##_map() { \ 45 return Handle<Map>(bit_cast<Map**>( \ 52 Handle<String> Factory::name() { \ 53 return Handle<String>(bit_cast<String**>( \ [all …]
|
/external/v8/src/ |
D | api-arguments.h | 44 Handle<V> GetReturnValue(Isolate* isolate); 76 inline Handle<Object> CallAccessorSetter(Handle<AccessorInfo> info, 77 Handle<Name> name, 78 Handle<Object> value); 80 inline Handle<Object> CallAccessorGetter(Handle<AccessorInfo> info, 81 Handle<Name> name); 85 inline Handle<Object> CallNamedQuery(Handle<InterceptorInfo> interceptor, 86 Handle<Name> name); 87 inline Handle<Object> CallNamedGetter(Handle<InterceptorInfo> interceptor, 88 Handle<Name> name); [all …]
|
D | lookup.h | 47 LookupIterator(Isolate* isolate, Handle<Object> receiver, Handle<Name> name, 52 inline LookupIterator(Handle<Object> receiver, Handle<Name> name, 53 Handle<JSReceiver> holder, 56 inline LookupIterator(Isolate* isolate, Handle<Object> receiver, 57 Handle<Name> name, Handle<JSReceiver> holder, 60 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index, 65 LookupIterator(Isolate* isolate, Handle<Object> receiver, uint32_t index, 66 Handle<JSReceiver> holder, 82 Isolate* isolate, Handle<Object> receiver, Handle<Name> name, 86 Isolate* isolate, Handle<Object> receiver, Handle<Name> name, [all …]
|
D | elements.h | 59 virtual Handle<Object> Get(Handle<JSObject> holder, uint32_t entry) = 0; 69 virtual void SetLength(Handle<JSArray> holder, uint32_t new_length) = 0; 84 virtual void CollectElementIndices(Handle<JSObject> object, 85 Handle<FixedArrayBase> backing_store, 88 inline void CollectElementIndices(Handle<JSObject> object, 92 Isolate* isolate, Handle<JSObject> object, 93 Handle<FixedArray> values_or_entries, bool get_entries, int* nof_items, 97 Handle<JSObject> object, Handle<FixedArrayBase> backing_store, 98 Handle<FixedArray> keys, GetKeysConversion convert, 102 Handle<JSObject> object, Handle<FixedArray> keys, [all …]
|
D | messages.cc | 22 MessageLocation::MessageLocation(Handle<Script> script, int start_pos, in MessageLocation() 25 MessageLocation::MessageLocation(Handle<Script> script, int start_pos, in MessageLocation() 26 int end_pos, Handle<SharedFunctionInfo> shared) in MessageLocation() 37 Handle<Object> message_obj) { in DefaultMessageReport() 43 Handle<Object> data(loc->script()->name(), isolate); in DefaultMessageReport() 46 data_str = Handle<String>::cast(data)->ToCString(DISALLOW_NULLS); in DefaultMessageReport() 52 Handle<JSMessageObject> MessageHandler::MakeMessageObject( in MakeMessageObject() 54 const MessageLocation* location, Handle<Object> argument, in MakeMessageObject() 55 Handle<FixedArray> stack_frames) { in MakeMessageObject() 60 Handle<Script> script_handle = isolate->factory()->empty_script(); in MakeMessageObject() [all …]
|
D | json-parser.h | 21 Handle<Object> object, 22 Handle<Object> reviver); 25 JsonParseInternalizer(Isolate* isolate, Handle<JSReceiver> reviver) in JsonParseInternalizer() 28 MaybeHandle<Object> InternalizeJsonProperty(Handle<JSReceiver> holder, 29 Handle<String> key); 31 bool RecurseAndApply(Handle<JSReceiver> holder, Handle<String> name); 34 Handle<JSReceiver> reviver_; 42 Isolate* isolate, Handle<String> source, Handle<Object> reviver) { in Parse() 43 Handle<Object> result; in Parse() 55 JsonParser(Isolate* isolate, Handle<String> source); [all …]
|
D | compilation-cache.h | 15 class Handle; variable 38 Handle<CompilationCacheTable> GetTable(int generation); 41 Handle<CompilationCacheTable> GetFirstTable() { in GetFirstTable() 44 void SetFirstTable(Handle<CompilationCacheTable> value) { in SetFirstTable() 60 void Remove(Handle<SharedFunctionInfo> function_info); 82 MaybeHandle<SharedFunctionInfo> Lookup(Handle<String> source, 86 Handle<Context> native_context, 89 void Put(Handle<String> source, Handle<Context> context, 91 Handle<SharedFunctionInfo> function_info); 94 bool HasOrigin(Handle<SharedFunctionInfo> function_info, [all …]
|
D | keys.h | 43 Handle<JSReceiver> object, KeyCollectionMode mode, PropertyFilter filter, 47 Handle<FixedArray> GetKeys( 49 Maybe<bool> CollectKeys(Handle<JSReceiver> receiver, 50 Handle<JSReceiver> object); 51 Maybe<bool> CollectOwnElementIndices(Handle<JSReceiver> receiver, 52 Handle<JSObject> object); 53 Maybe<bool> CollectOwnPropertyNames(Handle<JSReceiver> receiver, 54 Handle<JSObject> object); 56 Handle<AccessCheckInfo> access_check_info, Handle<JSReceiver> receiver, 57 Handle<JSObject> object); [all …]
|
D | api-arguments-inl.h | 23 Handle<V> CustomArguments<T>::GetReturnValue(Isolate* isolate) { in GetReturnValue() 27 if ((*handle)->IsTheHole(isolate)) return Handle<V>(); in GetReturnValue() 28 Handle<V> result = Handle<V>::cast(Handle<Object>(handle)); in GetReturnValue() 43 F(Deleter, deleter, Object, v8::Boolean, Handle<Object>()) 62 Handle<RETURN_TYPE> PropertyCallbackArguments::CallNamed##FUNCTION( \ 63 Handle<InterceptorInfo> interceptor, Handle<Name> name) { \ 71 PREPARE_CALLBACK_INFO(isolate, f, Handle<RETURN_TYPE>, API_RETURN_TYPE, \ 84 Handle<RETURN_TYPE> PropertyCallbackArguments::CallIndexed##FUNCTION( \ 85 Handle<InterceptorInfo> interceptor, uint32_t index) { \ 92 PREPARE_CALLBACK_INFO(isolate, f, Handle<RETURN_TYPE>, API_RETURN_TYPE, \ [all …]
|
D | json-stringifier.cc | 25 V8_WARN_UNUSED_RESULT MaybeHandle<Object> Stringify(Handle<Object> object, 26 Handle<Object> replacer, 27 Handle<Object> gap); 32 bool InitializeReplacer(Handle<Object> replacer); 33 bool InitializeGap(Handle<Object> gap); 36 Handle<Object> object, Handle<Object> key); 38 Handle<Object> value, Handle<Object> key, Handle<Object> initial_holder); 41 V8_INLINE Result SerializeObject(Handle<Object> obj) { in SerializeObject() 47 V8_INLINE Result SerializeElement(Isolate* isolate, Handle<Object> object, in SerializeElement() 50 Handle<Object>(Smi::FromInt(i), isolate)); in SerializeElement() [all …]
|
D | compilation-cache.cc | 39 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) { in GetTable() 41 Handle<CompilationCacheTable> result; in GetTable() 48 result = Handle<CompilationCacheTable>(table, isolate()); in GetTable() 81 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) { in Remove() 86 Handle<CompilationCacheTable> table = GetTable(generation); in Remove() 98 bool CompilationCacheScript::HasOrigin(Handle<SharedFunctionInfo> function_info, in HasOrigin() 102 Handle<Script> script = in HasOrigin() 103 Handle<Script>(Script::cast(function_info->script()), isolate()); in HasOrigin() 106 Handle<Object> name; in HasOrigin() 120 isolate(), Handle<String>::cast(name), in HasOrigin() [all …]
|
/external/v8/src/objects/ |
D | intl-objects.h | 35 class Handle; variable 42 Isolate* isolate, Handle<String> locale, Handle<JSObject> options, 43 Handle<JSObject> resolved); 46 static icu::SimpleDateFormat* UnpackDateFormat(Handle<JSObject> obj); 55 Isolate* isolate, Handle<JSObject> date_time_format_holder, double x); 60 Isolate* isolate, Handle<JSObject> date_time_format_holder, 61 Handle<Object> date); 69 Isolate* isolate, Handle<JSReceiver> receiver, const char* method_name); 73 Isolate* isolate, Handle<Object> input_options, const char* required, 77 Isolate* isolate, Handle<Object> date, Handle<Object> locales, [all …]
|
D | map.h | 83 typedef std::vector<Handle<Map>> MapHandles; 197 Handle<Map> map, Handle<Context> native_context); 426 static Handle<PrototypeInfo> GetOrCreatePrototypeInfo( 427 Handle<JSObject> prototype, Isolate* isolate); 428 static Handle<PrototypeInfo> GetOrCreatePrototypeInfo( 429 Handle<Map> prototype_map, Isolate* isolate); 431 static void SetShouldBeFastPrototypeMap(Handle<Map> map, bool value, 440 static Handle<Object> GetOrCreatePrototypeChainValidityCell(Handle<Map> map, 475 static Handle<Map> GeneralizeAllFields(Isolate* isolate, Handle<Map> map); 476 V8_WARN_UNUSED_RESULT static Handle<FieldType> GeneralizeFieldType( [all …]
|
D | bigint.h | 101 static Handle<BigInt> UnaryMinus(Isolate* isolate, Handle<BigInt> x); 102 static MaybeHandle<BigInt> BitwiseNot(Isolate* isolate, Handle<BigInt> x); 103 static MaybeHandle<BigInt> Exponentiate(Isolate* isolate, Handle<BigInt> base, 104 Handle<BigInt> exponent); 105 static MaybeHandle<BigInt> Multiply(Isolate* isolate, Handle<BigInt> x, 106 Handle<BigInt> y); 107 static MaybeHandle<BigInt> Divide(Isolate* isolate, Handle<BigInt> x, 108 Handle<BigInt> y); 109 static MaybeHandle<BigInt> Remainder(Isolate* isolate, Handle<BigInt> x, 110 Handle<BigInt> y); [all …]
|
D | js-proxy.h | 20 Handle<Object>, 21 Handle<Object>); 28 static MaybeHandle<Context> GetFunctionRealm(Handle<JSProxy> proxy); 33 static void Revoke(Handle<JSProxy> proxy); 36 static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver); 40 Handle<JSProxy> proxy, Handle<Object> value, bool from_javascript, 43 V8_WARN_UNUSED_RESULT static Maybe<bool> IsExtensible(Handle<JSProxy> proxy); 46 V8_WARN_UNUSED_RESULT static Maybe<bool> IsArray(Handle<JSProxy> proxy); 50 Handle<JSProxy> proxy, ShouldThrow should_throw); 54 Isolate* isolate, Handle<JSProxy> proxy, Handle<Name> name, [all …]
|
D | compilation-cache.h | 76 Handle<Object> Lookup(Handle<String> src, Handle<SharedFunctionInfo> shared, 78 MaybeHandle<SharedFunctionInfo> LookupScript(Handle<String> src, 79 Handle<Context> native_context, 81 InfoCellPair LookupEval(Handle<String> src, Handle<SharedFunctionInfo> shared, 82 Handle<Context> native_context, 84 Handle<Object> LookupRegExp(Handle<String> source, JSRegExp::Flags flags); 85 static Handle<CompilationCacheTable> Put(Handle<CompilationCacheTable> cache, 86 Handle<String> src, 87 Handle<SharedFunctionInfo> shared, 89 Handle<Object> value); [all …]
|
D | module.cc | 24 V8_INLINE size_t operator()(Handle<Module> module) const { in operator ()() 30 V8_INLINE bool operator()(Handle<Module> lhs, Handle<Module> rhs) const { in operator ()() 36 V8_INLINE size_t operator()(Handle<String> string) const { in operator ()() 42 V8_INLINE bool operator()(Handle<String> lhs, Handle<String> rhs) const { in operator ()() 48 : public std::unordered_set<Handle<String>, StringHandleHash, 50 ZoneAllocator<Handle<String>>> { 53 : std::unordered_set<Handle<String>, StringHandleHash, StringHandleEqual, in UnorderedStringSet() 54 ZoneAllocator<Handle<String>>>( in UnorderedStringSet() 56 ZoneAllocator<Handle<String>>(zone)) {} in UnorderedStringSet() 60 : public std::unordered_set<Handle<Module>, ModuleHandleHash, [all …]
|
/external/v8/src/ic/ |
D | ic.h | 38 IC(Isolate* isolate, Handle<FeedbackVector> vector, FeedbackSlot slot); 45 void UpdateState(Handle<Object> receiver, Handle<Object> name); 47 bool RecomputeHandlerForName(Handle<Object> name); 48 void MarkRecomputeHandler(Handle<Object> name) { in MarkRecomputeHandler() 95 bool ConfigureVectorState(IC::State new_state, Handle<Object> key); 97 void ConfigureVectorState(Handle<Map> map); 99 void ConfigureVectorState(Handle<Name> name, Handle<Map> map, 100 Handle<Object> handler); 101 void ConfigureVectorState(Handle<Name> name, Handle<Map> map, 104 void ConfigureVectorState(Handle<Name> name, MapHandles const& maps, [all …]
|
D | handler-configuration.cc | 19 Handle<Smi> SetBitFieldValue(Isolate* isolate, Handle<Smi> smi_handler, in SetBitFieldValue() 29 int InitPrototypeChecksImpl(Isolate* isolate, Handle<ICHandler> handler, in InitPrototypeChecksImpl() 30 Handle<Smi>* smi_handler, Handle<Map> receiver_map, in InitPrototypeChecksImpl() 31 Handle<JSReceiver> holder, MaybeObjectHandle data1, in InitPrototypeChecksImpl() 47 Handle<Context> native_context = isolate->native_context(); in InitPrototypeChecksImpl() 90 Isolate* isolate, Handle<Smi>* smi_handler, Handle<Map> receiver_map, in GetPrototypeCheckCount() 91 Handle<JSReceiver> holder, MaybeObjectHandle data1, in GetPrototypeCheckCount() 94 return InitPrototypeChecksImpl<ICHandler, false>(isolate, Handle<ICHandler>(), in GetPrototypeCheckCount() 100 void InitPrototypeChecks(Isolate* isolate, Handle<ICHandler> handler, in InitPrototypeChecks() 101 Handle<Map> receiver_map, Handle<JSReceiver> holder, in InitPrototypeChecks() [all …]
|
D | handler-configuration.h | 114 static inline Handle<Smi> LoadNormal(Isolate* isolate); 117 static inline Handle<Smi> LoadGlobal(Isolate* isolate); 121 static inline Handle<Smi> LoadInterceptor(Isolate* isolate); 124 static inline Handle<Smi> LoadField(Isolate* isolate, FieldIndex field_index); 127 static inline Handle<Smi> LoadConstant(Isolate* isolate, int descriptor); 130 static inline Handle<Smi> LoadAccessor(Isolate* isolate, int descriptor); 133 static inline Handle<Smi> LoadProxy(Isolate* isolate); 136 static inline Handle<Smi> LoadNativeDataProperty(Isolate* isolate, 140 static inline Handle<Smi> LoadApiGetter(Isolate* isolate, 146 static inline Handle<Smi> LoadModuleExport(Isolate* isolate, int index); [all …]
|
/external/v8/src/debug/ |
D | debug.h | 67 static BreakLocation FromFrame(Handle<DebugInfo> debug_info, 70 static void AllAtCurrentStatement(Handle<DebugInfo> debug_info, 89 bool HasBreakPoint(Isolate* isolate, Handle<DebugInfo> debug_info) const; 99 BreakLocation(Handle<AbstractCode> abstract_code, DebugBreakType type, in BreakLocation() 115 static int BreakIndexFromCodeOffset(Handle<DebugInfo> debug_info, 116 Handle<AbstractCode> abstract_code, 122 Handle<AbstractCode> abstract_code_; 133 explicit BreakIterator(Handle<DebugInfo> debug_info); 159 Handle<DebugInfo> debug_info_; 178 Handle<DebugInfo> debug_info() { return Handle<DebugInfo>(debug_info_); } in debug_info() [all …]
|
D | debug-scopes.h | 49 ScopeIterator(Isolate* isolate, Handle<JSFunction> function); 50 ScopeIterator(Isolate* isolate, Handle<JSGeneratorObject> generator); 53 Handle<JSObject> MaterializeScopeDetails(); 72 Handle<JSObject> ScopeObject(Mode mode); 78 bool SetVariableValue(Handle<String> variable_name, Handle<Object> new_value); 81 Handle<StringSet> GetNonLocals(); 85 Handle<Object> GetFunctionDebugName() const; 87 Handle<Script> GetScript() const { return script_; } in GetScript() 100 Handle<Context> CurrentContext() const { in CurrentContext() 109 Handle<JSGeneratorObject> generator_; [all …]
|
/external/v8/src/runtime/ |
D | runtime-classes.cc | 36 Handle<String> name(constructor->shared()->Name(), isolate); in RUNTIME_FUNCTION() 65 Object* ThrowNotSuperConstructor(Isolate* isolate, Handle<Object> constructor, in ThrowNotSuperConstructor() 66 Handle<JSFunction> function) { in ThrowNotSuperConstructor() 67 Handle<String> super_name; in ThrowNotSuperConstructor() 69 super_name = handle(Handle<JSFunction>::cast(constructor)->shared()->Name(), in ThrowNotSuperConstructor() 81 Handle<String> function_name(function->shared()->Name(), isolate); in ThrowNotSuperConstructor() 112 Handle<Name> KeyToName(Isolate* isolate, Handle<Object> key); 115 Handle<Name> KeyToName<NameDictionary>(Isolate* isolate, Handle<Object> key) { in KeyToName() 117 return Handle<Name>::cast(key); in KeyToName() 121 Handle<Name> KeyToName<NumberDictionary>(Isolate* isolate, Handle<Object> key) { in KeyToName() [all …]
|