/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 | 62 int field_index = 0) 65 details_(attributes, type, representation, field_index) { } in key_() 77 DataDescriptor(Handle<Name> key, int field_index, in DataDescriptor() argument 80 representation, field_index) {} in DataDescriptor() 82 DataDescriptor(Handle<Name> key, int field_index, in DataDescriptor() argument 86 field_index) { in DataDescriptor()
|
D | property-details.h | 248 int field_index = 0) { 252 | FieldIndexField::encode(field_index); 257 int field_index = 0) { 261 FieldIndexField::encode(field_index); 324 int field_index() const { return FieldIndexField::decode(value_); } in field_index() function
|
D | property.cc | 53 os << ", field_index: " << details.field_index(); in operator <<()
|
D | json-stringifier.h | 547 FieldIndex field_index = FieldIndex::ForDescriptor(*map, i); in SerializeJSObject() local 549 if (object->IsUnboxedDoubleField(field_index)) { in SerializeJSObject() 550 double value = object->RawFastDoublePropertyAt(field_index); in SerializeJSObject() 554 property = handle(object->RawFastPropertyAt(field_index), isolate); in SerializeJSObject()
|
D | lookup.cc | 441 FieldIndex field_index = FieldIndex::ForDescriptor(*holder_map_, number_); in FetchValue() local 443 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 80 return PropertyAccessInfo(holder, transition_map, field_index, field_check, in DataField() 120 FieldIndex field_index, in PropertyAccessInfo() argument 127 field_index_(field_index), in PropertyAccessInfo() 269 FieldIndex field_index = FieldIndex::ForPropertyIndex( in ComputePropertyAccessInfo() local 300 Type::Class(receiver_map, zone()), field_index, field_type, in ComputePropertyAccessInfo() 379 FieldIndex field_index = FieldIndex::ForInObjectOffset(offset); in LookupSpecialFieldAccessor() local 402 field_index, field_type); in LookupSpecialFieldAccessor() 407 FieldIndex field_index = FieldIndex::ForInObjectOffset(offset); in LookupSpecialFieldAccessor() local 421 Type::Class(map, zone()), field_index, field_type, in LookupSpecialFieldAccessor() [all …]
|
D | access-info.h | 78 Type* receiver_type, FieldIndex field_index, Type* field_type, 96 FieldIndex field_index() const { return field_index_; } in field_index() function 105 MaybeHandle<Map> transition_map, FieldIndex field_index,
|
D | js-native-context-specialization.cc | 218 FieldIndex const field_index = access_info.field_index(); in ReduceNamedAccess() local 251 if (!field_index.is_inobject()) { in ReduceNamedAccess() 256 FieldAccess field_access = {kTaggedBase, field_index.offset(), name, in ReduceNamedAccess() 260 if (!field_index.is_inobject() || field_index.is_hidden_field() || in ReduceNamedAccess() 286 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/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/mesa3d/src/glsl/ |
D | glsl_types.h | 454 int field_index(const char *name) const;
|
/external/v8/src/runtime/ |
D | runtime-object.cc | 851 FieldIndex field_index = in RUNTIME_FUNCTION() local 853 if (field_index.is_inobject()) { in RUNTIME_FUNCTION() 854 RUNTIME_ASSERT(field_index.property_index() < in RUNTIME_FUNCTION() 857 RUNTIME_ASSERT(field_index.outobject_array_index() < in RUNTIME_FUNCTION() 861 field_index); in RUNTIME_FUNCTION()
|
/external/v8/src/arm64/ |
D | builtins-arm64.cc | 1430 int field_index) { in Generate_DatePrototype_GetField() argument 1446 if (field_index == JSDate::kDateValue) { in Generate_DatePrototype_GetField() 1449 if (field_index < JSDate::kFirstUncachedField) { in Generate_DatePrototype_GetField() 1457 x0, JSDate::kValueOffset + field_index * kPointerSize)); in Generate_DatePrototype_GetField() 1462 __ Mov(x1, Smi::FromInt(field_index)); in Generate_DatePrototype_GetField()
|
/external/v8/src/x64/ |
D | builtins-x64.cc | 1057 int field_index) { in Generate_DatePrototype_GetField() argument 1074 if (field_index == JSDate::kDateValue) { in Generate_DatePrototype_GetField() 1077 if (field_index < JSDate::kFirstUncachedField) { in Generate_DatePrototype_GetField() 1083 rax, JSDate::kValueOffset + field_index * kPointerSize)); in Generate_DatePrototype_GetField() 1090 __ Move(arg_reg_2, Smi::FromInt(field_index)); in Generate_DatePrototype_GetField()
|
/external/v8/src/arm/ |
D | builtins-arm.cc | 1459 int field_index) { in Generate_DatePrototype_GetField() argument 1475 if (field_index == JSDate::kDateValue) { in Generate_DatePrototype_GetField() 1478 if (field_index < JSDate::kFirstUncachedField) { in Generate_DatePrototype_GetField() 1486 r0, JSDate::kValueOffset + field_index * kPointerSize)); in Generate_DatePrototype_GetField() 1492 __ mov(r1, Operand(Smi::FromInt(field_index))); in Generate_DatePrototype_GetField()
|