/external/pdfium/testing/libfuzzer/ |
D | pdf_codec_fax_fuzzer.cc | 11 static int GetInteger(const uint8_t* data) { in GetInteger() function 20 int width = GetInteger(data); in LLVMFuzzerTestOneInput() 21 int height = GetInteger(data + 4); in LLVMFuzzerTestOneInput() 22 int K = GetInteger(data + 8); in LLVMFuzzerTestOneInput() 23 int Columns = GetInteger(data + 12); in LLVMFuzzerTestOneInput() 24 int Rows = GetInteger(data + 16); in LLVMFuzzerTestOneInput()
|
D | pdf_codec_jbig2_fuzzer.cc | 17 static uint32_t GetInteger(const uint8_t* data) { in GetInteger() function 26 uint32_t width = GetInteger(data); in LLVMFuzzerTestOneInput() 27 uint32_t height = GetInteger(data + 4); in LLVMFuzzerTestOneInput()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_allstates.cpp | 55 static_cast<CFX_GraphStateData::LineCap>(pObject->GetInteger())); in ProcessExtGS() 59 static_cast<CFX_GraphStateData::LineJoin>(pObject->GetInteger())); in ProcessExtGS() 120 m_GeneralState.SetStrokeOP(!!pObject->GetInteger()); in ProcessExtGS() 122 m_GeneralState.SetFillOP(!!pObject->GetInteger()); in ProcessExtGS() 125 m_GeneralState.SetFillOP(!!pObject->GetInteger()); in ProcessExtGS() 128 m_GeneralState.SetOPMode(pObject->GetInteger()); in ProcessExtGS() 154 m_GeneralState.SetStrokeAdjust(!!pObject->GetInteger()); in ProcessExtGS() 157 m_GeneralState.SetAlphaSource(!!pObject->GetInteger()); in ProcessExtGS() 160 m_GeneralState.SetTextKnockout(!!pObject->GetInteger()); in ProcessExtGS()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_nametree_unittest.cpp | 100 EXPECT_EQ(100, pObj->AsNumber()->GetInteger()); in TEST() 151 EXPECT_EQ(444, nameTree.LookupValue(L"4.txt")->GetInteger()); in TEST() 157 EXPECT_EQ(666, nameTree.LookupValue(L"6.txt")->GetInteger()); in TEST() 163 EXPECT_EQ(99, nameTree.LookupValue(L"99.txt")->GetInteger()); in TEST() 169 EXPECT_EQ(-5, nameTree.LookupValue(L"0.txt")->GetInteger()); in TEST() 237 EXPECT_EQ(999, nameTree.LookupValue(L"9.txt")->GetInteger()); in TEST() 248 EXPECT_EQ(222, nameTree.LookupValue(L"2.txt")->GetInteger()); in TEST() 261 EXPECT_EQ(111, nameTree.LookupValue(L"1.txt")->GetInteger()); in TEST() 273 EXPECT_EQ(333, nameTree.LookupValue(L"3.txt")->GetInteger()); in TEST() 286 EXPECT_EQ(555, nameTree.LookupValue(L"5.txt")->GetInteger()); in TEST()
|
D | cpdf_dest.cpp | 50 return pPage->GetInteger(); in GetPageIndex() 65 return pPage->GetInteger(); in GetPageObjNum()
|
D | cpdf_formfield.cpp | 106 uint32_t flags = ff_attr ? ff_attr->GetInteger() : 0; in SyncFieldFlags() 289 return pObj ? pObj->GetInteger() : 0; in GetFieldFlags() 408 return pObj->GetInteger(); in GetMaxLen() 443 return pValue->GetInteger(); in GetSelectedIndex() 509 return (pValue->GetInteger() == index); in IsItemSelected() 798 return pObj ? pObj->GetInteger() : 0; in GetTopVisibleIndex() 823 if (pObj->GetInteger() == iOptIndex) in IsOptionSelected()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_array_unittest.cpp | 149 EXPECT_EQ(elem_obj->GetInteger(), elem_obj1->GetInteger()); in TEST() 155 EXPECT_EQ(elem_obj->GetInteger(), elem_obj2->GetInteger()); in TEST() 165 EXPECT_EQ(elems[i][j], elem_obj1->GetInteger()); in TEST() 182 EXPECT_EQ(elems[index++], it->AsNumber()->GetInteger()); in TEST()
|
D | cpdf_reference.cpp | 33 int CPDF_Reference::GetInteger() const { in GetInteger() function in CPDF_Reference 35 return obj ? obj->GetInteger() : 0; in GetInteger()
|
D | cpdf_dictionary.cpp | 112 return p ? p->GetInteger() : 0; in GetIntegerFor() 117 return p ? p->GetInteger() : def; in GetIntegerFor() 128 return ToBoolean(p) ? p->GetInteger() != 0 : bDefault; in GetBooleanFor()
|
D | cpdf_boolean.cpp | 29 int CPDF_Boolean::GetInteger() const { in GetInteger() function in CPDF_Boolean
|
D | cpdf_boolean.h | 26 int GetInteger() const override;
|
D | cpdf_number.h | 29 int GetInteger() const override;
|
D | cpdf_reference.h | 29 int GetInteger() const override;
|
D | cpdf_number.cpp | 35 int CPDF_Number::GetInteger() const { in GetInteger() function in CPDF_Number
|
D | cpdf_object_unittest.cpp | 115 return obj1->GetInteger() == obj2->GetInteger(); in Equal() 118 obj1->GetInteger() == obj2->GetInteger(); in Equal() 231 TEST_F(PDFObjectsTest, GetInteger) { in TEST_F() argument 235 EXPECT_EQ(direct_obj_results[i], m_DirectObjs[i]->GetInteger()); in TEST_F() 240 EXPECT_EQ(indirect_obj_results[i], m_RefObjs[i]->GetInteger()); in TEST_F()
|
D | cpdf_object.cpp | 54 int CPDF_Object::GetInteger() const { in GetInteger() function in CPDF_Object
|
D | cpdf_linearized_header.cpp | 34 const int raw_value = pNum->GetInteger(); in IsValidNumericDictionaryValue()
|
D | cpdf_object.h | 63 virtual int GetInteger() const;
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_font.cpp | 96 return JSObject()->GetInteger(XFA_Attribute::LineThrough); in GetLineThrough() 100 return JSObject()->GetInteger(XFA_Attribute::Underline); in GetUnderline()
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 131 if (!dict_value.GetInteger("hours", &hours) || hours < 0 || hours > 23) { in DecodeWeeklyTimeFromValue() 137 if (!dict_value.GetInteger("minutes", &minutes) || minutes < 0 || in DecodeWeeklyTimeFromValue() 549 if (!day_percentage_pair->GetInteger("days", &days) || in GetDeviceUpdateStagingSchedule() 550 !day_percentage_pair->GetInteger("percentage", &percentage)) in GetDeviceUpdateStagingSchedule()
|
/external/libchrome/base/ |
D | values_unittest.cc | 751 ASSERT_FALSE(mixed_list->GetInteger(0, &int_value)); in TEST() 757 ASSERT_FALSE(mixed_list->GetInteger(2, &int_value)); in TEST() 764 ASSERT_TRUE(mixed_list->GetInteger(1, &int_value)); in TEST() 1671 EXPECT_FALSE(main_dict.GetInteger("bool", nullptr)); in TEST() 1672 EXPECT_TRUE(main_dict.GetInteger("int", nullptr)); in TEST() 1673 EXPECT_FALSE(main_dict.GetInteger("double", nullptr)); in TEST() 1674 EXPECT_FALSE(main_dict.GetInteger("string", nullptr)); in TEST() 1675 EXPECT_FALSE(main_dict.GetInteger("binary", nullptr)); in TEST() 1676 EXPECT_FALSE(main_dict.GetInteger("dict", nullptr)); in TEST() 1677 EXPECT_FALSE(main_dict.GetInteger("list", nullptr)); in TEST() [all …]
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textparser.cpp | 314 return wsValue.GetInteger(); in CountTabs() 373 return wsValue.GetInteger(); in GetHorScale() 382 return wsValue.GetInteger(); in GetHorScale() 398 return wsValue.GetInteger(); in GetVerScale()
|
/external/libchrome/mojo/public/interfaces/bindings/tests/ |
D | sample_interfaces.mojom | 29 GetInteger() => (int64 data, [MinVersion=2] Enum type);
|
/external/libchrome/base/test/ |
D | gtest_util.cc | 101 if (!test->GetInteger("line", &test_data.line)) in ReadTestNamesFromFile()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_structtree.cpp | 91 return p && p->IsNumber() ? p->GetInteger() : -1; in FPDF_StructElement_GetMarkedContentID()
|