Home
last modified time | relevance | path

Searched refs:field_count (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/node/deps/v8/src/wasm/
Dstruct-types.h24 StructType(uint32_t field_count, uint32_t* field_offsets, in StructType() argument
26 : field_count_(field_count), in StructType()
33 uint32_t field_count() const { return field_count_; } in field_count() function
55 if (field_count() != other.field_count()) return false;
64 DCHECK_LT(index, field_count()); in field_offset()
69 return field_count() == 0 ? 0 : field_offsets_[field_count() - 1]; in total_fields_size()
73 if (field_count() == 0) return; in InitializeOffsets()
75 for (uint32_t i = 1; i < field_count(); i++) { in InitializeOffsets()
83 field_offsets_[field_count() - 1] = offset; in InitializeOffsets()
89 Builder(Zone* zone, uint32_t field_count) in Builder() argument
[all …]
Dwasm-subtyping.cc35 if (sub_struct->field_count() < super_struct->field_count()) { in ValidStructSubtypeDefinition()
39 for (uint32_t i = 0; i < super_struct->field_count(); i++) { in ValidStructSubtypeDefinition()
Dcanonical-types.cc124 StructType::Builder builder(&zone_, original_type->field_count()); in CanonicalizeTypeDef()
125 for (uint32_t i = 0; i < original_type->field_count(); i++) { in CanonicalizeTypeDef()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc151 new const FieldDescriptor* [descriptor->field_count()]; in SortFieldsByNumber()
152 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber()
155 std::sort(fields, fields + descriptor->field_count(), FieldOrderingByNumber()); in SortFieldsByNumber()
163 new const FieldDescriptor* [descriptor->field_count()]; in SortFieldsByStorageSize()
164 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByStorageSize()
167 std::sort(fields, fields + descriptor->field_count(), in SortFieldsByStorageSize()
222 for (int i = 0; i < descriptor_->field_count(); i++) { in DetermineForwardDeclarations()
236 for (int i = 0; i < descriptor_->field_count(); i++) { in DetermineObjectiveCClassDefinitions()
307 if (descriptor_->field_count()) { in GenerateMessageHeader()
315 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageHeader()
[all …]
Dobjectivec_field.cc413 field_generators_(descriptor->field_count()), in FieldGeneratorMap()
416 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
440 for (int i = 0; i < descriptor_->field_count(); i++) { in CalculateHasBits()
457 for (int i = 0; i < descriptor_->field_count(); i++) { in SetOneofIndexBase()
463 for (int i = 0; i < descriptor_->field_count(); i++) { in DoesAnyFieldHaveNonZeroDefault()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc76 for (int i = 0; i < descriptor_->field_count(); i++) { in ImmutableMessageLiteGenerator()
137 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateInterface()
218 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
242 for (int j = 0; j < (oneof)->field_count(); j++) { in Generate()
267 for (int j = 0; j < (oneof)->field_count(); j++) { in Generate()
303 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
484 WriteIntToUtf16CharSequence(descriptor_->field_count(), &chars); in GenerateDynamicMethodNewBuildMessageInfo()
486 if (descriptor_->field_count() == 0) { in GenerateDynamicMethodNewBuildMessageInfo()
504 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDynamicMethodNewBuildMessageInfo()
519 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDynamicMethodNewBuildMessageInfo()
[all …]
Djava_message_builder.cc79 for (int i = 0; i < descriptor_->field_count(); i++) { in MessageBuilderGenerator()
152 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
162 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
210 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDescriptorMethods()
313 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods()
333 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods()
395 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods()
418 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods()
538 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods()
551 for (int j = 0; j < oneof->field_count(); j++) { in GenerateCommonBuilderMethods()
[all …]
Djava_message.cc79 for (int i = 0; i < descriptor_->field_count(); i++) { in MessageGenerator()
215 10 + 6 * descriptor_->field_count() + 6 * oneofs_.size(); in GenerateFieldAccessorTable()
228 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFieldAccessorTableInitializer()
274 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateInterface()
399 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
429 for (int j = 0; j < (oneof)->field_count(); j++) { in Generate()
458 for (int j = 0; j < (oneof)->field_count(); j++) { in Generate()
490 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
614 i < descriptor_->field_count() || j < sorted_extensions.size();) { in GenerateMessageSerializationMethods()
615 if (i == descriptor_->field_count()) { in GenerateMessageSerializationMethods()
[all …]
Djava_field.cc208 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap()
213 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
228 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap()
232 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
Djava_message_builder_lite.cc70 for (int i = 0; i < descriptor_->field_count(); i++) { in MessageBuilderLiteGenerator()
118 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
Djava_helpers.cc827 new const FieldDescriptor*[descriptor->field_count()]; in SortFieldsByNumber()
828 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber()
831 std::sort(fields, fields + descriptor->field_count(), in SortFieldsByNumber()
861 for (int i = 0; i < type->field_count(); i++) { in HasRequiredFields()
882 for (int i = 0; i < descriptor->field_count(); ++i) { in HasRepeatedFields()
/third_party/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc76 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetField()
91 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetBizarroData()
127 for (int i = 0; i < descriptor_->field_count(); i++) { in TEST_F()
134 for (int i = 0; i < unknown_fields_->field_count(); i++) { in TEST_F()
183 ASSERT_EQ(1, field->group().field_count()); in TEST_F()
275 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F()
276 EXPECT_GT(other_message.unknown_fields().field_count(), 0); in TEST_F()
288 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F()
291 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F()
344 EXPECT_EQ(unknown_field_set.field_count(), 1); in TEST_F()
[all …]
Dreflection_ops_unittest.cc163 ASSERT_EQ(2, message1.unknown_fields().field_count()); in TEST()
253 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST()
286 EXPECT_EQ(1, message.unknown_fields().field_count()); in TEST()
288 message.optional_nested_message().unknown_fields().field_count()); in TEST()
290 message.repeated_nested_message(0).unknown_fields().field_count()); in TEST()
296 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST()
298 message.optional_nested_message().unknown_fields().field_count()); in TEST()
300 message.repeated_nested_message(0).unknown_fields().field_count()); in TEST()
316 EXPECT_EQ(1, message.unknown_fields().field_count()); in TEST()
319 .field_count()); in TEST()
[all …]
Dreflection_ops.cc195 if (const int field_count = descriptor->field_count()) { in IsInitialized() local
197 const FieldDescriptor* end = begin + field_count; in IsInitialized()
198 GOOGLE_DCHECK_EQ(descriptor->field(field_count - 1), end - 1); in IsInitialized()
259 const int field_count = descriptor->field_count(); in IsInitialized() local
260 for (int i = 0; i < field_count; i++) { in IsInitialized()
392 const int field_count = descriptor->field_count(); in FindInitializationErrors() local
393 for (int i = 0; i < field_count; i++) { in FindInitializationErrors()
Ddynamic_message.cc390 for (int i = 0; i < descriptor->field_count(); i++) { in SharedCtor()
504 for (int i = 0; i < descriptor->field_count(); i++) { in ~DynamicMessage()
512 type_info_->offsets[descriptor->field_count() + in ~DynamicMessage()
607 for (int i = 0; i < descriptor->field_count(); i++) { in CrossLinkPrototypes()
718 uint32* offsets = new uint32[type->field_count() + real_oneof_count]; in GetPrototypeNoLock()
730 for (int i = 0; i < type->field_count(); i++) { in GetPrototypeNoLock()
736 uint32* has_bits_indices = new uint32[type->field_count()]; in GetPrototypeNoLock()
737 for (int i = 0; i < type->field_count(); i++) { in GetPrototypeNoLock()
774 for (int i = 0; i < type->field_count(); i++) { in GetPrototypeNoLock()
789 offsets[type->field_count() + i] = size; in GetPrototypeNoLock()
[all …]
Dtext_format.h142 int field_count, const Reflection* reflection,
150 int field_count, bool single_line_mode,
158 int field_count, bool single_line_mode,
161 int field_count, bool single_line_mode,
187 int field_index, int field_count,
190 int field_count,
392 int field_count, const Reflection* reflection,
Dtext_format.cc1597 const Message& message, int field_index, int field_count, in PrintMessageStart() argument
1599 FORWARD_IMPL(PrintMessageStart, message, field_index, field_count, in PrintMessageStart()
1603 const Message& message, int field_index, int field_count, in PrintMessageEnd() argument
1605 FORWARD_IMPL(PrintMessageEnd, message, field_index, field_count, in PrintMessageEnd()
1660 const Message& message, int field_index, int field_count, in PrintFieldName() argument
1680 const Message& message, int field_index, int field_count, in PrintMessageStart() argument
1689 const Message& message, int field_index, int field_count, in PrintMessageContent() argument
1694 const Message& message, int field_index, int field_count, in PrintMessageEnd() argument
1756 void PrintFieldName(const Message& message, int field_index, int field_count, in PrintFieldName() argument
1770 const Message& message, int field_index, int field_count, in PrintMessageStart() argument
[all …]
Dgenerated_message_reflection.h143 static_cast<size_t>(field->containing_type()->field_count() + in GetFieldOffset()
154 static_cast<size_t>(field->containing_type()->field_count() + in IsFieldInlined()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc69 for (int i = 0; i < descriptor_->field_count(); i++) { in MessageGenerator()
76 for (int i = 0; i < descriptor_->field_count(); i++) { in MessageGenerator()
210 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
239 for (int j = 0; j < oneof->field_count(); j++) { in Generate()
388 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCloningCode()
403 for (int j = 0; j < oneof->field_count(); j++) { in GenerateCloningCode()
462 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFrameworkMethods()
489 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFrameworkMethods()
548 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods()
621 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMergingMethods()
[all …]
Dcsharp_reflection_class.cc262 if (descriptor->field_count() > 0) { in WriteGeneratedCodeInfo()
264 fields.reserve(descriptor->field_count()); in WriteGeneratedCodeInfo()
265 for (int i = 0; i < descriptor->field_count(); i++) { in WriteGeneratedCodeInfo()
/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc167 for (int i = 0; i < descriptor->field_count(); ++i) { in GetFieldMaskForAllFields()
387 for (int i = 0; i < current_descriptor->field_count(); ++i) { in RemovePath()
555 const int32 field_count = descriptor->field_count(); in AddRequiredFieldPath() local
556 for (int index = 0; index < field_count; ++index) { in AddRequiredFieldPath()
592 const int32 field_count = descriptor->field_count(); in TrimMessage() local
594 for (int index = 0; index < field_count; ++index) { in TrimMessage()
/third_party/protobuf/python/google/protobuf/pyext/
Dunknown_fields.cc62 return self->fields->field_count(); in Len()
87 Py_ssize_t total_size = self->fields->field_count(); in Item()
224 ssize_t total_size = fields->field_count(); in GetUnknownField()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc119 : descriptor_(descriptor), field_generators_(descriptor->field_count()) { in FieldGeneratorMap()
121 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
Dprotocol_core.cc64 size_t field_count) in DeserializerDescriptor() argument
66 field_count_(field_count), in DeserializerDescriptor()
67 mandatory_field_mask_(GetMandatoryFieldMask(fields, field_count)) {} in DeserializerDescriptor()
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc471 for (int i = 0; i < oneof->field_count(); i++) { in IgnoreOneof()
566 for (int i = 0; i < parent_type->field_count(); i++) { in JSFieldIndex()
582 for (int j = 0; j < o->field_count(); j++) { in JSOneofIndex()
1164 for (int i = 0; i < desc->field_count(); i++) { in HasRepeatedFields()
1182 for (int i = 0; i < desc->field_count(); i++) { in HasOneofFields()
1202 for (int i = 0; i < desc->field_count(); i++) { in RepeatedFieldNumberList()
1220 for (int j = 0; j < oneof->field_count(); j++) { in OneofGroupList()
1368 for (int i = 0; i < desc->field_count(); i++) { in HasMap()
1401 for (int i = 0; i < desc->field_count(); i++) { in GetPivot()
1543 for (int i = 0; i < desc->field_count(); i++) { in operator ()()
[all …]

1234