Home
last modified time | relevance | path

Searched refs:GetAsInteger (Results 1 – 25 of 37) sorted by relevance

12

/external/libbrillo/brillo/
Dany_test.cc104 EXPECT_EQ(1, val.GetAsInteger()); in TEST()
107 EXPECT_EQ(2, val.GetAsInteger()); in TEST()
110 EXPECT_EQ(0, val.GetAsInteger()); in TEST()
117 EXPECT_EQ(14, val.GetAsInteger()); in TEST()
122 EXPECT_EQ(64, val.GetAsInteger()); in TEST()
127 EXPECT_EQ(65535, val.GetAsInteger()); in TEST()
132 EXPECT_EQ(-1, val.GetAsInteger()); in TEST()
248 EXPECT_DEATH(val.GetAsInteger(), in TEST()
252 EXPECT_DEATH(empty.GetAsInteger(), "Must not be called on an empty Any"); in TEST()
Dany.cc70 intmax_t Any::GetAsInteger() const { in GetAsInteger() function in brillo::Any
72 return data_buffer_.GetDataPtr()->GetAsInteger(); in GetAsInteger()
Dany_internal_impl.h155 virtual intmax_t GetAsInteger() const = 0;
175 intmax_t GetAsInteger() const override { in GetAsInteger() function
Dany.h188 intmax_t GetAsInteger() const;
Dvalue_conversion.h40 return in_value.GetAsInteger(out_value); in FromValue()
/external/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
DDynamicLoaderDarwin.cpp388 image->GetValueForKey("load_address")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
390 image->GetValueForKey("mod_date")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
398 mh->GetValueForKey("magic")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
400 mh->GetValueForKey("cputype")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
402 mh->GetValueForKey("cpusubtype")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
404 mh->GetValueForKey("filetype")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
447 mh->GetValueForKey("flags")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
453 mh->GetValueForKey("ncmds")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
459 mh->GetValueForKey("sizeofcmds")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
473 seg->GetValueForKey("vmaddr")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
[all …]
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
DInstrumentationRuntimeTSan.cpp670 ->GetAsInteger() in GenerateSummary()
675 ->GetAsInteger() in GenerateSummary()
688 ->GetAsInteger() in GenerateSummary()
735 ->GetAsInteger() in GetLocationDescription()
754 ->GetAsInteger() in GetLocationDescription()
758 ->GetAsInteger() in GetLocationDescription()
774 ->GetAsInteger() in GetLocationDescription()
780 ->GetAsInteger() in GetLocationDescription()
786 ->GetAsInteger() in GetLocationDescription()
1024 pcs.push_back(pc->GetAsInteger()->GetValue()); in AddThreadsForPath()
/external/libchrome/base/json/
Djson_value_converter.cc12 return value.GetAsInteger(field); in Convert()
Djson_reader_unittest.cc71 EXPECT_TRUE(root->GetAsInteger(&int_val)); in TEST()
79 EXPECT_TRUE(root->GetAsInteger(&int_val)); in TEST()
88 EXPECT_TRUE(root->GetAsInteger(&int_val)); in TEST()
106 EXPECT_TRUE(root->GetAsInteger(&int_val)); in TEST()
538 EXPECT_TRUE(root->GetAsInteger(&integer_value)); in TEST()
Djson_writer.cc75 bool result = node.GetAsInteger(&value); in BuildJSONString()
Djson_parser_unittest.cc159 EXPECT_TRUE(value->GetAsInteger(&number_i)); in TEST_F()
171 EXPECT_TRUE(value->GetAsInteger(&number_i)); in TEST_F()
Djson_value_serializer_unittest.cc85 ASSERT_TRUE(elt && elt->GetAsInteger(&value)); in ValidateJsonList()
/external/llvm-project/lldb/include/lldb/Utility/
DStructuredData.h97 Integer *GetAsInteger() { in GetAsInteger() function
104 Integer *integer = GetAsInteger();
199 if (auto int_value = value_sp->GetAsInteger()) { in GetItemAtIndexAsInteger()
406 if (auto int_value = value_sp->GetAsInteger()) { in GetValueForKeyAsInteger()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas376 function GetAsInteger(const Name: String): Integer;
385 property AsInteger[const Name: String]: Integer read GetAsInteger write SetAsInteger;
939 function TLocalStorage.GetAsInteger(const Name: String): Integer; in GetAsInteger() function
/external/libchrome/components/policy/core/common/
Dpolicy_test_utils.cc71 if (value.GetAsInteger(&int_value)) { in ValueToProperty()
Dregistry_dict.cc80 if (value.GetAsInteger(&int_value) || in ConvertRegistryValue()
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
DInstrumentationRuntimeMainThreadChecker.cpp263 PCs.push_back(PC->GetAsInteger()->GetValue()); in GetBacktracesFromExtendedStopInfo()
/external/libchrome/base/trace_event/
Dtrace_event_argument.cc263 value.GetAsInteger(&int_value); in SetBaseValueWithCopiedName()
317 value.GetAsInteger(&int_value); in AppendBaseValue()
/external/libchrome/base/
Dvalues.cc452 bool Value::GetAsInteger(int* out_value) const { in GetAsInteger() function in base::Value
845 return value->GetAsInteger(out_value); in GetInteger()
979 return value->GetAsInteger(out_value); in GetIntegerWithoutPathExpansion()
1219 return value->GetAsInteger(out_value); in GetInteger()
Dvalues.h311 bool GetAsInteger(int* out_value) const;
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/
DInstrumentationRuntimeUBSan.cpp316 PCs.push_back(PC->GetAsInteger()->GetValue()); in GetBacktracesFromExtendedStopInfo()
/external/llvm-project/lldb/tools/debugserver/source/
DJSONGenerator.h84 Integer *GetAsInteger() { in GetAsInteger() function
/external/libchrome/dbus/
Dvalues_util.cc228 bool success = value.GetAsInteger(&int_value); in AppendBasicTypeValueData()
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/
DPythonDataObjectsTests.cpp389 auto int_sp = array_sp->GetItemAtIndex(0)->GetAsInteger(); in TEST_F()
553 auto int_sp = dict_sp->GetValueForKey(string_key1)->GetAsInteger(); in TEST_F()
/external/llvm-project/llvm/utils/benchmark/src/
Dsysinfo.cc112 int64_t GetAsInteger() const { in GetAsInteger() function

12