/third_party/protobuf/benchmarks/util/ |
H A D | schema_proto2_to_proto3_util.h | 28 if (IsMessageSet(old_file->message_type(i))) { in StripFile() 32 StripMessage(old_file->message_type(i), file->mutable_message_type(i)); in StripFile() 37 IsMessageSet(field->message_type()) || in StripFile() 57 IsMessageSet(old_message->field(i)->message_type())) { in StripMessage() 65 IsMessageSet(old_message->extension(i)->message_type())) { in StripMessage() 121 void ScrubMessage(DescriptorProto *message_type) { in ScrubMessage() argument 122 for (int i = 0; i < message_type->mutable_enum_type()->size(); i++) { in ScrubMessage() 123 ScrubEnum(message_type->mutable_enum_type(i)); in ScrubMessage() 125 for (int i = 0; i < message_type->mutable_nested_type()->size(); i++) { in ScrubMessage() 126 ScrubMessage(message_type in ScrubMessage() 142 StripMessage(DescriptorProto *message_type) StripMessage() argument 170 ScrubMessage(DescriptorProto *message_type) ScrubMessage() argument [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | parser_unittest.cc | 281 "message_type {" in TEST_F() 305 "message_type {" in TEST_F() 318 "message_type {" in TEST_F() 333 "message_type {" in TEST_F() 349 "message_type {" in TEST_F() 364 "message_type {" in TEST_F() 392 "message_type {" in TEST_F() 462 "message_type {" in TEST_F() 537 "message_type {" in TEST_F() 554 "message_type {" in TEST_F() [all...] |
/third_party/node/deps/openssl/openssl/ssl/statem/ |
H A D | statem_quic.c | 53 s->s3.tmp.message_type = *mt = *(s->init_buf->data); in quic_get_message() 65 if (s->s3.tmp.message_type == SSL3_MT_CHANGE_CIPHER_SPEC) { in quic_get_message_body() 71 if (s->s3.tmp.message_type == SSL3_MT_KEY_UPDATE) { in quic_get_message_body() 81 if (s->s3.tmp.message_type == SSL3_MT_FINISHED && !ssl3_take_mac(s)) { in quic_get_message_body() 95 if (s->s3.tmp.message_type != SSL3_MT_NEWSESSION_TICKET in quic_get_message_body() 96 && s->s3.tmp.message_type != SSL3_MT_KEY_UPDATE) { in quic_get_message_body() 97 if (s->s3.tmp.message_type != SSL3_MT_SERVER_HELLO in quic_get_message_body()
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | extension_dict.py | 90 message_type = extension_handle.message_type 91 if not hasattr(message_type, '_concrete_class'): 93 self._extended_message._FACTORY.GetPrototype(message_type) 94 assert getattr(extension_handle.message_type, '_concrete_class', None), ( 97 extension_handle.message_type.full_name)) 98 result = extension_handle.message_type._concrete_class()
|
H A D | python_message.py | 278 field.message_type.has_options and 279 field.message_type.GetOptions().map_entry) 283 value_type = field.message_type.fields_by_name['value'] 404 fields_by_name = field.message_type.fields_by_name 411 message._listener_for_children, value_field.message_type, key_checker, 412 field.message_type) 419 field.message_type) 446 message_type = field.message_type 449 message._listener_for_children, field.message_type) [all...] |
H A D | descriptor_test.py | 71 message_proto = file_proto.message_type.add( 84 file_proto.message_type.add(name='ResponseMessage') 837 message_type: < 953 message_type = file_descriptor_proto.message_type.add() 954 message_type.name = file_descriptor_proto.name 955 nested_type = message_type.nested_type.add() 962 field = message_type.field.add() 967 field = message_type.field.add() 980 result = descriptor.MakeDescriptor(message_type) [all...] |
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
H A D | objectivec_extension.cc | 101 std::string message_type = ClassName(descriptor_->message_type()); in GenerateStaticVariablesInitialization() local 102 vars["type"] = ObjCClass(message_type); in GenerateStaticVariablesInitialization() 142 string message_type = ClassName(descriptor_->message_type()); in DetermineObjectiveCClassDefinitions() local 143 fwd_decls->insert(ObjCClassDeclaration(message_type)); in DetermineObjectiveCClassDefinitions()
|
H A D | objectivec_message_field.cc | 48 const string& message_type = ClassName(descriptor->message_type()); in SetMessageVariables() local 50 (*variables)["type"] = message_type; in SetMessageVariables() 52 (*variables)["storage_type"] = message_type; in SetMessageVariables() 55 (*variables)["dataTypeSpecific_value"] = ObjCClass(message_type); in SetMessageVariables()
|
H A D | objectivec_map_field.cc | 88 descriptor->message_type()->map_key(); in MapFieldGenerator() 90 descriptor->message_type()->map_value(); in MapFieldGenerator() 155 descriptor_->message_type()->FindFieldByName("value"); in FinishInitialization() 166 descriptor_->message_type()->FindFieldByName("value"); in DetermineForwardDeclarations() 178 descriptor_->message_type()->FindFieldByName("value"); in DetermineObjectiveCClassDefinitions()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | html_printer.py | 71 'BackLink', ['lineNum', 'col', 'end_col', 'target', 'tooltip', 'message_type']) 199 msg.message_type, msg.message[0]), 200 linkBackType=msg.message_type) 209 icon=MESSAGE_TYPE_ICONS[msg.message_type], 210 style=MESSAGE_TYPE_STYLES[msg.message_type], 211 t=self.formatBrief(msg.message_type), 230 linkBackTooltip='see-also associated with {} at {}'.format(msg.message_type, self.formatContextBrief(see))) 248 '<span class="border border-{}"'.format(MESSAGE_TYPE_STYLES[msg.message_type])) 358 # icon=MESSAGE_TYPE_ICONS[link.message_type])) 359 self.f.write(MESSAGE_TYPE_ICONS[link.message_type]) [all...] |
H A D | console_printer.py | 220 mtype=self.formatBrief(msg.message_type, False))) 239 fileLine=fileAndLine, mtype=msg.message_type.formattedWithColon(), 266 def formatMessageTypeBrief(self, message_type, with_color=True): 272 return message_type.formattedWithColon() 274 message_type, with_color)
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | FileDescriptor.php | 39 private $message_type = []; variable 54 return $this->message_type; 59 $this->message_type[] = $desc;
|
H A D | FieldDescriptor.php | 46 private $message_type; variable 142 public function setMessageType($message_type) 144 $this->message_type = $message_type; variable 149 return $this->message_type;
|
H A D | FileDescriptorProto.php | 54 * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 56 private $message_type; variable 107 * @type \Google\Protobuf\Internal\DescriptorProto[]|\Google\Protobuf\Internal\RepeatedField $message_type 283 * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 288 return $this->message_type; 294 * Generated from protobuf field <code>repeated .google.protobuf.DescriptorProto message_type = 4;</code> 301 $this->message_type = $arr; variable
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_map_field.cc | 53 (*variables)["type"] = ClassName(descriptor->message_type(), false); in SetMessageVariables() 57 descriptor->message_type()->FindFieldByName("key"); in SetMessageVariables() 59 descriptor->message_type()->FindFieldByName("value"); in SetMessageVariables() 75 (*variables)["map_classname"] = ClassName(descriptor->message_type(), false); in SetMessageVariables() 214 descriptor_->message_type()->FindFieldByName("key"); in GenerateSerializeWithCachedSizesToArray() 216 descriptor_->message_type()->FindFieldByName("value"); in GenerateSerializeWithCachedSizesToArray()
|
H A D | cpp_message_field.cc | 65 QualifiedDefaultInstanceName(descriptor->message_type(), options); in SetMessageVariables() 67 QualifiedDefaultInstancePtr(descriptor->message_type(), options); in SetMessageVariables() 262 if (SupportsArenas(descriptor_->message_type()) && in GenerateInlineAccessorDefinitions() 270 } else if (!SupportsArenas(descriptor_->message_type())) { in GenerateInlineAccessorDefinitions() 524 if (SupportsArenas(descriptor_->message_type()) && in GenerateNonInlineAccessorDefinitions() 525 descriptor_->file() != descriptor_->message_type()->file()) { in GenerateNonInlineAccessorDefinitions() 532 } else if (!SupportsArenas(descriptor_->message_type())) { in GenerateNonInlineAccessorDefinitions()
|
H A D | cpp_helpers.cc | 515 return QualifiedClassName(field->message_type(), options); in FieldMessageTypeName() 832 const Descriptor* descriptor(file->message_type(i)); in HasLazyFields() 859 if (HasRepeatedFields(file->message_type(i))) return true; in HasRepeatedFields() 883 if (HasStringPieceFields(file->message_type(i), options)) return true; in HasStringPieceFields() 906 if (HasCordFields(file->message_type(i), options)) return true; in HasCordFields() 925 if (HasExtensionsOrExtendableMessage(file->message_type(i))) return true; in HasExtensionsOrExtendableMessage() 944 if (HasMapFields(file->message_type(i))) return true; in HasMapFields() 949 static bool HasEnumDefinitions(const Descriptor* message_type) { in HasEnumDefinitions() argument 950 if (message_type->enum_type_count() > 0) return true; in HasEnumDefinitions() 951 for (int i = 0; i < message_type in HasEnumDefinitions() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | extension_set_heavy.cc | 150 const Descriptor* message_type, in GetMessage() 155 return *factory->GetPrototype(message_type); in GetMessage() 160 *factory->GetPrototype(message_type)); in GetMessage() 176 factory->GetPrototype(descriptor->message_type()); in MutableMessage() 186 *factory->GetPrototype(descriptor->message_type())); in MutableMessage() 204 *factory->GetPrototype(descriptor->message_type())); in ReleaseMessage() 232 *factory->GetPrototype(descriptor->message_type())); in UnsafeArenaReleaseMessage() 272 prototype = factory->GetPrototype(descriptor->message_type()); in AddMessage() 307 factory_->GetPrototype(extension->message_type()); in Find() 149 GetMessage(int number, const Descriptor* message_type, MessageFactory* factory) const GetMessage() argument
|
H A D | descriptor_database.cc | 65 for (const auto& d : file_proto.message_type()) { in RecordMessageNames() 132 if (!AddSymbol(path + file.message_type(i).name(), value)) return false; in AddFile() 133 if (!AddNestedExtensions(file.name(), file.message_type(i), value)) in AddFile() 255 const std::string& filename, const DescriptorProto& message_type, in AddNestedExtensions() 257 for (int i = 0; i < message_type.nested_type_size(); i++) { in AddNestedExtensions() 258 if (!AddNestedExtensions(filename, message_type.nested_type(i), value)) in AddNestedExtensions() 261 for (int i = 0; i < message_type.extension_size(); i++) { in AddNestedExtensions() 262 if (!AddExtension(filename, message_type.extension(i), value)) return false; in AddNestedExtensions() 415 const DescProto& message_type); 648 for (const auto& message_type in AddFile() 254 AddNestedExtensions( const std::string& filename, const DescriptorProto& message_type, Value value) AddNestedExtensions() argument 734 AddNestedExtensions( StringPiece filename, const DescProto& message_type) AddNestedExtensions() argument [all...] |
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
H A D | csharp_wrapper_field.cc | 54 const FieldDescriptor* wrapped_field = descriptor->message_type()->field(0); in WrapperFieldGenerator() 160 if (descriptor_->message_type()->field(0)->type() == FieldDescriptor::TYPE_FLOAT) { in WriteHash() 163 else if (descriptor_->message_type()->field(0)->type() == FieldDescriptor::TYPE_DOUBLE) { in WriteHash() 171 if (descriptor_->message_type()->field(0)->type() == FieldDescriptor::TYPE_FLOAT) { in WriteEquals() 174 else if (descriptor_->message_type()->field(0)->type() == FieldDescriptor::TYPE_DOUBLE) { in WriteEquals()
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
H A D | ruby_generator.cc | 175 field->message_type()->FindFieldByNumber(1); in GenerateField() 177 field->message_type()->FindFieldByNumber(2); in GenerateField() 189 "subtype", value_field->message_type()->full_name()); in GenerateField() 211 "subtype", field->message_type()->full_name()); in GenerateField() 469 field->message_type()->file() == file) || in UsesTypeFromFile() 506 if (UsesTypeFromFile(from->message_type(i), import, error)) { in MaybeEmitDependency() 557 if (!GenerateMessage(file->message_type(i), printer, error)) { in GenerateFile() 572 GenerateMessageAssignment("", file->message_type(i), printer); in GenerateFile()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | check_spec_links.py | 131 message_type = MessageType.WARNING 151 message_type = MessageType.ERROR 154 self.diag(message_type, message_id, msg,
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_message_builder.cc | 66 return name_resolver->GetImmutableClassName(value_field->message_type()); in MapValueImmutableClassdName() 213 IsMapEntry(field->message_type())) { in GenerateDescriptorMethods() 644 HasRequiredFields(field->message_type())) { in GenerateIsInitialized() 652 name_resolver_->GetImmutableClassName(field->message_type()), in GenerateIsInitialized() 665 if (IsMapEntry(field->message_type())) { in GenerateIsInitialized() 673 MapValueImmutableClassdName(field->message_type(), in GenerateIsInitialized() 684 name_resolver_->GetImmutableClassName(field->message_type()), in GenerateIsInitialized()
|
/third_party/protobuf/python/google/protobuf/ |
H A D | descriptor_pool.py | 352 extension.message_type.full_name] = extension 768 for message_type in file_proto.message_type: 770 message_type, file_proto.package, file_descriptor, scope, 793 for desc_proto in file_proto.message_type: 801 for desc_proto in file_proto.message_type: 818 for message_type in file_desc.message_types_by_name.values(): 819 for extension in message_type.extensions: 997 message_type=None, 1043 """Sets the field's type, cpp_type, message_type an [all...] |
/third_party/protobuf/conformance/ |
H A D | conformance_python.py | 59 if request.message_type == "conformance.FailureSet": 113 isProto3 = (request.message_type == "protobuf_test_messages.proto3.TestAllTypesProto3") 115 isProto2 = (request.message_type == "protobuf_test_messages.proto2.TestAllTypesProto2")
|