Searched refs:parent_type (Results 1 – 1 of 1) sorted by relevance
557 const Descriptor* parent_type = containing_type->containing_type(); in JSFieldIndex() local558 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()