Home
last modified time | relevance | path

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

12345678910>>...13

/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dfixed_array_test.cc96 absl::FixedArray<int, 10> on_stack(5); in TEST()
98 absl::FixedArray<int, 10> stack_copy = on_stack; in TEST()
102 absl::FixedArray<int, 10> allocated(15); in TEST()
104 absl::FixedArray<int, 10> alloced_copy = allocated; in TEST()
110 absl::FixedArray<std::unique_ptr<int>, 10> on_stack(5); in TEST()
115 absl::FixedArray<std::unique_ptr<int>, 10> stack_copy = std::move(on_stack); in TEST()
119 absl::FixedArray<std::unique_ptr<int>, 10> allocated(15); in TEST()
124 absl::FixedArray<std::unique_ptr<int>, 10> alloced_copy = in TEST()
134 absl::FixedArray<int> array(4); in TEST()
140 absl::FixedArray<int> array(1048576); in TEST()
[all …]
Dfixed_array.h78 class FixedArray {
121 FixedArray(
122 const FixedArray& other,
124 : FixedArray(other.begin(), other.end(), a) {} in noexcept()
126 FixedArray(
127 FixedArray&& other,
129 : FixedArray(std::make_move_iterator(other.begin()), in noexcept()
134 explicit FixedArray(size_type n, const allocator_type& a = allocator_type())
143 FixedArray(size_type n, const value_type& val,
151 FixedArray(std::initializer_list<value_type> init_list,
[all …]
Dfixed_array_exception_safety_test.cc47 using FixedArr = absl::FixedArray<Thrower, kInlined>;
48 using FixedArrWithAlloc = absl::FixedArray<Thrower, kInlined, ThrowAlloc>;
50 using MoveFixedArr = absl::FixedArray<MoveThrower, kInlined>;
52 absl::FixedArray<MoveThrower, kInlined, MoveThrowAlloc>;
126 using SmallFixedArr = absl::FixedArray<Thrower, small_inlined>; in TEST()
140 absl::FixedArray<Thrower, small_inlined, ThrowAlloc>; in TEST()
/third_party/node/deps/v8/src/objects/
Dfixed-array.tq12 extern class FixedArray extends FixedArrayBase {
16 type EmptyFixedArray extends FixedArray;
32 extern class ArrayList extends FixedArray {
37 extern class TemplateList extends FixedArray {
51 FixedArray, intptr): Object;
53 FixedArray, Smi): Object;
55 FixedArray, constexpr int31): Object;
57 FixedArray, intptr, Smi): void;
59 FixedArray, Smi, Smi): void;
61 FixedArray, intptr, HeapObject): void;
[all …]
Dfixed-array-inl.h33 TQ_OBJECT_CONSTRUCTORS_IMPL(FixedArray)
53 ObjectSlot FixedArray::GetFirstElementAddress() { in GetFirstElementAddress()
57 bool FixedArray::ContainsOnlySmisOrHoles() { in ContainsOnlySmisOrHoles()
67 Object FixedArray::get(int index) const { in get()
72 Object FixedArray::get(PtrComprCageBase cage_base, int index) const { in get()
78 Handle<Object> FixedArray::get(FixedArray array, int index, Isolate* isolate) { in get()
82 bool FixedArray::is_the_hole(Isolate* isolate, int index) { in is_the_hole()
87 void FixedArray::set(int index, Smi value) { in set()
96 void FixedArray::set(int index, Object value) { in set()
105 void FixedArray::set(int index, Object value, WriteBarrierMode mode) { in set()
[all …]
Dliteral-objects-inl.h24 OBJECT_CONSTRUCTORS_IMPL(ObjectBoilerplateDescription, FixedArray) in OBJECT_CONSTRUCTORS_IMPL() argument
29 FixedArray::OffsetOfElementAt(kLiteralTypeOffset)) in OBJECT_CONSTRUCTORS_IMPL()
97 OBJECT_CONSTRUCTORS_IMPL(ClassBoilerplate, FixedArray) in OBJECT_CONSTRUCTORS_IMPL() argument
101 FixedArray::OffsetOfElementAt(kArgumentsCountIndex)) in OBJECT_CONSTRUCTORS_IMPL()
104 FixedArray::OffsetOfElementAt(kClassPropertiesTemplateIndex)) in OBJECT_CONSTRUCTORS_IMPL()
107 FixedArray::OffsetOfElementAt(kClassElementsTemplateIndex)) in OBJECT_CONSTRUCTORS_IMPL()
109 ACCESSORS(ClassBoilerplate, static_computed_properties, FixedArray, in OBJECT_CONSTRUCTORS_IMPL()
110 FixedArray::OffsetOfElementAt(kClassComputedPropertiesIndex)) in OBJECT_CONSTRUCTORS_IMPL()
113 FixedArray::OffsetOfElementAt(kPrototypePropertiesTemplateIndex)) in OBJECT_CONSTRUCTORS_IMPL()
116 FixedArray::OffsetOfElementAt(kPrototypeElementsTemplateIndex)) in OBJECT_CONSTRUCTORS_IMPL()
[all …]
Dmodule-inl.h48 OBJECT_CONSTRUCTORS_IMPL(SourceTextModuleInfo, FixedArray) in OBJECT_CONSTRUCTORS_IMPL() argument
51 FixedArray SourceTextModuleInfo::module_requests() const { in OBJECT_CONSTRUCTORS_IMPL()
52 return FixedArray::cast(get(kModuleRequestsIndex)); in OBJECT_CONSTRUCTORS_IMPL()
55 FixedArray SourceTextModuleInfo::special_exports() const { in special_exports()
56 return FixedArray::cast(get(kSpecialExportsIndex)); in special_exports()
59 FixedArray SourceTextModuleInfo::regular_exports() const { in regular_exports()
60 return FixedArray::cast(get(kRegularExportsIndex)); in regular_exports()
63 FixedArray SourceTextModuleInfo::regular_imports() const { in regular_imports()
64 return FixedArray::cast(get(kRegularImportsIndex)); in regular_imports()
67 FixedArray SourceTextModuleInfo::namespace_imports() const { in namespace_imports()
[all …]
Ddebug-objects.cc145 Handle<FixedArray> old_break_points = in SetBreakPoint()
146 Handle<FixedArray>(debug_info->break_points(), isolate); in SetBreakPoint()
147 Handle<FixedArray> new_break_points = isolate->factory()->NewFixedArray( in SetBreakPoint()
255 Handle<FixedArray> old_array = Handle<FixedArray>( in ClearBreakPoint()
256 FixedArray::cast(break_point_info->break_points()), isolate); in ClearBreakPoint()
257 Handle<FixedArray> new_array = in ClearBreakPoint()
288 Handle<FixedArray> array = isolate->factory()->NewFixedArray(2); in SetBreakPoint()
295 Handle<FixedArray> old_array = Handle<FixedArray>( in SetBreakPoint()
296 FixedArray::cast(break_point_info->break_points()), isolate); in SetBreakPoint()
297 Handle<FixedArray> new_array = in SetBreakPoint()
[all …]
Dkeys.cc41 static bool ContainsOnlyValidKeys(Handle<FixedArray> array) { in ContainsOnlyValidKeys()
50 static int AddKey(Object key, Handle<FixedArray> combined_keys, in AddKey()
60 static Handle<FixedArray> CombineKeys(Isolate* isolate, in CombineKeys()
61 Handle<FixedArray> own_keys, in CombineKeys()
62 Handle<FixedArray> prototype_chain_keys, in CombineKeys()
74 Handle<FixedArray> combined_keys = isolate->factory()->NewFixedArray( in CombineKeys()
84 return FixedArray::ShrinkOrEmpty(isolate, combined_keys, target_keys_length); in CombineKeys()
90 MaybeHandle<FixedArray> KeyAccumulator::GetKeys( in GetKeys()
99 Handle<FixedArray> KeyAccumulator::GetKeys(GetKeysConversion convert) { in GetKeys()
104 Handle<FixedArray> result = in GetKeys()
[all …]
Dfixed-array.h101 class FixedArray
102 : public TorqueGeneratedFixedArray<FixedArray, FixedArrayBase> {
108 static inline Handle<Object> get(FixedArray array, int index,
112 V8_EXPORT_PRIVATE static Handle<FixedArray> SetAndGrow(
113 Isolate* isolate, Handle<FixedArray> array, int index,
174 inline void CopyElements(Isolate* isolate, int dst_index, FixedArray src,
183 static Handle<FixedArray> ShrinkOrEmpty(Isolate* isolate,
184 Handle<FixedArray> array,
188 V8_EXPORT_PRIVATE void CopyTo(int pos, FixedArray dest, int dest_pos,
216 DECL_PRINTER(FixedArray)
[all …]
Dkeys.h58 static MaybeHandle<FixedArray> GetKeys(
63 Handle<FixedArray> GetKeys(
72 static Handle<FixedArray> GetOwnEnumPropertyKeys(Isolate* isolate,
127 Handle<FixedArray> keys);
128 V8_WARN_UNUSED_RESULT ExceptionStatus AddKeys(Handle<FixedArray> array,
199 MaybeHandle<FixedArray> GetKeys(
204 MaybeHandle<FixedArray> GetKeysFast(GetKeysConversion convert);
205 MaybeHandle<FixedArray> GetKeysSlow(GetKeysConversion convert);
206 MaybeHandle<FixedArray> GetKeysWithPrototypeInfoCache(
209 MaybeHandle<FixedArray> GetOwnKeysWithUninitializedEnumCache();
Ddebug-objects.tq14 break_points: FixedArray|BreakPoint|Undefined;
50 break_points: FixedArray;
95 // (1) A pair of FixedArray<CallSiteInfo> and positive limit
100 // (2) A pair of FixedArray<CallSiteInfo> and negative limit
104 // (3) A FixedArray<CallSiteInfo> and FixedArray<StackFrameInfo>
109 // appropriate FixedArray now.
110 // (4) A valid JavaScript object and FixedArray<StackFrameInfo>
118 // This holds either the FixedArray of CallSiteInfo instances or
121 call_site_infos_or_formatted_stack: FixedArray|JSAny;
122 // This holds either the FixedArray of StackFrameInfo instances
[all …]
Dsource-text-module.h142 int cell_index, Handle<FixedArray> names);
217 class SourceTextModuleInfo : public FixedArray {
225 inline FixedArray module_requests() const;
226 inline FixedArray special_exports() const;
227 inline FixedArray regular_exports() const;
228 inline FixedArray regular_imports() const;
229 inline FixedArray namespace_imports() const;
235 FixedArray RegularExportExportNames(int i) const;
260 OBJECT_CONSTRUCTORS(SourceTextModuleInfo, FixedArray);
271 Handle<FixedArray> import_assertions,
Dliteral-objects.h29 class ObjectBoilerplateDescription : public FixedArray {
59 OBJECT_CONSTRUCTORS(ObjectBoilerplateDescription, FixedArray);
94 class ClassBoilerplate : public FixedArray {
124 DECL_ACCESSORS(static_computed_properties, FixedArray)
127 DECL_ACCESSORS(instance_computed_properties, FixedArray)
159 OBJECT_CONSTRUCTORS(ClassBoilerplate, FixedArray);
/third_party/node/deps/v8/src/deoptimizer/
Dmaterialized-object-store.cc15 Handle<FixedArray> MaterializedObjectStore::Get(Address fp) { in Get()
18 return Handle<FixedArray>::null(); in Get()
20 Handle<FixedArray> array = GetStackEntries(); in Get()
22 return Handle<FixedArray>::cast(Handle<Object>(array->get(index), isolate())); in Get()
26 Handle<FixedArray> materialized_objects) { in Set()
33 Handle<FixedArray> array = EnsureStackEntries(index + 1); in Set()
43 FixedArray array = isolate()->heap()->materialized_objects(); in Remove()
61 Handle<FixedArray> MaterializedObjectStore::GetStackEntries() { in GetStackEntries()
62 return Handle<FixedArray>(isolate()->heap()->materialized_objects(), in GetStackEntries()
66 Handle<FixedArray> MaterializedObjectStore::EnsureStackEntries(int length) { in EnsureStackEntries()
[all …]
Dmaterialized-object-store.h15 class FixedArray; variable
22 Handle<FixedArray> Get(Address fp);
23 void Set(Address fp, Handle<FixedArray> materialized_objects);
28 Handle<FixedArray> GetStackEntries();
29 Handle<FixedArray> EnsureStackEntries(int size);
/third_party/node/deps/v8/src/web-snapshot/
Dweb-snapshot.h77 static_cast<uint32_t>(FixedArray::kMaxLength - 1);
126 bool TakeSnapshot(Handle<Object> object, MaybeHandle<FixedArray> block_list,
160 Handle<FixedArray> GetExternals();
180 void ShallowDiscoverExternals(FixedArray externals);
281 bool Deserialize(MaybeHandle<FixedArray> external_references = {},
354 Handle<FixedArray> strings_handle_;
355 FixedArray strings_;
357 Handle<FixedArray> maps_handle_;
358 FixedArray maps_;
360 Handle<FixedArray> contexts_handle_;
[all …]
/third_party/node/deps/v8/src/builtins/
Dbuiltins-wasm-gen.cc27 TNode<FixedArray> WasmBuiltinsAssembler::LoadTablesFromInstance( in LoadTablesFromInstance()
29 return LoadObjectField<FixedArray>(instance, in LoadTablesFromInstance()
33 TNode<FixedArray> WasmBuiltinsAssembler::LoadInternalFunctionsFromInstance( in LoadInternalFunctionsFromInstance()
35 return LoadObjectField<FixedArray>( in LoadInternalFunctionsFromInstance()
39 TNode<FixedArray> WasmBuiltinsAssembler::LoadManagedObjectMapsFromInstance( in LoadManagedObjectMapsFromInstance()
41 return LoadObjectField<FixedArray>( in LoadManagedObjectMapsFromInstance()
Dgrowable-fixed-array-gen.h29 TVariable<FixedArray>* var_array() { return &var_array_; } in var_array()
35 TNode<FixedArray> ToFixedArray();
43 TNode<FixedArray> ResizeFixedArray(const TNode<IntPtrT> element_count,
47 TVariable<FixedArray> var_array_;
Dgrowable-fixed-array-gen.cc29 const TNode<FixedArray> array = var_array_.value(); in Push()
36 TNode<FixedArray> GrowableFixedArray::ToFixedArray() { in ToFixedArray()
83 TNode<FixedArray> GrowableFixedArray::ResizeFixedArray( in ResizeFixedArray()
89 const TNode<FixedArray> from_array = var_array_.value(); in ResizeFixedArray()
93 TNode<FixedArray> to_array = CAST(ExtractFixedArray( in ResizeFixedArray()
Darray-reverse.tq11 const elements: FixedArray = UnsafeCast<FixedArray>(elements);
17 const elements: FixedArray = UnsafeCast<FixedArray>(elements);
35 const elems: FixedArray = UnsafeCast<FixedArray>(elements);
41 const elements: FixedArray = UnsafeCast<FixedArray>(elements);
54 // FixedArray loads/stores.
/third_party/node/deps/v8/src/wasm/
Dwasm-objects.h131 Handle<Script> script, Handle<FixedArray> export_wrappers);
179 uint32_t maximum, Handle<FixedArray>* entries,
239 Handle<FixedArray> entries, int entry_index,
280 DECL_ACCESSORS(tagged_buffer, FixedArray)
289 MaybeHandle<FixedArray> maybe_tagged_buffer, wasm::ValueType type,
326 DECL_OPTIONAL_ACCESSORS(tagged_globals_buffer, FixedArray)
327 DECL_OPTIONAL_ACCESSORS(imported_mutable_globals_buffers, FixedArray)
328 DECL_OPTIONAL_ACCESSORS(tables, FixedArray)
329 DECL_OPTIONAL_ACCESSORS(indirect_function_tables, FixedArray)
330 DECL_ACCESSORS(imported_function_refs, FixedArray)
[all …]
/third_party/node/deps/v8/src/runtime/
Druntime-intl.cc40 Handle<FixedArray> list = args.at<FixedArray>(1); in RUNTIME_FUNCTION()
50 Handle<FixedArray> list = args.at<FixedArray>(1); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/codegen/
Dcompilation-cache.cc145 Handle<FixedArray> host_defined_options = in HasOrigin()
146 Handle<FixedArray>::cast(maybe_host_defined_options); in HasOrigin()
147 Handle<FixedArray> script_options( in HasOrigin()
148 FixedArray::cast(script->host_defined_options()), isolate); in HasOrigin()
254 MaybeHandle<FixedArray> CompilationCacheRegExp::Lookup(Handle<String> source, in Lookup()
268 Handle<FixedArray> data = Handle<FixedArray>::cast(result); in Lookup()
276 return MaybeHandle<FixedArray>(); in Lookup()
281 Handle<FixedArray> data) { in Put()
333 MaybeHandle<FixedArray> CompilationCache::LookupRegExp(Handle<String> source, in LookupRegExp()
372 Handle<FixedArray> data) { in PutRegExp()
/third_party/node/deps/v8/src/regexp/
Dregexp.cc98 static int IrregexpMaxRegisterCount(FixedArray re);
99 static void SetIrregexpMaxRegisterCount(FixedArray re, int value);
100 static int IrregexpNumberOfCaptures(FixedArray re);
101 static ByteArray IrregexpByteCode(FixedArray re, bool is_one_byte);
102 static Code IrregexpNativeCode(FixedArray re, bool is_one_byte);
201 MaybeHandle<FixedArray> maybe_cached = compilation_cache->LookupRegExp( in Compile()
203 Handle<FixedArray> cached; in Compile()
268 Handle<FixedArray> data(FixedArray::cast(re->data()), isolate); in Compile()
498 Handle<FixedArray> RegExp::CreateCaptureNameMap( in CreateCaptureNameMap()
500 if (named_captures == nullptr) return Handle<FixedArray>(); in CreateCaptureNameMap()
[all …]

12345678910>>...13