/external/protobuf/src/google/protobuf/util/internal/ |
datapiece.h | 152 util::StatusOr<int> ToEnum(const google::protobuf::Enum* enum_type) const;
|
default_value_objectwriter.cc | 397 const google::protobuf::Enum* enum_type = local 399 if (!enum_type) { 405 return enum_type->enumvalue_size() > 0 406 ? DataPiece(enum_type->enumvalue(0).name(), true)
|
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/ |
descriptor_source_test_base.py | 61 enum_proto = file_proto.enum_type.add(name='DataType')
|
/external/protobuf/src/google/protobuf/compiler/ |
parser.cc | [all...] |
parser.h | 298 bool ParseEnumDefinition(EnumDescriptorProto* enum_type, 319 bool ParseEnumBlock(EnumDescriptorProto* enum_type,
|
/external/protobuf/python/google/protobuf/pyext/ |
descriptor_containers.cc | 1136 const EnumDescriptor* enum_type = NULL; local [all...] |
descriptor.cc | 565 const EnumDescriptor *enum_type = local 567 if (enum_type == NULL) { 572 enum_type->FindValueByNumber(number); 793 const EnumDescriptor* enum_type = _GetDescriptor(self)->enum_type(); local 794 if (enum_type) { 795 return PyEnumDescriptor_FromDescriptor(enum_type); 802 return CheckCalledFromGeneratedFile("enum_type"); 899 { "enum_type", (getter)GetEnumType, (setter)SetEnumType, "Enum type"}, [all...] |
/external/protobuf/python/google/protobuf/internal/ |
decoder.py | 354 enum_type = key.enum_type 368 if element in enum_type.values_by_number: 378 if element in enum_type.values_by_number: 394 if element in enum_type.values_by_number: 416 if enum_value in enum_type.values_by_number:
|
/external/protobuf/src/google/protobuf/ |
descriptor.h | 274 const EnumDescriptor* enum_type(int index) const; 614 const EnumDescriptor* enum_type() const; [all...] |
descriptor.cc | 5989 const EnumDescriptor* enum_type = option_field->enum_type(); local [all...] |
descriptor_unittest.cc | 298 foo_enum_ = foo_file_->enum_type(0); 309 bar_enum_ = bar_file_->enum_type(0); 637 enum_ = foo_file_->enum_type(0); 2273 const EnumDescriptor* enum_type = file->enum_type(0); local [all...] |
/external/tensorflow/tensorflow/tools/proto_text/ |
gen_proto_text_functions_lib.cc | 283 GetQualifiedEnumNameFn(*field.enum_type()), "(", field_expr, ");"); 537 const auto* enum_d = field->enum_type(); 677 AppendEnumFunctions(*md.enum_type(i)); 745 GetAllFileDescriptorsFromFile(f->enum_type()->file(), all_fd, all_d); 829 AppendEnumFunctions(*fd.enum_type(i));
|
/external/protobuf/python/google/protobuf/ |
json_format.py | 180 enum_value = field.enum_type.values_by_number.get(value, None) 556 enum_value = field.enum_type.values_by_name.get(value, None) 561 field.enum_type.full_name, value))
|
/external/python/apitools/apitools/gen/ |
command_registry.py | 278 enum_type = self.__LookupMessage(extended_message, field) 279 if enum_type is None: 281 flag_info.enum_values = [x.name for x in enum_type.values]
|
/external/perfetto/src/perfetto_cmd/ |
pbtxt_to_pb.cc | 618 for (const EnumDescriptorProto& enum_descriptor : descriptor->enum_type()) { 646 for (const auto& enum_descriptor : file_descriptor.enum_type()) {
|
/external/protobuf/src/google/protobuf/compiler/js/ |
js_generator.cc | 833 return GetPath(options, field->enum_type()); 884 return GetPath(options, field->enum_type()); [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_map_field.cc | 70 (*variables)["val_cpp"] = ClassName(val->enum_type(), true);
|
metadata_test.cc | 199 EXPECT_EQ("Enum", file.enum_type(0).name());
|
cpp_enum_field.cc | 53 (*variables)["type"] = ClassName(descriptor->enum_type(), true);
|
/external/protobuf/src/google/protobuf/compiler/java/ |
java_map_field.cc | 66 return name_resolver->GetImmutableClassName(field->enum_type());
|
java_map_field_lite.cc | 66 return name_resolver->GetImmutableClassName(field->enum_type());
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_file.cc | 175 EnumGenerator(file_->enum_type(i), params_).Generate(printer);
|
javamicro_helpers.cc | 339 return ClassName(params, field->enum_type()) + "." +
|
/external/libcxx/test/support/ |
rapid-cxx-test.hpp | 473 enum enum_type { enum in struct:rapid_cxx_test::failure_type 484 typedef failure_type::enum_type failure_type_t; [all...] |
/external/perfetto/tools/proto_to_cpp/ |
proto_to_cpp.cc | 194 return field->enum_type()->name(); 292 const EnumDescriptor* enum_desc = field->enum_type();
|