/external/v8/src/ |
D | layout-descriptor-inl.h | 35 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 …]
|
D | layout-descriptor.cc | 51 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 …]
|
D | field-index-inl.h | 46 int field_index = orig_index; in ForLoadByFieldIndex() local 48 bool is_double = field_index & 1; in ForLoadByFieldIndex() 50 field_index >>= 1; in ForLoadByFieldIndex() 51 if (field_index < 0) { in ForLoadByFieldIndex() 52 field_index = -(field_index + 1); in ForLoadByFieldIndex() 55 field_index += FixedArray::kHeaderSize / kPointerSize; in ForLoadByFieldIndex() 58 field_index += JSObject::kHeaderSize / kPointerSize; in ForLoadByFieldIndex() 60 FieldIndex result(is_inobject, field_index, is_double, in ForLoadByFieldIndex() 92 int field_index = details.field_index(); in ForDescriptor() local 93 return ForPropertyIndex(map, field_index, in ForDescriptor()
|
D | layout-descriptor.h | 27 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,
|
D | property.h | 51 Representation representation, int field_index = 0) 54 details_(attributes, type, representation, field_index) { in key_() 68 DataDescriptor(Handle<Name> key, int field_index, 71 DataDescriptor(Handle<Name> key, int field_index, in DataDescriptor() argument 75 field_index) { in DataDescriptor()
|
D | property.cc | 24 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 <<()
|
D | property-details.h | 252 int field_index = 0) { 256 | FieldIndexField::encode(field_index); 261 int field_index = 0) { 265 FieldIndexField::encode(field_index); 328 int field_index() const { return FieldIndexField::decode(value_); } in field_index() function
|
D | code-stub-assembler.cc | 1552 Node* CodeStubAssembler::EntryToIndex(Node* entry, int field_index) { in EntryToIndex() argument 1555 Int32Constant(Dictionary::kElementsStartIndex + field_index)); in EntryToIndex() 1850 Node* field_index = in LoadPropertyFromFastObject() local 1860 BranchIfInt32LessThan(field_index, inobject_properties, &if_inobject, in LoadPropertyFromFastObject() 1867 Int32Sub(inobject_properties, field_index)), in LoadPropertyFromFastObject() 1895 field_index = Int32Sub(field_index, inobject_properties); in LoadPropertyFromFastObject() 1896 Node* value = LoadFixedArrayElement(properties, field_index); in LoadPropertyFromFastObject()
|
D | json-stringifier.cc | 538 FieldIndex field_index = FieldIndex::ForDescriptor(*map, i); in SerializeJSObject() local 540 field_index); in SerializeJSObject()
|
D | keys.cc | 306 FieldIndex field_index = FieldIndex::ForDescriptor(*map, i); in GetFastEnumPropertyKeys() local 307 int load_by_field_index = field_index.GetLoadByFieldIndex(); in GetFastEnumPropertyKeys()
|
D | lookup.cc | 524 FieldIndex field_index = FieldIndex::ForDescriptor(holder->map(), number_); in FetchValue() local 526 field_index); in FetchValue()
|
/external/v8/src/compiler/ |
D | access-info.cc | 77 Type* receiver_type, FieldIndex field_index, Type* field_type, in DataField() argument 79 return PropertyAccessInfo(holder, transition_map, field_index, field_type, in DataField() 118 FieldIndex field_index, Type* field_type, in PropertyAccessInfo() argument 124 field_index_(field_index), in PropertyAccessInfo() 267 FieldIndex field_index = FieldIndex::ForPropertyIndex( in ComputePropertyAccessInfo() local 297 Type::Class(receiver_map, zone()), field_index, field_type, holder); in ComputePropertyAccessInfo() 375 FieldIndex field_index = FieldIndex::ForInObjectOffset(offset); in LookupSpecialFieldAccessor() local 398 field_index, field_type); in LookupSpecialFieldAccessor() 420 int const index = details.field_index(); in LookupTransition() 422 FieldIndex field_index = FieldIndex::ForPropertyIndex( in LookupTransition() local [all …]
|
D | access-info.h | 68 Type* receiver_type, FieldIndex field_index, Type* field_type, 84 FieldIndex field_index() const { return field_index_; } in field_index() function 93 MaybeHandle<Map> transition_map, FieldIndex field_index,
|
D | js-native-context-specialization.cc | 246 FieldIndex const field_index = access_info.field_index(); in ReduceNamedAccess() local 253 if (!field_index.is_inobject()) { in ReduceNamedAccess() 259 kTaggedBase, field_index.offset(), name, in ReduceNamedAccess() 268 if (!field_index.is_inobject() || field_index.is_hidden_field() || in ReduceNamedAccess() 297 if (!field_index.is_inobject() || field_index.is_hidden_field() || in ReduceNamedAccess()
|
/external/v8/test/cctest/ |
D | test-unboxed-doubles.cc | 63 static double GetDoubleFieldValue(JSObject* obj, FieldIndex field_index) { in GetDoubleFieldValue() argument 64 if (obj->IsUnboxedDoubleField(field_index)) { in GetDoubleFieldValue() 65 return obj->RawFastDoublePropertyAt(field_index); in GetDoubleFieldValue() 67 Object* value = obj->RawFastPropertyAt(field_index); in GetDoubleFieldValue() 642 int field_index = f.GetDetails().field_index(); in TestLayoutDescriptorAppend() local 643 bool is_inobject = field_index < map->GetInObjectProperties(); in TestLayoutDescriptorAppend() 646 !layout_descriptor->IsTagged(field_index + bit)); in TestLayoutDescriptorAppend() 788 int field_index = details.field_index(); in TestLayoutDescriptorAppendIfFastOrUseFull() local 791 bool is_inobject = field_index < map->GetInObjectProperties(); in TestLayoutDescriptorAppendIfFastOrUseFull() 794 !layout_desc->IsTagged(field_index + bit)); in TestLayoutDescriptorAppendIfFastOrUseFull() [all …]
|
D | test-inobject-slack-tracking.cc | 97 static double GetDoubleFieldValue(JSObject* obj, FieldIndex field_index) { in GetDoubleFieldValue() argument 98 if (obj->IsUnboxedDoubleField(field_index)) { in GetDoubleFieldValue() 99 return obj->RawFastDoublePropertyAt(field_index); in GetDoubleFieldValue() 101 Object* value = obj->RawFastPropertyAt(field_index); in GetDoubleFieldValue()
|
/external/lldb/source/Expression/ |
D | ASTStructExtractor.cpp | 111 for (unsigned field_index = 0, num_fields = struct_layout->getFieldCount(); in ExtractFromFunctionDecl() local 112 field_index < num_fields; in ExtractFromFunctionDecl() 113 ++field_index) in ExtractFromFunctionDecl() 115 m_function.m_member_offsets.push_back(struct_layout->getFieldOffset(field_index) / 8); in ExtractFromFunctionDecl()
|
/external/kernel-headers/original/uapi/linux/ |
D | hiddev.h | 93 __u32 field_index; member 123 __u32 field_index; member
|
/external/nanopb-c/ |
D | pb_decode.c | 27 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/ |
D | text_format.h | 113 int field_index, 117 int field_index,
|
D | text_format.cc | 1307 int field_index, in PrintMessageStart() argument 1314 int field_index, in PrintMessageEnd() argument 1470 const int field_index = field->is_repeated() ? j : -1; in PrintField() local 1483 sub_message, field_index, count, single_line_mode_)); in PrintField() 1489 sub_message, field_index, count, single_line_mode_)); in PrintField() 1493 PrintFieldValue(message, reflection, field, field_index, generator); in PrintField()
|
D | text_format_unittest.cc | 458 int field_index, in PrintMessageStart() argument 465 " { # ", message.GetDescriptor()->name(), ": ", field_index, "\n"); in PrintMessageStart() 504 int field_index, in PrintMessageStart() argument
|
/external/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 391 for field_index, field_desc in enumerate(desc_proto.field): 394 oneofs[oneof_index].fields.append(fields[field_index]) 395 fields[field_index].containing_oneof = oneofs[oneof_index]
|
/external/v8/src/runtime/ |
D | runtime-object.cc | 606 FieldIndex field_index = in RUNTIME_FUNCTION() local 608 if (field_index.is_inobject()) { in RUNTIME_FUNCTION() 609 CHECK(field_index.property_index() < in RUNTIME_FUNCTION() 612 CHECK(field_index.outobject_array_index() < object->properties()->length()); in RUNTIME_FUNCTION() 615 field_index); in RUNTIME_FUNCTION()
|
/external/mesa3d/src/glsl/ |
D | glsl_types.h | 454 int field_index(const char *name) const;
|