/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_HuffmanTable_Standard.cpp | 17 const size_t HuffmanTable_B1_Size = FX_ArraySize(HuffmanTable_B1); 23 const size_t HuffmanTable_B2_Size = FX_ArraySize(HuffmanTable_B2); 29 const size_t HuffmanTable_B3_Size = FX_ArraySize(HuffmanTable_B3); 36 const size_t HuffmanTable_B4_Size = FX_ArraySize(HuffmanTable_B4); 42 const size_t HuffmanTable_B5_Size = FX_ArraySize(HuffmanTable_B5); 49 const size_t HuffmanTable_B6_Size = FX_ArraySize(HuffmanTable_B6); 57 const size_t HuffmanTable_B7_Size = FX_ArraySize(HuffmanTable_B7); 66 const size_t HuffmanTable_B8_Size = FX_ArraySize(HuffmanTable_B8); 75 const size_t HuffmanTable_B9_Size = FX_ArraySize(HuffmanTable_B9); 84 const size_t HuffmanTable_B10_Size = FX_ArraySize(HuffmanTable_B10); [all …]
|
/external/pdfium/core/fdrm/crypto/ |
D | fx_crypt_unittest.cpp | 277 CRYPT_ArcFourSetup(&context, kFooBar, FX_ArraySize(kFooBar) - 1); in TEST() 294 uint8_t data_short[FX_ArraySize(kDataShort)]; in TEST() 295 memcpy(data_short, kDataShort, FX_ArraySize(kDataShort)); in TEST() 302 FX_ArraySize(kExpectedEncryptedDataShort) == FX_ArraySize(data_short), in TEST() 304 CRYPT_ArcFourCrypt(&context, data_short, FX_ArraySize(data_short)); in TEST() 305 for (size_t i = 0; i < FX_ArraySize(data_short); ++i) in TEST() 334 uint8_t data_long[FX_ArraySize(kDataLong)]; in TEST() 335 memcpy(data_long, kDataLong, FX_ArraySize(kDataLong)); in TEST() 358 FX_ArraySize(kExpectedEncryptedDataLong) == FX_ArraySize(data_long), in TEST() 360 static_assert(FX_ArraySize(data_long) > 256, "too short"); in TEST() [all …]
|
/external/pdfium/core/fxcodec/gif/ |
D | cfx_lzwdecompressor_unittest.cpp | 31 for (size_t i = 0; i < FX_ArraySize(des_buf); ++i) in TEST() 51 for (; i < FX_ArraySize(des_buf); ++i) in TEST() 68 decompressor->ExtractDataForTest(des_buf, FX_ArraySize(des_buf))); in TEST() 72 for (; i < FX_ArraySize(des_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/fpdfapi/parser/ |
D | cpdf_array_unittest.cpp | 19 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST() 24 ASSERT_EQ(FX_ArraySize(expected), arr->GetCount()); in TEST() 25 for (size_t i = 0; i < FX_ArraySize(expected); ++i) in TEST() 30 ASSERT_EQ(FX_ArraySize(expected2), arr->GetCount()); in TEST() 31 for (size_t i = 0; i < FX_ArraySize(expected2); ++i) in TEST() 38 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST() 41 EXPECT_EQ(FX_ArraySize(elems), arr->GetCount()); in TEST() 49 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST() 51 EXPECT_EQ(FX_ArraySize(elems), arr->GetCount()); in TEST() 60 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST() [all …]
|
D | cpdf_parser_unittest.cpp | 63 for (size_t i = 0; i < FX_ArraySize(offsets); ++i) in TEST() 65 for (size_t i = 0; i < FX_ArraySize(versions); ++i) in TEST() 93 parser.InitTestFromBuffer(xref_table, FX_ArraySize(xref_table))); in TEST() 104 for (size_t i = 0; i < FX_ArraySize(offsets); ++i) { in TEST() 124 parser.InitTestFromBuffer(xref_table, FX_ArraySize(xref_table))); in TEST() 143 for (size_t i = 0; i < FX_ArraySize(offsets); ++i) { in TEST() 163 parser.InitTestFromBuffer(xref_table, FX_ArraySize(xref_table))); in TEST() 182 for (size_t i = 0; i < FX_ArraySize(offsets); ++i) { in TEST() 201 parser.InitTestFromBuffer(xref_table, FX_ArraySize(xref_table))); in TEST() 213 for (size_t i = 0; i < FX_ArraySize(offsets); ++i) { in TEST()
|
D | cpdf_cross_ref_avail_unittest.cpp | 44 auto parser = MakeParserForBuffer(xref_table, FX_ArraySize(xref_table)); in TEST() 61 auto parser = MakeParserForBuffer(xref_stream, FX_ArraySize(xref_stream)); in TEST() 79 auto parser = MakeParserForBuffer(xref_stream, FX_ArraySize(xref_stream)); in TEST() 96 auto parser = MakeParserForBuffer(xref_stream, FX_ArraySize(xref_stream)); in TEST() 118 auto parser = MakeParserForBuffer(xref_table, FX_ArraySize(xref_table)); in TEST() 131 MakeParserForBuffer(incorrect_data, FX_ArraySize(incorrect_data)); in TEST() 296 FX_ArraySize(invalid_xref_stream)); in TEST() 319 auto parser = MakeParserForBuffer(xref_table, FX_ArraySize(xref_table)); in TEST() 335 auto parser = MakeParserForBuffer(xref_stream, FX_ArraySize(xref_stream)); in TEST()
|
D | cpdf_object_unittest.cpp | 69 size_t buf_len = FX_ArraySize(content); in SetUp() 90 for (size_t i = 0; i < FX_ArraySize(objs); ++i) in SetUp() 317 for (size_t i = 0; i < FX_ArraySize(set_values); ++i) { in TEST_F() 397 for (size_t i = 0; i < FX_ArraySize(elems); ++i) { in TEST() 418 for (size_t i = 0; i < FX_ArraySize(elems); ++i) { in TEST() 436 for (size_t i = 0; i < FX_ArraySize(vals); ++i) in TEST() 438 for (size_t i = 0; i < FX_ArraySize(vals); ++i) { in TEST() 453 for (size_t i = 0; i < FX_ArraySize(vals); ++i) in TEST() 455 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() [all …]
|
D | fpdf_parser_decode_unittest.cpp | 29 for (size_t i = 0; i < FX_ArraySize(test_data); ++i) { in TEST() 64 for (size_t i = 0; i < FX_ArraySize(test_data); ++i) { in TEST() 100 for (size_t i = 0; i < FX_ArraySize(test_data); ++i) { in TEST()
|
D | cpdf_simple_parser_unittest.cpp | 50 for (size_t i = 0; i < FX_ArraySize(test_data); ++i) { in TEST() 89 for (size_t i = 0; i < FX_ArraySize(test_data); ++i) { in TEST()
|
D | fpdf_parser_decode_embeddertest.cpp | 37 for (size_t i = 0; i < FX_ArraySize(flate_encode_cases); ++i) { in TEST_F() 74 for (size_t i = 0; i < FX_ArraySize(flate_decode_cases); ++i) { in TEST_F()
|
/external/pdfium/fxjs/ |
D | cfxjse_formcalc_context_embeddertest.cpp | 63 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 84 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 125 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 143 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 161 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 179 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() 217 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 237 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 259 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdftext_embeddertest.cpp | 436 static const int kNumLinks = static_cast<int>(FX_ArraySize(kExpectedUrls)); in TEST_F() 443 memset(fixed_buffer, 0, FX_ArraySize(fixed_buffer)); in TEST_F() 448 FPDFLink_GetURL(pagelink, i, fixed_buffer, FX_ArraySize(fixed_buffer))); in TEST_F() 477 FX_ArraySize(fixed_buffer))); in TEST_F() 498 ASSERT_EQ(FX_ArraySize(kExpectedFontsSizes), static_cast<size_t>(count)); in TEST_F() 535 for (size_t i = 0; i < FX_ArraySize(kData); ++i) in TEST_F() 538 unsigned short buffer[FX_ArraySize(kData) + 1]; in TEST_F() 541 FPDFText_GetText(textpage, kStartIndex, FX_ArraySize(kData), buffer); in TEST_F() 543 ASSERT_EQ(FX_ArraySize(kData) + 1, static_cast<size_t>(count)); in TEST_F() 544 for (size_t i = 0; i < FX_ArraySize(kData); ++i) in TEST_F() [all …]
|
/external/pdfium/core/fxge/ |
D | cttfontdesc.cpp | 17 for (size_t i = 0; i < FX_ArraySize(m_TTCFaces); i++) in CTTFontDesc() 25 for (size_t i = 0; i < FX_ArraySize(m_TTCFaces); i++) { in ~CTTFontDesc() 38 ASSERT(index < FX_ArraySize(m_TTCFaces)); in SetTTCFace() 66 ASSERT(index < FX_ArraySize(m_TTCFaces)); in TTCFace()
|
D | cfx_fontmgr.cpp | 224 if (index < FX_ArraySize(g_FoxitFonts)) { in GetBuiltinFont() 229 size_t mm_index = index - FX_ArraySize(g_FoxitFonts); in GetBuiltinFont() 230 if (mm_index < FX_ArraySize(g_MMFonts)) { in GetBuiltinFont()
|
/external/pdfium/core/fpdfapi/font/ |
D | cfx_stockfontarray.cpp | 17 for (size_t i = 0; i < FX_ArraySize(m_StockFonts); ++i) { in ~CFX_StockFontArray() 24 if (index >= FX_ArraySize(m_StockFonts)) in GetFont() 32 if (index < FX_ArraySize(m_StockFonts)) in SetFont()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_filespec_unittest.cpp | 103 static_assert(FX_ArraySize(test_data) == FX_ArraySize(keywords), in TEST() 108 for (size_t i = 0; i < FX_ArraySize(keywords); ++i) { in TEST() 188 static_assert(FX_ArraySize(keys) == FX_ArraySize(streams), "size mismatch"); in TEST() 193 for (size_t i = 0; i < FX_ArraySize(keys); ++i) { in TEST()
|
D | cpdf_dest.cpp | 27 static_assert(FX_ArraySize(g_sZoomModes) == 28 FX_ArraySize(g_sZoomModeMaxParamCount),
|
/external/pdfium/fxbarcode/pdf417/ |
D | BC_PDF417HighLevelEncoder_unittest.cpp | 42 for (size_t i = 0; i < FX_ArraySize(encode_binary_cases); ++i) { in TEST() 110 for (size_t i = 0; i < FX_ArraySize(encode_numeric_cases); ++i) { in TEST() 157 for (size_t i = 0; i < FX_ArraySize(consecutive_digit_cases); ++i) { in TEST() 218 for (size_t i = 0; i < FX_ArraySize(consecutive_text_cases); ++i) { in TEST()
|
D | BC_PDF417HighLevelEncoder.cpp | 128 for (size_t l = 0; l < FX_ArraySize(MIXED); ++l) in Inverse() 131 for (uint8_t i = 0; i < FX_ArraySize(TEXT_MIXED_RAW); ++i) { in Inverse() 137 for (size_t l = 0; l < FX_ArraySize(PUNCTUATION); ++l) in Inverse() 140 for (uint8_t i = 0; i < FX_ArraySize(TEXT_PUNCTUATION_RAW); ++i) { in Inverse()
|
/external/pdfium/fxbarcode/oned/ |
D | BC_OnedCodaBarWriter.cpp | 40 static_assert(FX_ArraySize(kOnedCodaCharacterEncoding) == 22, "Wrong size"); 41 static_assert(FX_ArraySize(kOnedCodaCharacterEncoding) == 42 FX_ArraySize(kOnedCodaAlphabet), 166 for (size_t i = 0; i < FX_ArraySize(kOnedCodaAlphabet); i++) { in EncodeImpl()
|
D | BC_OnedCode39Writer.cpp | 37 constexpr size_t kOnedCode39AlphabetLen = FX_ArraySize(kOnedCode39Alphabet); 43 static_assert(FX_ArraySize(kOnedCode39Checksum) == 43, "Wrong size"); 51 static_assert(FX_ArraySize(kOnedCode39CharacterEncoding) == 44, "Wrong size"); 165 return kOnedCode39Checksum[checksum % FX_ArraySize(kOnedCode39Checksum)]; in CalcCheckSum()
|
/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/fgas/crt/ |
D | cfgas_formatstring_unittest.cpp | 114 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 163 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 193 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 254 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 418 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 514 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 540 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 570 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 587 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() 601 for (size_t i = 0; i < FX_ArraySize(tests); ++i) { in TEST_F() [all …]
|
/external/pdfium/core/fxcrt/ |
D | fx_ucddata.cpp | 10938 FX_ArraySize(kTextLayoutCodeProperties); 11001 FX_ArraySize(kFXTextLayoutBidiMirror);
|
D | fx_system_unittest.cpp | 173 EXPECT_EQ(19u, FXSYS_wcsftime(buf, FX_ArraySize(buf), L"%Y-%m-%dT%H:%M:%S", in TEST() 188 FXSYS_wcsftime(year_buf, FX_ArraySize(year_buf), L"%Y-%m-%dT%H:%M:%S", in TEST() 201 FXSYS_wcsftime(buf, FX_ArraySize(buf), L"%y-%m-%dT%H:%M:%S", &bad_time); in TEST() 212 FXSYS_wcsftime(buf, FX_ArraySize(buf), L"%y-%m-%dT%H:%M:%S", &feb_time); in TEST()
|