Home
last modified time | relevance | path

Searched refs:field_index (Results 1 – 25 of 39) sorted by relevance

12

/external/v8/src/
Dlayout-descriptor-inl.h35 return details.field_index() < inobject_properties; in InobjectUnboxedField()
44 bool LayoutDescriptor::GetIndexes(int field_index, int* layout_word_index, in GetIndexes() argument
46 if (static_cast<unsigned>(field_index) >= static_cast<unsigned>(capacity())) { in GetIndexes()
50 *layout_word_index = field_index / kNumberOfBits; in GetIndexes()
54 *layout_bit_index = field_index % kNumberOfBits; in GetIndexes()
59 LayoutDescriptor* LayoutDescriptor::SetRawData(int field_index) { in SetRawData() argument
60 return SetTagged(field_index, false); in SetRawData()
64 LayoutDescriptor* LayoutDescriptor::SetTagged(int field_index, bool tagged) { in SetTagged() argument
68 if (!GetIndexes(field_index, &layout_word_index, &layout_bit_index)) { in SetTagged()
95 bool LayoutDescriptor::IsTagged(int field_index) { in IsTagged() argument
[all …]
Dlayout-descriptor.cc51 layout_descriptor->IsTagged(details.field_index())); in ShareAppend()
54 int field_index = details.field_index(); in ShareAppend() local
56 isolate, layout_descriptor, field_index + details.field_width_in_words()); in ShareAppend()
60 layout_desc = layout_desc->SetRawData(field_index); in ShareAppend()
62 layout_desc = layout_desc->SetRawData(field_index + 1); in ShareAppend()
78 layout_descriptor->IsTagged(details.field_index())); in AppendIfFastOrUseFull()
81 int field_index = details.field_index(); in AppendIfFastOrUseFull() local
82 int new_capacity = field_index + details.field_width_in_words(); in AppendIfFastOrUseFull()
89 layout_descriptor = layout_descriptor->SetRawData(field_index); in AppendIfFastOrUseFull()
91 layout_descriptor = layout_descriptor->SetRawData(field_index + 1); in AppendIfFastOrUseFull()
[all …]
Dfield-index-inl.h45 int field_index = orig_index; in ForLoadByFieldIndex() local
47 bool is_double = field_index & 1; in ForLoadByFieldIndex()
49 field_index >>= 1; in ForLoadByFieldIndex()
50 if (field_index < 0) { in ForLoadByFieldIndex()
51 field_index = -(field_index + 1); in ForLoadByFieldIndex()
54 field_index += FixedArray::kHeaderSize / kPointerSize; in ForLoadByFieldIndex()
57 field_index += JSObject::kHeaderSize / kPointerSize; in ForLoadByFieldIndex()
59 FieldIndex result(is_inobject, field_index, is_double, in ForLoadByFieldIndex()
90 int field_index = details.field_index(); in ForDescriptor() local
91 return ForPropertyIndex(map, field_index, in ForDescriptor()
Dlayout-descriptor.h27 V8_INLINE bool IsTagged(int field_index);
34 bool IsTagged(int field_index, int max_sequence_length,
93 LayoutDescriptor* SetTaggedForTesting(int field_index, bool tagged);
124 V8_INLINE bool GetIndexes(int field_index, int* layout_word_index,
127 V8_INLINE MUST_USE_RESULT LayoutDescriptor* SetRawData(int field_index);
129 V8_INLINE MUST_USE_RESULT LayoutDescriptor* SetTagged(int field_index,
Dproperty.h53 Representation representation, int field_index = 0)
56 details_(attributes, type, representation, field_index) { in key_()
71 DataDescriptor(Handle<Name> key, int field_index,
74 DataDescriptor(Handle<Name> key, int field_index, in DataDescriptor() argument
78 field_index) { in DataDescriptor()
Dproperty.cc24 DataDescriptor::DataDescriptor(Handle<Name> key, int field_index, in DataDescriptor() argument
28 representation, field_index) {} in DataDescriptor()
59 os << ", field_index: " << details.field_index(); in operator <<()
Dproperty-details.h250 int field_index = 0) {
254 | FieldIndexField::encode(field_index);
259 int field_index = 0) {
263 FieldIndexField::encode(field_index);
327 int field_index() const { return FieldIndexField::decode(value_); } in field_index() function
Djson-stringifier.cc538 FieldIndex field_index = FieldIndex::ForDescriptor(*map, i); in SerializeJSObject() local
540 field_index); in SerializeJSObject()
Dkeys.cc334 FieldIndex field_index = FieldIndex::ForDescriptor(*map, i); in GetFastEnumPropertyKeys() local
335 int load_by_field_index = field_index.GetLoadByFieldIndex(); in GetFastEnumPropertyKeys()
Dlookup.cc601 FieldIndex field_index = FieldIndex::ForDescriptor(holder->map(), number_); in FetchValue() local
603 field_index); in FetchValue()
/external/v8/src/ic/
Dhandler-configuration-inl.h17 FieldIndex field_index) { in LoadField() argument
19 IsInobjectBits::encode(field_index.is_inobject()) | in LoadField()
20 IsDoubleBits::encode(field_index.is_double()) | in LoadField()
21 FieldOffsetBits::encode(field_index.offset()); in LoadField()
83 int descriptor, FieldIndex field_index, in StoreField() argument
111 StoreHandler::IsInobjectBits::encode(field_index.is_inobject()) | in StoreField()
114 StoreHandler::FieldOffsetBits::encode(field_index.offset()); in StoreField()
119 FieldIndex field_index, in StoreField() argument
121 return StoreField(isolate, kStoreField, descriptor, field_index, in StoreField()
126 FieldIndex field_index, in TransitionToField() argument
[all …]
Dhandler-configuration.h88 FieldIndex field_index);
177 FieldIndex field_index,
183 FieldIndex field_index,
195 FieldIndex field_index,
/external/v8/src/compiler/
Daccess-info.cc81 MapList const& receiver_maps, FieldIndex field_index, in DataField() argument
85 return PropertyAccessInfo(holder, transition_map, field_index, in DataField()
128 FieldIndex field_index, MachineRepresentation field_representation, in PropertyAccessInfo() argument
134 field_index_(field_index), in PropertyAccessInfo()
308 FieldIndex field_index = FieldIndex::ForPropertyIndex( in ComputePropertyAccessInfo() local
344 MapList{receiver_map}, field_index, field_representation, in ComputePropertyAccessInfo()
455 FieldIndex field_index = FieldIndex::ForInObjectOffset(offset); in LookupSpecialFieldAccessor() local
482 MapList{map}, field_index, field_representation, field_type); in LookupSpecialFieldAccessor()
507 int const index = details.field_index(); in LookupTransition()
509 FieldIndex field_index = FieldIndex::ForPropertyIndex( in LookupTransition() local
[all …]
Dload-elimination.cc645 int field_index = FieldIndexOf(access); in ReduceLoadField() local
646 if (field_index >= 0) { in ReduceLoadField()
647 if (Node* replacement = state->LookupField(object, field_index)) { in ReduceLoadField()
661 state = state->AddField(object, field_index, node, zone()); in ReduceLoadField()
673 int field_index = FieldIndexOf(access); in ReduceStoreField() local
674 if (field_index >= 0) { in ReduceStoreField()
675 Node* const old_value = state->LookupField(object, field_index); in ReduceStoreField()
681 state = state->KillField(object, field_index, zone()); in ReduceStoreField()
682 state = state->AddField(object, field_index, new_value, zone()); in ReduceStoreField()
878 int field_index = FieldIndexOf(access); in ComputeLoopState() local
[all …]
Daccess-info.h74 MapList const& receiver_maps, FieldIndex field_index,
100 FieldIndex field_index() const { return field_index_; } in field_index() function
114 MaybeHandle<Map> transition_map, FieldIndex field_index,
Djs-native-context-specialization.cc1051 FieldIndex const field_index = access_info.field_index(); in BuildPropertyAccess() local
1074 if (!field_index.is_inobject()) { in BuildPropertyAccess()
1081 field_index.offset(), in BuildPropertyAccess()
1088 if (!field_index.is_inobject() || field_index.is_hidden_field() || in BuildPropertyAccess()
1091 field_index.offset(), in BuildPropertyAccess()
1113 if (!field_index.is_inobject() || field_index.is_hidden_field() || in BuildPropertyAccess()
1139 field_index.offset(), in BuildPropertyAccess()
/external/kernel-headers/original/uapi/linux/
Dhiddev.h93 __u32 field_index; member
123 __u32 field_index; member
/external/nanopb-c/
Dpb_decode.c27 unsigned field_index; /* Zero-based index of the field. */ member
344 iter->field_index = 0; in pb_field_init()
373 iter->field_index++; in pb_field_next()
377 iter->field_index = 0; in pb_field_next()
391 unsigned start = iter->field_index; in pb_field_find()
400 } while (iter->field_index != start); in pb_field_find()
679 iter.field_index = 0; in default_extension_decoder()
718 unsigned start = iter->field_index; in find_extension_field()
724 } while (iter->field_index != start); in find_extension_field()
/external/protobuf/src/google/protobuf/
Dtext_format.h116 int field_index,
120 int field_index,
Dtext_format.cc1401 int field_index, in PrintMessageStart() argument
1408 int field_index, in PrintMessageEnd() argument
1680 const int field_index = field->is_repeated() ? j : -1; in PrintField() local
1695 sub_message, field_index, count, single_line_mode_)); in PrintField()
1701 sub_message, field_index, count, single_line_mode_)); in PrintField()
1705 PrintFieldValue(message, reflection, field, field_index, generator); in PrintField()
Dtext_format_unittest.cc463 int field_index, in PrintMessageStart() argument
470 " { # ", message.GetDescriptor()->name(), ": ", field_index, "\n"); in PrintMessageStart()
509 int field_index, in PrintMessageStart() argument
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py472 for field_index, field_desc in enumerate(desc_proto.field):
475 oneofs[oneof_index].fields.append(fields[field_index])
476 fields[field_index].containing_oneof = oneofs[oneof_index]
/external/v8/src/runtime/
Druntime-object.cc584 FieldIndex field_index = in RUNTIME_FUNCTION() local
586 if (field_index.is_inobject()) { in RUNTIME_FUNCTION()
587 CHECK(field_index.property_index() < in RUNTIME_FUNCTION()
590 CHECK(field_index.outobject_array_index() < object->properties()->length()); in RUNTIME_FUNCTION()
593 field_index); in RUNTIME_FUNCTION()
/external/mesa3d/src/glsl/
Dglsl_types.h454 int field_index(const char *name) const;
/external/v8/src/builtins/
Dbuiltins-date.cc913 int field_index) { in Generate_DatePrototype_GetField() argument
930 if (field_index == JSDate::kDateValue) { in Generate_DatePrototype_GetField()
934 if (field_index < JSDate::kFirstUncachedField) { in Generate_DatePrototype_GetField()
946 receiver, JSDate::kValueOffset + field_index * kPointerSize)); in Generate_DatePrototype_GetField()
951 Node* field_index_smi = assembler->SmiConstant(Smi::FromInt(field_index)); in Generate_DatePrototype_GetField()

12