Home
last modified time | relevance | path

Searched refs:FixedArray (Results 1 – 25 of 223) sorted by relevance

123456789

/external/v8/src/objects/
Dmodule-inl.h22 ACCESSORS(Module, regular_exports, FixedArray, kRegularExportsOffset) in ACCESSORS()
23 ACCESSORS(Module, regular_imports, FixedArray, kRegularImportsOffset) in ACCESSORS()
25 ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset) in ACCESSORS()
54 FixedArray* ModuleInfo::module_requests() const { in ACCESSORS()
55 return FixedArray::cast(get(kModuleRequestsIndex)); in ACCESSORS()
58 FixedArray* ModuleInfo::special_exports() const { in special_exports()
59 return FixedArray::cast(get(kSpecialExportsIndex)); in special_exports()
62 FixedArray* ModuleInfo::regular_exports() const { in regular_exports()
63 return FixedArray::cast(get(kRegularExportsIndex)); in regular_exports()
66 FixedArray* ModuleInfo::regular_imports() const { in regular_imports()
[all …]
Dliteral-objects-inl.h18 FixedArray::OffsetOfElementAt(kLiteralTypeOffset));
29 FixedArray::OffsetOfElementAt(kFlagsIndex));
32 FixedArray::OffsetOfElementAt(kClassPropertiesTemplateIndex));
35 FixedArray::OffsetOfElementAt(kClassElementsTemplateIndex));
37 ACCESSORS(ClassBoilerplate, static_computed_properties, FixedArray,
38 FixedArray::OffsetOfElementAt(kClassComputedPropertiesIndex));
41 FixedArray::OffsetOfElementAt(kPrototypePropertiesTemplateIndex));
44 FixedArray::OffsetOfElementAt(kPrototypeElementsTemplateIndex));
46 ACCESSORS(ClassBoilerplate, instance_computed_properties, FixedArray,
47 FixedArray::OffsetOfElementAt(kPrototypeComputedPropertiesIndex));
Dfixed-array-inl.h22 CAST_ACCESSOR(FixedArray) in CAST_ACCESSOR()
45 Object** FixedArray::GetFirstElementAddress() { in ACCESSORS()
49 bool FixedArray::ContainsOnlySmisOrHoles() { in ContainsOnlySmisOrHoles()
59 Object* FixedArray::get(int index) const { in get()
64 Handle<Object> FixedArray::get(FixedArray* array, int index, Isolate* isolate) { in get()
69 MaybeHandle<T> FixedArray::GetValue(Isolate* isolate, int index) const { in GetValue()
76 Handle<T> FixedArray::GetValueChecked(Isolate* isolate, int index) const { in GetValueChecked()
82 bool FixedArray::is_the_hole(Isolate* isolate, int index) { in is_the_hole()
86 void FixedArray::set(int index, Smi* value) { in set()
94 void FixedArray::set(int index, Object* value) { in set()
[all …]
Darguments-inl.h31 FixedArray* SloppyArgumentsElements::arguments() { in arguments()
32 return FixedArray::cast(get(kArgumentsIndex)); in arguments()
35 void SloppyArgumentsElements::set_arguments(FixedArray* arguments) { in set_arguments()
70 FixedArray* parameters = FixedArray::cast(object->elements()); in GetSloppyArgumentsLength()
72 FixedArray* arguments = FixedArray::cast(parameters->get(1)); in GetSloppyArgumentsLength()
Dfixed-array.h104 class FixedArray : public FixedArrayBase {
108 static inline Handle<Object> get(FixedArray* array, int index,
117 static Handle<FixedArray> SetAndGrow(Isolate* isolate,
118 Handle<FixedArray> array, int index,
153 static Handle<FixedArray> ShrinkOrEmpty(Isolate* isolate,
154 Handle<FixedArray> array,
158 void CopyTo(int pos, FixedArray* dest, int dest_pos, int len) const;
171 DECL_CAST(FixedArray)
183 DECL_PRINTER(FixedArray)
184 DECL_VERIFIER(FixedArray)
[all …]
Dmodule.h47 DECL_ACCESSORS(regular_exports, FixedArray)
48 DECL_ACCESSORS(regular_imports, FixedArray)
83 DECL_ACCESSORS(requested_modules, FixedArray)
153 int cell_index, Handle<FixedArray> names);
255 class ModuleInfo : public FixedArray {
262 inline FixedArray* module_requests() const;
263 inline FixedArray* special_exports() const;
264 inline FixedArray* regular_exports() const;
265 inline FixedArray* regular_imports() const;
266 inline FixedArray* namespace_imports() const;
[all …]
Ddebug-objects.cc126 Handle<FixedArray> old_break_points = in SetBreakPoint()
127 Handle<FixedArray>(debug_info->break_points(), isolate); in SetBreakPoint()
128 Handle<FixedArray> new_break_points = isolate->factory()->NewFixedArray( in SetBreakPoint()
236 Handle<FixedArray> old_array = Handle<FixedArray>( in ClearBreakPoint()
237 FixedArray::cast(break_point_info->break_points()), isolate); in ClearBreakPoint()
238 Handle<FixedArray> new_array = in ClearBreakPoint()
266 Handle<FixedArray> array = isolate->factory()->NewFixedArray(2); in SetBreakPoint()
273 Handle<FixedArray> old_array = Handle<FixedArray>( in SetBreakPoint()
274 FixedArray::cast(break_point_info->break_points()), isolate); in SetBreakPoint()
275 Handle<FixedArray> new_array = in SetBreakPoint()
[all …]
Dproperty-descriptor-object.h17 class PropertyDescriptorObject : public FixedArray {
51 FixedArray::OffsetOfElementAt(PropertyDescriptorObject::kValueIndex);
53 FixedArray::OffsetOfElementAt(PropertyDescriptorObject::kFlagsIndex);
55 FixedArray::OffsetOfElementAt(PropertyDescriptorObject::kGetIndex);
57 FixedArray::OffsetOfElementAt(PropertyDescriptorObject::kSetIndex);
Djs-regexp-inl.h29 Smi* smi = Smi::cast(FixedArray::cast(data)->get(kTagIndex)); in ACCESSORS()
47 Smi* smi = Smi::cast(FixedArray::cast(data)->get(kFlagsIndex)); in GetFlags()
54 String* pattern = String::cast(FixedArray::cast(data)->get(kSourceIndex)); in Pattern()
68 return FixedArray::cast(data())->get(index); in DataAt()
75 FixedArray::cast(data())->set(index, value); in SetDataAt()
Ddescriptor-array.h25 DECL_ACCESSORS(keys, FixedArray)
26 DECL_ACCESSORS(indices, FixedArray)
66 Isolate* isolate, Handle<FixedArray> keys,
67 Handle<FixedArray> indices);
143 static const int kDescriptorLengthOffset = FixedArray::kHeaderSize;
Dliteral-objects.h24 class ObjectBoilerplateDescription : public FixedArray {
83 class ClassBoilerplate : public FixedArray {
121 DECL_ACCESSORS(static_computed_properties, FixedArray)
124 DECL_ACCESSORS(instance_computed_properties, FixedArray)
Dscript-inl.h39 ACCESSORS(Script, host_defined_options, FixedArray, kHostDefinedOptionsOffset) in ACCESSORS()
63 void Script::set_wrapped_arguments(FixedArray* value, WriteBarrierMode mode) { in set_wrapped_arguments()
68 FixedArray* Script::wrapped_arguments() const { in wrapped_arguments()
70 return FixedArray::cast(eval_from_shared_or_wrapped_arguments()); in wrapped_arguments()
/external/v8/src/
Dkeys.h42 static MaybeHandle<FixedArray> GetKeys(
47 Handle<FixedArray> GetKeys(
63 static Handle<FixedArray> GetOwnEnumPropertyKeys(Isolate* isolate,
68 void AddKeys(Handle<FixedArray> array, AddKeyConversion convert);
103 Handle<FixedArray> keys);
112 Handle<FixedArray> keys_;
147 MaybeHandle<FixedArray> GetKeys(
152 MaybeHandle<FixedArray> GetKeysFast(GetKeysConversion convert);
153 MaybeHandle<FixedArray> GetKeysSlow(GetKeysConversion convert);
155 MaybeHandle<FixedArray> GetOwnKeysWithUninitializedEnumCache();
Dkeys.cc28 static bool ContainsOnlyValidKeys(Handle<FixedArray> array) { in ContainsOnlyValidKeys()
40 MaybeHandle<FixedArray> KeyAccumulator::GetKeys( in GetKeys()
49 Handle<FixedArray> KeyAccumulator::GetKeys(GetKeysConversion convert) { in GetKeys()
55 return Handle<FixedArray>::cast(keys_); in GetKeys()
58 Handle<FixedArray> result = in GetKeys()
98 void KeyAccumulator::AddKeys(Handle<FixedArray> array, in AddKeys()
114 MaybeHandle<FixedArray> FilterProxyKeys(KeyAccumulator* accumulator, in FilterProxyKeys()
116 Handle<FixedArray> keys, in FilterProxyKeys()
131 MAYBE_RETURN(found, MaybeHandle<FixedArray>()); in FilterProxyKeys()
144 return FixedArray::ShrinkOrEmpty(isolate, keys, store_position); in FilterProxyKeys()
[all …]
Droots.h50 V(FixedArray, empty_fixed_array, EmptyFixedArray) \
184 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \
187 V(FixedArray, empty_ordered_hash_map, EmptyOrderedHashMap) \
188 V(FixedArray, empty_ordered_hash_set, EmptyOrderedHashSet) \
226 V(FixedArray, number_string_cache, NumberStringCache) \
227 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \
228 V(FixedArray, string_split_cache, StringSplitCache) \
229 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \
237 V(FixedArray, materialized_objects, MaterializedObjects) \
238 V(FixedArray, microtask_queue, MicrotaskQueue) \
[all …]
Delements.cc74 V(FastPackedSmiElementsAccessor, PACKED_SMI_ELEMENTS, FixedArray) \
75 V(FastHoleySmiElementsAccessor, HOLEY_SMI_ELEMENTS, FixedArray) \
76 V(FastPackedObjectElementsAccessor, PACKED_ELEMENTS, FixedArray) \
77 V(FastHoleyObjectElementsAccessor, HOLEY_ELEMENTS, FixedArray) \
83 FixedArray) \
85 FixedArray) \
87 FixedArray) \
89 FixedArray) \
148 MemsetPointer(FixedArray::cast(to_base)->data_start() + start, in CopyObjectToObjectElements()
156 FixedArray* from = FixedArray::cast(from_base); in CopyObjectToObjectElements()
[all …]
/external/v8/third_party/v8/builtins/
Darray-sort.tq36 // The sortState is currently implemented as a FixedArray of
115 type LoadFn = builtin(Context, FixedArray, HeapObject, Smi) => Object;
116 type StoreFn = builtin(Context, FixedArray, HeapObject, Smi, Object) => Smi;
128 context: Context, sortState: FixedArray, elements: HeapObject,
134 context: Context, sortState: FixedArray, elements: HeapObject,
136 const elems: FixedArray = unsafe_cast<FixedArray>(elements);
141 context: Context, sortState: FixedArray, elements: HeapObject,
143 const elems: FixedArray = unsafe_cast<FixedArray>(elements);
155 context: Context, sortState: FixedArray, elements: HeapObject,
172 context: Context, sortState: FixedArray, elements: HeapObject,
[all …]
/external/v8/src/wasm/
Dwasm-objects-inl.h55 ACCESSORS(WasmModuleObject, export_wrappers, FixedArray, kExportWrappersOffset)
61 OPTIONAL_ACCESSORS(WasmModuleObject, breakpoint_infos, FixedArray,
82 ACCESSORS(WasmTableObject, functions, FixedArray, kFunctionsOffset) in ACCESSORS() argument
84 ACCESSORS(WasmTableObject, dispatch_tables, FixedArray, kDispatchTablesOffset) in ACCESSORS()
177 FixedArray, kImportedMutableGlobalsBuffersOffset) in PRIMITIVE_ACCESSORS()
182 ACCESSORS(WasmInstanceObject, imported_function_instances, FixedArray, in PRIMITIVE_ACCESSORS()
184 ACCESSORS(WasmInstanceObject, imported_function_callables, FixedArray, in PRIMITIVE_ACCESSORS()
187 FixedArray, kIndirectFunctionTableInstancesOffset) in PRIMITIVE_ACCESSORS()
225 OPTIONAL_ACCESSORS(WasmDebugInfo, locals_names, FixedArray, kLocalsNamesOffset) in ACCESSORS()
226 OPTIONAL_ACCESSORS(WasmDebugInfo, c_wasm_entries, FixedArray, in ACCESSORS()
Dwasm-objects.h108 DECL_ACCESSORS(export_wrappers, FixedArray)
112 DECL_OPTIONAL_ACCESSORS(breakpoint_infos, FixedArray)
233 static MaybeHandle<FixedArray> CheckBreakPoints(Isolate*,
243 DECL_ACCESSORS(functions, FixedArray)
246 DECL_ACCESSORS(dispatch_tables, FixedArray)
263 Handle<FixedArray>* js_functions);
383 DECL_OPTIONAL_ACCESSORS(imported_mutable_globals_buffers, FixedArray)
386 DECL_ACCESSORS(imported_function_instances, FixedArray)
387 DECL_ACCESSORS(imported_function_callables, FixedArray)
388 DECL_OPTIONAL_ACCESSORS(indirect_function_table_instances, FixedArray)
[all …]
/external/v8/src/builtins/
Dbuiltins-arguments-gen.cc80 base_size += FixedArray::kHeaderSize; in AllocateArgumentsObject()
88 base_size + FixedArray::kHeaderSize); in AllocateArgumentsObject()
100 StoreObjectFieldNoWriteBarrier(arguments, FixedArray::kLengthOffset, in AllocateArgumentsObject()
108 arguments_count, PACKED_ELEMENTS, mode, FixedArray::kHeaderSize); in AllocateArgumentsObject()
116 StoreObjectFieldNoWriteBarrier(parameter_map, FixedArray::kLengthOffset, in AllocateArgumentsObject()
181 rest_count, &runtime, JSArray::kSize + FixedArray::kHeaderSize, mode); in EmitFastNewRestParameter()
228 JSStrictArgumentsObject::kSize + FixedArray::kHeaderSize, mode); in EmitFastNewStrictArguments()
295 JSSloppyArgumentsObject::kSize + FixedArray::kHeaderSize * 2, mode); in EmitFastNewSloppyArguments()
314 FixedArray::kHeaderSize - kHeapObjectTag); in EmitFastNewSloppyArguments()
317 FixedArray::kHeaderSize - kHeapObjectTag); in EmitFastNewSloppyArguments()
[all …]
Darray-reverse.tq11 const elems: FixedArray = unsafe_cast<FixedArray>(elements);
17 const elems: FixedArray = unsafe_cast<FixedArray>(elements);
39 const elems: FixedArray = unsafe_cast<FixedArray>(elements);
45 const elems: FixedArray = unsafe_cast<FixedArray>(elements);
59 // FixedArray loads/stores.
156 unsafe_cast<FixedArray>(elements), 0, length, length, kFixedArrays);
Dgrowable-fixed-array-gen.cc29 TNode<FixedArray> const array = var_array_.value(); in Push()
83 TNode<FixedArray> GrowableFixedArray::ResizeFixedArray( in ResizeFixedArray()
89 TNode<FixedArray> const from_array = var_array_.value(); in ResizeFixedArray()
93 TNode<FixedArray> to_array = CAST(ExtractFixedArray( in ResizeFixedArray()
Dgrowable-fixed-array-gen.h31 TVariable<FixedArray>* var_array() { return &var_array_; } in var_array()
44 TNode<FixedArray> ResizeFixedArray(TNode<IntPtrT> const element_count,
48 TVariable<FixedArray> var_array_;
/external/v8/src/heap/
Dfactory.h109 template <typename T = FixedArray>
121 Handle<FixedArray> NewFixedArray(int length,
138 MaybeHandle<FixedArray> TryNewFixedArray(
142 Handle<FixedArray> NewFixedArrayWithHoles(
146 Handle<FixedArray> NewUninitializedFixedArray(
190 Handle<EnumCache> NewEnumCache(Handle<FixedArray> keys,
191 Handle<FixedArray> indices);
207 Handle<FixedArray> raw_strings, Handle<FixedArray> cooked_strings);
451 Handle<FixedArray> constant_pool);
500 Handle<FixedArray> CopyFixedArrayWithMap(Handle<FixedArray> array,
[all …]
/external/v8/src/runtime/
Druntime-regexp.cc42 FixedArray* capture_name_map) { in LookupNamedCapture()
146 FixedArray* capture_name_map, int capture_count, in ParseReplacementPattern()
321 FixedArray* capture_name_map = nullptr; in Compile()
326 capture_name_map = FixedArray::cast(maybe_capture_name_map); in Compile()
831 FixedArray* last_match_cache_unused; in RUNTIME_FUNCTION()
840 Handle<FixedArray>::cast(cached_answer)); in RUNTIME_FUNCTION()
871 Handle<FixedArray> elements(FixedArray::cast(result->elements()), isolate); in RUNTIME_FUNCTION()
943 capture_name_map_ = handle(FixedArray::cast(o), isolate); in MatchInfoBackedMatch()
1013 Handle<FixedArray> capture_name_map_;
1099 Isolate* isolate, Handle<FixedArray> capture_map, in ConstructNamedCaptureGroupsObject()
[all …]

123456789