Searched refs:sorted_extensions (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 401 vector<const Descriptor::ExtensionRange*> sorted_extensions; in GenerateSource() local 403 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateSource() 406 sort(sorted_extensions.begin(), sorted_extensions.end(), in GenerateSource() 553 if (sorted_extensions.size() != 0) { in GenerateSource() 556 for (int i = 0; i < sorted_extensions.size(); i++) { in GenerateSource() 558 "start", SimpleItoa(sorted_extensions[i]->start), in GenerateSource() 559 "end", SimpleItoa(sorted_extensions[i]->end)); in GenerateSource()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_lite.cc | 465 vector<const Descriptor::ExtensionRange*> sorted_extensions; in GenerateMessageSerializationMethods() local 467 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateMessageSerializationMethods() 469 std::sort(sorted_extensions.begin(), sorted_extensions.end(), in GenerateMessageSerializationMethods() 507 i < descriptor_->field_count() || j < sorted_extensions.size(); in GenerateMessageSerializationMethods() 510 GenerateSerializeOneExtensionRange(printer, sorted_extensions[j++]); in GenerateMessageSerializationMethods() 511 } else if (j == sorted_extensions.size()) { in GenerateMessageSerializationMethods() 513 } else if (sorted_fields[i]->number() < sorted_extensions[j]->start) { in GenerateMessageSerializationMethods() 516 GenerateSerializeOneExtensionRange(printer, sorted_extensions[j++]); in GenerateMessageSerializationMethods()
|
D | java_message.cc | 552 vector<const Descriptor::ExtensionRange*> sorted_extensions; in GenerateMessageSerializationMethods() local 554 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateMessageSerializationMethods() 556 std::sort(sorted_extensions.begin(), sorted_extensions.end(), in GenerateMessageSerializationMethods() 592 i < descriptor_->field_count() || j < sorted_extensions.size(); in GenerateMessageSerializationMethods() 595 GenerateSerializeOneExtensionRange(printer, sorted_extensions[j++]); in GenerateMessageSerializationMethods() 596 } else if (j == sorted_extensions.size()) { in GenerateMessageSerializationMethods() 598 } else if (sorted_fields[i]->number() < sorted_extensions[j]->start) { in GenerateMessageSerializationMethods() 601 GenerateSerializeOneExtensionRange(printer, sorted_extensions[j++]); in GenerateMessageSerializationMethods()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 3366 vector<const Descriptor::ExtensionRange*> sorted_extensions; in GenerateSerializeWithCachedSizesBody() local 3368 sorted_extensions.push_back(descriptor_->extension_range(i)); in GenerateSerializeWithCachedSizesBody() 3370 std::sort(sorted_extensions.begin(), sorted_extensions.end(), in GenerateSerializeWithCachedSizesBody() 3376 i < descriptor_->field_count() || j < sorted_extensions.size(); in GenerateSerializeWithCachedSizesBody() 3380 sorted_extensions[j++], in GenerateSerializeWithCachedSizesBody() 3382 } else if (j == sorted_extensions.size()) { in GenerateSerializeWithCachedSizesBody() 3384 } else if (ordered_fields[i]->number() < sorted_extensions[j]->start) { in GenerateSerializeWithCachedSizesBody() 3388 sorted_extensions[j++], in GenerateSerializeWithCachedSizesBody()
|