Home
last modified time | relevance | path

Searched refs:has_fields (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc458 bool has_fields = descriptor_->field_count() > 0; in GenerateSource() local
466 if (has_fields) { in GenerateSource()
493 vars["fields"] = has_fields ? "fields" : "NULL"; in GenerateSource()
494 if (has_fields) { in GenerateSource()
/external/perfetto/src/protozero/protoc_plugin/
Dprotozero_generator.cc578 const bool has_fields = (message->field_count() > 0); in GenerateConstantsForMessageFields() local
581 if (has_fields) { in GenerateConstantsForMessageFields()
/external/tensorflow/tensorflow/python/util/
Dutil.cc865 int has_fields = PyObject_HasAttrString(o, "_fields"); in IsNamedtuple() local
866 if (!has_fields) { in IsNamedtuple()