Searched refs:file_data (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_shared_code_generator.cc | 138 string file_data; in GenerateDescriptors() local 139 file_proto.SerializeToString(&file_data); in GenerateDescriptors() 147 for (int i = 0; i < file_data.size(); i += kBytesPerLine) { in GenerateDescriptors() 158 "data", CEscape(file_data.substr(i, kBytesPerLine))); in GenerateDescriptors()
|
D | java_file.cc | 125 const string& file_data) { in CollectExtensions() argument 142 GOOGLE_CHECK(dynamic_file_proto->ParseFromString(file_data)); in CollectExtensions() 430 string file_data; in GenerateDescriptorInitializationCodeForImmutable() local 431 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForImmutable() 433 CollectExtensions(file_proto, *file_->pool(), &extensions, file_data); in GenerateDescriptorInitializationCodeForImmutable() 501 string file_data; in GenerateDescriptorInitializationCodeForMutable() local 502 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForMutable() 504 CollectExtensions(file_proto, *file_->pool(), &extensions, file_data); in GenerateDescriptorInitializationCodeForMutable()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_file.cc | 593 string file_data; in GenerateBuildDescriptors() local 594 file_proto.SerializeToString(&file_data); in GenerateBuildDescriptors() 604 if (breakdown_large_file && file_data.size() > 65535) { in GenerateBuildDescriptors() 616 for (int i = 0; i < file_data.size();) { in GenerateBuildDescriptors() 617 for (int j = 0; j < kBytesPerLine && i < file_data.size(); ++i, ++j) { in GenerateBuildDescriptors() 620 "char", SimpleItoa(file_data[i])); in GenerateBuildDescriptors() 632 "size", SimpleItoa(file_data.size())); in GenerateBuildDescriptors() 640 for (int i = 0; i < file_data.size(); i += kBytesPerLine) { in GenerateBuildDescriptors() 644 CEscape(file_data.substr(i, kBytesPerLine)))); in GenerateBuildDescriptors() 648 "size", SimpleItoa(file_data.size())); in GenerateBuildDescriptors()
|