Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/java/
Djava_shared_code_generator.cc130 static const int kBytesPerLine = 40; in GenerateDescriptors() local
131 for (int i = 0; i < file_data.size(); i += kBytesPerLine) { in GenerateDescriptors()
142 "data", CEscape(file_data.substr(i, kBytesPerLine))); in GenerateDescriptors()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_enum.cc152 static const int kBytesPerLine = 40; // allow for escaping in GenerateSource() local
155 for (int i = 0; i < text_blob.size(); i += kBytesPerLine) { in GenerateSource()
158 "data", EscapeTrigraphs(CEscape(text_blob.substr(i, kBytesPerLine)))); in GenerateSource()
Dobjectivec_message.cc541 static const int kBytesPerLine = 40; // allow for escaping in GenerateSource() local
542 for (int i = 0; i < text_format_data_str.size(); i += kBytesPerLine) { in GenerateSource()
546 CEscape(text_format_data_str.substr(i, kBytesPerLine)))); in GenerateSource()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.cc625 static const int kBytesPerLine = 25; in GenerateBuildDescriptors() local
627 for (int j = 0; j < kBytesPerLine && i < file_data.size(); ++i, ++j) { in GenerateBuildDescriptors()
649 static const int kBytesPerLine = 40; in GenerateBuildDescriptors() local
650 for (int i = 0; i < file_data.size(); i += kBytesPerLine) { in GenerateBuildDescriptors()
654 CEscape(file_data.substr(i, kBytesPerLine)))); in GenerateBuildDescriptors()