Home
last modified time | relevance | path

Searched refs:fixed_buffer (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdftext_embeddertest.cpp42 unsigned short fixed_buffer[128]; in TEST_F() local
43 memset(fixed_buffer, 0xbd, sizeof(fixed_buffer)); in TEST_F()
47 EXPECT_EQ(0, FPDFText_GetText(textpage, -1, 128, fixed_buffer)); in TEST_F()
48 EXPECT_EQ(0, FPDFText_GetText(textpage, 0, -1, fixed_buffer)); in TEST_F()
49 EXPECT_EQ(1, FPDFText_GetText(textpage, 0, 0, fixed_buffer)); in TEST_F()
50 EXPECT_EQ(0, fixed_buffer[0]); in TEST_F()
53 memset(fixed_buffer, 0xbd, sizeof(fixed_buffer)); in TEST_F()
54 EXPECT_EQ(2, FPDFText_GetText(textpage, 0, 1, fixed_buffer)); in TEST_F()
55 EXPECT_EQ(expected[0], fixed_buffer[0]); in TEST_F()
56 EXPECT_EQ(0, fixed_buffer[1]); in TEST_F()
[all …]
Dfpdfview_embeddertest.cpp178 char fixed_buffer[512]; in TEST_F() local
189 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size); in TEST_F()
196 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size); in TEST_F()
200 std::string(fixed_buffer, buffer_size)); in TEST_F()
204 buffer_size = sizeof(fixed_buffer); in TEST_F()
205 dest = FPDF_GetNamedDest(document(), 1, fixed_buffer, &buffer_size); in TEST_F()
209 std::string(fixed_buffer, buffer_size)); in TEST_F()
214 buffer_size = sizeof(fixed_buffer); in TEST_F()
215 dest = FPDF_GetNamedDest(document(), 2, fixed_buffer, &buffer_size); in TEST_F()
217 EXPECT_EQ(sizeof(fixed_buffer), in TEST_F()
[all …]
/external/libchrome/mojo/public/cpp/bindings/
DBUILD.gn43 "lib/fixed_buffer.cc",
44 "lib/fixed_buffer.h",