Home
last modified time | relevance | path

Searched refs:GetAsInteger (Results 1 – 21 of 21) 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_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_parser_unittest.cc159 EXPECT_TRUE(value->GetAsInteger(&number_i)); in TEST_F()
171 EXPECT_TRUE(value->GetAsInteger(&number_i)); in TEST_F()
Djson_writer.cc75 bool result = node.GetAsInteger(&value); in BuildJSONString()
Djson_value_serializer_unittest.cc85 ASSERT_TRUE(elt && elt->GetAsInteger(&value)); in ValidateJsonList()
/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/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;
Dvalues_unittest.cc779 ASSERT_TRUE((*mixed_list->Find(sought_value)).GetAsInteger(&int_value)); in TEST()
1109 ASSERT_TRUE(copy_int->GetAsInteger(&copy_int_value)); in TEST()
1166 ASSERT_TRUE(copy_list_element_0->GetAsInteger(&copy_list_element_0_value)); in TEST()
1174 ASSERT_TRUE(copy_list_element_1->GetAsInteger(&copy_list_element_1_value)); in TEST()
/external/libchrome/dbus/
Dvalues_util.cc228 bool success = value.GetAsInteger(&int_value); in AppendBasicTypeValueData()
/external/libchrome/components/policy/core/common/
Dregistry_dict.cc80 if (value.GetAsInteger(&int_value) || in ConvertRegistryValue()
Dschema.cc668 if (!it->GetAsInteger(&value)) { in ParseEnum()
897 } else if (value.GetAsInteger(&int_value)) { in Validate()
/external/google-benchmark/src/
Dsysinfo.cc117 int64_t GetAsInteger() const { in GetAsInteger() function
/external/libcxx/utils/google-benchmark/src/
Dsysinfo.cc114 int64_t GetAsInteger() const { in GetAsInteger() function
/external/libchrome/components/json_schema/
Djson_schema_validator.cc188 it.value().GetAsInteger(&integer_value); in IsValidSchema()
/external/libchrome/ipc/
Dipc_message_utils.cc105 result = value->GetAsInteger(&val); in WriteValue()