Home
last modified time | relevance | path

Searched refs:GetInteger (Results 1 – 25 of 82) sorted by relevance

1234

/external/pdfium/testing/fuzzers/
Dpdf_scanlinecompositor_fuzzer.cc26 int width = GetInteger(data); in LLVMFuzzerTestOneInput()
27 int height = GetInteger(data + 4); in LLVMFuzzerTestOneInput()
28 uint32_t argb = GetInteger(data + 8); in LLVMFuzzerTestOneInput()
29 int src_left = GetInteger(data + 12); in LLVMFuzzerTestOneInput()
30 int src_top = GetInteger(data + 16); in LLVMFuzzerTestOneInput()
31 int dest_left = GetInteger(data + 20); in LLVMFuzzerTestOneInput()
32 int dest_top = GetInteger(data + 24); in LLVMFuzzerTestOneInput()
Dpdf_codec_fax_fuzzer.cc22 int width = GetInteger(data); in LLVMFuzzerTestOneInput()
23 int height = GetInteger(data + 4); in LLVMFuzzerTestOneInput()
24 int K = GetInteger(data + 8); in LLVMFuzzerTestOneInput()
25 int Columns = GetInteger(data + 12); in LLVMFuzzerTestOneInput()
26 int Rows = GetInteger(data + 16); in LLVMFuzzerTestOneInput()
Dpdf_codec_jbig2_fuzzer.cc21 uint32_t width = GetInteger(data); in LLVMFuzzerTestOneInput()
22 uint32_t height = GetInteger(data + 4); in LLVMFuzzerTestOneInput()
Dpdfium_fuzzer_util.h11 int GetInteger(const uint8_t* data);
Dpdfium_fuzzer_util.cc7 int GetInteger(const uint8_t* data) { in GetInteger() function
/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp63 static_cast<CFX_GraphStateData::LineCap>(pObject->GetInteger())); in ProcessExtGS()
67 static_cast<CFX_GraphStateData::LineJoin>(pObject->GetInteger())); in ProcessExtGS()
129 m_GeneralState.SetStrokeOP(!!pObject->GetInteger()); in ProcessExtGS()
131 m_GeneralState.SetFillOP(!!pObject->GetInteger()); in ProcessExtGS()
134 m_GeneralState.SetFillOP(!!pObject->GetInteger()); in ProcessExtGS()
137 m_GeneralState.SetOPMode(pObject->GetInteger()); in ProcessExtGS()
165 m_GeneralState.SetStrokeAdjust(!!pObject->GetInteger()); in ProcessExtGS()
168 m_GeneralState.SetAlphaSource(!!pObject->GetInteger()); in ProcessExtGS()
171 m_GeneralState.SetTextKnockout(!!pObject->GetInteger()); in ProcessExtGS()
/external/pdfium/core/fpdfdoc/
Dcpdf_nametree_unittest.cpp101 EXPECT_EQ(100, pObj->AsNumber()->GetInteger()); in TEST()
152 EXPECT_EQ(444, nameTree.LookupValue(L"4.txt")->GetInteger()); in TEST()
158 EXPECT_EQ(666, nameTree.LookupValue(L"6.txt")->GetInteger()); in TEST()
164 EXPECT_EQ(99, nameTree.LookupValue(L"99.txt")->GetInteger()); in TEST()
170 EXPECT_EQ(-5, nameTree.LookupValue(L"0.txt")->GetInteger()); in TEST()
238 EXPECT_EQ(999, nameTree.LookupValue(L"9.txt")->GetInteger()); in TEST()
249 EXPECT_EQ(222, nameTree.LookupValue(L"2.txt")->GetInteger()); in TEST()
262 EXPECT_EQ(111, nameTree.LookupValue(L"1.txt")->GetInteger()); in TEST()
274 EXPECT_EQ(333, nameTree.LookupValue(L"3.txt")->GetInteger()); in TEST()
287 EXPECT_EQ(555, nameTree.LookupValue(L"5.txt")->GetInteger()); in TEST()
Dcpdf_formfield.cpp284 return pObj ? pObj->GetInteger() : 0; in GetFieldFlags()
402 return pObj->GetInteger(); in GetMaxLen()
432 return pValue->GetInteger(); in GetSelectedIndex()
494 return (pValue->GetInteger() == index); in IsItemSelected()
740 return pObj ? pObj->GetInteger() : 0; in GetTopVisibleIndex()
766 if (pObj->GetInteger() == iOptIndex) in IsOptionSelected()
Dcpdf_metadata.cpp35 switch (child_elem->GetTextData().GetInteger()) { in CheckForSharedFormInternal()
/external/llvm-project/lldb/test/API/lang/cpp/class_types/
Dmain.cpp32 GetInteger() const in GetInteger() function in A
115 return b.GetIntegerB() - a.GetInteger() + c.GetInteger(); in main()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array_unittest.cpp170 EXPECT_EQ(elem_obj->GetInteger(), elem_obj1->GetInteger()); in TEST()
176 EXPECT_EQ(elem_obj->GetInteger(), elem_obj2->GetInteger()); in TEST()
186 EXPECT_EQ(elems[i][j], elem_obj1->GetInteger()); in TEST()
205 EXPECT_EQ(elems[index++], it->AsNumber()->GetInteger()); in TEST()
Dcpdf_object_stream.cpp37 number_of_objects->GetInteger() < 0 || in IsObjectsStreamObject()
38 number_of_objects->GetInteger() >= in IsObjectsStreamObject()
46 first_object_offset->GetInteger() < 0) { in IsObjectsStreamObject()
Dcpdf_reference.cpp33 int CPDF_Reference::GetInteger() const { in GetInteger() function in CPDF_Reference
35 return obj ? obj->GetInteger() : 0; in GetInteger()
Dcpdf_dictionary.cpp127 return p ? p->GetInteger() : 0; in GetIntegerFor()
132 return p ? p->GetInteger() : def; in GetIntegerFor()
143 return ToBoolean(p) ? p->GetInteger() != 0 : bDefault; in GetBooleanFor()
Dcpdf_boolean.cpp30 int CPDF_Boolean::GetInteger() const { in GetInteger() function in CPDF_Boolean
Dcpdf_boolean.h25 int GetInteger() const override;
Dcpdf_number.h27 int GetInteger() const override;
Dcpdf_number.cpp36 int CPDF_Number::GetInteger() const { in GetInteger() function in CPDF_Number
Dcpdf_array.cpp131 return ToBoolean(p) ? p->GetInteger() != 0 : bDefault; in GetBooleanAt()
137 return m_Objects[index]->GetInteger(); in GetIntegerAt()
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc676 EXPECT_TRUE((item && item->GetInteger("args.value", &value))); in ValidateAllTraceMacrosCreatedData()
687 EXPECT_TRUE((item && item->GetInteger("args.a", &value))); in ValidateAllTraceMacrosCreatedData()
690 EXPECT_TRUE((item && item->GetInteger("args.b", &value))); in ValidateAllTraceMacrosCreatedData()
701 EXPECT_TRUE((item && item->GetInteger("args.value", &value))); in ValidateAllTraceMacrosCreatedData()
705 EXPECT_TRUE((item && item->GetInteger("ts", &ts))); in ValidateAllTraceMacrosCreatedData()
716 EXPECT_TRUE((item && item->GetInteger("args.a", &value))); in ValidateAllTraceMacrosCreatedData()
719 EXPECT_TRUE((item && item->GetInteger("args.b", &value))); in ValidateAllTraceMacrosCreatedData()
723 EXPECT_TRUE((item && item->GetInteger("ts", &ts))); in ValidateAllTraceMacrosCreatedData()
738 EXPECT_TRUE((item && item->GetInteger("args.value", &value))); in ValidateAllTraceMacrosCreatedData()
753 EXPECT_TRUE((item && item->GetInteger("args.a", &value))); in ValidateAllTraceMacrosCreatedData()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_font.cpp94 return JSObject()->GetInteger(XFA_Attribute::LineThrough); in GetLineThrough()
98 return JSObject()->GetInteger(XFA_Attribute::Underline); in GetUnderline()
/external/libbrillo/policy/
Ddevice_policy_impl.cc137 if (!dict_value.GetInteger("hours", &hours) || hours < 0 || hours > 23) { in DecodeWeeklyTimeFromValue()
143 if (!dict_value.GetInteger("minutes", &minutes) || minutes < 0 || in DecodeWeeklyTimeFromValue()
569 if (!day_percentage_pair->GetInteger("days", &days) || in GetDeviceUpdateStagingSchedule()
570 !day_percentage_pair->GetInteger("percentage", &percentage)) in GetDeviceUpdateStagingSchedule()
/external/libchrome/base/
Dvalues_unittest.cc751 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/
Dcxfa_textparser.cpp328 return wsValue.GetInteger(); in CountTabs()
384 return wsValue.GetInteger(); in GetHorScale()
393 return wsValue.GetInteger(); in GetHorScale()
409 return wsValue.GetInteger(); in GetVerScale()
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dsample_interfaces.mojom29 GetInteger() => (int64 data, [MinVersion=2] Enum type);

1234