Home
last modified time | relevance | path

Searched refs:enumvalues (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Demo/newmetaclasses/
DEnum.py40 enumvalues = ["%s: %d" % (val, getattr(cls, val))
42 if enumvalues:
43 s2 = ": {%s}" % ", ".join(enumvalues)
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc1110 namespace enumvalues { namespace
1177 return descriptor::NewMappingByName(&enumvalues::ContainerDef, descriptor); in NewMessageEnumValuesByName()
1294 namespace enumvalues { namespace
1347 return descriptor::NewMappingByName(&enumvalues::ContainerDef, descriptor); in NewEnumValuesByName()
1351 return descriptor::NewMappingByNumber(&enumvalues::ContainerDef, descriptor); in NewEnumValuesByNumber()
1355 return descriptor::NewSequence(&enumvalues::ContainerDef, descriptor); in NewEnumValuesSeq()