Home
last modified time | relevance | path

Searched refs:StringOutputStream (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/tools/aapt2/io/
DStringStream.cpp54 StringOutputStream::StringOutputStream(std::string* str, size_t buffer_capacity) in StringOutputStream() function in aapt::io::StringOutputStream
61 StringOutputStream::~StringOutputStream() { in ~StringOutputStream()
65 bool StringOutputStream::Next(void** data, size_t* size) { in Next()
76 void StringOutputStream::BackUp(size_t count) { in BackUp()
84 size_t StringOutputStream::ByteCount() const { in ByteCount()
88 void StringOutputStream::Flush() { in Flush()
94 void StringOutputStream::FlushImpl() { in FlushImpl()
DStringStream.h57 class StringOutputStream : public OutputStream {
59 explicit StringOutputStream(std::string* str, size_t buffer_capacity = 4096u);
61 ~StringOutputStream();
80 DISALLOW_COPY_AND_ASSIGN(StringOutputStream);
DStringStream_test.cpp78 StringOutputStream out(&output, 10u); in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc152 StringOutputStream::StringOutputStream(string* target) in StringOutputStream() function in google::protobuf::io::StringOutputStream
156 StringOutputStream::~StringOutputStream() { in ~StringOutputStream()
159 bool StringOutputStream::Next(void** data, int* size) { in Next()
190 void StringOutputStream::BackUp(int count) { in BackUp()
197 int64 StringOutputStream::ByteCount() const { in ByteCount()
202 void StringOutputStream::SetString(string* target) { in SetString()
210 : StringOutputStream(NULL), in LazyStringOutputStream()
223 return StringOutputStream::Next(data, size); in Next()
227 return string_is_set_ ? StringOutputStream::ByteCount() : 0; in ByteCount()
Dzero_copy_stream_impl_lite.h132 class LIBPROTOBUF_EXPORT StringOutputStream : public ZeroCopyOutputStream {
143 explicit StringOutputStream(string* target);
144 ~StringOutputStream();
159 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(StringOutputStream);
165 class LIBPROTOBUF_EXPORT LazyStringOutputStream : public StringOutputStream {
Dzero_copy_stream_unittest.cc543 StringOutputStream output(&result); in Compress()
709 StringOutputStream output(&str); in TEST_F()
/frameworks/base/tools/aapt2/java/
DAnnotationProcessor_test.cpp23 using ::aapt::io::StringOutputStream;
41 StringOutputStream out(&annotations); in TEST()
54 StringOutputStream out(&annotations); in TEST()
69 StringOutputStream out(&annotations); in TEST()
DJavaClassGenerator_test.cpp25 using ::aapt::io::StringOutputStream;
50 StringOutputStream out(&result); in TEST()
75 StringOutputStream out(&output); in TEST()
100 StringOutputStream out(&output); in TEST()
138 StringOutputStream out(&output); in TEST()
175 StringOutputStream out(&output); in TEST()
206 StringOutputStream out(&output); in TEST()
219 StringOutputStream out(&output); in TEST()
232 StringOutputStream out(&output); in TEST()
298 StringOutputStream out(&output); in TEST()
[all …]
DManifestClassGenerator_test.cpp22 using ::aapt::io::StringOutputStream;
164 StringOutputStream out(out_str);
DProguardRules_test.cpp23 using ::aapt::io::StringOutputStream;
32 StringOutputStream sout(&out); in GetKeepSetString()
/frameworks/base/tools/aapt2/text/
DPrinter_test.cpp22 using ::aapt::io::StringOutputStream;
31 StringOutputStream out(&result); in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format_unittest.cc283 io::StringOutputStream raw_output(&generated_data); in TEST()
291 io::StringOutputStream raw_output(&dynamic_data); in TEST()
313 io::StringOutputStream raw_output(&generated_data); in TEST()
321 io::StringOutputStream raw_output(&dynamic_data); in TEST()
343 io::StringOutputStream raw_output(&generated_data); in TEST()
351 io::StringOutputStream raw_output(&dynamic_data); in TEST()
377 io::StringOutputStream raw_output(&generated_data); in TEST()
385 io::StringOutputStream raw_output(&dynamic_data); in TEST()
503 io::StringOutputStream string_stream(&dynamic_data); in TEST()
573 io::StringOutputStream output_stream(&data); in TEST()
[all …]
Dtext_format.cc1499 io::StringOutputStream output_stream(output); in PrintToString()
1510 io::StringOutputStream output_stream(output); in PrintUnknownFieldsToString()
1622 io::StringOutputStream output_stream(output); in PrintFieldValueToString()
Dunknown_field_set_unittest.cc244 io::StringOutputStream raw_output(&data); in TEST_F()
Dlite_unittest.cc335 google::protobuf::io::StringOutputStream output_stream(&buffer); in main()
Dextension_set_heavy.cc692 io::StringOutputStream output_stream(&message_data); in ParseMessageSetItem()
Dwire_format.cc760 io::StringOutputStream output_stream(&message_data); in ParseAndMergeMessageSetItem()
/frameworks/base/tools/aapt2/format/
DContainer_test.cpp24 using ::google::protobuf::io::StringOutputStream;
40 StringOutputStream out_stream(&output_str); in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Djson_objectwriter_test.cc43 using google::protobuf::io::StringOutputStream;
48 : str_stream_(new StringOutputStream(&output_)), in JsonObjectWriterTest()
59 StringOutputStream* const str_stream_;
Dproto_writer.h326 google::protobuf::io::StringOutputStream adapter_;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dplugin.cc76 return new io::StringOutputStream(file->mutable_content()); in Open()
84 return new io::StringOutputStream(file->mutable_content()); in OpenForInsert()
Dcommand_line_interface.cc405 google::protobuf::scoped_ptr<io::StringOutputStream> inner_;
578 inner_(new io::StringOutputStream(&data_)) { in MemoryOutputStream()
587 inner_(new io::StringOutputStream(&data_)) { in MemoryOutputStream()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Djson_util.cc100 io::StringOutputStream output_stream(json_output); in BinaryToJsonString()
175 io::StringOutputStream output_stream(binary_output); in JsonToBinaryString()
Dmessage_differencer.cc399 io::StringOutputStream output_stream(output_string_); in Compare()
437 io::StringOutputStream output_stream(output_string_); in CompareWithFields()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_bootstrap_unittest.cc114 return new io::StringOutputStream(*map_slot); in Open()

12