Home
last modified time | relevance | path

Searched refs:buffer2 (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/format/
DFormatUtils.java36 public static int overlapPoint(CharArrayBuffer buffer1, CharArrayBuffer buffer2) { in overlapPoint() argument
37 if (buffer1 == null || buffer2 == null) { in overlapPoint()
41 Arrays.copyOfRange(buffer2.data, 0, buffer2.sizeCopied)); in overlapPoint()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ditoatest.cpp60 char buffer2[Traits<T>::kBufferSize]; in VerifyValue() local
63 *g(value, buffer2) = '\0'; in VerifyValue()
66 EXPECT_STREQ(buffer1, buffer2); in VerifyValue()
Dwritertest.cpp131 StringBuffer buffer2; in TEST() local
132 Writer<StringBuffer> writer2(buffer2); in TEST()
137 EXPECT_STREQ(json, buffer2.GetString()); in TEST()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt315 val buffer2 = ByteArray(1000) in assertSameContents() constant
324 s2.read(buffer2, read2, read1 - read2).also { in assertSameContents()
329 assertEquals(buffer1.take(read1), buffer2.take(read1)) in assertSameContents()
331 assertEquals(-1, s2.read(buffer2, 0, 1), "Stream 2 is longer than stream 1") in assertSameContents()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dmisctest.cpp780 char buffer2[32]; in itoa_Writer_InsituStringStreamVerify() local
781 rapidjson::InsituStringStream ss(buffer2); in itoa_Writer_InsituStringStreamVerify()
787 ASSERT_STREQ(buffer, buffer2); in itoa_Writer_InsituStringStreamVerify()
847 char buffer2[32]; in itoa64_Writer_InsituStringStreamVerify() local
848 rapidjson::InsituStringStream ss(buffer2); in itoa64_Writer_InsituStringStreamVerify()
854 ASSERT_STREQ(buffer, buffer2); in itoa64_Writer_InsituStringStreamVerify()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dstream.md57 StringBuffer buffer2(allocator, 1024);