/external/pdfium/core/fdrm/ |
D | fx_crypt_unittest.cpp | 202 for (size_t i = 0; i < FX_ArraySize(kExpected); i++) in TEST() 217 for (size_t i = 0; i < FX_ArraySize(kExpected); i++) in TEST() 233 for (size_t i = 0; i < FX_ArraySize(kExpected); i++) in TEST() 246 for (size_t i = 0; i < FX_ArraySize(kExpected); ++i) in TEST() 260 for (size_t i = 0; i < FX_ArraySize(kExpected); ++i) in TEST() 275 for (size_t i = 0; i < FX_ArraySize(kExpected); ++i) in TEST() 328 CRYPT_ArcFourSetup(&context, {kFooBar, FX_ArraySize(kFooBar) - 1}); in TEST() 346 uint8_t data_short[FX_ArraySize(kDataShort)]; in TEST() 347 memcpy(data_short, kDataShort, FX_ArraySize(kDataShort)); in TEST() 354 FX_ArraySize(kExpectedEncryptedDataShort) == FX_ArraySize(data_short), in TEST() [all …]
|
/external/pdfium/core/fxcodec/gif/ |
D | cfx_lzwdecompressor_unittest.cpp | 31 for (size_t i = 0; i < FX_ArraySize(dest_buf); ++i) in TEST() 51 for (; i < FX_ArraySize(dest_buf); ++i) in TEST() 68 FX_ArraySize(dest_buf))); in TEST() 72 for (; i < FX_ArraySize(dest_buf); ++i) in TEST() 86 uint32_t image_size = FX_ArraySize(image_data); in TEST() 89 uint32_t output_size = FX_ArraySize(output_data); in TEST() 115 uint32_t image_size = FX_ArraySize(image_data); in TEST() 118 uint8_t output_data[FX_ArraySize(expected_data)]; in TEST() 120 uint32_t output_size = FX_ArraySize(output_data); in TEST() 126 EXPECT_EQ(FX_ArraySize(output_data), output_size); in TEST() [all …]
|
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_HuffmanTable.cpp | 110 {false, kTableLine1, FX_ArraySize(kTableLine1)}, 111 {true, kTableLine2, FX_ArraySize(kTableLine2)}, 112 {true, kTableLine3, FX_ArraySize(kTableLine3)}, 113 {false, kTableLine4, FX_ArraySize(kTableLine4)}, 114 {false, kTableLine5, FX_ArraySize(kTableLine5)}, 115 {false, kTableLine6, FX_ArraySize(kTableLine6)}, 116 {false, kTableLine7, FX_ArraySize(kTableLine7)}, 117 {true, kTableLine8, FX_ArraySize(kTableLine8)}, 118 {true, kTableLine9, FX_ArraySize(kTableLine9)}, 119 {true, kTableLine10, FX_ArraySize(kTableLine10)}, [all …]
|
D | JBig2_ArithDecoder.cpp | 44 ASSERT(m_I < FX_ArraySize(kQeTable)); in DecodeNLPS() 50 ASSERT(m_I < FX_ArraySize(kQeTable)); in DecodeNMPS() 68 ASSERT(pCX->I() < FX_ArraySize(kQeTable)); in Decode()
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCodeWriter_unittest.cpp | 55 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 58 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F() 89 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 92 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F() 123 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 126 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F() 157 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 160 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F() 192 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 195 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F() [all …]
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_array_unittest.cpp | 40 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST() 45 ASSERT_EQ(FX_ArraySize(expected), arr->size()); in TEST() 46 for (size_t i = 0; i < FX_ArraySize(expected); ++i) in TEST() 51 ASSERT_EQ(FX_ArraySize(expected2), arr->size()); in TEST() 52 for (size_t i = 0; i < FX_ArraySize(expected2); ++i) in TEST() 59 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST() 62 EXPECT_EQ(FX_ArraySize(elems), arr->size()); in TEST() 70 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST() 72 EXPECT_EQ(FX_ArraySize(elems), arr->size()); in TEST() 81 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST() [all …]
|
D | cpdf_parser_unittest.cpp | 82 for (size_t i = 0; i < FX_ArraySize(offsets); ++i) in TEST() 84 for (size_t i = 0; i < FX_ArraySize(versions); ++i) in TEST() 122 static_assert(FX_ArraySize(kOffsets) == FX_ArraySize(kTypes), in TEST() 124 for (size_t i = 0; i < FX_ArraySize(kOffsets); ++i) { in TEST() 162 static_assert(FX_ArraySize(kOffsets) == FX_ArraySize(kTypes), in TEST() 164 for (size_t i = 0; i < FX_ArraySize(kOffsets); ++i) { in TEST() 202 static_assert(FX_ArraySize(kOffsets) == FX_ArraySize(kTypes), in TEST() 204 for (size_t i = 0; i < FX_ArraySize(kOffsets); ++i) { in TEST() 234 static_assert(FX_ArraySize(kOffsets) == FX_ArraySize(kTypes), in TEST() 236 for (size_t i = 0; i < FX_ArraySize(kOffsets); ++i) { in TEST()
|
D | cpdf_object_unittest.cpp | 73 size_t buf_len = FX_ArraySize(content); in SetUp() 95 for (size_t i = 0; i < FX_ArraySize(objs); ++i) in SetUp() 324 for (size_t i = 0; i < FX_ArraySize(set_values); ++i) { in TEST_F() 416 for (size_t i = 0; i < FX_ArraySize(elems); ++i) { in TEST() 437 for (size_t i = 0; i < FX_ArraySize(elems); ++i) { in TEST() 455 for (size_t i = 0; i < FX_ArraySize(vals); ++i) in TEST() 457 for (size_t i = 0; i < FX_ArraySize(vals); ++i) { in TEST() 472 for (size_t i = 0; i < FX_ArraySize(vals); ++i) in TEST() 474 for (size_t i = 0; i < FX_ArraySize(vals); ++i) { in TEST() 493 for (size_t i = 0; i < FX_ArraySize(vals); ++i) in TEST() [all …]
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_formcalc_context_embeddertest.cpp | 75 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 96 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 137 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 155 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 173 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 191 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 209 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 229 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 249 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 271 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() [all …]
|
/external/pdfium/fxbarcode/datamatrix/ |
D | BC_DataMatrixWriter_unittest.cpp | 44 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 47 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F() 71 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 74 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F() 94 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 97 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F() 126 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 129 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_docrenderdata_unittest.cpp | 91 size_t len = FX_ArraySize(content); in CreateType0FunctionStream() 133 size_t len = FX_ArraySize(content); in CreateType4FunctionStream() 153 size_t len = FX_ArraySize(content); in CreateBadType4FunctionStream() 181 ASSERT_EQ(FX_ArraySize(kExpectedType2FunctionSamples), r_samples.size()); in TEST() 182 ASSERT_EQ(FX_ArraySize(kExpectedType2FunctionSamples), g_samples.size()); in TEST() 183 ASSERT_EQ(FX_ArraySize(kExpectedType2FunctionSamples), b_samples.size()); in TEST() 185 for (size_t i = 0; i < FX_ArraySize(kExpectedType2FunctionSamples); ++i) { in TEST() 217 ASSERT_EQ(FX_ArraySize(kExpectedType0FunctionSamples), r_samples.size()); in TEST() 218 ASSERT_EQ(FX_ArraySize(kExpectedType2FunctionSamples), g_samples.size()); in TEST() 219 ASSERT_EQ(FX_ArraySize(kExpectedType4FunctionSamples), b_samples.size()); in TEST() [all …]
|
/external/pdfium/core/fxcrt/ |
D | cfx_seekablestreamproxy_unittest.cpp | 22 EXPECT_EQ(0u, proxy_stream->ReadBlock(buffer, FX_ArraySize(buffer))); in TEST() 32 EXPECT_EQ(0u, proxy_stream->ReadBlock(buffer, FX_ArraySize(buffer))); in TEST() 42 EXPECT_EQ(3u, proxy_stream->ReadBlock(buffer, FX_ArraySize(buffer))); in TEST() 55 EXPECT_EQ(2u, proxy_stream->ReadBlock(buffer, FX_ArraySize(buffer))); in TEST() 67 EXPECT_EQ(2u, proxy_stream->ReadBlock(buffer, FX_ArraySize(buffer))); in TEST()
|
D | fx_unicode.cpp | 33 FX_ArraySize(kTextLayoutCodeProperties); 66 FX_ArraySize(kExtendedTextLayoutCodeProperties); 125 FX_ArraySize(kFXTextLayoutBidiMirror);
|
/external/pdfium/fxbarcode/pdf417/ |
D | BC_PDF417Writer_unittest.cpp | 417 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 420 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F() 814 ASSERT_EQ(FX_ArraySize(kExpectedData), data.size()); in TEST_F() 817 for (size_t i = 0; i < FX_ArraySize(kExpectedData); ++i) in TEST_F()
|
D | BC_PDF417HighLevelEncoder_unittest.cpp | 40 for (size_t i = 0; i < FX_ArraySize(kEncodeHighLevelCases); ++i) { in TEST() 84 for (size_t i = 0; i < FX_ArraySize(kEncodeBinaryCases); ++i) { in TEST() 151 for (size_t i = 0; i < FX_ArraySize(kEncodeNumericCases); ++i) { in TEST() 196 for (size_t i = 0; i < FX_ArraySize(kConsecutiveDigitCases); ++i) { in TEST() 256 for (size_t i = 0; i < FX_ArraySize(kConsecutiveTextCases); ++i) { in TEST()
|
/external/pdfium/core/fxcodec/basic/ |
D | a85_unittest.cpp | 36 ASSERT_EQ(FX_ArraySize(expected_out), dest_size); in TEST() 57 ASSERT_EQ(FX_ArraySize(expected_out_1leftover), dest_size); in TEST() 75 ASSERT_EQ(FX_ArraySize(expected_out_2leftover), dest_size); in TEST() 93 ASSERT_EQ(FX_ArraySize(expected_out_3leftover), dest_size); in TEST() 114 ASSERT_EQ(FX_ArraySize(expected_out), dest_size); in TEST() 131 ASSERT_EQ(FX_ArraySize(expected_out_2), dest_size); in TEST() 149 ASSERT_EQ(FX_ArraySize(expected_out_leftover), dest_size); in TEST()
|
/external/pdfium/core/fpdfapi/font/ |
D | cfx_stockfontarray.cpp | 19 for (size_t i = 0; i < FX_ArraySize(m_StockFonts); ++i) { in ~CFX_StockFontArray() 29 if (index < FX_ArraySize(m_StockFonts)) in GetFont() 37 if (index < FX_ArraySize(m_StockFonts)) in SetFont()
|
/external/pdfium/core/fxge/ |
D | cfx_fontmgr.cpp | 78 ASSERT(index < FX_ArraySize(m_TTCFaces)); in SetFace() 83 ASSERT(index < FX_ArraySize(m_TTCFaces)); in GetFace() 164 if (index < FX_ArraySize(g_FoxitFonts)) { in GetBuiltinFont() 168 size_t mm_index = index - FX_ArraySize(g_FoxitFonts); in GetBuiltinFont() 169 if (mm_index < FX_ArraySize(g_MMFonts)) { in GetBuiltinFont()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_filespec_unittest.cpp | 105 static_assert(FX_ArraySize(test_data) == FX_ArraySize(keywords), in TEST() 110 for (size_t i = 0; i < FX_ArraySize(keywords); ++i) { in TEST() 201 static_assert(FX_ArraySize(keys) == FX_ArraySize(streams), "size mismatch"); in TEST() 206 for (size_t i = 0; i < FX_ArraySize(keys); ++i) { in TEST()
|
/external/pdfium/fxbarcode/oned/ |
D | BC_OnedCodaBarWriter.cpp | 39 static_assert(FX_ArraySize(kOnedCodaCharacterEncoding) == 22, "Wrong size"); 40 static_assert(FX_ArraySize(kOnedCodaCharacterEncoding) == 41 FX_ArraySize(kOnedCodaAlphabet), 163 for (size_t i = 0; i < FX_ArraySize(kOnedCodaAlphabet); i++) { in EncodeImpl()
|
D | BC_OnedCode39Writer.cpp | 40 constexpr size_t kOnedCode39AlphabetLen = FX_ArraySize(kOnedCode39Alphabet); 46 static_assert(FX_ArraySize(kOnedCode39Checksum) == 43, "Wrong size"); 54 static_assert(FX_ArraySize(kOnedCode39CharacterEncoding) == 44, "Wrong size"); 157 return kOnedCode39Checksum[checksum % FX_ArraySize(kOnedCode39Checksum)]; in CalcCheckSum()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_text_embeddertest.cpp | 24 constexpr int kHelloGoodbyeTextSize = FX_ArraySize(kHelloGoodbyeText); 648 static const int kNumLinks = static_cast<int>(FX_ArraySize(kExpectedUrls)); in TEST_F() 659 FPDFLink_GetURL(pagelink, i, buffer, FX_ArraySize(buffer))); in TEST_F() 687 FPDFLink_GetURL(pagelink, 1, buffer, FX_ArraySize(buffer))); in TEST_F() 821 ASSERT_EQ(FX_ArraySize(kExpectedFontsSizes), static_cast<size_t>(count)); in TEST_F() 940 for (size_t i = 0; i < FX_ArraySize(kData); ++i) in TEST_F() 943 unsigned short buffer[FX_ArraySize(kData) + 1]; in TEST_F() 946 FPDFText_GetText(textpage, kStartIndex, FX_ArraySize(kData), buffer); in TEST_F() 948 ASSERT_EQ(FX_ArraySize(kData) + 1, static_cast<size_t>(count)); in TEST_F() 949 for (size_t i = 0; i < FX_ArraySize(kData); ++i) in TEST_F() [all …]
|
/external/pdfium/core/fpdftext/ |
D | cpdf_linkextract_unittest.cpp | 33 for (size_t i = 0; i < FX_ArraySize(invalid_strs); ++i) { in TEST() 54 for (size_t i = 0; i < FX_ArraySize(valid_strs); ++i) { in TEST() 81 for (size_t i = 0; i < FX_ArraySize(invalid_cases); ++i) { in TEST() 176 for (size_t i = 0; i < FX_ArraySize(valid_cases); ++i) { in TEST()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_stroke.cpp | 29 pGraphics->SetLineDash(0, dashArray, FX_ArraySize(dashArray)); in XFA_StrokeTypeSetLineDash() 39 pGraphics->SetLineDash(0, dashArray, FX_ArraySize(dashArray)); in XFA_StrokeTypeSetLineDash() 47 pGraphics->SetLineDash(0, dashArray, FX_ArraySize(dashArray)); in XFA_StrokeTypeSetLineDash() 55 pGraphics->SetLineDash(0, dashArray, FX_ArraySize(dashArray)); in XFA_StrokeTypeSetLineDash()
|
/external/pdfium/xfa/fgas/crt/ |
D | cfgas_stringformatter_unittest.cpp | 116 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 165 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 197 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 225 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 286 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 635 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 665 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 683 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 697 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 713 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() [all …]
|