Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dany_unittest.cc103 EXPECT_EQ(1, val.GetAsInteger()); in TEST()
106 EXPECT_EQ(2, val.GetAsInteger()); in TEST()
109 EXPECT_EQ(0, val.GetAsInteger()); in TEST()
116 EXPECT_EQ(14, val.GetAsInteger()); in TEST()
121 EXPECT_EQ(64, val.GetAsInteger()); in TEST()
126 EXPECT_EQ(65535, val.GetAsInteger()); in TEST()
131 EXPECT_EQ(-1, val.GetAsInteger()); in TEST()
247 EXPECT_DEATH(val.GetAsInteger(), in TEST()
251 EXPECT_DEATH(empty.GetAsInteger(), "Must not be called on an empty Any"); in TEST()
Dany.cc69 intmax_t Any::GetAsInteger() const { in GetAsInteger() function in brillo::Any
71 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.h186 intmax_t GetAsInteger() const;
Dvalue_conversion.h39 return in_value.GetAsInteger(out_value); in FromValue()
/external/libchrome/base/json/
Djson_reader_unittest.cc79 EXPECT_TRUE(root->GetAsInteger(&int_val)); in TEST()
87 EXPECT_TRUE(root->GetAsInteger(&int_val)); in TEST()
97 EXPECT_TRUE(root->GetAsInteger(&int_val)); in TEST()
115 EXPECT_TRUE(root->GetAsInteger(&int_val)); in TEST()
562 EXPECT_TRUE(root->GetAsInteger(&integer_value)); in TEST()
Djson_value_converter.cc12 return value.GetAsInteger(field); in Convert()
Djson_parser_unittest.cc140 EXPECT_TRUE(value->GetAsInteger(&number_i)); in TEST_F()
152 EXPECT_TRUE(value->GetAsInteger(&number_i)); in TEST_F()
Djson_writer.cc75 bool result = node.GetAsInteger(&value); in BuildJSONString()
Djson_value_serializer_unittest.cc88 ASSERT_TRUE(elt && elt->GetAsInteger(&value)); in ValidateJsonList()
/external/libchrome/base/
Dvalues.cc88 bool Value::GetAsInteger(int*) const { in GetAsInteger() function in base::Value
186 bool FundamentalValue::GetAsInteger(int* out_value) const { in GetAsInteger() function in base::FundamentalValue
228 return GetAsInteger(&lhs) && other->GetAsInteger(&rhs) && lhs == rhs; in Equals()
509 return value->GetAsInteger(out_value); in GetInteger()
647 return value->GetAsInteger(out_value); in GetIntegerWithoutPathExpansion()
923 return value->GetAsInteger(out_value); in GetInteger()
Dvalues.h83 virtual bool GetAsInteger(int* out_value) const;
131 bool GetAsInteger(int* out_value) const override;
Dvalues_unittest.cc107 ASSERT_TRUE((*mixed_list->Find(sought_value))->GetAsInteger(&int_value)); in TEST()
470 ASSERT_TRUE(copy_int->GetAsInteger(&copy_int_value)); in TEST()
532 ASSERT_TRUE(copy_list_element_0->GetAsInteger(&copy_list_element_0_value)); in TEST()
540 ASSERT_TRUE(copy_list_element_1->GetAsInteger(&copy_list_element_1_value)); in TEST()
/external/libchrome/base/trace_event/
Dtrace_event_argument.cc260 value.GetAsInteger(&int_value); in SetBaseValueWithCopiedName()
314 value.GetAsInteger(&int_value); in AppendBaseValue()
/external/antlr/antlr-3.4/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/dbus/
Dvalues_util.cc231 bool success = value.GetAsInteger(&int_value); in AppendBasicTypeValueData()
/external/libchrome/base/test/
Dtrace_event_analyzer.cc108 } else if (it.value().GetAsInteger(&int_num)) { in SetFromJSON()
/external/libmojo/ipc/
Dipc_message_utils.cc161 result = value->GetAsInteger(&val); in WriteValue()