Home
last modified time | relevance | path

Searched refs:StringBuffer (Results 1 – 25 of 67) sorted by relevance

123

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dstringbuffertest.cpp21 TEST(StringBuffer, InitialSize) { in TEST() argument
22 StringBuffer buffer; in TEST()
27 TEST(StringBuffer, Put) { in TEST() argument
28 StringBuffer buffer; in TEST()
35 TEST(StringBuffer, Clear) { in TEST() argument
36 StringBuffer buffer; in TEST()
46 TEST(StringBuffer, Push) { in TEST() argument
47 StringBuffer buffer; in TEST()
57 TEST(StringBuffer, Pop) { in TEST() argument
58 StringBuffer buffer; in TEST()
[all …]
Dwritertest.cpp26 StringBuffer buffer; in TEST()
27 Writer<StringBuffer> writer(buffer); in TEST()
40 StringBuffer buffer; \
41 Writer<StringBuffer> writer(buffer); \
89 StringBuffer buffer; in TEST()
90 Writer<StringBuffer> writer(buffer); in TEST()
116 StringBuffer buffer; in TEST()
117 Writer<StringBuffer, UTF16<>, UTF8<> > writer(buffer); in TEST()
126 StringBuffer buffer; in TEST()
127 Writer<StringBuffer, UTF8<>, ASCII<> > writer(buffer); in TEST()
[all …]
Dprettywritertest.cpp43 StringBuffer buffer; in TEST()
44 PrettyWriter<StringBuffer> writer(buffer); in TEST()
52 StringBuffer buffer; in TEST()
53 PrettyWriter<StringBuffer> writer(buffer); in TEST()
79 StringBuffer buffer; in TEST()
80 PrettyWriter<StringBuffer> writer(buffer); in TEST()
89 StringBuffer buffer; in TEST()
90 PrettyWriter<StringBuffer> writer(buffer); in TEST()
Dnamespacetest.cpp47 typedef RAPIDJSON_NAMESPACE::StringBuffer StringBuffer; in TEST() typedef
48 typedef RAPIDJSON_NAMESPACE::Writer<StringBuffer> WriterType; in TEST()
51 StringBuffer buffer; in TEST()
Ddocumenttest.cpp136 StringBuffer bos; in TEST()
137 typedef EncodedOutputStream<UTF8<>, StringBuffer> OutputStream; in TEST()
147 StringBuffer bos2; in TEST()
148 Writer<StringBuffer> writer(bos2); in TEST()
177 StringBuffer bos; in TEST()
178 Writer<StringBuffer> writer(bos); in TEST()
186 StringBuffer bos2; in TEST()
187 Writer<StringBuffer> writer(bos2); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dmisctest.cpp419 bool Writer1<rapidjson::StringBuffer>::WriteUint(unsigned u) { in WriteUint()
592 inline bool Writer3<rapidjson::StringBuffer>::WriteUint(unsigned u) { in WriteUint()
606 inline bool Writer3<rapidjson::StringBuffer>::WriteUint64(uint64_t u) { in WriteUint64()
734 inline bool Writer4<rapidjson::StringBuffer>::WriteUint(unsigned u) { in WriteUint()
748 inline bool Writer4<rapidjson::StringBuffer>::WriteUint64(uint64_t u) { in WriteUint64()
763 rapidjson::StringBuffer sb; in itoa_Writer_StringBufferVerify()
795 rapidjson::StringBuffer sb; in itoa_Writer_StringBuffer()
828 rapidjson::StringBuffer sb; in itoa64_Writer_StringBufferVerify()
862 rapidjson::StringBuffer sb; in itoa64_Writer_StringBuffer()
932 …ingBufferVerify) { itoa_Writer_StringBufferVerify<rapidjson::Writer<rapidjson::StringBuffer> >(); } in TEST_F()
[all …]
Drapidjsontest.cpp271 StringBuffer s(0, 1024 * 1024); in TEST_F()
272 Writer<StringBuffer> writer(s); in TEST_F()
283 StringBuffer s(0, 2048 * 1024); in TEST_F()
284 PrettyWriter<StringBuffer> writer(s); in TEST_F()
/packages/apps/TV/tuner/src/com/android/tv/tuner/util/
DStatusTextUtils.java49 StringBuffer buffer = new StringBuffer(); in getStatusWarningInHTML()
105 StringBuffer buffer, String factorName, long value, int minRed, int minYellow) { in appendStatusLine()
122 StringBuffer buffer, String factorName, int value, int minGreen, int minYellow) { in appendErrorStatusLine()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DAbstractDialpadFragment.java65 private final StringBuffer mNumber = new StringBuffer();
72 abstract void presentDialedNumber(@NonNull StringBuffer number); in presentDialedNumber()
198 StringBuffer getNumber() { in getNumber()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dwriter.h350 inline bool Writer<StringBuffer>::WriteInt(int i) { in WriteInt()
358 inline bool Writer<StringBuffer>::WriteUint(unsigned u) { in WriteUint()
366 inline bool Writer<StringBuffer>::WriteInt64(int64_t i64) { in WriteInt64()
374 inline bool Writer<StringBuffer>::WriteUint64(uint64_t u) { in WriteUint64()
382 inline bool Writer<StringBuffer>::WriteDouble(double d) { in WriteDouble()
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepDefaultClientTests.java30 import java.lang.StringBuffer;
83 StringBuffer string = new StringBuffer(size); in getLargeNdef()
DSnepCustomClientTests.java30 import java.lang.StringBuffer;
83 StringBuffer string = new StringBuffer(size); in getLargeNdef()
DSnepValidationServerTests.java30 import java.lang.StringBuffer;
76 StringBuffer string = new StringBuffer(size); in getLargeNdef()
DSnepValidationClientTests.java30 import java.lang.StringBuffer;
189 StringBuffer string = new StringBuffer(size); in getLargeNdef()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dstream.md39 ## StringBuffer (Output) {#StringBuffer}
41 `StringBuffer` is a simple output stream. It allocates a memory buffer for writing the whole JSON. …
46 StringBuffer buffer;
47 Writer<StringBuffer> writer(buffer);
56 StringBuffer buffer1(0, 1024); // Use its allocator, initial size = 1024
57 StringBuffer buffer2(allocator, 1024);
60 By default, `StringBuffer` will instantiate an internal allocator.
62 Similarly, `StringBuffer` is a typedef of `GenericStringBuffer<UTF8<> >`.
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentActivity.java125 StringBuffer strBuffer = new StringBuffer(); in onAttachFragment()
181 StringBuffer strBuffer = new StringBuffer(line); in getTextStringFromContentUri()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simpledom/
Dsimpledom.cpp22 StringBuffer buffer; in main()
23 Writer<StringBuffer> writer(buffer); in main()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiStatusTest.java184 StringBuffer ipBuf = new StringBuffer();
270 StringBuffer scanList = new StringBuffer(); in handleScanResultsAvailable()
DWifiConfigInfo.java52 StringBuffer configList = new StringBuffer(); in onResume()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java184 StringBuffer ipBuf = new StringBuffer();
270 StringBuffer scanList = new StringBuffer(); in handleScanResultsAvailable()
DWifiConfigInfo.java52 StringBuffer configList = new StringBuffer(); in onResume()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplewriter/
Dsimplewriter.cpp9 StringBuffer s; in main()
10 Writer<StringBuffer> writer(s); in main()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DLayer2Information.java46 StringBuffer str = new StringBuffer(); in toString()
/packages/apps/Test/connectivity/sl4n/
Dmain.cpp48 rapidjson::StringBuffer buffer; in SockTest()
49 rapidjson::Writer<rapidjson::StringBuffer> writer(buffer); in SockTest()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMultipart.java59 StringBuffer sb = new StringBuffer(); in generateBoundary()

123