Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/
Djs_generator.cc557 const Descriptor* parent_type = containing_type->containing_type(); in JSFieldIndex() local
558 if (parent_type != NULL) { in JSFieldIndex()
559 for (int i = 0; i < parent_type->field_count(); i++) { in JSFieldIndex()
560 if (parent_type->field(i)->type() == FieldDescriptor::TYPE_GROUP && in JSFieldIndex()
561 parent_type->field(i)->message_type() == containing_type) { in JSFieldIndex()
562 return SimpleItoa(field->number() - parent_type->field(i)->number()); in JSFieldIndex()