OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EnumWithTraitsImpl
(Results
1 - 4
of
4
) sorted by null
/external/libmojo/mojo/public/cpp/bindings/tests/
struct_with_traits_impl_traits.cc
54
EnumTraits<test::EnumWithTraits, test::
EnumWithTraitsImpl
>::ToMojom(
55
test::
EnumWithTraitsImpl
input) {
57
case test::
EnumWithTraitsImpl
::CUSTOM_VALUE_0:
59
case test::
EnumWithTraitsImpl
::CUSTOM_VALUE_1:
67
bool EnumTraits<test::EnumWithTraits, test::
EnumWithTraitsImpl
>::FromMojom(
69
test::
EnumWithTraitsImpl
* output) {
72
*output = test::
EnumWithTraitsImpl
::CUSTOM_VALUE_0;
75
*output = test::
EnumWithTraitsImpl
::CUSTOM_VALUE_1;
86
test::
EnumWithTraitsImpl
f_enum;
struct_with_traits_impl.h
32
enum class
EnumWithTraitsImpl
{ CUSTOM_VALUE_0 = 10, CUSTOM_VALUE_1 = 11 };
43
void set_enum(
EnumWithTraitsImpl
value) { enum_ = value; }
44
EnumWithTraitsImpl
get_enum() const { return enum_; }
83
EnumWithTraitsImpl
enum_ =
EnumWithTraitsImpl
::CUSTOM_VALUE_0;
struct_with_traits_impl_traits.h
35
struct EnumTraits<test::EnumWithTraits, test::
EnumWithTraitsImpl
> {
36
static test::EnumWithTraits ToMojom(test::
EnumWithTraitsImpl
input);
38
test::
EnumWithTraitsImpl
* output);
49
static test::
EnumWithTraitsImpl
f_enum(
struct_traits_unittest.cc
143
void EchoEnumWithTraits(
EnumWithTraitsImpl
e,
246
input.set_enum(
EnumWithTraitsImpl
::CUSTOM_VALUE_1);
320
void ExpectEnumWithTraits(
EnumWithTraitsImpl
expected_value,
322
EnumWithTraitsImpl
value) {
332
EnumWithTraitsImpl
::CUSTOM_VALUE_1,
333
base::Bind(&ExpectEnumWithTraits,
EnumWithTraitsImpl
::CUSTOM_VALUE_1,
340
input.set_enum(
EnumWithTraitsImpl
::CUSTOM_VALUE_1);
Completed in 164 milliseconds