OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:enum_descriptor
(Results
1 - 6
of
6
) sorted by null
/external/protobuf/src/google/protobuf/compiler/cpp/
cpp_helpers.cc
132
string ClassName(const EnumDescriptor*
enum_descriptor
, bool qualified) {
133
if (
enum_descriptor
->containing_type() == NULL) {
135
return DotsToColons(
enum_descriptor
->full_name());
137
return
enum_descriptor
->name();
140
string result = ClassName(
enum_descriptor
->containing_type(), qualified);
142
result +=
enum_descriptor
->name();
cpp_helpers.h
61
string ClassName(const EnumDescriptor*
enum_descriptor
, bool qualified);
/external/protobuf/src/google/protobuf/compiler/python/
python_generator.cc
324
const EnumDescriptor&
enum_descriptor
= *file_->enum_type(i);
local
325
PrintEnum(
enum_descriptor
);
328
for (int j = 0; j <
enum_descriptor
.value_count(); ++j) {
329
const EnumValueDescriptor& value_descriptor = *
enum_descriptor
.value(j);
352
//
enum_descriptor
.
353
void Generator::PrintEnum(const EnumDescriptor&
enum_descriptor
) const {
355
m["descriptor_name"] = ModuleLevelDescriptorName(
enum_descriptor
);
356
m["name"] =
enum_descriptor
.name();
357
m["full_name"] =
enum_descriptor
.full_name();
367
enum_descriptor
.options().SerializeToString(&options_string)
672
const EnumDescriptor&
enum_descriptor
= *descriptor.enum_type(i);
local
[
all
...]
python_generator.h
78
void PrintEnum(const EnumDescriptor&
enum_descriptor
) const;
/external/protobuf/python/google/protobuf/
text_format.py
262
enum_descriptor
= field.enum_type
265
enum_value =
enum_descriptor
.values_by_number.get(number, None)
269
enum_descriptor
.full_name, number))
272
enum_value =
enum_descriptor
.values_by_name.get(identifier, None)
276
enum_descriptor
.full_name, identifier))
/external/protobuf/src/google/protobuf/
descriptor.cc
228
const EnumDescriptor*
enum_descriptor
;
member in union:google::protobuf::__anon12882::Symbol::__anon12883
253
CONSTRUCTOR(EnumDescriptor , ENUM ,
enum_descriptor
)
265
case ENUM : return
enum_descriptor
->file();
[
all
...]
Completed in 373 milliseconds