Searched refs:has_fields (Results 1 – 3 of 3) sorted by relevance
458 bool has_fields = descriptor_->field_count() > 0; in GenerateSource() local466 if (has_fields) { in GenerateSource()493 vars["fields"] = has_fields ? "fields" : "NULL"; in GenerateSource()494 if (has_fields) { in GenerateSource()
578 const bool has_fields = (message->field_count() > 0); in GenerateConstantsForMessageFields() local581 if (has_fields) { in GenerateConstantsForMessageFields()
865 int has_fields = PyObject_HasAttrString(o, "_fields"); in IsNamedtuple() local866 if (!has_fields) { in IsNamedtuple()